Details
Description
When I try to put an <ice:inputRichText /> component in a Liferay Facelets portlet, Firefox reports a JavaScript error on this rendered line in the HTML page:
<script type="text/javascript">Ice.FCKeditor.register ('_id2:_id4', new Ice.FCKeditor('_id2:_id4', '','da', '', '/icetest-portlet/block/resource/LTQ5MTYyMDg1Mw==/','100%', '200'));</script>
The error is "Ice.FCKeditor has no properties"
I've attached a sample portlet that will enable you to reproduce the error. To install, simply copy the attached file to your Liferay "Hot Deploy" folder, and then startup Liferay 4.3.3. The portlet can be found under the "Add Content" menu in the "Sample" category. It is named "ICEfaces Test"
<script type="text/javascript">Ice.FCKeditor.register ('_id2:_id4', new Ice.FCKeditor('_id2:_id4', '','da', '', '/icetest-portlet/block/resource/LTQ5MTYyMDg1Mw==/','100%', '200'));</script>
The error is "Ice.FCKeditor has no properties"
I've attached a sample portlet that will enable you to reproduce the error. To install, simply copy the attached file to your Liferay "Hot Deploy" folder, and then startup Liferay 4.3.3. The portlet can be found under the "Add Content" menu in the "Sample" category. It is named "ICEfaces Test"
Issue Links
- depends on
-
ICE-2542 Portlet-friendly injection of 3rd party JavaScript
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion