Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » [neon] Display errors on AbstractTableField
[neon] Display errors on AbstractTableField [message #1759480] Tue, 11 April 2017 19:37 Go to next message
Eclipse UserFriend
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 10:04 Go to previous message
Eclipse UserFriend
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/
Previous Topic:[Blog Post] Experience Report from JavaLand 2017
Next Topic:Exception in thread "main" java.lang.NoClassDefFoundError:
Goto Forum:
  


Current Time: Tue Jun 24 13:36:12 EDT 2025

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

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

Back to the top