This content has been marked as final.
Show 3 replies
-
1. Re: Want to open modalPanel onRowClick event of extendedDataTable
akaine Jun 20, 2010 4:35 PM (in response to jsfgeeks)<rich:extendedDataTable value="#{agendaBean.listaDeHoras}" var="item"> <f:facet name="header"> <rich:columnGroup> <rich:column> <h:outputText value="Column_1" /> </rich:column> <rich:column> <h:outputText value="Column_2" /> </rich:column> </rich:columnGroup> </f:facet> <rich:column> <h:outputText value="#{item.someValue1}" /> </rich:column> <rich:column> <h:outputText value="#{item.someValue2}"/> </rich:column> <a4j:support event="onRowDblClick" reRender="myModalPanelId" action="#{managedBean.someAction}" oncomplete="#{rich:component('myModalPanelId')}.show();" /> </rich:extendedDataTable>
Alternatively for the oncomplete attribute you could use: oncomplete="#{'Richfaces.showModalPanel(\'myModalPanelId\');'}" which can be usefull in multiple js actions and form validation conditional expressions.
-
2. Re: Want to open modalPanel onRowClick event of extendedDataTable
jsfgeeks Jun 21, 2010 3:06 AM (in response to akaine)Thanks for your support,
I'll try it.
Thanks,
JSF GEEKS
-
3. Re: Want to open modalPanel onRowClick event of extendedDataTable
jsfgeeks Jun 23, 2010 2:22 AM (in response to akaine)Hi Akaine Harga,
Thanks for your kind support. It works fine for me.
Regards,
JSF GEEKS