[jboss-user] [JBoss Seam] - Re: Page action not called
Sammy8306
do-not-reply at jboss.com
Tue Jul 31 14:02:22 EDT 2007
"pete.muir at jboss.org" wrote : 1) You are using Seam 1.2(.1) but your dtd is for Seam 1.1
|
Yeah, I caught that and that's already fixed.
anonymous wrote :
| 2) Post the structure of your build project (e.g. run ls -R on an exploded ear/war).
Ok, here goes:
| $ ls -1R .
|
| Blog.page.xml
| Blog.xhtml
| EditEntry.page.xml
| EditEntry.xhtml
| META-INF
| NewBlogEntry.page.xml
| NewBlogEntry.xhtml
| UserList.page.xml
| UserList.xhtml
| ViewBlog.page.xml
| ViewBlog.xhtml
| WEB-INF
| css
| img
| index.html
| template.xhtml
| timeOut.xhtml
|
| ./META-INF:
| MANIFEST.MF
|
| ./WEB-INF:
| classes
| components.xml
| faces-config.xml
| lib
| pages.xml
| web.xml
|
| ./WEB-INF/classes:
| jboss-beans.xml
| jndi.properties
| log4j.xml
|
| ./WEB-INF/lib:
| ajax4jsf-1.1.1-SNAPSHOT.jar
| antlr-2.7.5H3.jar
| blog-jpa-seam.jar
| commons-beanutils-1.7.0.jar
| commons-codec-1.3.jar
| commons-collections-3.1.jar
| commons-collections.jar
| commons-digester-1.6.jar
| commons-el-1.0.jar
| commons-lang-2.1.jar
| commons-logging.jar
| concurrent.jar
| dom4j.jar
| ejb3-persistence.jar
| el-api.jar
| el-ri.jar
| hibernate-annotations.jar
| hibernate-entitymanager.jar
| hibernate3.jar
| hsqldb.jar
| jboss-archive-browsing.jar
| jboss-common-jdbc-wrapper.jar
| jboss-common.jar
| jboss-container.jar
| jboss-dependency.jar
| jboss-j2ee.jar
| jboss-j2se.jar
| jboss-jca.jar
| jboss-local-jdbc.jar
| jboss-microcontainer.jar
| jboss-seam-debug.jar
| jboss-seam-ui.jar
| jboss-seam.jar
| jboss-security.jar
| jboss-system.jar
| jboss-transaction.jar
| jnpserver.jar
| jsf-facelets.jar
| log4j.jar
| myfaces-api-1.1.4.jar
| myfaces-impl-1.1.4.jar
| namespace.jar
| oscache-2.3.2.jar
| thirdparty-all.jar
| xercesImpl.jar
| xml-apis.jar
|
| ./css:
| date.css
| screen.css
| trailblazer_main.css
|
| ./img:
| <snip>
|
|
So this is the layout that doesn't work. However, if I move *.page.xhtml into ./WEB-INF/, and add the the following line to Pages.java in createPage(String viewId):
| stream = Resources.getResourceAsStream( "/WEB-INF" + resourceName);
|
then they are loaded and handled correctly...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069303#4069303
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069303
More information about the jboss-user
mailing list