cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Larson" <Tdlar...@ci.canton.oh.us>
Subject RE: redirection in XSP?
Date Thu, 20 Feb 2003 17:09:24 GMT
Sorry for the typo, should be:
Have the XSP-Action set a sitemap parameter, such as "uri",
and then have this in your sitemap:
  <map:act src="somepage.xsp" type="xsp-action">
    <map:redirect-to uri="{uri}"/>
  </map:act>

Tim

>>> WBrandes@air.org 02/20/03 10:48AM >>>
I have used the XSP-as-action method to do redirection in the sitemap (based
on the requestor's url), but one limitation is that it only allows a binary
choice: if the action succeeds go to one url, if the action fails go to a
different url. How can a pipeline be set up to allow more than just two
possible redirect pathways?
 
Wayne



---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message