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
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()
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
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
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
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,
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.
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