[Yanel-dev] TinyMCE resource

Michael Wechner michael.wechner at wyona.com
Mon Jul 20 12:21:31 CEST 2009


Guillaume Déflache schrieb:
> Hi!
>
> simon litwan schrieb:
>> Michael Wechner schrieb:
>>> 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?
>> don't know at the moment.
>> i'm very busy and would like to have more time since i consider this 
>> important as well.
>
> Probably a silly idea, but... any reason why we didn't use something 
> like 
> http://127.0.0.1:8080/yanel/MY_REALM/homepage-right-column.html?yanel.usecase=edit&yanel.editor=TinyMCE 
> in the first place instead?

two reasons:

 - We still haven't refactored the resource type matching (whereas one 
implementation would also match query strings)
-  The tinyMCE resource is not a global resource called by the servlet 
itself

Both reasons can be changed though ;-)

I agree that your suggested URL would be much nicer

Cheers

Michi



More information about the Yanel-development mailing list