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,
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
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
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
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
@
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
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
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
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