This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 99468 [details] HTML Error Checking Bug. Procedure 1. Create project maven. 2. Select Archetype Tapestry 5.1.0.5 3. After the project is generated. Kindly see attachment.
HTML editor issue.
Any idea who is the tapestry module owner? This needs to be solved mainly on their side,it's not html editor itself problem. I may also disable to html error checks if the html editor is embedded and the error checks are not explicitly enabled (jsp, php etc.)
The Tapestry Module Owner is on maven archetype. But in Netbeans 6.7 i think the html editor feature is not yet installed. How can i auto disable html editor? Is it possible to auto disable the html editor if the page is not a html? Thanks :)
I reckon I need to resolve these kind of issues the way I mentioned since many templating languages embeds html code and then complains :-) Each of the errors has a hintfix which you can use to disable the error checks for the current file. No generic option so far though :-(
Yes there is a hint in every page :). But much better if there is an option to disable the html editor if it is not a html page. Do i need to issue another Bug? Issue Type: ENHANCEMENT? Thanks :)
Would "disable html error checks on this kind of files" hint work for you?
Yes, disabling the hint will work. But the problem i have many template page not just one. I need to disable them one by one? :)
Currently the only way you can disable the checks is to disable the pages one by one. The new proposed hint would allow you to disable the error checks in *all files* of the mimetype. So if you invoke the hintfix once on any of your tapestry files, all other files with the same mimetype will have the checks disabled.
Ok... I will closed this BUG186699. Thanks for the clarification.
Nooo :-) I've just fixed it for you. I mean I impelemented the new hint allowing to disable/enable the html checking for all files of a kind.
Opppsss sorry my mistake. I thought the fixed will be for the next release of netbeans. Yup that is more better. But i think the best thing is there is a option to enable/disable this feature. What do you think? :)
fixed in web-main#3232d03a2a9f by providing a new hint fix for html errors - "Disable HTML error checking for all files of the XYZ mimetype". If the checks are disabled, there's a warning + hintfix at the first line of each file of the type allowing to reenable the checks.
How can i apply your fixed?
The fix is for 6.9.next, not for either 6.9 or 6.9.1. I am not a fan of disabling the checks completely for all files which embed html. There still might be usefull in some cases I belive. But I can create some html options UI for it later. I reckon you would like to have some command line option for 6.9, right? ;-)
(In reply to comment #13) > How can i apply your fixed? If you are building netbeans by your own, just wait until the changeset propagets to your repository (the fix is in web-main repo only right now). If you are using dev builds, wait for some time until the fix propagates to the main-golden and hence appear in the build available on bits.netbeans.org. If you are using release69 then we can put the fix into 691 if it is considered as critical issue, or I can make a patched module jar file just for you.
Yes in some cases it is useful. Thanks but for now i will wait for its new release. I think it will be added in netbeans updates right?
it will appear on the dev autoupdate if I increase the module version
Integrated into 'main-golden', will be available in build *201006250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3232d03a2a9f User: Marek Fukala <mfukala@netbeans.org> Log: #186699 - Embedded HTML Error Checking