[jboss-user] [JBoss Seam] - Using fine-grained pages.xml

chris.simons do-not-reply at jboss.com
Thu Nov 1 15:21:42 EDT 2007


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.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



More information about the jboss-user mailing list