Red squiggle in struts html:img's onclick attribute
I've noticed that whenever I do something like this in my JSP:
"
onclick="<%= "profile_getProfile('" + BcompanyNbr + "')" %>"/>
]]>
The first % character in the onclick has a red squiggle and reports (3 times) "statement expected" and the scriptlet's closing > has a red squiggle and reports (6 times) "expression expected".
I guess this is a javascript check trying to evaluate something that is not being statically coded? anyway to improve this?
Please sign in to leave a comment.
This should work in latest IDEA 7.0.4 eap
Mike Fourier wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Thanks Maxim,
I just checked with build #7905 and it has changed a bit.
I still get the red squiggles, but now the first one has only 2 (instead of 3) and the second one has 4 (instead of 6).
If I get time soon, I will try the bleeding edge.
Just thought I'd mention, this is still a problem with build 7941