Can anybody provide a hint as to what could be causing this and where
the real solution lies?
-------- Original Message --------
Subject: [Issue 854] Checkbox and Radio Button > Client-side rbcb group
example, disable function error
Date: Thu, 18 Oct 2007 16:59:40 +0000
From: bob_yennaco_at_dev.java.net
Reply-To: issues_at_woodstock.dev.java.net
To: issues_at_woodstock.dev.java.net
https://woodstock.dev.java.net/issues/show_bug.cgi?id=854
------- Additional comments from bob_yennaco_at_dev.java.net Thu Oct 18 16:59:37 +0000 2007 -------
This can be reproduced by setting focus to any element on the page and hitting
the Return key. Additionally if I swap the order of the Enable/Disable buttons,
then hitting Return enables the checkboxes. What is happening is that the event
associated with the Return key is causing the 1st onClick handler in the page to
be executed. In this case, it is the handle for the Disable button which
disables the checkboxes. I can make the problem go away by adding an invisible
button before the Enable/Disable buttons:
<webuijsf:button primary="false" id="foo" text="Foo" visible="false"
onClick="return false;"/>
But this is just a workaround hack, not a valid solution.
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe_at_woodstock.dev.java.net
For additional commands, e-mail: issues-help_at_woodstock.dev.java.net