public TableNavRenderer(UIContainer tofill, String formID, String scriptID, ViewParameters vparams) { parameterForm = UIForm.make(tofill, formID, vparams); jscript = UIVerbatim.make(tofill, scriptID, ""); jscript.markup = new StringBuilder(); appendJS("theform = new SakaiProject.TableRenderer('"+parameterForm.getFullID()+"');"); }
/** Construct a new UIVerbatim control, rendering raw unescaped markup to the client * * @param parent The parent container to which the new control is to be attached. * @param ID The (RSF) ID of this control * @param markup An Object holding the raw markup to be rendered. Either a String, * UIBoundString, InputStream (assumed UTF-8) or Reader, else toString() * will be called to get character data. May also be an ELReference * from which one of the previously mentioned types can be read. */ public static UIVerbatim make(UIContainer parent, String ID, Object markup) { UIVerbatim togo = new UIVerbatim(); togo.ID = ID; togo.markup = markup; parent.addComponent(togo); return togo; }
public TableNavRenderer(UIContainer tofill, String formID, String scriptID, ViewParameters vparams) { parameterForm = UIForm.make(tofill, formID, vparams); jscript = UIVerbatim.make(tofill, scriptID, ""); jscript.markup = new StringBuilder(); appendJS("theform = new SakaiProject.TableRenderer('"+parameterForm.getFullID()+"');"); }
public void fillComponents(UIContainer tofill, String ID, String functionname) { UIVerbatim.make(tofill, ID, "\n<!-- \n\tfunction " + functionname + "()" + " {\n\t\tsetMainFrameHeight('" + deriveFrameTitle(toolmanager.getCurrentPlacement().getId()) + "');\n\t\t}\n//-->\n"); }
public void fillComponents(UIContainer tofill, String ID, String functionname) { UIVerbatim.make(tofill, ID, "\n<!-- \n\tfunction " + functionname + "()" + " {\n\t\tsetMainFrameHeight('" + deriveFrameTitle(toolmanager.getCurrentPlacement().getId()) + "');\n\t\t}\n//-->\n"); }
UIVerbatim.make(joint, "textarea-js", js);
UIVerbatim.make(joint, "textarea-js", js);
UIVerbatim.make(togo, "datesymbols", jsblock);
UIVerbatim.make(togo, "datesymbols", jsblock);
: transit.ampm); UIVerbatim.make(togo, "sakai-old-date-init", "chef_dateselectionwidgetpopup('" + yearselect.getFullID() + "-selection', '" + monthselect.getFullID() + "-selection', '"
: transit.ampm); UIVerbatim.make(togo, "sakai-old-date-init", "chef_dateselectionwidgetpopup('" + yearselect.getFullID() + "-selection', '" + monthselect.getFullID() + "-selection', '"