[Yanel-dev] TinyMCE resource
Michael Wechner
michael.wechner at wyona.com
Thu Jul 1 14:20:13 CEST 2010
Michael Wechner wrote:
> Hi
>
> I am editing a page with TinyMCE using something like
>
> http://127.0.0.1:8080/yanel/MY_REALM/usecases/tinymce.html?edit-path=/homepage-right-column.html
>
>
> which means at the end of the editing one will be redirected to
>
> http://127.0.0.1:8080/yanel/MY_REALM/homepage-right-column.html
>
> whereas I would rather like to be redirected to
>
> http://127.0.0.1:8080/yanel/MY_REALM/index.html
>
> How can I do this?
>
> Btw, I have taken a quick look at the source code and found various
> parameters:
>
> private static final String PARAMETER_EDIT_PATH = "edit-path";
> private static final String PARAMETER_CONTINUE_PATH = "continue-path";
> private static final String PARAM_SUBMIT_TIDY = "submit-tidy";
> private static final String PARAM_SUBMIT_TIDY_SAVE =
> "submit-tidy-save";
> private static final String VIEW_FIX_WELLFORMNESS =
> "fix-wellformness";
>
> and thought that continue-path is doing this, but it doesn't seem like.
btw, thanks to Simon Litwan this is now fixed:
http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=7665
by using something like
http://127.0.0.1:8080/yanel/MY_REALM/usecases/tinymce.html?edit-path=/en/homepage-right-column.html&continue-path=../en/index.html
Thanks
Michi
> What is it good for?
>
> Thanks
>
> Michael
More information about the Yanel-development
mailing list