Re: [Wicket-user] how to get a form's field when i click on an ajax object

2007-04-28 Thread Igor Vaynberg
you most likely did not give the formcomponent a model. paste the relevant code -igor On 4/28/07, wicket0123 <[EMAIL PROTECTED]> wrote: when i use getformcomponent.getmodleobject inside the onupdate, it throws nullpointer exeption. see code below, ((SignUpFormModel) getFormComponent().ge

Re: [Wicket-user] how to get a form's field when i click on an ajax object

2007-04-28 Thread wicket0123
when i use getformcomponent.getmodleobject inside the onupdate, it throws nullpointer exeption. see code below, ((SignUpFormModel) getFormComponent().getModelObject()).getUserName() If I use this, i have no problem: ((SignUpFormModel) getComponent().getParent().getModelObject()).getUserName()

Re: [Wicket-user] encoding of AttributeModifier's model

2007-04-28 Thread Ludovic Orban
I faced this with version 1.2.6 but could reproduce it as well with a fresh build I made from 1.3 in svn's trunk. So I've opened a JIRA issue as you asked: https://issues.apache.org/jira/browse/WICKET-517 Merci, Ludovic Jean-Baptiste Quenot-3 wrote: > > * Ludovic Orban: >> >> I recently face

Re: [Wicket-user] RadioGroup Broken(1.2.5+?/when usingwantOnSelectionChangedNotifications)?

2007-04-28 Thread Nino Wael
done : https://issues.apache.org/jira/browse/WICKET-512 notice the nice number:) -Original Message- From: [EMAIL PROTECTED] on behalf of Eelco Hillenius Sent: Fri 27-04-2007 11:24 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] RadioGroup Broken(1.2.5+?/when usingwantOn

Re: [Wicket-user] Which component to use for this table (creating a planning application)

2007-04-28 Thread Okke Tijhuis
Thanks Martijn for the quick response, I'll focus on the DataTable/TreeTable components first then. Okke Martijn Dashorst wrote: > It would not be too hard to create your own custom datatable for this > purpose. Just copy the code and remove what you don't like, or add > what you need. Or look

Re: [Wicket-user] Which component to use for this table (creating a planning application)

2007-04-28 Thread Martijn Dashorst
It would not be too hard to create your own custom datatable for this purpose. Just copy the code and remove what you don't like, or add what you need. Or look at the patterns used in the datatable to get an understanding of how it is made. The repeaters package (Repeater, RepeatingView, DataView,

[Wicket-user] Which component to use for this table (creating a planning application)

2007-04-28 Thread Okke Tijhuis
Hi, I'm currently evaluating Wicket (version 1.2.5) for use in our company. For evaluation I've decided to try and create a planning application that integrates with our job scheduler as well. Sofar I like wicket a lot but it's still hard to get my head around which components to use at times.

Re: [Wicket-user] how to get a form's field when i click on an ajax object

2007-04-28 Thread Martijn Dashorst
Also, attach the formcomponentupdate behavior to the field that needs to be updated, not to a button. Martijn On 4/28/07, wicket0123 <[EMAIL PROTECTED]> wrote: > > I want to use ajax to check if a field value is valid w/o submitting the > entire form. I add AjaxFormComponentUpdatingBehavior to m