Go to the documentation of this file.00001 #include "DQM/TrackerCommon/interface/Button.h"
00002
00003
00004 void Button::printHTML(xgi::Output *out)
00005 {
00006 std::string position = "position:absolute; left:" + get_pix_left() + "; top:" + get_pix_top();
00007 *out << cgicc::div().set("style", position.c_str()) << std::endl;
00008
00009 std::string js_command = "makeRequest('" + get_url() + "/" + "Request?RequestID=" + requestID + "', dummy)";
00010 *out << cgicc::input().set("type", "button")
00011 .set("value", name.c_str())
00012 .set("onclick", js_command.c_str()) << std::endl;
00013
00014 *out << cgicc::div() << std::endl;
00015 }