cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Hoofe" <>
Subject How to use map:redirect-to combined with serverpages
Date Thu, 25 Jul 2002 16:46:59 GMT
I tried the following code in the sitemap to redirect to a page after saving values to the

database using art_grp_chg.xsp and receive an sitemap error. 

   <map:match pattern="art_grp_chg.xsp">
    <map:act type="request">
      <map:parameter name="parameters" value="true"/>
      <map:select type="request-parameter">
      <map:parameter name="parameter-name" value="next"/>
         <map:when test="">
            <map:generate type="serverpages" src="xdocs/db/art_grp_chg.xsp"/>
            <map:redirect-to uri="../{next}"/>

I am looking for a simple way to do something similar to the response.sendRedirect(""); I

used in my Cocoon 1.8.2. code. 

Cocoon 2.0.3
Tomcat 4.1.7



  Christian Hoofe

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message