To follow, up, i have had no success using the location attribute in the form:

<wt:form-template action="" location="getAttribute($session,'clockout-form')"> (action blanked to remove continuation for testing)

and setting the form in the session from flow as:

cocoon.session.setAttribute("clockout-form", new Form("forms/timeTrackerClockOut.xml"));

Or variations thereupon. I have confirmed that the form is set, but the particular error with the above code is:

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.xml.sax.SAXException: Object returned by expression "getAttribute($session,'clockout-form')" is not a Woody Form.

Help?

-Brian

On Jan 14, 2004, at 10:46 PM, Brian McCallister wrote:

This seems like it should be obvious, but I haven't found docs for it, nor figured it out from the examples -- how can I start execution of a flow script with a form submission using woody and flow (not a Java action listener)

Take for example the fairly common occurrence -- a site you can navigate around that presents a login box on every page that you can access at any time. The submission of the form starts a flow of execution, it is not in the middle of one.

I can see a possibility for action callbacks in the form definition, but then I cannot figure out how to access the form (to transform it) without using form.showForm(...) to display a pipeline for the form.

Is there a secret I haven't found for doing this?

-Brian



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





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



Reply via email to