[JBoss Seam] - Expression support in page.xml
by enazareno
Hi,
I have defined a named edit.page.xml with the ff. content
| <page>
| <navigation from-action="#{userService.update}">
| <redirect view-id="/secured/user/list.xhtml"/>
| </navigation>
| </page>
|
However sometimes I may need to change the directory which breaks my redirect view-id. Is there a way we can express the first portion of the view-id like
anonymous wrote : /#{rootdir}/user/list.xhtml..
If yes, what is the best way to do this? Does this support a relative path? (It requires one to have "/" ). Store the property in a resource bundle? Define in components.xml or is there another way?
I'm barely new to Seam. I have read the docs but I dont seem to find this topic there. Seam looks very promising though.
Regards,
Elmo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024809#4024809
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024809
19Â years, 1Â month
[JBoss Seam] - Issue deploying multiple Seam webapps
by lswindale
We've recently upgraded from Seam 1.0.1 to Seam 1.1.6. Previously we had jboss-seam.jar and jboss-seam-ui.jar in the jboss deploy directory. With the upgrade we've changed to the new structure where these jar's are packaged into the ear file.
The first two apps we deployed worked fine... but when trying to deploy a 3rd seam app we get a deployment error. More precisely:
anonymous wrote : java.lang.IllegalStateException: duplicate factory for: actor
I'm assuming this is due to the fact that we have deployed multiple seam apps, each containing a copy of jboss-seam.jar (which contains the factory "actor"). Is this a bug or should I be taking a diferent approach with how we are deploying these apps and/or defining them in application.xml?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024803#4024803
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024803
19Â years, 1Â month