Re: [Wicket-user] Newbie can't get the DropDownChoice right

2007-04-02 Thread Eelco Hillenius
Just FYI, SimpleConverterAdapter was added to Wicket a while ago to make writing specific two-way converters a bit easier. Don't forget to read the Javadocs though. After the recent converter backport in 1.3, they are not as relevant. Eelco On 4/2/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:

Re: [Wicket-user] Newbie can't get the DropDownChoice right

2007-04-02 Thread Thomas R. Corbin
On Friday, 30 March 2007 08:07 am, Andrew Moore escreveu: > I've got a simple option class (as i've seen in examples) > > > public class Option { > String key; > String value; > > public String getKey() { > return key; > } > > public void setKey(String ke

Re: [Wicket-user] Newbie can't get the DropDownChoice right

2007-03-30 Thread Martijn Dashorst
the ddc will try to set the Option on the model object. public class Foo { Option option; } form = new Form("form", new CompoundPropertyModel(new Foo())); form.add(new DropDownChoice("option", imageList, new ChoiceRenderer(...)); This instructs Wicket to bind the value of the ddc to the opti

[Wicket-user] Newbie can't get the DropDownChoice right

2007-03-30 Thread Andrew Moore
I've got a simple option class (as i've seen in examples) public class Option { String key; String value; public String getKey() { return key; } public void setKey(String key) { this.key = key; } public St