AW: AjaxCheckBox not receiving onUpdate Event

2007-12-19 Thread Stefan Lindner
Override a methode calles something like wantChangeNotificatoin and meke it 
return true

Stefan 

-Ursprüngliche Nachricht-
Von: Advanced Technology® [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 19. Dezember 2007 08:32
An: users@wicket.apache.org
Betreff: AjaxCheckBox not receiving onUpdate Event

Hi,
I have this code :
final AjaxCheckBox bbcaucao = new AjaxCheckBox(bbcaucao) {
protected void onUpdate(AjaxRequestTarget target) {
System.out.println(new Date());
}
};

The Date gets printed only if the checkbox is  unchecked.

Could someone give me some light.

Thanks in Advance.
AT(R)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AjaxCheckBox not receiving onUpdate Event

2007-12-19 Thread Advanced Technology®
Thanks Stefan, But the error persist , still not notifing when Checkbox is
unchecked.


AT


2007/12/19, Stefan Lindner [EMAIL PROTECTED]:

 Override a methode calles something like wantChangeNotificatoin and meke
 it return true

 Stefan

 -Ursprüngliche Nachricht-
 Von: Advanced Technology(R) [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 19. Dezember 2007 08:32
 An: users@wicket.apache.org
 Betreff: AjaxCheckBox not receiving onUpdate Event

 Hi,
 I have this code :
 final AjaxCheckBox bbcaucao = new AjaxCheckBox(bbcaucao) {
 protected void onUpdate(AjaxRequestTarget target) {
 System.out.println(new Date());
 }
 };

 The Date gets printed only if the checkbox is  unchecked.

 Could someone give me some light.

 Thanks in Advance.
 AT(R)

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
AT(R)


Re: AjaxCheckBox not receiving onUpdate Event

2007-12-19 Thread Gwyn Evans
Something else going on, as that's fine without the
onChangeNotification - try  simplify it to a test case (which'll
work)  then work back is all I can suggest.

/Gwyn

On 19/12/2007, Advanced Technology(R) [EMAIL PROTECTED] wrote:
 Thanks Stefan, But the error persist , still not notifing when Checkbox is
 unchecked.


 AT


 2007/12/19, Stefan Lindner [EMAIL PROTECTED]:
 
  Override a methode calles something like wantChangeNotificatoin and meke
  it return true
 
  Stefan
 
  -Ursprüngliche Nachricht-
  Von: Advanced Technology(R) [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 19. Dezember 2007 08:32
  An: users@wicket.apache.org
  Betreff: AjaxCheckBox not receiving onUpdate Event
 
  Hi,
  I have this code :
  final AjaxCheckBox bbcaucao = new AjaxCheckBox(bbcaucao) {
  protected void onUpdate(AjaxRequestTarget target) {
  System.out.println(new Date());
  }
  };
 
  The Date gets printed only if the checkbox is  unchecked.
 
  Could someone give me some light.
 
  Thanks in Advance.
  AT(R)
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AjaxCheckBox not receiving onUpdate Event

2007-12-18 Thread Advanced Technology®
Hi,
I have this code :
final AjaxCheckBox bbcaucao = new AjaxCheckBox(bbcaucao) {
protected void onUpdate(AjaxRequestTarget target) {
System.out.println(new Date());
}
};

The Date gets printed only if the checkbox is  unchecked.

Could someone give me some light.

Thanks in Advance.
AT(R)