lenya/src/webapp/lenya/pubs/default publication-sitemap.xmap,1.26,1.27

Christian Egli <[email protected]> Wed, 14 May 2003 12:18:22 +0200
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /repository/lenya/src/webapp/lenya/pubs/default
In directory erbium:/tmp/cvs-serv21416/src/webapp/lenya/pubs/default

Modified Files:
	publication-sitemap.xmap 
Log Message:
Thanks to the fact that it is now possible to use constructs like
{request:requestURI} in the sitemap and thanks to the fact that the
requestURI for a creation request contains the URL of the requesting
document we no longer need to put the referer into the session.

When the creation was successful we simply redirect back to the
requestURI.


Index: publication-sitemap.xmap
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/publication-sitemap.xmap,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** publication-sitemap.xmap	13 May 2003 14:33:18 -0000	1.26
--- publication-sitemap.xmap	14 May 2003 10:18:20 -0000	1.27
***************
*** 92,96 ****
  	    <!-- if the action suceeds it returns the referer and we -->
  	    <!-- simply redirect to it. -->
! 	    <map:redirect-to uri="{parent_uri}"/>
  	  </map:act>
  	  <!-- otherwise the action could not validate some of the -->
--- 92,96 ----
  	    <!-- if the action suceeds it returns the referer and we -->
  	    <!-- simply redirect to it. -->
! 	    <map:redirect-to uri="{request:requestURI}"/>
  	  </map:act>
  	  <!-- otherwise the action could not validate some of the -->