-
1. Re: <a4j:include>
ilya_shaikovsky Dec 3, 2009 9:06 AM (in response to notify)if you dealing with can't be included exceptions from include - them could be risen not only if page not found but if included page itself contains some unreachable includes or wrong templates definitions.
-
2. Re: <a4j:include>
notify Dec 5, 2009 6:17 AM (in response to notify)"ilya_shaikovsky" wrote:
if you dealing with can't be included exceptions from include - them could be risen not only if page not found but if included page itself contains some unreachable includes or wrong templates definitions.
All the pages work fine when used (currently) as a <rich:toolBarGroup> -
3. Re: <a4j:include>
nbelaevski Dec 5, 2009 8:57 PM (in response to notify)Hi,
Just to clarify: so, when you are using tabs, pages are not found, but found when you use rich:toolBarGroup? Do you use a4j:include for the case of rich:toolBarGroup too? -
4. Re: <a4j:include>
notify Dec 6, 2009 6:40 AM (in response to notify)"nbelaevski" wrote:
Just to clarify: so, when you are using tabs, pages are not found, but found when you use rich:toolBarGroup? Do you use a4j:include for the case of rich:toolBarGroup too?
Using toobar currently (works);<rich:toolBarGroup> <h:outputText value="#{projectName}:" style="FONT-SIZE: small; FONT-FAMILY: 'Arial';"/> <s:link id="menuHomeId" view="/home.xhtml" value="Home" propagation="none" style="FONT-FAMILY: 'Arial'; FONT-SIZE: small;"/> <s:link id="menuMapId" view="/map.xhtml" value="Map" rendered="#{identity.loggedIn}" propagation="none" style="FONT-FAMILY: 'Arial'; FONT-SIZE: small;"/> <s:link id="menuItineryId" view="/journeys.xhtml" value="Journeys" rendered="#{identity.loggedIn}" propagation="none" style="FONT-FAMILY: 'Arial'; FONT-SIZE: small;"/> <s:link id="menuReportsId" view="/reports.xhtml" value="Reports" rendered="#{identity.loggedIn}" propagation="none" style="FONT-FAMILY: 'Arial'; FONT-SIZE: small;"/> <s:link id="menuYourAccountId" view="/account.xhtml" value="Your Account" rendered="#{identity.loggedIn}" propagation="none" style="FONT-FAMILY: 'Arial'; FONT-SIZE: small;"/> <s:link id="menuDevicesToTrack" view="/devicesToTrack.xhtml" value="Devices to Track" rendered="#{identity.loggedIn}" propagation="none" style="FONT-FAMILY: 'Arial'; FONT-SIZE: small;"/> </rich:toolBarGroup>
Want to use tabs. Can't find includes;<rich:tabPanel> <rich:tab id="homeTab" label="Home"> <!-- <a4j:include viewId="/home.xhtml" /> --> </rich:tab> <rich:tab id="mapTab" label="Map"> <a4j:include viewId="/map.xhtml" /> </rich:tab> <rich:tab id="journeysTab" label="Journeys"> <!-- <a4j:include viewId="/journeys.xhtml" /> --> </rich:tab> <rich:tab id="reportsTab" label="Reports"> <!-- <a4j:include viewId="/reports.xhtml" /> --> </rich:tab> <rich:tab id="yourAccountTab" label="Your Account"> <!-- <a4j:include viewId="/account.xhtml" /> --> </rich:tab> <rich:tab id="devicesToTrackTab" label="Devices to Track"> <!-- <a4j:include viewId="/devicesToTrack.xhtml" /> --> </rich:tab> </rich:tabPanel>
No matter where i put the say, map.xhtml it doesn't find it. -
5. Re: <a4j:include>
nbelaevski Dec 6, 2009 5:26 PM (in response to notify)What are JSF/Facelets/RF versions?
-
6. Re: <a4j:include>
notify Dec 6, 2009 5:32 PM (in response to notify)"nbelaevski" wrote:
What are JSF/Facelets/RF versions?
Seam: 2.2.0.GA
Rich Faces: richfaces-ui-3.3.2.GA
Deployed as an EAR on JBoss: jboss-4.2.3.GA -
7. Re: <a4j:include>
ilya_shaikovsky Dec 7, 2009 3:35 AM (in response to notify)http://anonsvn.jboss.org/repos/richfaces/branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces
check for example dataTable.xhtml in this folder.
We using including into tab panel across many demo pages so can't confirm this. -
8. Re: <a4j:include>
notify Dec 7, 2009 4:22 AM (in response to notify)"ilya_shaikovsky" wrote:
http://anonsvn.jboss.org/repos/richfaces/branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces
check for example dataTable.xhtml in this folder.
We using including into tab panel across many demo pages so can't confirm this.
Was trying to use;
<a4j:include>
but if I use (as per example);
<rich:tab id="mapTab" label="Map">
<ui:include src="/map.xhtml" />
</rich:tab>
I get;
An Error Occurred:
Could not Resolve Variable [Overflow]: request
+- Stack Trace
javax.el.ELException: Could not Resolve Variable [Overflow]: request
at com.sun.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:64)
at com.sun.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:60)
at com.sun.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:60)
at com.sun.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:60)
at com.sun.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:60)
at com.sun.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:60)
at com.sun.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:60)
etc etc ..... -
9. Re: <a4j:include>
ilya_shaikovsky Dec 7, 2009 4:35 AM (in response to notify)so seems the problem in included page as I said previously.
please paste its content somewhere.