Hello World,
My Platform:
Linux
Richfaces-3.3.3.Final
GateIn-3.0.0-GA
I am trying to render rich panel in GateIn portal but not luck. I have also tried using modalPanel but also unsuccessfully. No component inside either the panel or modalPanel is rendered unless I am not using them. Also, outside the GateIn and with the panel or modalPanel, they work okay. I have even tried Primefaces dialog but to no avail.
Any suggestion?
The code is basic:
<f:view 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">
<h:form id="newArtMovementMainForm"
rendered="#{backing_newArtMovement.formBean.artMovementIsRendered}">
<rich:panel id="newArtMovementMainTopPanel"
styleClass="cssInputFormPanelWidth">
<f:facet name="header">
<h:outputFormat id="newArtMovementMainOutputFormat"
value="New #{backing_newnewArtMovement.formBean.localDisplayName}" />
</f:facet>
<h:inputText id="nameInputText"
value="#{backing_newArtMovement.modelValue.name}"
binding="#{backing_newArtMovement.nameInputText}"
required="#{backing_newArtMovement.formBean.nameIsRequired}"
rendered= "#{backing_newArtMovement.formBean.nameIsRendered}"
</h:inputText>
</rich:panel>
</h:form>
<f:view>
Thanks
Not yet found a solution for my rich:panel problem but as for the modalPanel, simply adding 'showWhenRendered="true"' does the business. I will update this page when I find a solution for the rich:panel.