indexed properties are probably used when you have a no of rows of the same set of properties. For eg. it would be like a collection of objects with one or more membersin each row.
Eg: in case you have the object in the form bean
<logic:iterate id="users" name="UserListAdmin" property="users">
   <html:text property="userName" indexed="true" name="users" />
...
or
<logic:iterate id="users" name="userObjCol" type="com.whatever.User">
   <html:text property="userName" indexed="true" name="users" />
...

HTH
Nitesh

----- Original Message ----- From: "Ciaran Hanley" <[EMAIL PROTECTED]>
To: "'Struts User Mailing List'" <struts-user@jakarta.apache.org>
Sent: Wednesday, June 22, 2005 9:54 PM
Subject: Indexed Values


Can somebody please explain why properties of a bean appear on a JSP like
this when the indexed="true" property is set

org.apache.struts.taglib.html.BEAN[0].propertyName
org.apache.struts.taglib.html.BEAN[1].propertyName
org.apache.struts.taglib.html.BEAN[2].propertyName

instead of propertyName[0], propertyName[1] as I would expect.

Thanks







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




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

Reply via email to