ICEfaces
  1. ICEfaces
  2. ICE-10103

Rename default ajax event 'activate' to 'action' for action components

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0
    • Labels:
      None
    • Environment:
      Any

      Description

      According to the JSF specification, the 'action' ajax event is the default event for action/command components such as h:commandButton. Our action components currently use 'activate' as their default event. In order to better align to the JSF specification, our action components should have 'action' as their default ajax event, so the 'activate' event must be renamed to 'action', while still supporting 'activate' as an alias for the same event.

        Activity

        Hide
        Arturo Zambrano added a comment -

        r41540: Renamed 'activate' event to 'action' for various components; added 'activate' as a global alias for 'action'. The components that were modified were ace:checkboxButton, ace:dataExporter, ace:linkButton, ace:menuItem, ace:radioButton, ace:pushButton, and ace:printer.

        Show
        Arturo Zambrano added a comment - r41540: Renamed 'activate' event to 'action' for various components; added 'activate' as a global alias for 'action'. The components that were modified were ace:checkboxButton, ace:dataExporter, ace:linkButton, ace:menuItem, ace:radioButton, ace:pushButton, and ace:printer.
        Hide
        Ken Fyten added a comment - - edited

        Note that I have added a Tip to the wiki page for each affected component as follows in order to document this change:

        Prior to 4.0 this event was named "activate". The "activate" event name is now deprecated but treated as an alias for "action" for backwards compatibility with existing applications.

        Show
        Ken Fyten added a comment - - edited Note that I have added a Tip to the wiki page for each affected component as follows in order to document this change: Prior to 4.0 this event was named "activate". The "activate" event name is now deprecated but treated as an alias for "action" for backwards compatibility with existing applications.
        Hide
        Carmen Cristurean added a comment -

        QA Ajax tests have been updated for: ace:checkboxButton, ace:dataExporter, ace:linkButton, ace:menu, ace:menuBar, ace:menuButton, ace:pushButton, ace:radioButton.

        Note: ICE-10118 was opened for ace:pushButton, ace:link:Button, ace:checkboxButton Ajax tests failures.

        Show
        Carmen Cristurean added a comment - QA Ajax tests have been updated for: ace:checkboxButton, ace:dataExporter, ace:linkButton, ace:menu, ace:menuBar, ace:menuButton, ace:pushButton, ace:radioButton. Note: ICE-10118 was opened for ace:pushButton, ace:link:Button, ace:checkboxButton Ajax tests failures.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: