I am thinking about implementing my navigation using rich:panelMenu dynamically using a custom component. The custom component would represent the navigation graph/tree of the whole website. For each page request, this component is passed some identifier (page name or URL) and the component returns the correct rich:panelMenu's along with the expanded and selected properties.
To me the problem appears to be the generation of tags that can be processed by JSF/Facelets.
How do I approach this? Can anybody point me into the right direction?
Is it worth the effort compared to hardcoding that logic into each page?
Thanks in advance
PS: I'm using RF 3.3.3. and Seam 2.2.1 plus JSF 1.2/Facelets.