jsf 1.2、jboss 4.2.3 和richfaces 3.3.3
我正在尝试将 a 的索引作为 a 发送,但它一直返回 null:
<ui:repeat id="al11" var="albumslistvalue1" value="#{AlbumDetailBean.getAlbumImagesList()}" varStatus="listimages">
<h:form>
<h:commandLink value="proxima" id="next" action="#{AlbumDetailBean.escreveparam()}">
<f:param name="fotoid" value="#{listimages}" />
</h:commandLink>
</h:form>
</ui:repeat>
escreveparam() 方法只写入参数:
public void escreveparam(){
String fotoid = ((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).getParameter("fotoid");
System.out.println("Teste:" + fotoid);
}
为什么总是为空?