What version are you using?  This sounds like a bug that was fixed some
time ago.

David

--- "Mounagurusamy, Jayakumar (HAL)" <[EMAIL PROTECTED]>
wrote:
> Hello,
> 
> I got the following configuration in the struts-config.xml, 
> 
>   <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
>         <set-property property="pathnames"
> value="WEB-INF/resources/validator/validator-rules.xml,
> WEB-INF/resources/validator/apisValidation.xml" />
>   </plug-in>
> 
> when I go to the html page the JavaScript code shows up in the page
> which
> suppose not to be there. When look into the source code through view
> source,
> I see the following code and remaining out side the <script> tag? I am
> not
> sure what configuration I miss??
> 
> <script type="text/javascript" language="JavaScript">
>   <!--
>   var focusControl =
> document.forms["apisLogonForm"].elements["bookingNumber"];
> 
>   if (focusControl.type != "hidden") {
>      focusControl.focus();
>   }
>   // -->
> </script>
> 
> thanks
> 
> Jay
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to