Hi,
We have a problem with x:commandLink inside x:dataTable: the action doesn't work!!
In other previous posts I read that the data for datatable must be in session scope: this is our situation!
We use the last nightly. This code worked fine until release the 1.1.0.
 
<x:dataTable id="table1" binding="#{beanPage1.dataTableUsers}" value="#{beanSessionArrayList}" var="rowData">

  <x:column>
    <x:outputText value="#{rowData.name}"/>
  </x:column>

  <x:column>
    <x:commandLink action="">      <x:graphicImage url="" title="Delete" border="0"/>
    </x:commandLink>
  </x:column>                                                                          

</x:dataTable>


/* JAVA BACK-BEAN CODE */
import org.apache.myfaces.component.html.ext.HtmlDataTable;
public class Page1 {

    private HtmlDataTable m_dataTableUsers;
   
    public Page1() {
    }

    public HtmlDataTable getDataTableUsers() {
        return m_dataTableUsers;
    }

    public void setDataTableUsers(HtmlDataTable dataTableUsers) {
        this.m_dataTableUsers = dataTableUsers;
    }

    public String DeleteUser() {
 // some instructions
        return null;
    }

}

Back-bean is in request scope and beanSessionArrayList is an ArrayList in session scope, that is cleared and populated in back-bean.

Any suggestions?

Thanks

Nicola

Reply via email to