You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2003/10/01 11:48:36 UTC

[Session Parameter] Trouble with session parameter

<!--*** createModification ***-->
       <map:match pattern="createModification">
         <map:generate type="serverpages" src="xsp/createmodif.xsp">
           <map:parameter name="status" value="declaration" />
         </map:generate>
         <map:transform type="xslt" src="xsl/cleanxmlns.xsl" />
         <map:transform type="record">
           <map:parameter name="url_dtd"
           value="D:\\PROJETS\SYSPEO\DTD\modification.dtd" />
           <map:parameter name="docname" value="{session-attr:modif}.xml" />
         </map:transform>
<!--        <map:transform type="xslt" src="xsl/open_modification.xsl" />-->
         <map:serialize type="xml" />
       </map:match>


In the xsp I create a session attribute called modif.
Then in the record transformer I get "modif" attribute. --> From the java 
it's working fine.
I also tried to get the "modif" attribute from the sitemap --> But it send 
the old value of modif.

What can I do ?
Lionel

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org