Is there any way I can validate a jsf input text that is readonly but the value is changed upon some other events triggered?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have solved this problem with a workaround. I have added an
inputHiddenfield that has therequiredattributetruethat will not appear on the interface, but will be validated:The value of bean.value is changed by other event, and at some reRender on the inputHidden, the validation takes place.