ICEfaces
  1. ICEfaces
  2. ICE-10115

Add a new "clear" mode to the ace:pushButton, ace:linkButton

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4

      Description

      A useful feature for an application is to provide a "Reset" button on a form to allow the use to reset all form fields to their original states, prior to any user modifications.

      This JIRA is to add a new "type" attribute to the ace:pushButton and ace:linkButton components. When the specified type is 'clear', the button will invoke the ice.ace.clearForm() function on the parent form, clearing all entry components in the same form prior to any user modification.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46567 Thu Dec 17 12:24:56 MST 2015 liana.munroe ICE-10874, ICE-10115 - New demos added to showcase for pushButton/LinkButton Clear functionality.
          Files Changed
          Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
          Commit graph ADD /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/linkButton/LinkButtonTypeBean.java
          Commit graph ADD /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/pushButton/pushbuttonClearType.xhtml
          Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/view/menu/data/CentralDataList.java
          Commit graph ADD /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/linkButton/linkbuttonClearType.xhtml
          Commit graph ADD /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/pushButton/PushButtonTypeBean.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46565 Thu Dec 17 12:02:14 MST 2015 liana.munroe ICE-10874, ICE-10115 - New demos added to showcase for pushButton/LinkButton Clear functionality.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/view/menu/data/CentralDataList.java
          Commit graph ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/pushButton/PushButtonTypeBean.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
          Commit graph ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/linkButton/linkbuttonClearType.xhtml
          Commit graph ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/linkButton/LinkButtonTypeBean.java
          Commit graph ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/pushButton/pushbuttonClearType.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46549 Wed Dec 16 11:00:16 MST 2015 art.zambrano ICE-10115 removed 'reset' attribute and added 'type' attribute to ace:pushButton and ace:linkButton, in order to support the clearForm() functionality and eventually the resetForm() functionality as well
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonMeta.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/linkbutton/LinkButtonMeta.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonRenderer.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/linkbutton/LinkButtonRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46522 Fri Dec 11 12:00:11 MST 2015 art.zambrano ICE-10115 added 'reset' attribute to ace:pushButton and ace:linkButton
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonMeta.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/linkbutton/LinkButtonMeta.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonRenderer.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/linkbutton/LinkButtonRenderer.java

            People

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

              Dates

              • Created:
                Updated:
                Resolved: