Hallo,

I have some troubles with the attribute validationGroups on f:validateBean (see MYFACES-2528 [1] for details). The problem is mainly caused by the fact, that its value is set on the validator in the tag handler. If the attribute is set to a value expressions this leads to unexpected behavior (at least not the way I would expect it ;-)).

So I wonder how this should be solved. What I (successfully) tried is to save the value expression directly in the validator with an additional tag handler to evaluate it not before the value is really needed. The same might also apply to other validator attributes. But how is this compliant with the spec? Or the other way round: why is it implemented the way it currently is?

reards
Michael

[1]: https://issues.apache.org/jira/browse/MYFACES-2528

Reply via email to