Thank you for this excellent suggestion

On Wed, 8 Oct 2008 02:05:40 -0400, [EMAIL PROTECTED] wrote:
...
> Inside the <input-modules> element, add:
> <component-instance
> class="org.apache.cocoon.components.modules.input.DateInputModule"
> logger="core.modules.input" name="filedatetime">
> <format>yyyymmddHHmmss</format>
> </component-instance>
For the format, I write : <format>yyyy-MM-d-HH-mm-ss</format> in order to
have a well formed date (mm--> MM ; dd --> d)

This suggestion help me a lot, another thanks.

I have 2 another questions :

1 ----------------------------------

In the XMAP that I want to debug, I have to write (copy-past in reality)
this at each debug point :
<!-- /////debugging 2////// -->
<map:transform
src="fallback://lenya/xslt/authoring/edit/addSourceTags.xsl">
        <map:parameter name="source"
value="context://lenya/pubs/debug/AfterIncludeSubNews-{filedatetime:currentDate}.xml"/>
</map:transform>
<map:transform type="write-source">
        <map:parameter name="serializer" value="xml"/>
</map:transform>
<map:transform
src="fallback://lenya/xslt/authoring/edit/removeSourceTags.xsl"/>
<!-- debugging -->

This 9 lines are not very "sexy", and if many debug point are define, the
reading of the xmap is less easy...

So,
It's possible to define a "super transformer" that groups this 3
transformers ? (All tranformers that I see are define with a java class,
but not with sub-tranformation...)


2 ----------------------------------
I find this document : lenya/modules/profiling/xslt/profile2xhtml.xsl
He said put <map:pipeline type="profile-noncaching"> and :
"
 Once you've done this, and you have sent a couple of requests to
      the pipeline in question, this page will display useful information
      about processing and setup time of the individual pipeline
components.
      What's even more interesting, you will be able to view the XML
      output of all intermediate stages! "

==> I do that, but I see nothing in my page... 


> P.S. This question belongs on the User ML.  Questions about using or
> developing applications with Lenya belong on the User ML.  The Dev ML
> is for suggestions and work concerning changes to the Lenya platform.
> "dev" is traditional for the programmers ML -- confusing for platforms
> because people use platforms to develop applications.  The programmers
> ML should use a different name e.g. platform or base.
> 

I think that is more efficient to end this thread in this ML, but ok, I
will post on the user list in the future, excuse me. 

Regards



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

Reply via email to