Trouble with rich:modalPanel in liferay 6
newbeewan Jun 22, 2010 5:01 AMHi,
I'm using liferay 6.0.2 with jboss portlet bridge 2.0.0.Final, JSF 1.2 (mojarra), facelet 1.1.15 and richfaces 3.3.3.Final on tomcat.
Most of things works well (ajax requests, menu, panel...) but I have some troubles with modal panel, when I'm using it, the page flash a little, showing the content of the panel and after become blank ... There are no error message no exception server side and the page source is completly empty !
It works when deploying as webapp in standalone environment.
The code :
<h:form>
<rich:dataList value="#{taskViewerControler.assignedTasks}" var="taskInfo" >
<rich:panel id="assignedTaskPanel">
<rich:modalPanel id="panel" width="350" height="100">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Process details"></h:outputText>
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/images/modal/close.png" styleClass="hidelink" id="hidelink"/>
<rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
</h:panelGroup>
</f:facet>
<h:panelGrid columns="2">
<h:outputText value="Process Name"/>
<h:outputText value="#{taskInfo.processDefinition.name}"/>
<h:outputText value="Start date :"/>
<h:outputText value="#{taskInfo.instanceStartDate}">
<f:convertDateTime type="date" dateStyle="medium"/>
</h:outputText>
</h:panelGrid>
</rich:modalPanel>
<h:commandLink actionListener="#{changePortletStateAction.portletMaximize}"
action="#{bpmProcessControler.showProcessState}" value="#{taskInfo.task.name}">
<f:param name="taskId" value="#{taskInfo.task.id}"/>
</h:commandLink>
<h:outputLink id="zoomin" value="#">
<h:graphicImage value="/images/zoomin.png"/>
<rich:componentControl for="panel" attachTo="zoomin" operation="show" event="onclick"/>
</h:outputLink>
</rich:panel>
</rich:dataList>
</h:form>
Is there any of you who is using that configuration and solved that issue or got an idea to inspect it ?
Regards