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.8/webservices/Create Company Table Page"

< Scout‎ | Tutorial‎ | 3.8
Line 20: Line 20:
 
On the <code>CompanyTablePage</code> node, go to 'Table' | 'Columns'. Right click on the node to create a new {{ScoutLink|Concepts|Column}} [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_4.png]. Please add the following three columns to that table:
 
On the <code>CompanyTablePage</code> node, go to 'Table' | 'Columns'. Right click on the node to create a new {{ScoutLink|Concepts|Column}} [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_4.png]. Please add the following three columns to that table:
  
  '''CompanyNr'''
+
  '''CompanyNr column'''
  asf
+
  Type: Long Column [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_5.png]
 
+
Name: ''Do not fill because column represents primary key and therefore is hidden''
 +
Class Name: CompanyNrColumn [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_6.png]
  
 +
'''Name column'''
 +
Type: String Column [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_5.png]
 +
Name: Name [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_7.png]
  
CompanyTablePage | Table | Columns
+
'''Symbol column'''
 
+
Type: String Column [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_5.png]
 
+
Name: Symbol [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_7.png]
 
+
As its name, enter <code>Main</code>. Thereby, the Scout SDK tries to support you in [http://en.wikipedia.org/wiki/Internationalization_and_localization i18N]. Just type in the text you want to have displayed in the application. If the text does not exist yet, choose 'New translated text...' to create a new [http://en.wikipedia.org/wiki/National_Language_Support NLS] text. Please ensure the checkbox 'Add to Desktop' to be checked to attach your outline to the {{ScoutLink|Concepts|Desktop}}. Click finish.
+

Revision as of 14:03, 8 November 2011

Create Company Table Page
Choose Page Layout
Give Page a name and link it with MainOutline
Create Outline - Step 2
Create Outline - Step 2
Create Outline - Step 1
Create Outline - Step 2
Create Outline - Step 2
Create Outline - Step 2
Create Outline - Step 2
Create Outline - Step 2
Create Outline - Step 2
Create Outline - Step 2
Create Outline - Step 2

Create Company Table Page

On the client node, go to 'Desktop' | 'Outlines' | 'MainOutline'. Right click on the node to create a new The Scout documentation has been moved to https://eclipsescout.github.io/. [1]. As page layout, choose AbstractPageWithTable [2] to create a page representing tabular data. On the next step, enter Company as name for that page and choose to add this page to the MainOutline [3]. By clicking Finish, the page is created and attached to the MainOutline.

Create columns

On the CompanyTablePage node, go to 'Table' | 'Columns'. Right click on the node to create a new The Scout documentation has been moved to https://eclipsescout.github.io/. [4]. Please add the following three columns to that table:

CompanyNr column
Type: Long Column [5]
Name: Do not fill because column represents primary key and therefore is hidden
Class Name: CompanyNrColumn [6]
Name column
Type: String Column [7]
Name: Name [8]
Symbol column
Type: String Column [9]
Name: Symbol [10]

Back to the top