This content has been marked as final.
Show 4 replies
-
1. Re: Reorganizing templates in WEB-INF
baz Feb 5, 2008 1:13 AM (in response to brombie)I am not sure what you mean.
If you have a web project generated with jboss tools all pages are in the Web-Content folder.
If you use a seam-gen project, all pages are in the view folder.
You can build up any hierachy in these folders. the *.page.xml belongs in the same folder where the coresponding *.xhtml is.
I have never seen, that pages are stored in the WEB-INF folder. -
2. Re: Reorganizing templates in WEB-INF
brombie Feb 5, 2008 1:28 AM (in response to brombie)Sorry, you're right, please replace all WEB-INF references in my original post to WebContent.
I tried building up the hierarchy inside WebContent, but if the xhtml and page.xml is not directly under WebContent, Seam is not picking them up. -
3. Re: Reorganizing templates in WEB-INF
nickarls Feb 5, 2008 1:57 AM (in response to brombie)You will have to add the path to all references of the page also. So if you have an
<ui:include src="foo.xhtml"/>
it should become<ui:include src="/thefolder/foo.xhtml"/>
Same goes everywhere the page is referenced - templates, navigation etc. -
4. Re: Reorganizing templates in WEB-INF
brombie Feb 5, 2008 2:13 AM (in response to brombie)Thank you, that's what I've been missing!