10 std::string applicationURL =
get_url();
11 std::string requestName =
"RequestID=" +
requestID;
12 std::string js_command =
"makeSelectRequest('" + applicationURL +
"/Request?" + requestName +
"'" +
15 *out << cgicc::div().set(
"style", position.c_str()) << std::endl;
18 *out << cgicc::form().set(
"name", name +
" Form").set(
"id", name +
" Form") << std::endl;
21 *out << cgicc::tr() << std::endl
22 << cgicc::td() << std::endl
23 << name <<
":" << std::endl
24 << cgicc::td() << std::endl;
27 *out << cgicc::td() << std::endl;
28 *out <<
cgicc::select().set(
"name", name).set(
"id", name).set(
"onchange", js_command) << std::endl;
29 *out << cgicc::option().set(
"value",
"").set(
"selected") << cgicc::option() << std::endl;
30 for (std::vector<std::string>::iterator it =
options_v.begin(); it !=
options_v.end(); it++)
32 *out << cgicc::option().set(
"value", *it) << *it << cgicc::option() << std::endl;
35 *out << cgicc::td() << std::endl;
37 *out << cgicc::tr() << std::endl;
41 *out << cgicc::form() << std::endl;
42 *out << cgicc::div() << std::endl;
std::string get_pix_left()
static int position[TOTALCHAMBERS][3]
void printHTML(xgi::Output *out)
std::vector< std::string > options_v
std::string get_pix_top()