Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » [neon] Display errors on AbstractTableField
[neon] Display errors on AbstractTableField [message #1759480] Tue, 11 April 2017 23:37 Go to next message
Adrian Bärtschi is currently offline Adrian BärtschiFriend
Messages: 6
Registered: April 2017
Junior Member
Hi everyone

When I set error messages (addErrorStatus("...")) on AbstractTablefields, I don't see any error icon or other message in the UI.

Is it still considered a good idea to display errors on TableFields in Scout Neon and how is it supposed to look like?

Many thanks
Re: [neon] Display errors on AbstractTableField [message #1759522 is a reply to message #1759480] Wed, 12 April 2017 14:04 Go to previous message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 102
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
You must make sure that the status-part of the form-field is visible. I've added this bit of code to my TableFormField:

        protected boolean getConfiguredStatusVisible() {
          return true;
        protected void execInitField() {
          MultiStatus status = new MultiStatus();
          status.add(new Status(IStatus.ERROR));

And it looks like this:

Eclipse Scout Homepage | Documentation | GitHub
Previous Topic:[Blog Post] Experience Report from JavaLand 2017
Next Topic:Exception in thread "main" java.lang.NoClassDefFoundError:
Goto Forum:

Current Time: Mon May 25 09:16:49 GMT 2020

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

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

Back to the top