Joakim Verona wrote:

I tried pasting in your test pipeline in my sitemap, and it returns the xml version of the imdb page as expected.

<map:match pattern="parseimdbtitletst">
  <map:generate type="html"
      src="http://www.imdb.com/title/tt0338466"; />
  <map:serialize type="xml"/>
</map:match>

So we are not having the exact same behaviour.

Some questions for you:

1) Which version of cocoon are you running? I'm running 2.1.3 on sun linux jdk 1.4.2_02

Cocoon 2.1.2, JDK 1.4.1_01 on Windows 2000. Anyway, I've checked it again and still doesn't work



2) When you send parameters to a pipeline from flowscript, do you use {request-param:imdbtitle} to receive them?

BTW, I've completely overlooked the reception of parameters in your sitemap (my bad :( ): you cannot, AFAIK, use them as request parameters, since they're Javascript objects.


Instead, you should use the jpath logicsheet or JXTransformer or JXTemplate to use them. I'am afraid you have to change the logic of your application considerably.

Regards,

-----------------------------------
Luca Morandini   -   GIS Consultant
[EMAIL PROTECTED]
http://xoomer.virgilio.it/ukmorand/
-----------------------------------



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



Reply via email to