DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13752>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13752

Javascript Validator can't load Message Resources unless used some Struts tags, like 
<bean:message/>

           Summary: Javascript Validator can't load Message Resources unless
                    used some Struts tags, like <bean:message/>
           Product: Struts
           Version: 1.1 Beta 2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I converted some normal JSP files to use Struts, only used <html:javascript> 
tag for validation.

The javascripts are generated fine, but no text message (in the javascript pop 
up box). Source code like:
    function required () { 
     this.aa = new Array("accountNumber", "", new Function ("varName", " return 
this[varName];"));
    }   
Seems it can't find the message resources.

After I added one Struts tag in the JSP    
    <title><bean:message key="WCOSearchAccountForm.title"/></title>,
it worked fine.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to