[jboss-user] [JBoss Tools] - JavaScript validation. Is this bug?

Krasimir Goutcev do-not-reply at jboss.com
Thu Sep 23 05:09:47 EDT 2010


Krasimir Goutcev [http://community.jboss.org/people/krasig] created the discussion

"JavaScript validation. Is this bug?"

To view the discussion, visit: http://community.jboss.org/message/563248#563248

--------------------------------------------------------------
I have this expression:
+......onclick="if(! confirm('#{labels['general.confirmDelete']}')) return false;">.....+

And validation give me next errors:



Syntax error on token ")", ; expected    
Syntax error on token "confirmDelete", ( expected after this token    
Syntax error, insert ") BlockStatement" to complete ProgramElements    
Syntax error, insert ") BlockStatement" to complete ProgramElements    
Syntax error, insert ")" to complete MethodInvocation    



For me expression is correct
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/563248#563248]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100923/90459541/attachment-0001.html 


More information about the jboss-user mailing list