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