Richard Hill-7 wrote: > > > I always thought it would be nice if tap could generate a drop down > given just a list - it could take the object id and toString() as values > for example. But sadly this does not exist so you have to build a model, > which as Stefan says is actually pretty simple. And in fact being forced > to supply your own model gives you a lot more flexibility. If you need > an example of select (and option) models for a list I can send you > something. > > > > > On Mon, 2011-02-21 at 17:29 +0100, Stefan Schuetz wrote: >> No, because tap needs to know how to remap the values on a form submit. >> So you need to provide a select model. But it's really easy stuff! >> >> >> Take a look: >> http://jumpstart.doublenegative.com.au/jumpstart/ >> >> >> - Stefan >> >> Am 21.02.2011 um 17:26 schrieb robnangle: >> >> > >> > So there is no way of doing it like a grid: >> > >> > <t:grid source="players" /> //players being a list populated from a >> > database.. >> > >> > You have to create a model ect... >> > -- >> > View this message in context: >> http://tapestry.1045711.n5.nabble.com/Enum-or-Drop-Down-tp3394312p3394364.html >> > Sent from the Tapestry - User mailing list archive at Nabble.com. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> > For additional commands, e-mail: users-h...@tapestry.apache.org >> > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > >
Ye if you could that would be very handy cheers.. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Enum-or-Drop-Down-tp3394312p3394387.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org