cannot resolve symbol javascript

I just checked Demetra for a first time.

I very nice to see all the new features even they are slow like hell. But this was always the case before official verion so I will not worry about it that much.

I found one piece which is broken IMHO. I have piece of code:

<html:link href="javascript:void(0)" onclick="foo()"><bean:message key="mygreatkey"/></html:link>

html:link and bean:message are Struts tags. Idea is smart enough to suggest in href part actions, but javascript in this place is perfectly legal (I think) as well as "#". Both of those are highlighted as an error with message: "Cannot resolve symbol javascript:void(0)" or whatever you put over there.

Best regards


Please sign in to leave a comment.