|
|
|
Re: [neon] AbstractSearchOutline and custom outline [message #1729526 is a reply to message #1729487] |
Fri, 15 April 2016 06:35 |
|
I think your question here and the other question here are related, so I try to answer both.
Currently we're developing a flexible layout manager for the "bench" area of the application. The bench is the part of the application that contains the tables or form-tabs. In the DOM it is the element which has the "desktop-bench" class. Until now the bench can only have a table or form that fills the whole area, which means it has only one rather static layout that cannot be exchanged easily without writing code in the JavaScript layer. When the new feature is done we can exchange the layout manager for the bench and we will also provide a new layout manager that works similar to the desktop-grid-layout used in older Scout applications (3x3 grid).
Additionally you'll be able to change the visibility of the header and navigation areas, so you could make a Scout application that shows only the bench with a single form.
Both features should be available in the Scout 6.x release.
For your question about having a form below the navigation-tree: currently it's not planned to add more flexibility in the navigation-area (which contains the outline-tree). As you've already noticed, we made a custom outline that renders additional fields in the UI for a specific outline. For that you must provide a custom outline-widget impl. in JavaScript which inherits from Outline.js. Depending on your requirements this could also work for you, but it's not a simple task, because you must have some know-how about our JavaScript UI layer. But the SearchOutline.js is a pretty good example and starting point, if you want to give it a try.
Basically you would need:
- OutlineWithForm.java
- JsonOutlineWithForm.java
- OutlineWithForm.js
You should also take a look at the (wip) guide about building custom widgets.
Perhaps we'll make a feature to add a form or a Scout component to the navigation part in a later release. Personally I think that would be useful. But currently there's nothing planned.
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03601 seconds