- Using fine-grained pages.xml 2007-11-01 - By chris.simons
Back
Seam wizards,
I'm using the Seam 1.21GA documentation as a guide for breaking out a lengthy pages.xml into single, page specific files.
According to the documentation, I am to break out each file into their given view-id and append .page.xml.
Therefore, I have added: /resources/admin/da/categoryAdmin.page.xml ...
I have stripped out the corresponding page definition from pages.xml and placed into each fine-grained file. Likewise, I removed the "view-id" parameter from each fine-grained page file.
Here is what that same fine-grained file now looks like: <!DOCTYPE pages PUBLIC | "-//JBoss/Seam Pages Configuration DTD 1.2//EN" | "http://jboss.com/products/seam/pages-1 (See http://ges-1.ora-code.com).2.dtd"> | | <page conversation-required="true" no-conversation-view-id="/admin/da /moduleAdmin.xhtml"> | #{cvAdminModule.name} | <begin-conversation nested="true" join="false"/> | <navigation from-action="#{adminValueManager.findValuesByCategory}"> | <redirect view-id="/admin/da/valueAdmin.xhtml"/> | </navigation> | </page>
However, after doing so, page definitions are no longer working. Have I done something wrong? Should the fine-grained files actually go under /resources /WEB-INF? If so, the documentation may need to describe this in more detail.
Thanks for taking a look - hope someone has an tip for me to look at.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4101052#4101052
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4101052 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|