That actually did help being able to look through the code (some links are
broken from the 87.193.218.134 site).  My issue that I was trying hard to
just have strings in the list.  It looks like a getter is required to pull a
value so once i created an object with one attribute (value) i was able to
get it working.  Is there a way I was missing to get it to work with just a
list of strings? Are their plans for a multiple select checkbox component
similar to this?

Thanks for the help,
Zack


Weisu wrote:
> 
> Hi Zack, please look at the t5component demo site @
> http://87.193.218.134:8080/t5c-demo/multipleselectpage, the java source  @
> http://tapestry5-components.googlecode.com/svn/trunk/demo/src/main/java/org/apache/tapestry/demo/pages/MultipleSelectPage.java,
> the tml @
> http://tapestry5-components.googlecode.com/svn/trunk/demo/src/main/resources/org/apache/tapestry/demo/pages/MultipleSelectPage.tml
> 
> zack1403 wrote:
>> 
>> @
>> http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/MultipleSelect.html
>> the docs say its not required but I guess I need it.  Do you have a
>> snippet similar to what you gave for selectModel?  Or further
>> documentation on initiating an instance of a select model
>> 
>> Thanks,
>> Zack
>> 
>> Weisu wrote:
>>> 
>>> You need to define encoder in your tml file, this is my:
>>> <td><select t:type="t5components/MultipleSelect" size="10"
>>>                                             encoder="selectModel" 
>>>                                             model="selectModel"
>>>                                             value="selectedDistricts"/>
>>> </td>
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5-components-MultipleSelect-use-tp17524086p17588928.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to