Sorry, I didn't read my logs well ! EL and Non EL have same behaviour...

I'd like Validator to generate the Static Javascript, without the <script> elements
But if I don't set a "formName" attribute I get this warning in my logs.

Form should be searched ONLY if formName has been set.

I've added a "trivial" issue for that : http://issues.apache.org/bugzilla/show_bug.cgi?id=38422

Nico.


Niall Pemberton a écrit :

On 1/27/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
I'm using <html:javascript> to build the static javascript validation :

<%@ page contentType="text/javascript" session="false" %>
<% response.setHeader("Cache-Control","post-check=900,pre-check=3600"); %>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"; %>
<html:javascript
  cdata="false"
  htmlComment="false"
  dynamicJavascript="false"
  staticJavascript="true"/>


If I use tags-html-el, The tag perform a form validation search and I get :
WARN [org.apache.commons.validator.ValidatorResources](439) Form 'null'
not found for locale 'fr'


Seems there is a bug in html-el ELJavascriptValidatorTag

Are you sure that its only the EL version - the code that produces
this is all in the original version (and EL version inherits) and
looks to me like both should produce this warning.

It looks pretty minor to me (just a warning in the logs), but feel
free to open a bug ticket for it if you like.

Niall

Nico.

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



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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

Reply via email to