[jboss-user] [JBoss Seam] - Re: Page action not called
Sammy8306
do-not-reply at jboss.com
Thu Jul 26 10:57:26 EDT 2007
(I'll keep talking to myself :-), since I think it might be useful for others too)
minor breakthrough: the resource loading seems to be the culprit. Pages.java strips the leading slash of the view id, replaces its extension with .page.xml and delegates to Resources.getResourceAsStream(), which fails all its options to load the file. However, if I prepend "/WEB-INF" to the resource string used in Pages.java, it works (of course the *.page.xml files need to be present in this dir)!!
However, I would rather not use my own patched version of Seam. Why aren't the files loaded when they are in the root of the webapp, along with the facelets .xhtml files?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067850#4067850
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067850
More information about the jboss-user
mailing list