cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: XMLForm Wizard and Data Access
Date Wed, 04 Sep 2002 02:51:03 GMT

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: <pwcml@blackbearsolutions.com>
To: <cocoon-users@xml.apache.org>
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, pwcml@blackbearsolutions.com 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message