Tsui, Alban wrote:

Hi

i tried the following but it doesn't work:

<map:match pattern="*/svg2bmp">
  <map:generate src="{request-param:url}"/>
  <map:serialize type="svg2jpeg"/>
</map:match>


The reason I need url as a parameter because this url could be an image on a different server.


I am using cocoon 2.0.3 ... do I need to declare anything to use {request-param:url}?


Yes, you will need what's called "input-modules". I don't remember if they already in 2.0.3 though... Or maybe the "request-param" module had a different name. You should check your cocoon.xconf, or better use the second pattern I suggested.


Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to