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.

Bug 77781

Summary: Error Messages Mechanism
Product: xml Reporter: Milan Kuchtiak <mkuchtiak>
Component: XML MultiviewAssignee: Milan Kuchtiak <mkuchtiak>
Status: NEW ---    
Severity: blocker CC: rcruz
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Milan Kuchtiak 2006-06-13 10:08:52 UTC
There is another part we forgot to talk about: Error Messages Mechanism.

There could be a unified way to display error messages for the cases when :

- XML validation fails
- semantic error occurs in XML file (application logic is broken even when xml
validation passes)
- mandatory element is missing (result of empty string typed in text field)
- duplicate key value (result of incorrect string typed in TF)

I tried to implement this mechanism somehow (see the ErrorPanel, which is added
to the bottom of MultiViewEditor panel).
There is also a "navigation link" from ErrorPanel implemented that navigates
user to the source of problem.

The Error Messages mechanism (including its UI) can also be treaded as a
relatively standalone part of MV Editor.