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 15:49 Go to next message
Michael Moser is currently offline Michael MoserFriend
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 16:59 Go to previous messageGo to next message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 52
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 22:02 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Got it!

Thanks!
Michael
Re: How to tell validator to ignore dojoType-attributes? [message #1702937 is a reply to message #528208] Mon, 27 July 2015 12:48 Go to previous message
Ats Mising name is currently offline Ats Mising nameFriend
Messages: 1
Registered: July 2015
Junior Member
Sarika Sinha wrote on Mon, 19 April 2010 16:59
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

This turns off html attribute name validation. It would be great if we could define our own "safe to ignore" attributes, that would be ignored while validating other attribute names.

I guess this is not supported, is it?
Previous Topic:Deploy 'gradle war' output.
Next Topic:Status 404 with BuildJ2EEWebApp WTP tutorial
Goto Forum:
  


Current Time: Wed Sep 02 04:42:53 GMT 2015

Powered by FUDForum. Page generated in 0.02451 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software