This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by mckan]

Hi,

I have a question about the example in Chapter 8.

There is an object function df_process_product_from, and for it there are some
arguments, acb_action_1, acb_cancel_1,....,id_1, name_1,...
I don't know where the code pass the value to those arguments.
Can anybody help me?

Peter
import-bot (20211) [Avatar] Offline
#2
Re: About the question of example in Chapeter 8 ?
[Originally posted by yannick]

The values for the arguments come from the HTML form created using
GenereteHTMLForm() function. The form action is df_process_product_from, so
when submitting the form, it will call this PB function. The argument values
also come from this HTML form, and are passed to the BP function. If you look
at the HMTL for the form (look for the form tags <FORM>....</FORM>smilie, you will
see what the values are for name_1, .... , id_1. These are the arguments and
values being passed when the form is submitted.

Hope I am clear enough.

> Hi,
>
> I have a question about the example in Chapter 8.
>
> There is an object function df_process_product_from, and for it there are some
> arguments, acb_action_1, acb_cancel_1,....,id_1, name_1,...
> I don't know where the code pass the value to those arguments.
> Can anybody help me?
>
> Peter