I did and I'm using store() to make it work, it just seems messy when
all I really want is something like this

DateRange implements Label {

@Parameter
private String label;

@Parameter
@Property
private Range range;

onPrepareFromSubmit() {
   if ( range == null ) {
       range = new Range();
   }
}

onValidate() {
  if ( startdate >= enddate ) {
      validation exception;
  }

String getLabel() {
   return label;
}

}

I guess I need to create an AbstractFormComposite and hide all the
complexity there.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to