-
1. Re: ui:include in Richfaces 4
swastikpadhy84 Jul 22, 2011 10:24 AM (in response to vinhqdo)Hi,
You can use <ui:include> as given below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"><body>
<ui:include src="/abc.xhtml" />
</body>
</html>
its working in mycase.
-
2. Re: ui:include in Richfaces 4
vinhqdo Jul 22, 2011 10:44 AM (in response to swastikpadhy84)Thanks for your quick response.
I will try to use your example but I noticed that you use <body> instead of <h:body>. Do you know the difference between the two?
I know JSF but I am not very familiar with facelets.
-
3. Re: ui:include in Richfaces 4
nbelaevski Jul 22, 2011 12:56 PM (in response to vinhqdo)Hi,
Can you please clarify in more details what exactly is not working?
-
4. Re: ui:include in Richfaces 4
vinhqdo Jul 22, 2011 4:02 PM (in response to nbelaevski)Thanks. The issue went away after I played around with the xm namespaces.
It must have been an errant namespace declaration.
Thanks for all your help.