I've written up a new example document for workign with drop down choice components, as they seem to be a source of confusion (should be available any time soon when Apache syncs the servers)
http://incubator.apache.org/wicket/examples.html Martijn On 3/31/07, Kurt R. Hoehn <[EMAIL PROTECTED]> wrote: > That worked great! Thank you for the assistance and advice. > > -kurt > > On Sat, 2007-03-31 at 09:17 -0800, Igor Vaynberg wrote: > > On 3/31/07, Kurt R. Hoehn <[EMAIL PROTECTED]> wrote: > > Wicket 2.0-SNAPSHOT > > Wicket-Spring 2.0-SNAPSHOT > > > > wicket 2.0 has been discontinued for various reasons. you might want > > to switch your project to the 1.x branch. > > > > > > > > new DropDownChoice<Profile>(form, "profile", > > profileManager.getProfiles(getProfile()), > > > > thats all you need - ie dont specify the model. that way ddc will use > > the compound property model you have and put its selection into the > > "profile" property for you. > > > > also notice that profilemanager.getprofiles(getprofile()) should be > > new LoadableDetachableModel() { load() { return > > profilemanager.getprofiles... > > > > -igor > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.5 will keep your server alive. Download Wicket now! http://wicketframework.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user