[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

fernando_jmt do-not-reply at jboss.com
Wed Feb 14 07:53:01 EST 2007


"gavin.king at jboss.com" wrote : path/to/my/viewId.page.xml


Suppose I have an application with thousands of .xhtml pages (which is true for an existing app. we have in struts and we are thinking to upgrade to Seam), it seems if I wanna configure them in Seam I should have thousands of viewId.page.xml. I think this is not a good way in this case (maybe others). What I want to do is to group the pages according the respective module (which it makes sense).

So, it seems in Seam there is no a way to do that kind of configuration.

I think you should include some way (alternative to fine grained configuration) which we can use to configure the configuration files we want to load.

maybe adding something like (web.xml):


  | <context-param>
  |         <!-- Seam pages Context Configuration -->
  |         <param-name>seam.pages.CONFIG_FILES</param-name>
  |         <param-value>/WEB-INF/pages-sales.xml</param-value>
  |     </context-param>
  | 

what do you think?

or is there another way to do this? (please tell me).


Thanks in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016347#4016347

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016347



More information about the jboss-user mailing list