Jeroen,
thanks for the suggestion.
Though it still fails. The key of the trouble is the EL part (such as
${i.index}]) fails to work with the indexed properties (with or without
checkbox). I don't know where is the trick. Stripes solves a lot of problems,
but it do have tricks...
Any more suggestions?
regards,
Lu
> To: [email protected]
> From: [EMAIL PROTECTED]
> Date: Sat, 22 Nov 2008 19:42:32 +0000
> Subject: Re: [Stripes-users] issues with stripes indexed check box
>
> When I use checkboxes I do it this way:
>
> <c:forEach items="${actionBean.jobList}" var="job" varStatus="i">
> <tr>
> <td><stripes:checkbox name="jobList[${i.index}].selected"/>
> </td>
> <td>${job.name}</td>
> </tr>
> </c:forEach>
>
> In java I have a List<Job> jobList and a Job object has a boolean selected
> and String name.
>
> I don't know whether this is the right way to do it, but it works ;-)
> Maybe this
> will help you too.
>
> Kind regards,
>
> Jeroen van Wilgenburg
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
_________________________________________________________________
Color coding for safety: Windows Live Hotmail alerts you to suspicious email.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users