Hi,
@Persist
"This annotation works exactly like a <property> element, except that the
initial-value attribute can't be specified."
is this left out on purpose?
How can I currently create a property or parameter and connect it to a
component as in:
// @Persist or
@Parameter( defaultValue="new Distance()" )
public abstract Distance getDistance();
@Component( type = "TextField", bindings = {
"value=Distance.distance",
"displayName=selectSpan",
"translator=number,pattern=#",
"validators=required,min=1,max=20000"
})
public abstract TextField getSpan();
with Distance something like:
public class Distance {
public Long getDistance();
public void setDistance(Long dist);
}
Defining a parameter with defaultValue makes it
available, but it doesn't get changed upon
editing.
And as a property without initial-value it is of
course null.
Thank you very much for your
answer
Ido
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]