3 Replies Latest reply on Apr 4, 2007 7:14 AM by Ilya Shaikovsky

    data attribute

    Alexander Belov Novice

      Please tell me how can I use data attribute fo commandLink, for examle.

      I want to take a value from get-method from backing bean and use it in "oncomplete" attribute.

      I use:

      <a4j:commandLink oncomplete="alert(this.data);Richfaces.showModalPanel('#{simpleBean.modalPanelComponentClientId}')"
      value="edit" action="#{simpleBean.editData}"
      data="#{simpleBean.showPanel}"
      reRender="#{simpleBean.toolbarUpdate}"
      limitToList="true" id="editData"/>
      


      I have "unassigned" message in alert window.
      Do I something wrong?