Re: t5-components MultipleSelect use

2010-09-30 Thread LLTYK
2.nabble.com/Re-t5-components-MultipleSelect-use-tp5587568p5587630.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands,

Re: t5-components MultipleSelect use

2010-09-30 Thread Lothar Nieswandt
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.g

Re: t5-components MultipleSelect use

2008-06-01 Thread zack1403
One last issue if i persist my list thats going into the value attribute it all works fine until i refresh the page once. At which point i get this: object is not an instance of declaring class. Any idea what that might be? Originates at org.apache.tapestry.commons.models.GenericMultipleSel

Re: t5-components MultipleSelect use

2008-06-01 Thread zack1403
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

Re: t5-components MultipleSelect use

2008-06-01 Thread Weisu
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.googl

Re: t5-components MultipleSelect use

2008-05-30 Thread zack1403
@ 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

Re: t5-components MultipleSelect use

2008-05-29 Thread Weisu
You need to define encoder in your tml file, this is my: zack1403 wrote: > > Hmm, still getting the error: > > Render queue error in > BeforeRenderTemplate[survey/contact/Upload:multipleselect]: Failure > reading parameter 'encoder' of component > survey/contact/Upload:multipleselect: Could n

Re: t5-components MultipleSelect use

2008-05-29 Thread zack1403
Hmm, still getting the error: Render queue error in BeforeRenderTemplate[survey/contact/Upload:multipleselect]: Failure reading parameter 'encoder' of component survey/contact/Upload:multipleselect: Could not find a coercion from type org.apache.tapestry.internal.services.StringValueEncoder to ty

Re: t5-components MultipleSelect use

2008-05-28 Thread Weisu
Hi Zack, I think you need to define your getSelectModel(), this is my getSelectModel method. Hope this helps. public GenericMultipleSelectModel getSelectModel() { _districtList = _editService.getDistricts(); _selectModel = new GenericMultipleSelectModel(_districtList, EllipseD