658659660661662663664665666667668
protected void writeHiddenFields() { IMarkupWriter writer = getHiddenFieldWriter(); writer.begin("div"); writer.attribute("style", "display:none;"); writer.attribute("id", _form.getName() + "hidden"); writeHiddenFieldList(writer); writer.end();
659660661662663664665666667668669
{ IMarkupWriter writer = getHiddenFieldWriter(); writer.begin("div"); writer.attribute("style", "display:none;"); writer.attribute("id", _form.getName() + "hidden"); writeHiddenFieldList(writer); writer.end(); }
190191192193194195196197198199200
public void beginBodyScript(IRequestCycle cycle) { IMarkupWriter writer = getWriter(); writer.begin("script"); writer.attribute("type", "text/javascript"); writer.printRaw("<!--"); } /** * {@inheritDoc}
224225226227228229230231232233234
public void writeExternalScript(String url, IRequestCycle cycle) { IMarkupWriter writer = getWriter(); writer.begin("script"); writer.attribute("type", "text/javascript"); writer.attribute("src", url); writer.end(); writer.println(); }
225226227228229230231232233234235
{ IMarkupWriter writer = getWriter(); writer.begin("script"); writer.attribute("type", "text/javascript"); writer.attribute("src", url); writer.end(); writer.println(); } /**
252253254255256257258259260261262
public void writeInitializationScript(String script) { IMarkupWriter writer = getWriter(); writer.begin("script"); writer.attribute("type", "text/javascript"); writer.printRaw("<!--\n"); writer.printRaw("dojo.event.connect(window, 'onload', function(e) {\n"); writer.printRaw(script);
153154155156157158159160161162163
link.getURL(null, false); linkc.setReturnValue("/app"); writer.begin("form"); writer.attribute("method", "post"); writer.attribute("action", "/app"); writer.attribute("name", "myform"); render.render(writer, cycle);
154155156157158159160161162163164
156157158159160161162163164165166
writer.begin("form"); writer.attribute("method", "post"); writer.attribute("action", "/app"); writer.attribute("name", "myform"); render.render(writer, cycle); writer.println();
267268269270271272273274275276277