[ic] ActionMap & mv_form_profile
Kevin Walsh
interchange-users@interchange.redhat.com
Thu Jan 31 02:54:01 2002
> > The form profile code is called from within the "process" action and
> > has not been coded into your custom action. The 'Sorry...' message will
> > appear when you try to call a *page* called myaction rather than an
> > actual action. Try one of these:
> >
> > 1) Copy the form profile code from the do_process sub, in the
> > bin/interchange script, into your custom action.
> >
> > 2) Create the action as a FormAction, set the <form> action to
> > "[process-target]" and set mv_todo=action_name from within an
> > mv_click callback. The process action will be called and the
> > form profile will be checked. If this passes, the mv_click
> > will be called, followed by the FormAction specified in the
> > mv_todo.
> >
> Thanks, Kevin!
>
> Option number two worked form me!
>
> Unfortunately I couldn't get your first suggestion to work.
> Do you have by any chance a small example at hand, illustrating your first
> suggestion?
>
I don't, sorry. Both of those options were plucked from out of
the air and sent without thinking too hard. At least one of them
worked for you. :-)
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/