This content has been marked as final.
Show 4 replies
-
1. Re: How to show details of the datatable in a modalPanel
ilya_shaikovsky Jun 3, 2008 9:36 AM (in response to lgweb)you could use a4j:support pointed on onrowdblclick and add parameter with rowKey to support. Then on server side populate the info for corresponding row. reRender the panel and show it on oncomplet.
-
2. Re: How to show details of the datatable in a modalPanel
lgweb Jun 3, 2008 9:40 AM (in response to lgweb)Never used the rowkey, for which he serves?
-
3. Re: How to show details of the datatable in a modalPanel
ilya_shaikovsky Jun 3, 2008 9:48 AM (in response to lgweb)I mean some parameter which will identify your row at server ;)
-
4. Re: How to show details of the datatable in a modalPanel
lgweb Jun 3, 2008 10:10 AM (in response to lgweb)Thank you for help ilya_shaikovsky, managed to solve this:
<a4j:support event="onRowDblClick" action="#{pedido.detalhesVenda}" oncomplete="javascript:Richfaces.showModalPanel('frm:itens')" > <f:setPropertyActionListener target="#{pedido.id}"value="#{vendas.pedidoid}" /> </a4j:support>
hugs. ;)