Bug 28408

Summary: factor out cms-screen resource
Product: Lenya Reporter: Gregor J. Rothfuss <gregor>
Component: MiscellaneousAssignee: Lenya Developers <dev>
Status: NEW ---    
Severity: enhancement CC: dev
Priority: P3    
Version: Trunk   
Target Milestone: 2.0.1   
Hardware: Other   
OS: other   

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.