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

    data attribute

      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?