[EMAIL PROTECTED] wrote:
[...]
Thanks, [EMAIL PROTECTED]
Do you mean that you can have HtmlGenerator operate on a request attribute?
If i understand that correctly, that would mean you can read your html from
a POST request. That wouldn't help, because I want that html from the old
server. You know, send it a http request like

GET http://old-server/legacy.html HTTP/1.1
accept-language: nl, en-us
etc.

I browsed the source oif HtmlTransformer, and it also has a parameter
copy-parameters, but that wouldn't help me either, it just copies the
query-string at the end of the src attribute.

Or am I totally missing something?

Peter

Hi Peter,
What I understand from that documentation mentioned is that you can use "generate" with additional parameters.


So if you have a request like

  http://yourServer/yourPath?Source=http://foo.bar.tld

which will be matched by your pipeline, you could pass additional parameters.

---------------------------------
<map:match pattern="yourPath">
  <map:generate type="html" src="{request-param:Source}">
    <map:parameter name="..." value="..."/>
  </map:generate>
  ...
</map:match>
---------------------------------

Sorry, if I'm wrong. Haven't tested that case.
--
[EMAIL PROTECTED]


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



Reply via email to