Writing value of application variable to a dynamic HTML form
Posted: Thu Jun 07, 2012 4:28 am
Hi, with reference to section 10.2.1 , Page 44, of the NetBurner Network Development Kit Programming Guide 350080-003 is there any updated application note on the method for displaying program variables (a string, a number, etc.) directly in a dynamic HTML page running on a netburner module?
I just recently tried (to no luck):
-- defined a local file "foobar.h"
I've gone through some of the earlier posts in this forum on the very same topic, and wonder if the functionality of the VARIABLE is still supported?
The resultant HTML code generated is shown below - What am I missing here? I have included in main.cpp:
I just recently tried (to no luck):
-- defined a local file "foobar.h"
In my index.htm file:/*
* foobar.h
*
* Created on: Jun 7, 2012
* Author: XXXX
*/
#ifndef FOOBAR_H_
#define FOOBAR_H_
char BUILD_APP_TASKMON[30];
#endif /* FOOBAR_H_ */
What I want to display is contained as a static assignment in my main.cpp<!--INCLUDE foobar.h -->
<p><b><!--VARIABLE BUILD_APP_TASKMON --></b>
That is, I want the HTML code to be generated at run time that would display the contents of BUILD_ASK_TASKMON defined in main.cpp#define BUILD_APP_TASKMON "Some String"
I've gone through some of the earlier posts in this forum on the very same topic, and wonder if the functionality of the VARIABLE is still supported?
The resultant HTML code generated is shown below - What am I missing here? I have included in main.cpp:
After compilation, download and execution, the generated HTML code (from, View Source, on GOOGLE CHROME)/*include for HTML variable calls? 6/7/12*/
#include <htmlfiles.h>
<P><B></B>