This content has been marked as final.
Show 6 replies
-
1. Re: Breakup or Modularize pages.xml
cpopetz Apr 24, 2008 3:31 AM (in response to dro_k)You can have a separate foo.page.xml for each foo.xhtml.
(I'm not sure that's what you meant, but wanted to mention it in case you weren't aware of it.)
-
2. Re: Breakup or Modularize pages.xml
andygibson.contact.andygibson.net Apr 24, 2008 6:31 AM (in response to dro_k)Here you go :
Look for Norm Richards response, I believe this goes into the components.xml file.
Cheers,
Andy Gibson
-
3. Re: Breakup or Modularize pages.xml
dro_k Apr 24, 2008 7:25 AM (in response to dro_k)This is exactly what I was looking for. Thanks
-
4. Re: Breakup or Modularize pages.xml
monkeyden Sep 3, 2008 3:44 PM (in response to dro_k)I know this is an old post but I just sorted out the schema reference for Seam 2, so I figured I'd post it
xmlns:navigation="http://jboss.com/products/seam/navigation" http://jboss.com/products/seam/navigation http://jboss.com/products/seam/navigation-2.0.xsd
then you can use:
<navigation:pages> <navigation:resources> <value>...</value> <value>...</value> </navigation:resources> </navigation:pages>
-
5. Re: Breakup or Modularize pages.xml
dirk-mahler Mar 25, 2009 9:59 AM (in response to dro_k)Hi,
we tried to use this approach for our project which is highly modularized but we face a problem there:
We have two modules A and B, each of them provide a components.xml. Both descriptors contain the mentioned <navigation:pages> sections pointing to module specific pages.xml descriptors.
What we see is that this works only if one module is deployed. If both modules are deployed it seems that only one of the <navigation:pages> is evaluated.
Does anyone face the same problem and is there a solution for this? -
6. Re: Breakup or Modularize pages.xml
norman Mar 25, 2009 8:15 PM (in response to dro_k)You would need to do this in Java code. One option would be to capture one of the startup events to perform the configuration. Another would be to subclass the Pages component to perform the custom configuration.