Thanks. I now have this fully working now with a customised model class containing a setter to store the calculated field if upated from the Wicket form.
Will look at FormComponentPanel - thanks for the suggestion. Steve Timo Rantalaiho wrote: > > On Wed, 22 Oct 2008, steve222 wrote: >> But DiscountPercentage does not have a setter in my model - just a getter >> (it's calculated for viewing only and does not get persisted anywhere). >> So >> I get errors when Wicket attempts to update the model. > > I would have done this by using customised models, but a > while back in a similar discussion on this list Igor > suggested using FormComponentPanel. You can probably solve > your situation with it. > > Best wishes, > Timo > > -- > Timo Rantalaiho > Reaktor Innovations Oy <URL: http://www.ri.fi/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Wicket-AJAX-update-form-TextField-value-from-another-field-tp20117258p20124799.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]