I've satisfied both your suggestions the javascript text no longer appears.
but How do i activate the JS validation? 

-----Original Message-----
From: Carl Walker [mailto:[EMAIL PROTECTED]
Sent: 12 February 2004 12:34
To: Struts Users Mailing List
Subject: Re: Javscript


Make sure 

1) that the entry in struts-config.xml matches the entry in validation.xml
and that both refer to the attribute value in <html:javascript name="..." />

2) that the validation.xml syntax is ok.  Try testing a <form> entry with a
construct that you know works.  Add each new field element until you find
the error.  I found this problem when I cut and pasted a field definition.
One field had a message with two open elements ({0} and {1}), the other one
didn't.  When I tried to specify an arg0 AND arg1 for the message with only
one open elemnt, html:javascript blew up

----- Original Message -----
From: Darren Massel <[EMAIL PROTECTED]>
Date: Thursday, February 12, 2004 7:29 am
Subject: Javscript

> Using struts 1.1 on Tomcat 4.1.29
> I want to use the Javascript validation i.e.  <html:javascript/> 
> but it goes
> straight to the struts validation
> Also all the javascript is written to the screen, unless in script 
> tags -
> which after reading the javadoc should not be needed.
> 
> Any ideas?  
> 
> 
> *********************************************************************** 
> This email and any files transmitted with it are confidential and 
> intended solely for the use of the individual or entity to whom 
> they 
> are addressed. Any unauthorised distribution or copying is 
> strictly 
> prohibited. 
> 
> Whilst Cedar Software Ltd takes steps to prevent the transmission 
> of 
> viruses via e-mail, we can not guarantee that any email or 
> attachment is free from computer viruses and you are strongly 
> advised to undertake your own anti-virus precautions. 
> 
> Cedar Software Ltd grants no warranties regarding performance, 
> use or quality of any e-mail or attachment and undertakes no 
> liability for loss or damage, howsoever caused. 
> 
> CedAr is a leading UK supplier of Financial, eProcurement, 
> Performance Management and, following the recent acquisition of 
> Goldenhill Computer Systems Ltd, HR and Payroll software. Cedars 
> solutions deliver increased capabilities and offer a direct and 
> measurable financial return on investment.  The company has a 
> customer base of more than 500 organisations in both the public 
> and private sector. 
> Particular sector strengths include Airlines, Business Services,
> Education, Emergency Services, Financial Services, Government, 
> Health, Local Authorities, Not for Profit, Retail and Utilities.  
> For more
> information, please visit www.cedar.com 
> 2003 CedAr Software Ltd. All Rights Reserved. 
> Cedar Software Ltd. Incorporation number 3214465
> 
> ***********************************************************************
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

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

Reply via email to