2 Replies Latest reply on Nov 12, 2007 10:25 AM by Sebastián Ressi

    problem with actionparam inside datatable

    Sebastián Ressi Newbie

      I'm having some trouble using actionparam inside a rich:datatable.
      This simple example ain't working. Print button shows the value passed in the actionparam, thing is that the value shown is null. Any help?.

      <rich:dataTable id="empl" var="item" value="#{presentacion.empleados}">
       <rich:column>
       <a4j:commandButton value="PRINT" action="#{presentacion.print}">
       <a4j:actionparam value="123" assignTo="#{auxBean.idEmp}"/>
       </a4j:commandButton>
       </rich:column>
       </rich:dataTable>