Hello Cocooners,
I am implementing a search engine for my Cocoon site as a Java servlet.
All Cocoon has to do is send the search terms from an HTML form to the
servlet and then send the results through a stylesheet:
<map:match type="request-parameter" pattern="search">
<map:generate
src="http://localhost/search?terms={raw-request-param:search}" />
......
</map:match>
It works, except when the request parameter 'search' has a space in it,
it is passed on as "term1 term2" where it should be "term1+term2". This
causes the sitemap to break because there is a space in the map:generate
src URI above.
Does anyone know whats wrong with this?
Cheers,
Richard
--
Richard Lewis
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]