HI,

I've got a page with input parameters, an action validate the 
parameters. If the validation (the action) is success I want to redefine 
parameters as get all posted parameters and put them to the session. I 
want it do in the redefine-params.xsl like here:

<map:match pattern="examples/xsp/welcome">
      <map:act type="form-validator">
          <map:parameter name="descriptor"
               value="context:///mount/myapp/descriptor.xml"/>
          <map:parameter name="validate-set" value="query"/>
          <map:transform src="stylesheets/redefine-params.xsl">
              <map:parameter name="use-request-parameters" value="true"/>
          </map:transform>
          <map:generate src="examples/xsp/searching.xsp"/>
          <map:transform src="stylesheets/simple-page2html.xsl"/>
          <map:serialize/>
    </map:act>
          <map:generate src="examples/xsp/query.xsp"/>
          <map:transform src="stylesheets/simple-page2html.xsl"/>
          <map:serialize/> 
</map:match>

how can I access the session from the redefine-params.xsl , because I 
want to put parameters into session but I cannot.
Or is there any other solution to do this (define an own action is not 
acceptable for me)?

Gabor


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to