5 Replies Latest reply on Jul 21, 2011 3:24 AM by ram ram

    implement <f:setPropertyActionListener> programatically

    ram ram Newbie

      Hello All,

       

      How can I implement <f:setPropertyActionListener> programatically.

       

      I need to do the following:

       

      <h:graphicImage id="expandIcon" value="#{doc.expanded?'/images/collapse.png':'/images/expand.png'}">

            <a4j:support event="onclick" action="#{beanBB.expandNode}" reRender="mainTbl,childTable">

                  <f:setPropertyActionListener value="#{doc}" target="#{documentUploadBB.selectedDoc}"/>                                                              

           </a4j:support>

      </h:graphicImage>

       

      Please let me know if you have any idea on how to implement <f:setPropertyActionListener> programatically, or other way / workarround.

       

      Regards,

      Ram