cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: cvs commit: cocoon-2.1/src/blocks/tour/samples/flow/docs number-guess.xml
Date Fri, 28 May 2004 11:53:55 GMT
Joerg Heinicke dijo:
>> Guess cocoon.continuation is the preferred way.
>
> The JXTemplateGenerator suggest to use ${continuation.id}, nothing about
> the cocoon prefix. Maybe we should ask Christopher what his plan was. Or
> we simply decide it here.

For long time the use of ${continuation.id} is the standard. I think it is
shorter and clear:

In http://wiki.cocoondev.org/Wiki.jsp?page=JXTemplateGenerator we found:

<snip>
Provides a generic page template with embedded JSTL and XPath expression
substitution to access data sent by Cocoon Flowscripts, eg. web
continuation.

    * Accessing through JSTL(Apache Jexl): ${continuation.id}
    * Accessing through XPath(Apache JXPath): #{$continuation/id}
</snip>

And the original in Javadocs (search for the "continuation" word):
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/JXTemplateGenerator.html

It is clear there is no "cocoon" prefix. Please don't break this.

Best Regards,

Antonio Gallardo

Mime
View raw message