Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to tell validator to ignore dojoType-attributes?
How to tell validator to ignore dojoType-attributes? [message #528188] Mon, 19 April 2010 11:49 Go to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
I am using dojo which typically adds a "dojoType"-attribute to almost every
html tag, e.g.:
...
<button id="addNode" dojoType="dijit.form.Button" onClick="addNode">Add
Node</button>
...

I am thus drowning in "undefined attribute name (dojoType)" - warnings. Can
one tell the validator to ignore or accept those?

Michael
Re: How to tell validator to ignore dojoType-attributes? [message #528208 is a reply to message #528188] Mon, 19 April 2010 12:59 Go to previous messageGo to next message
Sarika Sinha is currently offline Sarika Sinha
Messages: 40
Registered: February 2010
Location: Bangalore, India
Member
Hi,
You can tell the validator to ignore the "Undefined attribute name" validation preference for HTML Files. Settings can be changed for validation using Windows ->Preferences->Web->HTML Files->Validation


Sarika Sinha
JDT Programmer
Re: How to tell validator to ignore dojoType-attributes? [message #528273 is a reply to message #528208] Mon, 19 April 2010 18:02 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Got it!

Thanks!
Michael
Previous Topic:jsp Template for c:out
Next Topic:EJB 3.1?
Goto Forum:
  


Current Time: Mon Apr 21 05:37:32 EDT 2014

Powered by FUDForum. Page generated in 0.07831 seconds