Thanks Alberto,

Below is my code
<display:table name="people" requestURI="" pagesize="${row}" sort="list"
id="jobResults" class="candSearchResults" >
     <display:column><s:checkbox theme="simple" name="checked"  
fieldValue="${jobResults.userId}" /></display:column> 
     <display:column property="preferedName" title="Name" sort="true" />
<display:column property="userName" title="Username (e-mail)" sort="true"
maxLength="10"/>
</display:table>


When the checkbox is checked then I should be able to get the corresponding
userid value in the action class. 
Any idea how I can achieve that.

Thanks










Alberto A. Flores wrote:
> 
> If you mean for "jsps using EL tags" the JSTL tags, then a quick fix can 
> be to make your EL expressions use scope="request" and make the <s: ...> 
> tags (Struts 2.x) use the expression "%{#request.varInScope}" to get to 
> them.
> 
> If you mean the EL tags from Struts 1.x, then you are going to have to 
> change a lot more and take each case indivually to use JSTL (or Struts 
> 2.x tags). The latter work (in my opinion is more work)
> 
> 
> Swathi Ram wrote:
>> I recently upgraded to Struts 2.0.11, and all my jsps using the EL tags
>> don't
>> work anymore. 
>> I'm using these along with displaytags, to pass values of checkbox lists
>> or
>> field values to the action class. 
>> Is there any other way to do this. 
>> 
>> For example, in a table list of users, if the checkbox is checked then
>> the
>> userid must be passed to the action class. 
>> 
>> Thanks.
>> 
> 
> -- 
> 
> Alberto A. Flores
> http://www.linkedin.com/in/aflores
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
View this message in context: 
http://www.nabble.com/substitute-for-JSP-EL-tags-in-struts-2.0.11-tp14298760p14300593.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to