Bug 28408 - factor out cms-screen resource
Summary: factor out cms-screen resource
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: Trunk
Hardware: Other other
: P3 enhancement
Target Milestone: 2.0.1
Assignee: Lenya Developers
Depends on:
Reported: 2004-04-15 11:45 UTC by Gregor J. Rothfuss
Modified: 2007-08-12 14:28 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Gregor J. Rothfuss 2004-04-15 11:45:54 UTC
<gregor> if there were a way to have the cms-screen resource globally available.. 
<nobby> it is
<nobby> <map:transform src="cocoon://lenya-screen.xsl"/>
<gregor> hmm. we have the definition in almost every sitemap now
Comment 1 Gregor J. Rothfuss 2004-04-24 21:23:07 UTC
tried today, but including the i18n and strip_namespaces transformation steps
into lenya-screen proved to be difficult. maybe i'm just stupid :)
Comment 2 Andreas Hartmann 2004-07-10 23:44:04 UTC
I think this is really difficult. It won't be possible to apply the i18n
transformation using the meta stylesheet approach.
Comment 3 Gregor J. Rothfuss 2004-11-23 01:50:32 UTC
this can probably done with Virtual Pipeline Components once they are in place.
Vadim built a prototype recently.
Comment 4 J 2007-08-12 14:28:34 UTC
yeah, it would be nice to factor that one out.
i guess the only feasible (and cleanest) way is to not allow anybody but the
global sitemap to  have the final word on anything: publication sitemaps are
mounted into a global pipeline, serialize to xml return to the global sitemap,
where there just one section that does what cms-screen is doing now.

that's quite some refactoring work, though. definitely post 2.0 stuff.