You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/02/02 19:43:17 UTC

DO NOT REPLY [Bug 33238] - Escape double quotes in JavascriptValidatorTag

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