I was reading over this thread again, and...

On Feb 9, 2004, at 6:17 PM, I wrote:

<..snip...> But to get an idea what it would be like if this worked, try this:

1)
        <map:match pattern="hello-world-display-pipeline">
          <map:generate type="woody" src="forms/view/hello-world.xml">
            <map:parameter name="attribute-name" value="hello-form"
          <map:serialize type="xml"/>
        </map:match>

My Bad!


Leave out the src="forms/view/hello-world.xml" from that <map:generate>. There should be no src attribute.

2) Then, add the super-secret ingredient in your flowscript, right before the call to showForm():

cocoon.request.setAttribute ('hello-form', form.form);

Invoke your controller pipeline, and you'll get the XML from your view pipeline.

All the best,
~ml


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



Reply via email to