onclick doesn't work either.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:56 AM
To: users@wicket.apache.org
Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponentPanel
also, for what its worth, onclick
Ok, I noticed when I use AjaxFormComponentUpdatingBehavior, no JavaScript gets
added to radio buttons.
-Original Message-
From: Zhubin Salehi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 9:18 AM
To: users@wicket.apache.org
Subject: RE: Problem with using RadioGorup and
are you adding the bheavior to Radio or RadioGroup, it needs to go to
Radio components
-igor
On Thu, Mar 20, 2008 at 6:21 AM, Zhubin Salehi [EMAIL PROTECTED] wrote:
Ok, I noticed when I use AjaxFormComponentUpdatingBehavior, no JavaScript
gets added to radio buttons.
-Original
I'm adding AjaxFormComponentUpdatingBehavior to RadioGroup. If I add it to
Radio I get a runtime exception that says AjaxFormComponentUpdatingBehavior
can only be added to a FormComponent.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008
right. see AjaxFormChoiceComponentUpdatingBehavior
-igor
On Thu, Mar 20, 2008 at 10:02 AM, Zhubin Salehi
[EMAIL PROTECTED] wrote:
I'm adding AjaxFormComponentUpdatingBehavior to RadioGroup. If I add it to
Radio I get a runtime exception that says AjaxFormComponentUpdatingBehavior
can only
I added the AjaxFormChoiceComponentUpdatingBehavior to Radio objects and I
got a runtime exception (can only be added to...), then I added it to the
RadioGroup and nothing happens when I change the selection!
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent:
OK, now I changed my code to this:
add(nanp = new RadioChoice(nanp, new PropertyModel(this,
phoneNumber.nanp), Arrays.asList(new String[] {
true, false })));
nanp.add(new AjaxFormComponentUpdatingBehavior(onclick) {
in onupdate you should be calling getmodelobject()
-igor
On Thu, Mar 20, 2008 at 10:55 AM, Zhubin Salehi
[EMAIL PROTECTED] wrote:
OK, now I changed my code to this:
add(nanp = new RadioChoice(nanp, new PropertyModel(this,
phoneNumber.nanp), Arrays.asList(new String[] {
there is also a bug report in jira for formchoice..behavior, see if
that affects you...
-igor
On Thu, Mar 20, 2008 at 11:08 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
in onupdate you should be calling getmodelobject()
-igor
On Thu, Mar 20, 2008 at 10:55 AM, Zhubin Salehi
[EMAIL
Hi all,
I'm trying to update some TextFields in a FormComponentPanel when the user
selects a radio button from a RadioGroup.
Here is a fragment of my code that created Radio and RadioGroup objects:
add(nanp = new RadioGroup(nanp, new PropertyModel(this,
phoneNumber.nanp)));
ajax event behavior does not send over input. try
ajaxformcomponentupdatingbehavior.
-igor
On Wed, Mar 19, 2008 at 2:19 PM, Zhubin Salehi [EMAIL PROTECTED] wrote:
Hi all,
I'm trying to update some TextFields in a FormComponentPanel when the user
selects a radio button from a RadioGroup.
So now I wrote this code:
nanp.add(new Radio(nanpTrue, new Model(new Boolean(true;
nanp.add(new Radio(nanpFalse, new Model(new Boolean(false;
nanp.add(new AjaxFormComponentUpdatingBehavior(onschange) {
private static
i dont think browsers support an onschange event :)
-igor
On Wed, Mar 19, 2008 at 7:24 PM, Zhubin Salehi [EMAIL PROTECTED] wrote:
So now I wrote this code:
nanp.add(new Radio(nanpTrue, new Model(new Boolean(true;
nanp.add(new Radio(nanpFalse, new
also, for what its worth, onclick works a lot better for this sort of
thing when dealing with check/readio html components
-igor
On Wed, Mar 19, 2008 at 10:55 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
i dont think browsers support an onschange event :)
-igor
On Wed, Mar 19, 2008 at
14 matches
Mail list logo