I figured it out.

If the object doesn't have a getter, the setter won't be called, and instead it 
just injects the value into the field.

That seems like a bug, do I need to prepare a quickstart?

D/

On May 13, 2010, at 2:51 AM, Cemal Bayramoglu wrote:

> Send a QuickStart (simplest one you can create that demonstrates this)
> and we'll take a look.
> 
> Regards - Cemal
> jWeekend
> OO & Java Technologies, Wicket
> Consulting, Development, Training
> http://jWeekend.com
> 
> 
> 
> On 13 May 2010 08:17, Douglas Ferguson <doug...@douglasferguson.us> wrote:
>> I am seeing some unexpected behavior.
>> 
>> I have a page with a text field and a link on it.
>> The text field is backed with a property model
>> The text field has an AjaxFormComponentUpdatingBehavior on it.
>> 
>> The link then persists the object that the property model is wrapping.
>> 
>> I never see the setter get called for the object.
>> The setter massages the data. I see the raw data, as entered in the browser, 
>> get stored to my db.
>> I also never hit my breakpoint int he setter.
>> 
>> D/
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to