I can manually assign the variable at run time using the getModelObject()
function... I know you can bind through property models, is trying to do so
with a regular Model() object wrong?


walnutmon wrote:
> 
> All, 
> 
> I have a form, the page has an object "company", a dropdown list has a
> bunch of companies...
> 
> return new DropDownChoice("companies", new Model(company), 
>                getCompanies, new ChoiceRenderer("name"));
> 
> I add a button, that has a simple on submit... However, on processing the
> next page load "company" is null, so it seems that the model connection
> isn't there.
> 
> Any ideas?
> 



-- 
View this message in context: 
http://www.nabble.com/DropDownChoice-Model-issue-tp19818497p19819034.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]

Reply via email to