Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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
Line 18: Line 18:
  
 
# Start Server: Click on the server node and start the ''development'' server product by clicking on the green arrow.  
 
# Start Server: Click on the server node and start the ''development'' server product by clicking on the green arrow.  
[[Image:ServerProduct.jpg]]
+
[[Image:ServerProduct.jpg]] <br clear="all" />
# Test Server: To test if the server is running properly, go to http://localhost:8080/minicrm/process. To log in, use admin as username and manager as password. There you should see a page with information about the server. The login information is defined in the config.ini file of the server product, click on ''open product'' and then change to the ''configuration'' tab in order to open it. [[Image:ServerProductConfiguration.jpg]]
+
# Test Server: To test if the server is running properly, go to http://localhost:8080/minicrm/process. To log in, use admin as username and manager as password. There you should see a page with information about the server. The login information is defined in the config.ini file of the server product, click on ''open product'' and then change to the ''configuration'' tab in order to open it. [[Image:ServerProductConfiguration.jpg]] <br clear="all" />
  
# Start Client: Click on either the ''ui.swing'' or the ''ui.swt'' node and start the ''development'' client product by clicking on the green arrow.  
+
# Start Client: Click on either the ''ui.swing'' or the ''ui.swt'' node and start the ''development'' client product by clicking on the green arrow. When asked for a login, enter the same login information as before, admin/manager (or any other user/password pair from the config.ini). An empty application window should appear.
 +
[[Image:Minicrm.jpg|thumb|left|The empty application window]] <br clear="all" />
  
 
== Add the SqlService ==  
 
== Add the SqlService ==  

Revision as of 19:28, 24 March 2010

Prerequisites

  1. Have a look at the EclipseScout Client Component Model: Main Concepts

Installation / Set Up

  1. Download Scout and Unzip it
  2. Download DerbyDb and Unzip it
  3. Start EclipseScout

Create a new EclipseScout project

  1. If you haven't done so yet, change to the Scout perspective. On the folder Scout Projects, right click and choose New Scout Project in order to create a new Scout project. As project name, enter eclipse.org.minicrm.


  1. Start Server: Click on the server node and start the development server product by clicking on the green arrow.

ServerProduct.jpg

  1. Test Server: To test if the server is running properly, go to http://localhost:8080/minicrm/process. To log in, use admin as username and manager as password. There you should see a page with information about the server. The login information is defined in the config.ini file of the server product, click on open product and then change to the configuration tab in order to open it. ServerProductConfiguration.jpg
  1. Start Client: Click on either the ui.swing or the ui.swt node and start the development client product by clicking on the green arrow. When asked for a login, enter the same login information as before, admin/manager (or any other user/password pair from the config.ini). An empty application window should appear.
The empty application window

Add the SqlService

  1. New SqlService...
  2. The DB

Company.jpg Person.jpg

Create an Outline

  1. New Outline
  2. New Table
  3. Add Columns
  4. getConfiguredDisplayable vs. getConfiguredVisible
  5. Get Data for Table
  6. BindBases

Create a Form

  1. New Form
    1. FormHandler
    2. ProcessService
    3. FormData
  2. SQL.selectInto

Start the Form

  1. New Menu
  2. execAction

Modify the Form

  1. Validation
  2. Formatting
  3. Changing Background or Foreground

Extend the Form

  1. Smartfield
  2. HtmlField
  3. Button

Create a SearchForm

Expand the Tree

  1. NodePage

Bing Webservice

Shared Context

  1. Scope
  2. execLoad
  3. Add variables

Back to the top