xxforms-dialog-close error

classic Classic list List threaded Threaded
2 messages Options
hcr
Reply | Threaded
Open this post in threaded view
|

xxforms-dialog-close error

hcr

Hello.
   It will fire twice "xxforms-dialog-close" event  when hide a dialog useing "xxforms:hide". For example attachment "dialog.xhtml". Is it a dialog bug?



网易邮箱,中国第一大电子邮件服务商


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

dialog.xhtml (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xxforms-dialog-close error

Alessandro Vernet
Administrator
hcr wrote
   It will fire twice "xxforms-dialog-close" event  when hide a dialog useing "xxforms:hide". For example attachment "dialog.xhtml". Is it a dialog bug?
Yes, this is a known issue. It doesn't have any negative side effect other than the added Ajax request which wouldn't be necessary. This of course unless your code relies on the fact that you will only receive this event once, but I guess you can easily work around that, right?

For reference, the bug is:

http://forge.objectweb.org/tracker/?group_id=168&atid=350207&func=detail&aid=309269

Alex