cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Re: How can I send sitemap param from my wizard action?
Date Wed, 11 Jun 2003 09:18:16 GMT
I don't understand quite well your question.
  but if you want your sitemap parameter you should get them from the "act" 
method and then pass them to your perform method.

Lionel

At 10:36 10/06/2003 -0700, you wrote:
>Hi all,
>
>How I see AbstractXMLFormAction.page(..), objectMap is
>creating new:
>  protected Map page(String pageName) {
>    Map objectModel = new HashMap();
>    objectModel.put(OBJECT_MAP_NEXT_PAGE, pageName);
>    return objectModel;
>  }
>
>What if I want send some sitemap param from my wizard
>action ( from perform() )?
>
>public Map perform () {
>   ...
>      if ( formView.equals ( VIEW_REGISTRATION ) ) {
>         if ( command.equals( CMD_NEXT ) ) {
>     --> here I want put my sitemap param
>           return page(  VIEW_INTEREST );
>         }
>       }
>   ...
>
>Thanks,
>Hill
>cocoon 2.1m3-dev, tomcat 4, java 1.4
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
>http://calendar.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
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