Sure,
see org.apache.cocoon.samples.xmlform.WizardAction
perform() returns a Map which is the action map.
If you don't have anything extra to add to the map,
you can use
return page ( PAGE_NAME );
Otherwise you can do:
Map actionMap = page( PAGE_NAME );
actionMap.add( myOwnKey, andObject );

you can of course override the act() method, which is not recommended.





----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 02, 2002 9:01 AM
Subject: Re: XMLForm Wizard and Data Access


Is there a way to add more items to the map that a FormWizardAction returns
(i.e. more than just the page parameter)?

On Monday 02 September 2002 12:25 pm, [EMAIL PROTECTED] wrote:
> I am trying to create a web application with the XMLForm wizard.
> I have one major problem though.
>
> -- I am having trouble loading data into the jbean from a database
> (imagine a screen to ident a user and then a screen to modify account
> data).  As far as I can tell I would have to do the data access in the
> Action.  I would really like to be able to use other cocoon data
> functionality to do this.
>
> -- Is there any chance that there will be an example using the personnel
> tables in the near future?  This would be extremely helpful
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to