On 04/02/2011 11:42 PM, Freddy Daoud wrote:
> Nice writeup Joel and good to have for a quick reference.
>
> Thomas, I know your question was about JSP functions, but I just
> wanted to mention that for the actual example you mentioned, you
> can probably get Stripes to do the work for you.
>
> Something along the lines of:
>
> <stripes:select multiple="multiple"
> name="item.scoringCategories">
>    <stripes:options-collection
> collection="${actionBean.someProperty}"
>      value="id" label="name"/>
> </stripes:select>
>
> If item.scoringCategories does not contain the values to render
> as selected, you can also use the value= attribute of
> <stripes:select>.

mhh... *thinking*... Yes... This is of course exactly what I need in 
this case here. Thanks Freddy!

>
> Cheers,
> Freddy

Thomas

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to