Skip to main content



      Home
Home » Language IDEs » ServerTools (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
Eclipse UserFriend
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
Eclipse UserFriend
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
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 messageGo to next message
Eclipse UserFriend
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 08:48 Go to previous message
Eclipse UserFriend
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:How to add a Web Preview Server to Eclipse Mars
Next Topic:Status 404 with BuildJ2EEWebApp WTP tutorial
Goto Forum:
  


Current Time: Tue Jul 22 20:12:46 EDT 2025

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

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

Back to the top