[ic] ActionMap & mv_form_profile

JoJo interchange-users@interchange.redhat.com
Wed Jan 30 11:46:01 2002


At 09:31 AM 1/30/02 +0000, Kevin Walsh <kevin@cursor.biz> wrote:
>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?

Many thanks again.

JoJo