Hi all,
Is it possible to run other action that extends
AbstractComplementaryConfigurableAction inside
xmlForm?
e.g.: run org.apache.cocoon.acting.DatabaseAddAction
public Map perform () {
...
} else if ( formView.equals ( VIEW_CONFIRM ) ) {
if ( command.equals( CMD_NEXT ) ) {
// here I want run my action
// some:
MyAction action = new MyAction();
action.act( redirector, resolver, objectModel, source,
params );
return page( VIEW_END );
} else if( command.equals( CMD_PREV ) ) {
return page( VIEW_INTEREST );
}
}
I know it sounds stupy, but I don't want to write
other actions for it.
any ideas, advise, tips,
Thanks a lot,
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]