JSF automatically loads faces-config.xml so you shouldn't have a specific
reference to it in web.xml. You only need to put other files to load in
javax.faces.CONFIG_FILES. If you do include it it gets loaded twice and hence
all sorts of bad stuff happens (e.g. two Seam Phase Listeners are loade
Right, you should definitely not use javax.faces.CONFIG_FILES to reference
/WEB-INF/faces-config.xml.
I don't know what your other exceptions are about, I have never seen them
before. Probably not related to Seam.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
Petemuir and Gavin,
Thank you very much for your directions, I fixed my problem after removing
javax.faces.CONFIG and recoding my web.xml.
I have one more question, did anyone ever combine faces/tiles with facelets? Or
is it possible? Thank you.
Best regards,
GUS
View the original post :
h
facelets has ui:composition/ui:define which lets you do the stuff that tiles is
mostly used for. I understand that tiles has some extra functionality but are
you sure you need it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956682#3956682
Reply to the pos
Hi Gavin,
Yes, I used myfaces/tiles in my project, and it is great. Now, I also want to
use facelets, but I don't know whether it is possible to keep the myfaces/tiles
and also use facelets functions. Thank you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3
So my suggestion is to try using the built-in tiles-like features of facelets.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956719#3956719
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956719
--