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 - Error Messages Mechanism
Summary: Error Messages Mechanism
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: XML Multiview (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 10:08 UTC by Milan Kuchtiak
Modified: 2008-12-10 11:10 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.