3 Replies Latest reply on Mar 17, 2011 11:03 AM by Job Mathew Kollamana

    Edit Table with ModalPanel

    benziman kirism Newbie

      Hi all.

      i am just begin to programming with the JBoss base on the netBeans .
      I have problem Edit Table with ModalPanel look like the same

      http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?tab=editDataTable&cid=220114

      i did not understand some features from the source code :

      <a4j:commandLink ajaxSingle="true" id="editlink"
      oncomplete="#{rich:component('editPanel')}.show()">
      <h:graphicImage value="/images/icons/edit.gif" style="border:0"/>
      <f:setPropertyActionListener value="#{category}"
      target="#{dataTableScrollerBean.currentItem}" />
      <f:setPropertyActionListener value="#{row}"
      target="#{dataTableScrollerBean.currentRow}" />
      </a4j:commandLink>
      <rich:toolTip for="editlink" value="Edit"/>
      <a4j:commandLink ajaxSingle="true" id="deletelink"
      oncomplete="#{rich:component('deletePanel')}.show()">
      <h:graphicImage value="/images/icons/delete.gif" style="border:0"/>
      <f:setPropertyActionListener value="#{row}"
      target="#{dataTableScrollerBean.currentRow}" />

      where is the dataTableScrollerBean.currentRow in this program?

      Can i get it some where?

      anyone can help me to share the dataTableScrollerBean class to further reseach.

      thank regards