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

        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Ted Goddard made changes -
        Salesforce Case []
        Fix Version/s 2.0.0 [ 10230 ]
        Priority Major [ 3 ] Critical [ 2 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0.1 [ 10255 ]
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Salesforce Case []
        Priority Critical [ 2 ] Major [ 3 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: