Yes and that is essentially only one formcomponent (youre composite) that has intenally its own markup/componentsAnd it gets the input directly from themFor example see the CheckGroup and the Check classes. Check classes aren't also FormComponents.
johan > And are the children you put in that compo
Johan Compagner wrote:
why this strange method:
private CompositeComponent getThis() {
return this;
}
why not CompositeComponent.this on the places where you use that.
also i see a nullpointer:
public String[] getInputAsArray() {
// go over a
why this strange method: private CompositeComponent getThis() { return this; }why not CompositeComponent.this on the places where you use that.also i see a nullpointer:
public String[] getInputAsArray() {// go over all children, and create a list.
after troubling many people here, and thankful for their help, here is the
CompositeComponent component.
you just overwrite two methods, and voila!
hope it is useful for someone else.
it is part of the product i'm working on, so it's MPL licensed.
public abstract class CompositeComponent ex