geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From babus_18 <>
Subject Validators of h:inputText not getting invoked value is ""
Date Mon, 16 Feb 2009 19:56:58 GMT


I am using jsf api and impl 1.2._12.

I have the following facelet mark up:

<h:inputText id="testInput" value="#{testController.test}" required="false">
  <f:validator validatorId="stateValidator"/>

The "stateValidator" is configured as follows in faces-config


The validator is getting invoked with no issues when the value of the field
is anything other than "". But when the value is "", the validator does not
get invoked.

I am wondering if I am doing something wrong. Please advise on potential

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message