Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
jaid shaik
fckeditor in custom portlet
April 17, 2012 12:31 AM
Answer

jaid shaik

Rank: Regular Member

Posts: 170

Join Date: October 7, 2010

Recent Posts

Hi friends,

I need editor in my custom portlet
how can I do this...
I gone through different links But proper way i am not getting, Can I go for EXT?
I am using liferay 6..

Can any one briefly explain how to do this in custom portlet...



Thanks
Jaid.Shaik
Jelmer Kuperus
RE: fckeditor in custom portlet
April 17, 2012 2:12 AM
Answer

Jelmer Kuperus

Rank: Liferay Legend

Posts: 1192

Join Date: March 10, 2010

Recent Posts

 1<script type="text/javascript">
 2    function <portlet:namespace />initEditor() {
 3        return "<%= UnicodeFormatter.toString(content) %>";
 4    }
 5</script>
 6<aui:field-wrapper label="content">
 7    <liferay-ui:input-editor width="100%" />
 8   <aui:input name="content" type="hidden" />
 9</aui:field-wrapper>
jaid shaik
RE: fckeditor in custom portlet
April 17, 2012 2:27 AM
Answer

jaid shaik

Rank: Regular Member

Posts: 170

Join Date: October 7, 2010

Recent Posts

Thanks Jelmer for reply...

I added in jsp but UnicodeFormatter and content can't be resolved...
can i missing any thing...
pls let me know...


Thanks
Jaid.Shaik
Pankaj Kathiriya
RE: fckeditor in custom portlet
April 17, 2012 2:42 AM
Answer

Pankaj Kathiriya

Rank: Liferay Master

Posts: 655

Join Date: August 4, 2010

Recent Posts

Hi Jaid,

Here content will be string attribute , you are to show in editor.

Thanks,
Pnkaj
jaid shaik
RE: fckeditor in custom portlet
April 17, 2012 12:37 PM
Answer

jaid shaik

Rank: Regular Member

Posts: 170

Join Date: October 7, 2010

Recent Posts

HI pankaj thanks for reply,

i am getting fck editor on my portlet page tags also working...
After displaying content in feature edit options...how can i manage this...saving data in database.....same like web content display....


Thanks
Jaid.Shaik
jaid shaik
RE: fckeditor in custom portlet
April 18, 2012 2:44 AM
Answer

jaid shaik

Rank: Regular Member

Posts: 170

Join Date: October 7, 2010

Recent Posts

HI friends,

Any update regarding fckeditor content in feature edit options...how can i manage this...saving data in database.....


Thanks
Jaid.Shaik