This content has been marked as final.
Show 2 replies
-
1. Re: Accessing a row in an extended data table
swhatmore Jun 13, 2009 8:53 PM (in response to erdemosman)We have done exactly the same thing
<a4j:commandButton styleClass="small-delete-button" onclick="javascript:Richfaces.showModalPanel('deleteMP')" immediate="true" rendered="#{rowItem.canBeDeleted}"> <a4j:actionparam name="rowId" value="#{rowItem.id}" assignTo="#{rowAction.currentRowId}"/> </a4j:commandButton>
Some details changed but you should get the idea here.
Whatty -
2. Re: Accessing a row in an extended data table
swhatmore Jun 13, 2009 8:56 PM (in response to erdemosman)Oh, forgot to mentioned, you need to be very careful with this depending on the size of your table.
The different browsers (IE, FF) rendering engine's performance varies greatly, so much in fact that we had to switch from the SDT to EDT when we were using image buttons because the rendering was so slow, and in fact we switched to a URL link instead of a button in certain tables where the number of rows is large because performance suffered so greatly.
Enjoy and have fun!
Whatty