<div>
<af:forEachitems="#{backingBeanScope.ctrlysjxxaddBean.sjjLx}"begin="0" end="5" var="item">
<af:commandLinktext="#{item.label}" id="cl11"
actionListener="#{backingBeanScope.ctrlysjxxaddBean.testSkip}">
<af:setPropertyListenertype="action" from="#{item.value}"
to="#{backingBeanScope.ctrlysjxxaddBean.zj}"/>
</af:commandLink>>>
</af:forEach>
</div>
public ListgetSjjLx() {
List listOfItems;
listOfItems = new ArrayList();
listOfItems.add(value1, lable1 );
listOfItems.add(value2, lable2 );
return listOfItems;
}
Private String zj ;
get(){}
set(){}