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
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
(95 intermediate revisions by 12 users not shown)
Line 1: Line 1:
== Prerequisites ==
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
# Have a look at the EclipseScout Client Component Model: [[Main_concepts| Main Concepts]]
+
 
+
== Installation / Set Up ==
+
# Download [http://scout.bsiag.com/ Scout] and Unzip it
+
# Download [[Media:DerbyDB.zip |DerbyDb]] and Unzip it
+
# Start EclipseScout
+
 
+
== Create a new EclipseScout project ==
+
# 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.<br/>[[Image:NewProjectScout.jpg|thumb|left|The context menu to create a new Scout Project]]<br clear="all" /><br/>As project name, enter ''eclipse.org.minicrm''.<br/>[[Image:ProjectWizard.jpg|thumb|left|The wizard to create a new Scout Project]]<br clear="all" /><br/>[[Image:Project.jpg|thumb|left|What the project tree should like after you have created your project]]<br clear="all" />
+
# Start Server: Click on the server node and start the ''development'' server product by clicking on the green arrow.<br/>[[Image:ServerProduct.jpg|thumb|left]] <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.<br/>[[Image:ServerProductConfiguration.jpg|thumb|left]] <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. 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. <br/>
+
[[Image:Minicrm.jpg|thumb|left]] <br clear="all" />
+
 
+
== Add the SqlService ==
+
# Go to the server node and open the tree, drill down until ''Sql Services'' below ''Common Services'' and right click in order to open the wizard to create a new SQL service.<br/> [[Image:SqlServiceWizard.jpg|thumb|left]]<br clear="all" />Name your new service ''DerbySqlService'' and choose ''AbstractDerbySqlService'' from the combobox ''Super Type'' then click finish.<br/>[[Image:Newsqlservice.jpg|thumb|left]]<br/><br clear="all" />
+
# Adjust the default settings in your ''DerbySqlService'' by editing the ''Jdbc Mapping Name'', this should point to the folder where you unzipped the DerbyDb to.<br/>[[Image:Derbysql.jpg|left|thumb]]<br clear="all" />
+
 
+
== Create an Outline ==
+
# New Outline
+
# New Table
+
# Add Columns
+
# getConfiguredDisplayable vs. getConfiguredVisible
+
# The DB tables: [[Image:Company.jpg]][[Image:Person.jpg]]
+
# Get Data for Table
+
# BindBases
+
 
+
== Create a Form ==
+
# New Form
+
## FormHandler
+
## ProcessService
+
## FormData
+
# SQL.selectInto 
+
 
+
== Start the Form ==
+
# New Menu
+
# execAction 
+
 
+
== Modify the Form ==
+
# Validation
+
# Formatting
+
# Changing Background or Foreground
+
 
+
== Extend the Form ==
+
# Smartfield
+
# HtmlField
+
# Button
+
 
+
== Create a SearchForm  ==
+
 
+
== Expand the Tree ==
+
# NodePage
+
 
+
== Bing Webservice ==
+
 
+
== Shared Context ==
+
# Scope
+
# execLoad
+
# Add variables
+

Latest revision as of 05:17, 14 March 2024

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

Back to the top