Pessoal,
como colocar um lightbox dentro do dataGrid?
utilizo o <p:lightBox> dentro do dataGrid, o lightBox funciona perfeitamente, mas o evento que defini no dataGrid para de funcionar. se retiro o p:lightBox volta a funcionar.
está dessa forma:
<h:form id="formGrid">
<p:growl id="returnMsg" />
<p:dataGrid var="link" value="#{voteMB.links}" id="grid" columns="3"
rows="12" effect="true" effectSpeed="fast">
<p:column>
<p:panel header="L2POG" style="align:center;">
<h:panelGrid columns="1" style="width:100%">
<p:commandLink update="formGrid:grid" oncomplete="">
<f:setPropertyActionListener target="#{voteMB.selectedLink}"
value="#{link.idLink}" />
<p:lightBox iframe="true" width="80%" height="80%">
<h:outputLink value="#{link.urlLink}" title="L2POG Anúncios">
<script type="text/javascript">
bb_bid = "001548";
bb_lang = "pt-BR";
bb_keywords = "jogos,games,play,online,rpg";
bb_name = "custom";
bb_limit = "4";
bb_format = "bbd";
</script>
<script type="text/javascript"
src="http://static.boo-box.com/javascripts/embed.js">
</script>
</h:outputLink>
</p:lightBox>
</p:commandLink>
</h:panelGrid>
</p:panel>
</p:column>
</p:dataGrid>