[opencms-dev] Fckeditor from direct edit: closelink parameter
Graeme Kidd
coolkidd3 at hotmail.com
Fri Jun 25 12:19:31 CEST 2010
To configure that part you might want to extend the CmsDirectEditJQueryProvider class and override the appendDirectEditData() method. You can then specify your new class in the opencms-workplace.xml file by editing the 'directeditprovider' XML node.
________________________________
> Date: Fri, 25 Jun 2010 09:11:27 +0200
> From: tonhinbm at gmail.com
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Fckeditor from direct edit: closelink parameter
>
> Hi.
> Someone know how can I configure closelink and backlink parameters of fckeditor from direct edit?
>
> I have a .jsp that receive a parameter that is the name of the resource I want to show: detail.jsp?product=0001.html
>
> This jsp show the content of 0001.html resource.
>
> When I try to direct edit de resource, fckeditor show me the resource fine, but when I press save or close buttons it redirect to detail.jsp without the parameter product=0001.html, so it doesn't show the resource.
>
>
> This is url of fckeditor close button:
> http://localhost:8080/opencms/opencms/system/workplace/editors/xmlcontent/editor_buttons.jsp?
>
> action=show
> &elementlanguage=es
> &editortitle=
> &backlink=%2Fdetail.jsp
> &resource=%2F0001.html
> &deletelink=%2Fopencms%2Fopencms%2Fsystem%2Fworkplace%2Fcommons%2Fdelete.jsp
> &closelink=%2Fdetail.jsp
>
> &redirect=true
> &directedit=true
> &elementname=null
> &newlink=#
>
> Thanks.
>
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now
More information about the opencms-dev
mailing list