[jboss-user] [JBoss Seam] - Views within views
lightbulb432
do-not-reply at jboss.com
Wed Feb 14 17:24:29 EST 2007
I need to have XHTML views containing other views using the templating features of Facelets. e.g. view "outside.xhtml" contains views "inside1.xhtml" and "inside2.xhtml".
However, because each view can also be seen as a standalone view, I'm concerned about conflicts in the injected/outjected components that may not be evident initially. Does such a risk exist? e.g. inside1.xhtml outjects a value that gets overridden by inside2.xhtml. Or was Seam designed to handle such things, where variables are kept apart (e.g. DataModels, DataModelSelections...)
The next issue is with navigation. In pages.xml, which view would you mention for a link clicked in inside1.xhtml - would it be outside.xhtml, or inside1.xhtml? (Keeping in mind that the address bar would of course show outside.xhtml)
Any other potential troubles here?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016692#4016692
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016692
More information about the jboss-user
mailing list