Home/Support/Support Forum/AWS do not call stub function
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

AWS do not call stub function

0 votes
Hello,

I dont understant why AWS not calling my submit function.

in htm source code I have:

<!-- RpFormHeader name="setup_form" RpFunctionPtr="SubmitFunc" -->

in setup_v.c pbuilder generated SubmitFunc but by pressing the Submit on browser, there is not calling to this function

and on tag on begining of page
<!-- RpPageHeader RpAccess=Realm1 RpFunctionPtr=setupPagePreProc -->

calling to setupPagePreProc working when setup.htm is displayed

I have tried Etheral and POST was executed after Submit

Many thanks to help me.
asked Jun 17, 2011 in NET+OS by jgroch New to the Community (6 points)
recategorized Dec 5, 2013 by tuxembb

Please log in or register to answer this question.

1 Answer

0 votes
Hello Im solved it,

in the RpPages.c I was forgotten write object list.

I m creating setup.htm with one form, in separate directory
then generate setup.c
To the RpPages.c is needed added

rpObjectDescriptionPtr gRpObjectList[] = {
&amp;Pgsetup,
&amp;Pgsetup_Form_1,
...

and also added

extern rpObjectDescription Pgsetup;
extern rpObjectDescription Pgsetup_Form_1;

Note:
Im creating always htm file in separate directory then translate it with pbuilder and copy .c file to project html directory
Because when we translate all htm files in workspace
there is very long time to translate in ESP
answered Jun 18, 2011 by jgroch New to the Community (6 points)
...