Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting value of html-el:checkbox

Status
Not open for further replies.

msirfani

Programmer
Jul 24, 2004
1
SA
Gentlemen

I am new to java and jstl ... it must be basic one ...<p>

I have a simple logic to display a list of organisations for CRUD
actions ... I am using JSTL-EL tags with <display:*> as follows
<p>
<display:table
name="${applicationScope.registry.services.organisationMgr.or
ganisations}" >
<display:column title="Select" nowrap="true">
<html-el:checkbox property="selectedItem"
value="${selectedItem}"/>
</display:column>
<display:column nowrap="true" property="orgCode"
title="Code"/>
</display:table>
<p>
My requirement simply is submit the selectedItem variable ...
so what I need is to assign the value of orgCode to
selectedItem.
<p>
BTW ... the orgCode is in application scope, which I need to
take and put it in session scope ...
<p>
Will you please let me know how can I achieve it.
<p>

Thanks in advance.

MSI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top