Can someone explain me about property parameter in the logic:iterate tag?
I have something like below and this works fine. but I have seen in struts
example
where property parameter is alos used:
e.g. <logic:iterate id="subscription" name="user" property="subscriptions">
in this line I know
name="user" is an object,
id="subscription" is a bean
but i can not understand
property="subscriptions" what is this and from where it came?????
any good explanation would be highly appericated...
===============================================================
<%java.util.ArrayList list = new java.util.ArrayList();
list.add(new LabelValueBean("ONE","1"));
list.add(new LabelValueBean("TWO","2"));
list.add(new LabelValueBean("THREE","3"));
list.add(new LabelValueBean("FOUR","4"));
list.add(new LabelValueBean("FIVE","5"));
pageContext.setAttribute("list",list,PageContext.PAGE_SCOPE);
%>
<logic:iterate id="MyList" name="list">
<html:checkbox property="userAction"/>
<bean:write name = "MyList" property="label"/>
<bean:write name = "MyList" property="value"/> </br>
</logic:iterate>