Hi hippos,
A request for a little improvement:
When opening a backend template, the CMS calls the pipeline:
editing/cf2/cocoon-cform-xmleditor-read/pickers/[BACKENDTEMPLATE_NAME].js.
this pipeline initializes all the list pickers defined in the business_logic
file. To accomplish this
it uses the pipeline:
<map:match pattern="cocoon-cform-xmleditor-read/pickers/*.js">
<map:generate src="cocoon:/BL/{1}"/>
<map:transform
src="site://editing/cf2/cocoon-cform-xmleditor/transformers/xsd2form_pickers.xsl"/>
<map:serialize type="text" mime-type="text/javascript"/>
</map:match>
the call to the pipeline "cocoon:/BL/{1}" loads the entire business logic file
including all the source elements.
This is unnecessary because the list pickers don't uses these elements, see
editing/cf2/cocoon-cform-xmleditor/transformers/xsd2form_pickers.xsl!.
This is also the reason why in the extensions folder people cannot use directly
the {flow-attr:document} in a source pipeline. Because when the listpicker is
loading the sources, the {flow-attr:document} does not exists.
Thanks in advance,
Amon
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
<a href="http://hippocms-dev.markmail.org/">MarkMail</a> and <a
href="http://www.nabble.com/Hippo-CMS-f26633.html">Nable</a>.