Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:N/A
-
Salesforce Case Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
The partialSubmit attribute on the inputRichText component should 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.
-
Hide
- ICE-6656.zip
- 5 kB
- yip.ng
-
- build.xml 1 kB
- src/main/java/Bean.java 0.3 kB
- src/main/webapp/index.jsp 0.1 kB
- src/main/webapp/index.xhtml 1.0 kB
- src/main/webapp/js/config.js 0.3 kB
- src/main/webapp/META-INF/MANIFEST.MF 0.0 kB
- src/main/webapp/WEB-INF/faces-config.xml 0.3 kB
- src/main/webapp/WEB-INF/web.xml 2 kB
-
Hide
- sf-11979a.war
- 9.31 MB
- Ken Fyten
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/Bean.java 0.3 kB
- WEB-INF/classes/Bean.class 0.7 kB
- WEB-INF/faces-config.xml 0.3 kB
- WEB-INF/lib/icefaces-ee-ext.jar 60 kB
- WEB-INF/lib/icefaces-ee.jar 349 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ee-compat.jar 2.59 MB
- WEB-INF/lib/jxl.jar 708 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/icefaces-ee-ace.jar 3.79 MB
- WEB-INF/lib/javax.faces.jar 2.49 MB
- WEB-INF/web.xml 2 kB
- index.jsp 0.1 kB
- index.xhtml 1.0 kB
- js/config.js 0.3 kB
-
- screenshot-01.png
- 225 kB
-
- screenshot-02.png
- 156 kB
-
- screenshot-03.png
- 197 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
We need to restore the original partialSubmit functionality in a backwards compatible way only, no changes.
Done, but there seems to be something strange about the partial submit. It seems to be doing a full submit. See screenshot-03.png.
M: C:\svn\ossrepo\icefaces3\trunk\icefaces\compat\components\src\main\resources\META-INF\resources\inputrichtext\ckeditor_ext.js#33993
M: C:\svn\ossrepo\icefaces3\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\inputrichtext\InputRichTextRenderer.java#33993
The test case should be updated to use an ice:outputText to output the markup output instead of an input component. Then the test should work correctly with this change.
Done. Zip file of modified test case: ICE-6656.zip. Video of testing modified test case: http://screencast.com/t/qxaG6j7J.
Tyler Johnson added a comment - 15/Mar/13 12:00 AM
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.
yip.ng added a comment - 18/Mar/13 12:34 PM - 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?
yip.ng added a comment - 19/Mar/13 10:01 AM - 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?