use of org.akaza.openclinica.web.pform.dto.Input in project OpenClinica by OpenClinica.
the class InputWidget method getUserControl.
@Override
public UserControl getUserControl() {
Input input = new Input();
Label label = new Label();
label.setLabel(itemFormMetadataBean.getLeftItemText());
input.setLabel(label);
// input.setHint(hint);
if (appearance != null)
input.setAppearance(appearance);
input.setRef("/" + version.getOid() + "/" + itemGroupBean.getOid() + "/" + item.getOid());
return input;
}
use of org.akaza.openclinica.web.pform.dto.Input in project OpenClinica by OpenClinica.
the class SubHeaderWidget method getUserControl.
@Override
public UserControl getUserControl() {
Input input = new Input();
Label label = new Label();
label.setLabel(itemMetaData.getSubHeader());
input.setLabel(label);
input.setRef("/" + version.getOid() + "/" + itemGroup.getOid() + "/" + item.getOid() + ".SUBHEADER");
return input;
}
use of org.akaza.openclinica.web.pform.dto.Input in project OpenClinica by OpenClinica.
the class SectionTextWidget method getUserControl.
@Override
public UserControl getUserControl() {
Input input = new Input();
Label label = new Label();
label.setLabel(text);
input.setLabel(label);
input.setRef("/" + versionOid + "/SECTION_" + String.valueOf(sectionId) + "." + textType);
return input;
}
use of org.akaza.openclinica.web.pform.dto.Input in project OpenClinica by OpenClinica.
the class HeaderWidget method getUserControl.
@Override
public UserControl getUserControl() {
Input input = new Input();
Label label = new Label();
label.setLabel("__" + itemMetaData.getHeader() + "__");
input.setLabel(label);
input.setRef("/" + version.getOid() + "/" + itemGroup.getOid() + "/" + item.getOid() + ".HEADER");
return input;
}