3 Replies Latest reply on May 3, 2010 2:56 PM by Kevin Sapper

    Unable to pass parameters to h:commandButton

    amala vgs Newbie

      I am trying to pass parameters while executing h:commandButton. The parameters are not propagated like it does for s:button. So, how to pass f:param for a h:commandButton. My code looks likes this


          <h:commandButton action="#{books}"value="#{Save}">
              <f:param name="bookId" value="#{book}"/>
          </h:commandButton>