Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 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: 204
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:

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


And it looks like this:
index.php/fa/29037/0/


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: Tue Apr 23 16:04:11 GMT 2024

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

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

Back to the top