I have a component containing a TextField. The TextField should support
validation. For example:

@Component(id = "field", parameters = {"validate=required,minlength=3"})
private TextField field;

But, I would like to make it possible to override the validation. So for
example:


@Component(id = "field", parameters =
{"validate=prop:getTheValidationValue"})

or from the tml file

<input type="text" t:id = "field" t:type="TextField" value="value"
disabled="checked" t:validate="inherit:validate"/>

But I have not yet succeeded.

Any tips?

Martijn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to