Why can't you?

from http://myfaces.apache.org/tomahawk/extDataTable.html:
rowOnDblClick="javascript"

then, add a hidden command link (style="display: none;"), and call the
click event of that command link in that javascript:
http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces
http://wiki.apache.org/myfaces/SubmitPageOnValueChange

Javascript shouldn't limit you at all.

On 11/17/06, Sudhakar Mekathotti <[EMAIL PROTECTED]> wrote:

On 11/17/06, Gerald Müllan <[EMAIL PROTECTED]> wrote:
> you mean something like this?
>
>
http://example.irian.at/example-sandbox-20061117/selectOneRow.jsf
>
> It is a sandbox addition to dataTable, but works very fine.

No, not really. I'm would like to do.
<t:datatable rowOnDblClick="#{mybean.editrowaction}" ....>
    <t:columns........../>
</t:datatable>

Since I've already tried that invain, how can I wrap my action call-back #{
mybean.editrowaction} in javascript i.e
<t:datatable
rowOnDblClick="javascript:invokeeditaction(mybean.editorowaction)"/>
?

BTW, those radio buttons with <s:selectoneItem> look butt-ugly! :P


> [snip]
>


Reply via email to