Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » A page with master detail
A page with master detail [message #947976] Wed, 17 October 2012 16:25 Go to next message
Stathis Alexopoulos is currently offline Stathis AlexopoulosFriend
Messages: 42
Registered: September 2010

The AbstractPageWithTable it creates a page where you can add a search form. This is perfect for the most situations, because it creates an outline with two tight related views. But it is also quite common practice to have a triplet of views.

  • Browse
  • Search Filter
  • Detail record

Does anyone knows how can i implement something like that?
Re: A page with master detail [message #948018 is a reply to message #947976] Wed, 17 October 2012 17:21 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1250
Registered: October 2011
Senior Member
You can open as many Forms you want as view:
How to Open a Form in a View
There are a lot of hints for SWT in the page, but opening a form as a View is also possible with SWING.

You will be responsible to handle the lifecycle of your detail form. (update content when selection change). This will be more complicated if you allow editing data in your detail form.
Usually Scout Application post changes with form displayed as dialog. But if you are ready to implement a custom lifecycle you are free to do it.

To link a detail form with a Table Page, you probably will be interested in:
Form in Page possible?

You could open your detail form with your table page and update the content when the selection changes in the Table.

I hope this will help you to start.
Do not hesitate to ask your question here.

Previous Topic:Layout examples
Next Topic:How to set the focus on a specific field?
Goto Forum:

Current Time: Sun Apr 22 16:47:22 GMT 2018

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

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