Hi gurus,
I have been enjoying the session transformer and source writing transformer a lot lately, very intuitive.
But there is one problem that I don't seem to be able to figure out. Following the example on forms 'the session framework approach' I don't get the xml into the session context without another step inbetween. I must be missing something important:
my form:
<page xmlns:session="http://cocoon.apache.org/session/1.0">
<session:createcontext name="party"/>
<session:form name="position">
<session:action>get-position</session:action>
<session:content>
<session:inputxml name="position" type="text" context="party" path="/position"/>
</session:content>
</session:form>
</page>
then a style sheet converts it into a form.
This is my sitemap entry, i call the session action before, so the session exists:
<map:match pattern="x/*/form-*">
<map:generate src=""resource/{1}/form-{2}.xml"/>
<map:transform type="session"/>
<map:transform src=""stylesheets/formbuilder.xsl"/>
<map:serialize type="html"/>
</map:match>
The form comes up fine and I can access the parameters in the request context, but nothing seems to be in the 'party' context, at least I don't get anything with getxml after the form is submitted.
Thanks for any help
Corinna