h:inputText can set required attribute to true, that means this field
is a mandatory fields.

But it does not trim string before validation. So an empty space also
a valid value for input text with required attribute.

How to solve this problem, that I do not have to add trim string
function in javascript one by one. Any idea?

Thanks
--

Anthony Hong

Reply via email to