Is there any way I can validate a jsf input text that is readonly but the value is changed upon some other events triggered?
Set the readonly
attribute to true
only during render response phase. This way it won't be seen as readonly in all other phases than the render response phase.
<h:inputText ... readonly="#{facesContext.currentPhaseId.ordinal eq 6}" />