Have you tried to play with JSP directive:
 
<%@ page isELIgnored="false" %>

 

regards,

Ruslan


________________________________

From: Poitras Christian [mailto:[EMAIL PROTECTED]
Sent: Wed 26/11/2008 10:07 AM
To: 'Stripes Users List'
Subject: Re: [Stripes-users] issues with stripes indexed check box


Can you check what happens if you try scripting?
 
<input type="checkbox" name="selectedCandidates" value="<%= 
((Candidate)pageContext.findAttribute(candidate)).getId() %>" />
 
Christian

________________________________

From: ping lu [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2008 4:34 PM
To: user stripes
Subject: Re: [Stripes-users] issues with stripes indexed check box


Christian,

you are exactly right.

In my previous poster, the WebLogic Application Server do have problem with the 
stripes example code: without modifying the web.xml, nothing will work.

It is such a pity, since I have built a full-blown stripes application, and I 
do see the big advantage of this technology. Maybe I can work around this 
problem...

Anybody has other suggestions on the work around with indexed properties in 
this case?

regards,

Lu


________________________________

From: [EMAIL PROTECTED]
To: [email protected]
Date: Mon, 24 Nov 2008 16:48:56 -0500
Subject: Re: [Stripes-users] issues with stripes indexed check box


It seems a problem with the EL expression. If I'm right, your EL expression 
${candidate.id} never gets evaluated even with plain HTML:
<input type="checkbox" name="selectedCandidates" value="${candidate.id}" />

So the problem is not Stripes, but your container.
Unfortunetly, I have no idea of why this expression doesn't get evaluated when 
other expression are evaluated.
 
Christian
 

________________________________

From: ping lu [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 4:06 PM
To: user stripes
Subject: Re: [Stripes-users] issues with stripes indexed check box


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. 
Sign up today. 
<http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008%20>
 

________________________________

Color coding for safety: Windows Live Hotmail alerts you to suspicious email. 
Sign up today. 
<http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008>
  

***************************************************************************************************
The information in this email is confidential and may be legally privileged. 
Access to this email by anyone other than the intended addressee is 
unauthorized. If you are not the intended recipient of this message, any 
review, disclosure, copying, distribution, retention, or any action taken or 
omitted to be taken in reliance on it is prohibited and may be unlawful. If you 
are not the intended recipient, please reply to or forward a copy of this 
message to the sender and delete the message, any attachments, and any copies 
thereof from your system.
***************************************************************************************************

<<winmail.dat>>

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

Reply via email to