I'm implementing the Basic Selection Datatable from the Showcase. When clicking the View button, the dialog pops up and show the info but then it doesn't respond. The dialog goes blue (meaning it lost focus?) just like the rest of the page.
I'm using almost identical code to the showcase, I've changed little.
My dialog code is this:
Code: Select all
<p:dialog header="Album Info" widgetVar="albumDialog" modal="true" showEffect="fade" hideEffect="fade" resizable="false">
<p:outputPanel id="albumDetail" style="text-align:center;">
<p:panelGrid columns="2" rendered="#{not empty store.selectedAlbum}" columnClasses="label,value">
<f:facet name="header">
<p:graphicImage library="images" name="covers/deceiverofthegods.jpg" height="50" width="50" />
</f:facet>
<h:outputText value="#{store.selectedAlbum.albumtitle}"/>
<h:outputText value="#{store.selectedAlbum.price}"/>
</p:panelGrid>
</p:outputPanel>
</p:dialog>
https://youtu.be/eAulRXj4QXY