public void formGroupContextsDisplayRightEnter(PrintWriter out) { if (inFormGroupContext()) { utils.FormGroupContext temp = getFormGroupContext(); if (!temp.isInColumnContext()) { temp.enterColumnContext(); out.print("<div style=\"float: left;\">"); formGroupContextClosingTags.push("right"); temp.toLeftContext(); } else { formGroupContextClosingTags.push("none"); } } }
public void formGroupContextsDisplayLeftEnter(PrintWriter out) { if (inFormGroupContext()) { utils.FormGroupContext temp = getFormGroupContext(); if (!temp.isInColumnContext()) { temp.enterColumnContext(); out.print("<div style=\"clear:left; float:left; width: " + formGroupLeftSize + "px\">"); formGroupContextClosingTags.push("left"); temp.toRightContext(); } else { formGroupContextClosingTags.push("none"); } } }
public void formGroupContextsCheckLeave(PrintWriter out) { if (inFormGroupContext()) { utils.FormGroupContext temp = getFormGroupContext(); if (!temp.isInDoubleColumnContext()) { String tags = formGroupContextClosingTags.pop(); if (tags.equals("left")) { // temp.toRightContext(); temp.leaveColumnContext(); out.print("</div>"); } else if (tags.equals("right")) { // temp.toLeftContext(); temp.leaveColumnContext(); out.print("</div>"); } } } }
public void formGroupContextsCheckEnter(PrintWriter out) { if (inFormGroupContext()) { utils.FormGroupContext temp = getFormGroupContext(); if (!temp.isInDoubleColumnContext()) { // ignore defaults when in scope of a double column if (!temp.isInColumnContext()) { // don't nest left and right temp.enterColumnContext(); if (temp.isInLeftContext()) { out.print("<div style=\"clear:left; float:left; width: " + formGroupLeftSize + "px\">"); formGroupContextClosingTags.push("left"); temp.toRightContext(); } else { out.print("<div style=\"float: left;\">"); formGroupContextClosingTags.push("right"); temp.toLeftContext(); } } else { formGroupContextClosingTags.push("none"); } } } }