ICEfaces
  1. ICEfaces
  2. ICE-6656

Add partialSubmit attribute to inputRichText component

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 3.2
    • Fix Version/s: 2.0.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      N/A
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Add partialSubmit attribute to inputRichText component to select whether a full or partialSubmit is used by the save button on the toolbar. partialSubmit won't be used when saveOnSubmit=true. The exact behavior needs to be documented in the TLD.

        Activity

        Hide
        yip.ng added a comment -

        compat show case broken. See screenshot 1.

        Show
        yip.ng added a comment - compat show case broken. See screenshot 1.
        Hide
        yip.ng added a comment -

        Revision: 24137


        Modified : /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
        Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichText.java
        Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java
        Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js

        Show
        yip.ng added a comment - Revision: 24137 Modified : /icefaces2/trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichText.java Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js
        Hide
        yip.ng added a comment -

        TLD doc as in screenshot 2.

        Show
        yip.ng added a comment - TLD doc as in screenshot 2.
        Hide
        Tyler Johnson added a comment -

        PartialSubmit on the ice:inputRichText isn't firing in IF 3.2. Using saveOnSubmit="false" and partialSubmit="true". Attaching test case intended for deployment on Tomcat 7.

        Show
        Tyler Johnson added a comment - PartialSubmit on the ice:inputRichText isn't firing in IF 3.2. Using saveOnSubmit="false" and partialSubmit="true". Attaching test case intended for deployment on Tomcat 7.
        Hide
        yip.ng added a comment - - edited

        Changes were applied to icefaces2 only. (Original target was 2.0.1) They were carried over to icefaces3 when icefaces3 was created. (Exact rev. 24137 shows up in icefaces3 svn history.) However, the file fckeditor_ext.js is now gone. Global search of some code snippets turned up nothing. Where did the original code get transferred to?

        Show
        yip.ng added a comment - - edited Changes were applied to icefaces2 only. (Original target was 2.0.1) They were carried over to icefaces3 when icefaces3 was created. (Exact rev. 24137 shows up in icefaces3 svn history.) However, the file fckeditor_ext.js is now gone. Global search of some code snippets turned up nothing. Where did the original code get transferred to?
        Hide
        yip.ng added a comment - - edited
        • Found a similarly-named file ckeditor_ext.js, but the code is totally different. The Java renderer class is also very different now. So it's not just a simple matter of re-applying the changes at rev. 24137.
        • Also, the original partial submit feature added was for when clicking the save button. See JIRA description and screenshot-02.png. However, the new test case doesn't even have a save button in it and it seems to want a partial submit on blur. So which should we do?
        Show
        yip.ng added a comment - - edited Found a similarly-named file ckeditor_ext.js, but the code is totally different. The Java renderer class is also very different now. So it's not just a simple matter of re-applying the changes at rev. 24137. Also, the original partial submit feature added was for when clicking the save button. See JIRA description and screenshot-02.png . However, the new test case doesn't even have a save button in it and it seems to want a partial submit on blur. So which should we do?
        Hide
        Ken Fyten added a comment -

        Re-closing this JIRA as it should not have been re-opened.

        The new issue has been moved to http://jira.icesoft.org/browse/ICE-9083.

        Show
        Ken Fyten added a comment - Re-closing this JIRA as it should not have been re-opened. The new issue has been moved to http://jira.icesoft.org/browse/ICE-9083 .

          People

          • Assignee:
            yip.ng
            Reporter:
            yip.ng
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: