Quick & Dirt Solution:
- add a closing button to the dialog
- hide it with css
- "click" the button using javascript in the ondblclick event of the
tr:table. Something like
ondblclick="documento.getElementById('closeButtonId').click();"
I don't remember if I used something like that before but I think it works.
Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br
On Tue, Nov 25, 2008 at 12:57 PM, Bruno Marti <[EMAIL PROTECTED]> wrote:
> I've got a lightweight dialog with a tr:table as result list. Where row
> selction is "single". Everything works as expected. But now, I'd like to
> autosubmit and close the the dialog on row selection (click on rows radio
> button column OR if I double click somewhere on entire row). Is there a way
> to do this? Perhaps on tr:table ondblclick="....", but how? Any solutions?
> (myfaces 1.1.5, trinidad 1.0.10) dialog.jsp:
> ------------------------------
> View this message in context: [Trinidad] dialog auto
> submit<http://www.nabble.com/-Trinidad--dialog-auto-submit-tp20682081p20682081.html>
> Sent from the MyFaces - Users mailing list
> archive<http://www.nabble.com/MyFaces---Users-f181.html>at Nabble.com.
>