You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fabrice BLANQUART <fb...@covefi.com> on 2002/11/07 17:15:28 UTC
Validate and nightly build problem
Hi,
I have a strange behaviour with the validator using the nightly build (20021107).
I use the <html:javascript> tag in order to make client validation. It work well with the 1.1B2 but when
I use the nightly build it doesn't generate the validateXXX javascript function.
Debugging with source of struts and commons-validator it seems that it is a problem with locale( I use FR_fr in my browser).
In my validator.xml I don't specify a locale in formset,is it the problem ?
For me , we must specify a specific "locale" formset if we want to override some formbean validation of the default.
Any help ?
Fabrice BLANQUART
*---------------------------------------------------------------*
* Cet e-mail et toutes les pièces jointes sont destinés aux *
* seules personnes auxquelles ils sont spécifiquement adressés *
* et n'engagent que le signataire de ces documents et non la *
* structure dont il dépend. *
* Leur existence et leur contenu ont un caractère confidentiel. *
* Toute utilisation ou diffusion non autorisée est interdite. *
* Si vous avez reçu cet e-mail ou si vous détenez sans en être *
* le destinataire, nous vous demandons de bien vouloir nous en *
* informer immédiatement. *
* Cette note assure que mimesweeper a vérifié que ce message *
* ne comprenait aucun virus connu à ce jour, néanmoins tout *
* message électronique est susceptible d'altération. *
* Nous déclinons toute responsabilité au titre de ce message *
* s'il a étéaltéré, déformé ou falsifié. *
*---------------------------------------------------------------*
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Validate and nightly build problem
Posted by Robert Leland <rl...@apache.org>.
Fabrice BLANQUART wrote:
>Hi,
>
>I have a strange behaviour with the validator using the nightly build (20021107).
>I use the <html:javascript> tag in order to make client validation. It work well with the 1.1B2 but when
>I use the nightly build it doesn't generate the validateXXX javascript function.
>Debugging with source of struts and commons-validator it seems that it is a problem with locale( I use FR_fr in my browser).
>In my validator.xml I don't specify a locale in formset,is it the problem ?
>
>
This does sound like a bug....
Does the struts-validator example work correctly ?
Also could you post the JSP code from the <html:javascript> tag ?
>Any help ?
>
>Fabrice BLANQUART
>
-Rob
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>