You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Graham <dg...@hotmail.com> on 2002/12/09 23:43:35 UTC

Re: Validator javascript and various browsers (Solved)

Well, I think I've solved this mystery.  I believe it's a bug in 
ValidatorResources.get(locale,formname).  The locale stored in the session 
for IE was en_US and for Netscape/Opera was en.  I set this up in the 
browser's language settings.  The default locale for my server is en_US.  
Because the ValidatorResources couldn't find the form properly, the js 
wasn't rendered.

After I test this theory on struts-validator I'll post a bug report to the 
validator folks.

David






>From: "David Graham" <dg...@hotmail.com>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>Subject: Validator javascript and various browsers
>Date: Mon, 09 Dec 2002 13:35:48 -0700
>
>I've posted this before but no one replyed, hopefully more luck this 
>time...  I have this tag on my jsp:
><html:javascript formName="searchUserAccountsForm" 
>staticJavascript="false"/>
>
>that should generate the javascript for the form validation.  The js only 
>shows in the source for IE, not Opera or Netscape.  I wrote my own http 
>client to test this and it returns the js properly.  Why is this not 
>working in the other browsers?
>
>I'm using a recent nightly build and I didn't have this problem with beta 
>2.
>
>Thanks,
>David
>
>
>
>
>
>_________________________________________________________________
>The new MSN 8: smart spam protection and 2 months FREE*  
>http://join.msn.com/?page=features/junkmail
>
>
>--
>To unsubscribe, e-mail:   
><ma...@jakarta.apache.org>
>For additional commands, e-mail: 
><ma...@jakarta.apache.org>


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>