
net.sf.wcfart.wcf.selection.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wcf-art Show documentation
Show all versions of wcf-art Show documentation
jpivot-wcf code used by the ART reporting tool
The newest version!
Allows to select elements via checkboxes or radiobuttons. The selection is evaluated when
validate() is called.
Usage pattern
class MyComponent extends ComponentSupport {
selectionMgr = new SelectionMgr();
public Document render(RequestContext context) throws Exception {
Document document = XmlUtils.createDocument();
selectionMgr.startRendering(context);
for (int nodeIndex = 0; nodeIndex < nodeCount; nodeIndex++) {
Object node = ...
Element elem = renderElement(node);
selectionMgr.renderButton(element, node);
}
selectionMgr.stopRendering();
return document;
}
public boolean validate(RequestContext context) {
selectionMgr.validate(context);
...
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy