Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » [6.0.300.0] NEON MessageBox not showing when Navigation is not visible
[6.0.300.0] NEON MessageBox not showing when Navigation is not visible [message #1763829] Sun, 21 May 2017 13:36 Go to next message
A N is currently offline A NFriend
Messages: 25
Registered: July 2014
Junior Member
Hello,

I got a TablePage with a Menu to delete entries from the Table. Before the deletion is executed a MessageBox is supposed to show:

		@Order(3000)
		public class DeleteMenu extends AbstractMenu {
			@Override
			protected String getConfiguredText() {
				return TEXTS.get("DeleteMenu");
			}

			@Override
			protected Set<? extends IMenuType> getConfiguredMenuTypes() {
				return CollectionUtility.<IMenuType>hashSet(TableMenuType.SingleSelection, TableMenuType.MultiSelection);
			}

			@Override
			protected void execAction() {

				List<ITableRow> selectedRows = getTable().getSelectedRows();

				if (!MessageBoxes.showDeleteConfirmationMessage(getTextColumn().getValues(selectedRows)))
					return;

				for (ITableRow row : selectedRows) {
					if (row != null) {
						if (delete(row)) {
							getTable().deleteRow(row);
						}
					}
				}
			}
		}


This works fine as long as I do not hide the Navigation (the thing which shows the Nodes on the right side.)

Does anyone have an idea what is happening here?
Re: [6.0.300.0] NEON MessageBox not showing when Navigation is not visible [message #1763849 is a reply to message #1763829] Mon, 22 May 2017 07:55 Go to previous message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 33
Registered: September 2012
Location: Baden-D├Ąttwil, Switzerla...
Member
Hello A N. Thanks for reporting that bug here. It's not a problem in your code but in the _render function in MessageBoxController.js. A similar bug with forms has already been fixed in FormController.js.

I will open a bug-ticket for your case. When we've fixed the bug, you could use the commit to patch your older version of Scout 6.0.3
Previous Topic:[neon] F1 Keystroke
Next Topic:Scout Application on Openshift
Goto Forum:
  


Current Time: Tue Nov 13 07:47:02 GMT 2018

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

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

Back to the top