Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Tutorial/3.7/Minicrm Step-by-Step"

< Scout‎ | Tutorial‎ | 3.7
(Moved section to a separate page)
(All the examples in the tutorial were based on the company table. You should be able to do the same for the person table, now.)
Line 31: Line 31:
  
 
In order to edit the data in our page, we need to create a context menu to call a form, create the form and the process service it needs to actually select, insert, update (and possibly delete) the data. {{ScoutLink|Tutorial|Add a form|Learn more}}
 
In order to edit the data in our page, we need to create a context menu to call a form, create the form and the process service it needs to actually select, insert, update (and possibly delete) the data. {{ScoutLink|Tutorial|Add a form|Learn more}}
 +
 +
All the examples in the tutorial were based on the company table. You should be able to do the same for the person table, now.

Revision as of 03:50, 14 October 2010

The Scout documentation has been moved to https://eclipsescout.github.io/.

This little tutorial will show you how to create your first little application. It uses a very small sample database provided for download. The data is selected from the database and shown on the client, allowing users to browse it, search it and edit it.

Installation / Set Up

You need to get the Scout SDK and a demo database to work through this tutorial. The Scout documentation has been moved to https://eclipsescout.github.io/.

Setup a New Eclipse Scout Project

Switch to the Scout Perspective and create a new Scout Project. The Scout documentation has been moved to https://eclipsescout.github.io/.

Setup a SQL Service

We'll use Apache Derby for this tutorial. We need to tell the framework how to contact it. The Scout documentation has been moved to https://eclipsescout.github.io/.

Write The First Page

A standard Eclipse Scout application consists of pages in a tree structure. A page typically shows data in some sort of table. If you write an application, you need to start with a page. The Scout documentation has been moved to https://eclipsescout.github.io/.

You should have a tiny Eclipse Scout application running at the end of this step!

Add a search form to the table page

We created a page with a table listing all the companies in the database. Add a search form that allows users to limit the number of rows returned. The Scout documentation has been moved to https://eclipsescout.github.io/.

Add a form to edit the data

In order to edit the data in our page, we need to create a context menu to call a form, create the form and the process service it needs to actually select, insert, update (and possibly delete) the data. The Scout documentation has been moved to https://eclipsescout.github.io/.

All the examples in the tutorial were based on the company table. You should be able to do the same for the person table, now.

Back to the top