ICEfaces
  1. ICEfaces
  2. ICE-6327

Ajax support for commandButton and commandLink with f:param

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.1
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 2.0
    • Workaround Description:
      use f:setPropertyActionListener rather than f:param

      Description


      <f:param> can be added to both commandLink and commandButton, for instance in "basic":


              <h:commandButton id="button1" value="Show/Hide"
                               actionListener="#{basic.toggle}">
              </h:commandButton>
              <h:commandButton id="button1param" value="Show/Hide"
                               actionListener="#{basic.toggle}">
                  <f:param name="commandparam" value="buttonparam" />
              </h:commandButton>
              <h:commandLink id="link1param" value="Show/Hide"
                               actionListener="#{basic.toggle}">
                  <f:param name="commandparam" value="linkparam" />
              </h:commandLink>

      This should still yield Ajax interaction, but a full page refresh is observed with the commandLink and commandButton with f:param.

        Activity

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ted Goddard
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: