You can populate the selectedList in onPrepareForRender(){ //Populate with values }
regards Taha On Thu, Apr 21, 2011 at 5:49 AM, Josh Canfield <joshcanfi...@gmail.com>wrote: > What is the value of "selectedList" when you render the component? > Isn't this supposed to contain the values that are selected? > > On Wed, Apr 20, 2011 at 5:11 PM, TG <tapestry...@hotmail.com> wrote: > > One thing I noticed is, in my form I used the following - > > > > <form t:type="beaneditform" object="user"> > > <t:parameter name="id"> > > ${user.id} > > </t:parameter> > > <t:parameter name="userRole"> > > <label t:type="Label" for="userRole"/> > > <t:ck.MultipleSelect t:id="userRole" value='selectedList' > > model='model' encoder='encoder'/> > > * select more than once for multiple roles > > </t:parameter> > > </form> > > > > Is the above causing the incorrect behavior that I am seeing (not > > remembering selected values)? > > > > TIA > > > > -- > > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-5-Select-component-s-multiple-property-tp4304338p4329635.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 > >