ICEfaces
  1. ICEfaces
  2. ICE-3965

inputRichText using saveOnSubmit does not work when all text is deleted

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2 SP1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Tomcat

      Description

      I am using inputRichText as follows:

      <ice:inputRichText
        id="#{id != null ? id : idGenerator.generatedId}"
        height="#{height == null ? '100%' : height}"
        width="#{width == null ? '100%' : width}"
        toolbar="#{toolbar == null ? 'Basic': toolbar}" value="#{property}"
        language="de" skin="#{skin == null ? 'office2003': skin}"
        disabled="#{disabled != null ? disabled : false}"
        rendered="#{richText != null and richText != false ? true : false}"
        customConfigPath="css/config.js"
        saveOnSubmit="true" >
      </ice:inputRichText>

      <ui:include src="../../templates/input.jspx">
        <ui:param name="id" value="notizenRichText"></ui:param>
        <ui:param name="richText" value="true"></ui:param>
        <ui:param name="height" value="300"></ui:param>
        <ui:param name="toolbar" value="AZSuisse"></ui:param>
        <ui:param name="property" value="#{offerte.displayNotiz}"></ui:param>
        <ui:param name="disabled" value="#{offerte.offerteGuiDisabledState.offerteBeendet}"></ui:param>
      </ui:include>

      setter for the property:
      public void setDisplayNotiz(String notiz) {
        setNotiz(notiz);
      }

      With saveOnSubmit="false":
      - when deleting all text and pressing 'save' in the toolbar -> null is received by the setter

      With saveOnSubmit="true":
      - when deleting all text and a formSubmit takes place afterwards -> the last value (and not null) is received by the setter

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P3
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19943 Thu Dec 10 14:01:36 MST 2009 adnan.durrani 1.8.2EE inputRichText changes moved to Compat inputRichText towards ICE-4481. The changes include the fix of following JIRAs ICE-4495, ICE-4424, ICE-3965, ICE-4698, ICE-4760, ICE-4850, ICE-4758, ICE-4961
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/fckeditor.zip
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java
        Ken Fyten made changes -
        Fix Version/s 1.8.2-RC1 [ 10210 ]
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Adnan Durrani added a comment -

        Fixed.

        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Completed: At revision: 19057

        Show
        Adnan Durrani added a comment - Fixed. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Completed: At revision: 19057
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19057 Tue Jul 14 10:19:06 MDT 2009 adnan.durrani Fix for FOR ICE-3965 (inputRichText using saveOnSubmit does not work when all text is deleted)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js
        Arran Mccullough made changes -
        Attachment Case8436Example.war [ 11834 ]
        Arran Mccullough made changes -
        Salesforce Case [50070000009L3H9]
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8.2 [ 10190 ]
        Assignee Priority P3
        Assignee Adnan Durrani [ adnan.durrani ]
        Hide
        Michael Voegele added a comment -

        I would also be interested in any reaction on this issue. Thank you!

        Show
        Michael Voegele added a comment - I would also be interested in any reaction on this issue. Thank you!
        Hide
        D D added a comment -

        any news ?

        Show
        D D added a comment - any news ?
        Michael Voegele created issue -

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Michael Voegele
          • Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: