Hello,
I am trying to do something like following. The f:validator tag works but
the f:attribute seems not to work.
<tc:in value="#{policy.productId}">
<f:validator validatorId="custom.validator"/>
<f:attribute name="constraint" value="#{constraints.stringLength(3,
15)}"/>
</tc:in>
The way I try to get the constraint attribute within my custom validator is:
component.getAttributes().get("constraint");
I tried to find out where the attribute must be set, with no success. Can
you give me a hint where to debug, please?
Regards,
Thomas