Thanks, but when I were writing "marked one input as required", I meant thу following:

<h:inputText required="true" value="...

And I found that there is no any validation. ...and other problems.
It is possible, that this problems are issued by another software (facelets, jetty, ...), but code I have referenced to some strange nulls processing:
*  when submitted value is null, the validation process is interrupted;
*  null request parameters are treated as absent.
It is possible, that in another environment nulls in parameter values are not occur. But, in my case, nulls happen.

I'll try another container, may be the problem is related to jetty. (?)


Best regards.


2006/3/23, Mike Kienenberger <[EMAIL PROTECTED]>:
On 3/23/06, Serge Bogatyrjov <[EMAIL PROTECTED]> wrote:
>  I have a form and some inputs on it. I marked one input as required. Then I
> expected to get a error message when posting an empty form. By I did not get
> any messages.

It should be as simple as adding

    required="true"

as an attribute for your component.   As you have noticed, this is the
only validation potentially checked for an empty input component.

Reply via email to