1. validator="" attribute of |
2. Validate field and throw exception in JSF, but attach error message to another field? stackoverflow.comI have some fields on my page which I want cross-validated. But I don't want error from this validation to be displayed in |
3. Validators still required to throw exceptions? :( coderanch.comHey Jason - Yep, validators still throw exceptions to report validation failures. I don't remember much discussion on this topic - at least not since I joined the EG. Is your concern primarily that this is an abuse of exceptions (from an API design standpoint)? Or is there some functionality that you are hoping to achieve that isn't currently possible to ... |
4. Change tag after validation/conversion-Exception coderanch.comHello Everybody, i have a really simple problem and didn't find a working solution - it drives me mad! Problem: If a ValidationException/ConversionException is trhown by my validators/converters the regarding -element in the page must be changed e.g. the background-color is set to red or style-class "invalid" ist set. How to accomplish this? (Solution must work for InputText-Elements in a ... |