struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barett McGavock <bmcgav...@pulvertech.com>
Subject RE: Accessing page variables in the property
Date Wed, 26 Nov 2003 22:34:13 GMT
Use indexId="count" instead of idName="count".
Count will then be a scripting variable containing the iteration index.

B

-----Original Message-----
From: mohan@physics.gmu.edu [mailto:mohan@physics.gmu.edu] 
Sent: Wednesday, November 26, 2003 3:20 PM
To: struts-user@jakarta.apache.org
Subject: Accessing page variables in the property


Hi All
Is there a way i can use pass the variable values from a page into a
property in the same page like <logic:iterate idName="count" name="KEY_USER"
property="appCourses">
  <html:text property="course($count)" />
</logic:iterate>
The idea is to set/get the value at the count index.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message