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/Reorganize the tree and add a webservice"

(On names)
Line 27: Line 27:
 
|}
 
|}
  
== Add a node page
+
== Add a node page ==
  
 
In a first step, we're going to aim for the following intermediary structure:
 
In a first step, we're going to aim for the following intermediary structure:
Line 44: Line 44:
  
 
[[Image:Delete Create Child Page Method in Scout Minicrm.png]]
 
[[Image:Delete Create Child Page Method in Scout Minicrm.png]]
 +
 +
Once you have deleted the method, you can right-click on the '''Child Page''' folder and pick '''New Page...'''
 +
 +
Use '''AbstractTableWithNodes''' as your template. There's ''no need to give it a name''. Use '''CompanyDetailsNodePage''' as the ''type name''.
 +
 +
{{note|No name?|Indeed, this particular ''node page'' does not need a name. That's because the ''name'' of a ''page'' is only shown if its parent is an ''outline'' or a ''page with nodes''. If the parent is a ''page with table'', '''the selected row replaces the name of the child table'''.}}

Revision as of 06:08, 19 October 2010

Note.png
Scout Tutorial
This page belongs to the The Scout documentation has been moved to https://eclipsescout.github.io/.. It explains how reorganize the little application consisting of two pages such that you can add a webservice. You need that little The Scout documentation has been moved to https://eclipsescout.github.io/. in order to continue.


We started out with an application having two table pages. Notice how the list of persons comes just beneath the list of companies. If we want to show different named folders such as "persons" and "search resuilts" for a company, we need to add a page with nodes.

 Standard Outline
  │
  ├─Company Table Page
  │  │
  │  └─Person Table Page
  │
  └─Person Table Page
 Standard Outline
  │
  ├─Company Table Page
  │  │
  │  └─Company Details Node Page ← new
  │     │
  │     ├─Person Table Page
  │     │
  │     └─Bing Table Page ← new
  │
  └─Person Table Page

Add a node page

In a first step, we're going to aim for the following intermediary structure:

 Standard Outline
  │
  ├─Company Table Page
  │  │
  │  └─Company Details Node Page ← new
  │     │
  │     └─Person Table Page
  │
  └─Person Table Page

Return to the CompanyTablePage and click on the red cross () next to Exec Create Child Page in order to delete it.

Delete Create Child Page Method in Scout Minicrm.png

Once you have deleted the method, you can right-click on the Child Page folder and pick New Page...

Use AbstractTableWithNodes as your template. There's no need to give it a name. Use CompanyDetailsNodePage as the type name.

Note.png
No name?
Indeed, this particular node page does not need a name. That's because the name of a page is only shown if its parent is an outline or a page with nodes. If the parent is a page with table, the selected row replaces the name of the child table.

Back to the top