/** * Add a single-line text input control. * * @param name * (Required) a non-unique local identifier used to differentiate * the element from its siblings within an interactive division. * This is the name of the field use when data is submitted back * to the server. * @return a new text field */ public Text addText(String name) throws WingException { return addText(name, null); }
addComposite.setLabel(T_value_label); TextArea addValue = addComposite.addTextArea("value"); Text addLang = addComposite.addText("language");
oaiSetSettingRadio.addOption(!"all".equals(oaiSetIdValue) && oaiSetIdValue != null, "specific", "Specific sets"); Text oaiSetId = oaiSetComp.addText("oai_setid"); oaiSetId.setSize(40); if(!"all".equals(oaiSetIdValue) && oaiSetIdValue != null)
Text value = qualdrop.addText(fieldName+"_value");
filterComp.addText("filter").setSize(30);
text = composite.addText("partA"); text.setLabel("Part A"); text.setValue("Value for part A"); text = composite.addText("partB"); text.setLabel("Part B"); text.setValue("Value for part B"); select.setOptionSelected("one"); text = composite.addText("TextB"); text.setLabel("Spanish Numbers"); if (help) text = composite.addText("year"); text.setLabel("Year"); text.setSize(4,4); text = composite.addText("day"); text.setLabel("Day"); if (help) Text ssn1 = ssn.addText("ssn1"); ssn1.setSize(4,4); Text ssn2 = ssn.addText("ssn2"); ssn2.setSize(2,2); Text ssn3 = ssn.addText("ssn3"); ssn3.setSize(4,4);
text = composite.addText("firstA"); if (help) text.addInstance().setValue("3, Raw A"); text = composite.addText("secondA"); if (help) select.addInstance().addOptionValue("three"); text = composite.addText("TextB"); if (help) text = composite.addText("day"); if (help) select.addInstance().setOptionSelected(5); text = composite.addText("year"); text.setSize(4,4); if (help)