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.
Difference between revisions of "Scout/Tutorial/3.8/webservices/Create Company Table Page"
Line 19: | Line 19: | ||
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: | ||
− | ''' | + | '''CompanyNrColumn''' |
Type: Long Column [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_5.png] | 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'' | 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] | Class name: CompanyNrColumn [http://wiki.eclipse.org/Image:Org.eclipse.scout.tutorial.jaxws.CreateCompanyTablePage_6.png] | ||
− | ''' | + | '''NameColumn''' |
Type: String Column | Type: String Column | ||
Name: Name | Name: Name | ||
Class name: NameColumn | Class name: NameColumn | ||
− | ''' | + | '''SymbolColumn''' |
Type: String Column | Type: String Column | ||
Name: Symbol | Name: Symbol |
Revision as of 14:13, 8 November 2011
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:
CompanyNrColumn Type: Long Column [5] Name: Do not fill because column represents primary key and therefore is hidden Class name: CompanyNrColumn [6]
NameColumn Type: String Column Name: Name Class name: NameColumn
SymbolColumn Type: String Column Name: Symbol Class name: SymbolColumn
To not display the CompanyNr
column because of holding the primary key, go to that column in Scout SDK and uncheck Displayable
in Scout Property View [7].