myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Aranda (JIRA)" <>
Subject [jira] Closed: (MYFACES-669) Validation error
Date Sat, 03 Dec 2005 01:12:36 GMT
     [ ]
Bruno Aranda closed MYFACES-669:

    Fix Version: Nightly
     Resolution: Fixed

This should be fixed in the current SVN now and available in the next nightly. Please check
that everything is working ok for you,

> Validation error
> ----------------
>          Key: MYFACES-669
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: General
>     Versions: 1.1.0
>  Environment: XP, IE, jboss-4.0.2
>     Reporter: hovan
>     Assignee: Bruno Aranda
>      Fix For: 1.1.2, Nightly

> I got the validation error today by trying to do the 'smart thing'. Basically i have
the list of objects and display as the combo box. What i do before work very fine because
all thing is string. This time i try to populate directly my objects to the combo box by specify
the converter. The result is OK, i got what i want but when i submit the form i got the Validation
error. The code simple like this:
> <h:selectOneMenu id="S1" value = "#{csCardRequestHandler.suffixesModel[0].selectedValue}"
> 			disabled="#{csCardRequestHandler.suffixesModel[0].disableSelect}">
> 			<f:selectItems value="#{csCardRequestHandler.suffixesModel[0].availableItems}"/>
> 			<f:converter converterId=""/>
> 			<!--f:validator validatorId=""/-->
> 		</h:selectOneMenu>
> Then i thought because of my custom converter so i try to specify the NullValidator just
do nothing, still it keeps saying 'ValidatorError'
> One more thing i love to report, on my converter method:
> public String getAsString(FacesContext context, UIComponent component, Object object)
throws ConverterException;
> While some tim i get the object as java.lang.String instead of my object type?
> Regards,
> hovan.

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