Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Kush Sahu
How can I add CKEditor to my JSF portlet?
March 20, 2013 2:38 AM
Answer

Kush Sahu

Rank: Junior Member

Posts: 25

Join Date: August 7, 2012

Recent Posts

Hi I need to add editor in my JSF portlet. I found that liferay already includes CKEditor. So I just need to add CKEditor for my JSF portlet. I tried to found anyway to add CKEditor, but all solutions are related to JSP only. Please help how can I add CKEditor to my JSF portlet.

Thanks

I am using
Browser- Mozilla Firefox 16.0.2
Java- 1.6
Liferay Portal- 6.0 ee
Server- Apache tomcat 6.0
Neil Griffin
RE: How can I add CKEditor to my JSF portlet?
March 20, 2013 5:20 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2058

Join Date: July 26, 2005

Recent Posts

The liferay-faces-portal.jar dependency contains a liferay-ui:input-editor Facelet tag that invokes the out-of-the-box CKEditor. See Chapter 15 of the Liferay Faces Documentation for more info.
Kush Sahu
RE: How can I add CKEditor to my JSF portlet?
March 21, 2013 11:01 PM
Answer

Kush Sahu

Rank: Junior Member

Posts: 25

Join Date: August 7, 2012

Recent Posts

Thanks Neil Griffin for your answer. emoticon
Kush Sahu
RE: How can I add CKEditor to my JSF portlet?
March 21, 2013 11:22 PM
Answer

Kush Sahu

Rank: Junior Member

Posts: 25

Join Date: August 7, 2012

Recent Posts

Neil Griffin:
The liferay-faces-portal.jar dependency contains a liferay-ui:input-editor Facelet tag that invokes the out-of-the-box CKEditor. See Chapter 15 of the Liferay Faces Documentation for more info.



Neil, in my project I have liferayfaces-6.0.0.0.jar. Is it the same jar file which you have mentined?
Neil Griffin
RE: How can I add CKEditor to my JSF portlet?
March 22, 2013 7:46 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2058

Join Date: July 26, 2005

Recent Posts

Hi Kush,

If you have liferayfaces-6.0.0.0.jar in you will need to upgrade from the older/legacy portletfaces.org project JARs to the latest version of the Liferay Faces JARs:

alloyfaces.jar -> liferay-faces-alloy.jar
liferayfaces.jar -> liferay-faces-portal.jar
portletfaces-bridge.jar -> liferay-faces-bridge-api.jar, liferay-faces-bridge-impl.jar, liferay-faces-util.jar

Kind Regards,

Neil
Hitoshi Ozawa
RE: How can I add CKEditor to my JSF portlet?
March 23, 2013 8:40 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

This is one of the points I like about liferay. I can easily add CKEditor to my page. I can add text entry fields on other portlets, but users really like the HTML editor capabilities. :-)
Kush Sahu
RE: How can I add CKEditor to my JSF portlet?
March 25, 2013 2:40 AM
Answer

Kush Sahu

Rank: Junior Member

Posts: 25

Join Date: August 7, 2012

Recent Posts

Thanks Neil for help. emoticon