ICEfaces
  1. ICEfaces
  2. ICE-7472

Generator: create @ClientBehaviorHolder annotation

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Assignee Priority:
      P1

      Description

      Create a @ClientBehaviorHolder annotation that components can use to implement the interface javax.faces.component.behavior.ClientBehaviorHolder, as well as specifying its supported events and default event. Supporting documentation and related configuration entries should also be generated by using this annotation.

        Issue Links

          Activity

          Arturo Zambrano created issue -
          Arturo Zambrano made changes -
          Field Original Value New Value
          Assignee Arturo Zambrano [ artzambrano ]
          Arturo Zambrano made changes -
          Salesforce Case []
          Description Create a @ClientBehaviorHolder annotation that components can use to implement the interface javax.faces.component.behavior.ClientBehaviorHolder, as well as specifying its supported events and default event. Supporting documentation and related configuration entries should also be generated by using annotation. Create a @ClientBehaviorHolder annotation that components can use to implement the interface javax.faces.component.behavior.ClientBehaviorHolder, as well as specifying its supported events and default event. Supporting documentation and related configuration entries should also be generated by using this annotation.
          Arturo Zambrano made changes -
          Link This issue depends on ICE-7462 [ ICE-7462 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.1 [ 10241 ]
          Assignee Priority P1
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26439 Fri Nov 18 10:22:58 MST 2011 ken.fyten ICE-7031 - Add new ace:ajax component.
          ICE-7472 implemented default value processing of defaultRender and defaultExecute attributes of @ClientEvent annotation
          Files Changed
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehaviorHandler.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehaviorRenderer.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehavior.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehaviorHandlerMeta.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26556 Thu Nov 24 09:00:57 MST 2011 art.zambrano ICE-7472 made changes to include 'tlddoc' field of @ClientEvent annotations in generated .tld file
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/xmlbuilder/TLDBuilder.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26637 Tue Nov 29 16:36:10 MST 2011 art.zambrano ICE-7472 added support to the @ClientBehaviorHolder annotation for specifying a default event
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/ClientBehaviorHolder.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menuitem/MenuItemMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/behavior/ClientBehaviorHolder.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/maskedentry/MaskedEntryMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/sliderentry/SliderEntryMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbutton/CheckboxButtonMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/linkbutton/LinkButtonMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/printer/PrinterMeta.java
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10312 ]
          Fix Version/s 3.0 [ 10241 ]
          Arturo Zambrano made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Arturo Zambrano added a comment -

          Example of usage:

          @ClientBehaviorHolder(events =

          { @ClientEvent(name="slideStart", javadoc="...", tlddoc="...", defaultRender="@all", defaultExecute="@all"), @ClientEvent(name="slide", javadoc="...", tlddoc="...", defaultRender="@all", defaultExecute="@all"), @ClientEvent(name="slideEnd", javadoc="...", tlddoc="...", defaultRender="@all", defaultExecute="@all") }

          , defaultEvent="slideEnd")

          Show
          Arturo Zambrano added a comment - Example of usage: @ClientBehaviorHolder(events = { @ClientEvent(name="slideStart", javadoc="...", tlddoc="...", defaultRender="@all", defaultExecute="@all"), @ClientEvent(name="slide", javadoc="...", tlddoc="...", defaultRender="@all", defaultExecute="@all"), @ClientEvent(name="slideEnd", javadoc="...", tlddoc="...", defaultRender="@all", defaultExecute="@all") } , defaultEvent="slideEnd")
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26647 Wed Nov 30 11:59:52 MST 2011 ken.fyten ICE-7472 - Updated ace:ajax attribute name from "update" to "render".
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/panel/panelListener.xhtml
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/templates/content-template.xhtml
          Ken Fyten made changes -
          Fix Version/s 3.0.RC1 [ 10300 ]
          Fix Version/s 3.1 [ 10312 ]
          Ken Fyten made changes -
          Link This issue is duplicated by ICE-6111 [ ICE-6111 ]
          Ken Fyten made changes -
          Fix Version/s 3.0 [ 10241 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: