This content has been marked as final.
Show 4 replies
-
1. Re: f:facet does not show when rendered
mail.micke Jul 8, 2008 9:48 AM (in response to molif)
Facets can only have one child, not sure what happens with the component tree in your case.
Have you tried wrapping them in an a4j:outputPanel? -
2. Re: f:facet does not show when rendered
molif Jul 8, 2008 10:34 AM (in response to molif)No. You mean, wrap the facet header in an a4j:outputPanel or use an a4j:outputPanel instead of a facet?
Currently, my whole code is in <rich:panel> tags. -
3. Re: f:facet does not show when rendered
mail.micke Jul 8, 2008 10:45 AM (in response to molif)No, I meant wrapping the facet content.
<f:facet name="header">
<a4j:outputPanel layout="inline">
<h:outputText value="#{messages['administration.template.step2']}" rendered="#{not templateManager.editControlsFlag}"/>
<h:outputText value="#{messages['administration.template.editTempControls']}" rendered="#{templateManager.editControlsFlag}"/>
</a4j:outputPanel>
</f:facet> -
4. Re: f:facet does not show when rendered
molif Jul 8, 2008 10:48 AM (in response to molif)Yes! It worked! :) Thank you very much!