[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: JavaScript validation errors/warns I cannot solve

Vlada Macek wrote:
Thanks for your answer.
"style cannot be resolved or is not a field"
"options cannot be resolved or is not a field"
For the last two errors, Document#getElementById() isn't properly supported yet by the JavaScript validation inside of web pages. The returned "type" is supposed to vary based on which kind of element that ID was associated, but we won't have that HTML DOM integration until WTP 3.2 at the earliest.

I suspected that. So I cannot cast the getElementById() result, mask the warnings, anything to wipe them out?

Unfortunately, no. It's a real bug/problem in that validator that we're hoping to address in the next release.


--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational