wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Maw" <wic...@almaw.com>
Subject Re: Advance RadioChoice Examples
Date Tue, 01 Apr 2008 20:42:55 GMT
You have to use the constructor that takes an IChoiceRenderer, same as any
other AbstractChoice component like a DropDownChoice. You should be able to
figure the rest out from the JavaDocs and examples for that.



On Tue, Apr 1, 2008 at 9:29 PM, Shelli D. Orton <shelli.orton@wmode.com>

> I'm trying to figure out how to have a RadioChoice's display value be
> different from the option value.  For example, I want to display:
> (x) Display Options on Single Page
> ( ) Display Options on Mulitple Pages
> But I want the value saved to the model to be either "single" or
> "multiple".  I'm guessing it has to do with using a RadioChoice constructor
> that takes a IChoiceRenderer that has overridden methods that do what I
> want.  But I can't find any but the simplest of of RadioChoice examples.
> Can someone point me to web resource or show me how this is done?
> Thanks in advance!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message