myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sean schofield (JIRA)" <>
Subject [jira] Commented: (MYFACES-667) Nonstandard validation/conversion behavior of <t:inputText>
Date Wed, 05 Oct 2005 14:25:48 GMT
    [ ] 

sean schofield commented on MYFACES-667:

[Offlist email from Bill Dudney]

On page 3-18 of the spec it
says that the 'required' attribute specifies that the user must
supply a non-empty value for the component if the attribute is set to
'true'. Which says to me that if its null or empty it should fail
(I'm fairly sure the default impl does that). Perhaps it is as you say a
difference between the tomahawk input and the impl input.

Worth filing a bug over I'd say.

> Nonstandard validation/conversion behavior of <t:inputText>
> -----------------------------------------------------------
>          Key: MYFACES-667
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: 1.1.0
>     Reporter: sean schofield

> Not sure if this is a bug but shouldn't a required field throw a
> validation error if nothing (empty string) is posted?  My
> understanding was that JSF will skip conversion and consider the value
> missing.  I'm seeing a conversion attempt (which I didn't expect) and
> then no validation error is   thrown.
> I know there are some subtleties with null vs. empty but I thought I
> understood things correctly.  Is it possible that the tomahawk version
> is not behaving in the same way as the core version?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message