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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41540 Fri Jun 27 17:58:20 MDT 2014 art.zambrano ICE-10103 renamed 'activate' event to 'action' for various components; added 'activate' as a global alias for 'action'
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menuitem/MenuItemMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbutton/CheckboxButtonMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/printer/PrinterRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobutton/RadioButtonMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/pushbutton.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/CoreRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/linkbutton/linkbutton.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menu/BaseMenuRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/printer/PrinterMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/linkbutton/LinkButtonMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehaviorHandler.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/radiobutton/radiobutton.js
        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Fix Version/s 4.0 [ 11382 ]
        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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: