cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Fiol BonnĂ­n <antonio.f...@gmail.com>
Subject Re: Altering a query string in a sitemap?
Date Mon, 25 Apr 2005 14:17:13 GMT
<map:match pattern="/aaa/bbb">
  <map:redirect-to uri="/aaa/bbb?{request-param:Q}" />
  <!-- Untested: uri="?{request-param:Q}" -->
</map:match>

2005/4/22, Jeff Sexton <sextonj@odscompanies.com>:
> I need to turn a request that looks like this:
> 
> /aaa/bbb?Q=[a string]
> 
> into this:
> 
> /aaa/bbb?[a string]
> 
> In my application [a string] is the actual complete query string I want to pass along
> to the XSP.
> 
> What I want to do is create a form that allows the user to add a paramter to a query
> string I already have in hand in the XSL.  Unfortunatly, the it seems HTML can't
> generate an action the with my pre-formed query string already in place.  I have to
> give the query string a label and pass it like it was a type "hidden" parameter (if I
> put parameters in the action, the browser adds a second "?" on the end of the
> resulting request).
> 
> Can the sitemap strip off the "Q=" and pass the remaining string on as though it was
> the original query string?
> 
> Thanks
> 
> --
> The ODS Companies
> Jeff Sexton
> Information Services
> (503) 228-6554   x1026
> http://www.odscompanies.com
> 
> This message is intended for the sole use of the individual and entity
> to whom it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose
> or distribute to anyone the message or any information contained in the
> message. If you have received this message in error, please immediately
> advise the sender by reply email and delete the message.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


-- 
Antonio

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


Mime
View raw message