Code: Select all
<p:column>
<f:facet name="header">
Data Source
</f:facet>
<p:commandLink update="requestDetailPanel" oncomplete="requestDetailDialog.show()" title="Event Detail">
#{x.requestType.typeAsString}
<f:setPropertyActionListener value="#{x}" target="#{workbenchAction.selectedExternalDataRequest}" />
</p:commandLink>
</p:column>
Code: Select all
<p:dialog id="requestDetailDialogId" header="Request Detail" fixedCenter="true"
widgetVar="requestDetailDialog" modal="true">
<p:outputPanel id="requestDetailPanel">
<p:dataTable var="y" value="#{workbenchAction.requestEventList}" >
<p:column>
<f:facet name="header">
Event Date
</f:facet>
<h:outputText value="#{y.eventDate}" />
</p:column>
<p:column>
<f:facet name="header">
Event Type
</f:facet>
<h:outputText value="#{y.dataRequestEventType.typeAsString}" />
</p:column>
<p:column>
<f:facet name="header">
Status
</f:facet>
<h:outputText value="#{y.eventStatus.typeAsString}" />
</p:column>
</p:dataTable>
</p:outputPanel>
</p:dialog>
Is there something obviously wrong with what I'm doing? If this is a bug, is there at least a work around? I've tried using h:dataTable with the same results.
Thanks for your help!