Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:Define a Custom toolbar implementation.
Description
The Save button is not rendered for the default toolbar and skin defined for the ace:richTextEntry.
-
Hide
- Case12493Example2.war
- 3.50 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 0.3 kB
- WEB-INF/classes/.../example/PageBean.class 1.0 kB
- WEB-INF/classes/.../example/TestBean.class 0.7 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/javax.faces-2.1.26.jar 2.53 MB
- WEB-INF/web.xml 3 kB
- index.xhtml 0.5 kB
- pageOne.xhtml 0.4 kB
- pageTwo.xhtml 0.8 kB
- welcomeICEfaces.xhtml 1 kB
-
Hide
- Case12493Example2.zip
- 22 kB
- Arran Mccullough
-
- Case12493Example2/build.xml 3 kB
- Case12493Example2/.../ant-deploy.xml 3 kB
- Case12493Example2/.../build-impl.xml 77 kB
- Case12493Example2/.../genfiles.properties 0.5 kB
- Case12493Example2/.../private.properties 0.6 kB
- Case12493Example2/nbproject/.../private.xml 0.2 kB
- Case12493Example2/.../project.properties 3 kB
- Case12493Example2/nbproject/project.xml 0.9 kB
- Case12493Example2/src/conf/MANIFEST.MF 0.0 kB
- Case12493Example2/src/.../example/Item.java 0.1 kB
- Case12493Example2/src/.../PageBean.java 0.6 kB
- Case12493Example2/src/.../TestBean.java 0.5 kB
- Case12493Example2/web/index.xhtml 0.5 kB
- Case12493Example2/web/.../context.xml 0.1 kB
- Case12493Example2/web/pageOne.xhtml 0.4 kB
- Case12493Example2/web/pageTwo.xhtml 0.8 kB
- Case12493Example2/web/WEB-INF/web.xml 3 kB
- Case12493Example2/.../welcomeICEfaces.xhtml 1 kB
-
- No-Save-Button.jpg
- 37 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Committed fix to 3.3 EE maintenance branch at revision 38888 and to 4.0 trunk at revision 38889.
The problem actually happened only when using mandatoryResourceConfiguration=all. This was causing the scripts for ace:richTextEntry and ice:inputRichText to be both loaded on the page. Whichever came last was overriding the 'extraPlugins' configuration of the CKEditor, which caused the registered custom save buttons to be unregistered. This was fixed by adding a check for existing extra plugins and then simply appending the name of the plugin that is to be registered by the script.
Show
Arturo Zambrano
added a comment - - edited Committed fix to 3.3 EE maintenance branch at revision 38888 and to 4.0 trunk at revision 38889.
The problem actually happened only when using mandatoryResourceConfiguration=all. This was causing the scripts for ace:richTextEntry and ice:inputRichText to be both loaded on the page. Whichever came last was overriding the 'extraPlugins' configuration of the CKEditor, which caused the registered custom save buttons to be unregistered. This was fixed by adding a check for existing extra plugins and then simply appending the name of the plugin that is to be registered by the script.
Attached test case and screen shot showing the issue. Note: the icefaces.jar, icefaces-ace.jar, and icefaces-compat.jar need to be added into the war to run.
Load welcomeICEfaces.jsf to see the issue.