Jörn Nettingsmeier wrote:
hi!

i'm working on the tinymce module. i want to get rid of any special preprocessing in the usecase handler and just feed a completely rendered page to tinymce (with the exception of script headers).

basically, i want to
<map:generate src="http://localhost:8888/{page-envelope:publication-id}/authoring/{page-envelope:document-url}/>
but i'd like to do that inside cocoon without all the http overhead.

it's also important not to make assumtions about the publication sitemap, i.e. duplicating the aggregation code is out.
so i have to call into the sitemap somehow.
the problem is that the publication might be using fallback. now when i try <map generate src="fallback://lenya/pubs/{page-envelope:publication-id}/sitemap.xml"/> (i know it doesn't make sense, just for testing), i get a 404 exception, because the file does not exist (it's in the template publication). is that me doing something wrong, or does fallback resolution fail from modules into publications?

i should have mentioned that the first thing i tried was
cocoon://{page-envelope:publication-id}/{page-envelope:area}{page-envelope:document-url}, but it complains about a missing sitemap.xml (again due to the publication using fallback).




--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to