struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33238] - Escape double quotes in JavascriptValidatorTag
Date Wed, 02 Feb 2005 18:43:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33238>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33238





------- Additional Comments From anaveens_1976@yahoo.com  2005-02-02 19:43 -------
(In reply to comment #0)
> To escape double quotes when generating dynamic javascript in 
> JavascriptValidatorTag, to allow the evaluation of javascript expressions. 
> This could set the stage for a Rhino-like Validator, in the future.

I was checking for the struts dynamic javascript error problem. (Error: 
Expected ')' )

Actually, the line had a <span class="req">   
Due to the double quotes, its throwing the error. And When I changed the 
generated js script to single quotes, it worked fine.

Now, how do I fix my struts validation part? Is there any tag that I shoudl 
use? Or should I have to update for the latest Struts download?

Thx & Rgds
Naveen

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message