[Tapestry-contrib] Select component problem
Brought to you by:
hship
From: Vitaliy R. <ru...@we...> - 2003-11-26 12:45:39
|
Hi, I'm new in Tapestry and have faced a one problem: I have a one select component in my template it uses @Foreach and = @Options components to produce my multiselect element, everythings is Ok, but I cannot manage the = values attributes of option element, it always generate numeric values: <select name=3D"$Select" multiple=3D"multiple"> <option value=3D"0">Test1</option> <option value=3D"1">Test2</option> <option value=3D"2">Test3</option> but I need for example: <select name=3D"$Select" multiple=3D"multiple"> <option value=3D"T1">Test1</option> <option value=3D"T2">Test2</option> <option value=3D"T3">Test3</option> Using PropertySelection allows to connect IPropertySelectionModel and = manage values, but not in multiple select... Is there the right way to do what I want? Best Regards, Vitali |