Hi all,

Following is our formspider design (partial) for Sales Order transaction. We have a design where the screen is split into three split-panels from top to bottom. The bottom panel contain multiple tab panels with a minimum of three tabs. To get this structure I have got a total of around 20 separate panels:

  1. OT_SO - the main panel
  2. OT_SO_SPLIT - The main split panel which is split into NORTH and SOUTH
  3. OT_SO_SPLIT_NORTH
  4. OT_SO_SPLIT_SOUTH
  5. OT_SO_SPLIT_SOUTH2 - south panel is further split into NORTH and SOUTH
  6. OT_SO_SPLIT_SOUTH2_NORTH
  7. OT_SO_SPLIT_SOUTH2_SOUTH
  8. OT_SO_SPLIT_SOUTH2_SOUTH_TAB - This is where the three TABs are placed.
  9. OT_SO_SPLIT_SOUTH2_SOUTH_TAB1
  10. OT_SO_SPLIT_SOUTH2_SOUTH_TAB2
  11. OT_SO_SPLIT_SOUTH2_SOUTH_TAB3
  12. OT_SO_TOOLBAR
  13. OT_SO_MAIN_GRID - datasource panel included in OT_SO_SPLIT_NORTH panel
  14. OT_SO_DETAIL_GRID - datasource panel included in OT_SO_SPLIT_SOUTH panel
  15. OT_SO_MAIN_FORM - datasource panel included in OT_SO_SPLIT_SOUTH2_SOUTH_TAB1
  16. OT_SO_DETAIL_FORM - datasource panel included in OT_SO_SPLIT_SOUTH2_SOUTH_TAB2
  17. there are few additional datasource panels.

I am writing this for two reasons.

  1. Am I doing it correctly? What is formspider professional way to get it done?
  2. This is the panel structure that we will be using for all our moules/screens. That means, for every module I will have around 20 panels. Of this, 12 are non-datasource panels. Starting with item 13 above, we have datasource panels and these are the only panels that will change with every module/screens. All other panels will be same for all other modules in the application except for the name change. Mine is a very naturally occurring question. Is there a mechanism to assign datasource panels dynamically to the non-datasource panels? This will avoid creating twelve repetitive panels for every module. And there are hundred of modules.

George.

asked 30 Mar '13, 10:38

George's gravatar image

George
1111224
accept rate: 0%


Hi George,

As you have mentioned, your first 12 panels(non-datasource panels) are general containers. I guess during the application lifecycle, these containers should be displayed statically and the content (datasource panels) should be changed dynamically.

To assign a panel dynamically to another simple panel, you have to use api_panel.addPanel API. Using this API, you can change the content of a container panel(OT_SO_SPLIT_SOUTH2_SOUTH_TAB1/2/3, OT_SO_SPLIT_NORTH or OT_SO_SPLIT_SOUTH) dynamically. For example, to include the OT_SO_MAIN_GRID panel in the OT_SO_SPLIT_NORTH panel, you can use the following code:

api_panel.addPanel('OT_SO_SPLIT_NORTH', 'cellName', 'OT_SO_MAIN_GRID');

where cellName is the name of the cell existing in the OT_SO_SPLIT_NORTH panel where the OT_SO_MAIN_GRID panel will be included.

In this way, the 12 containers panels can be used in common by every module since the content is dynamically added into these containers(non-datasource) panels. This will avoid creating twelve repetitive panels for every module.

Hope this helps,
Ibrahim

link

answered 01 Apr '13, 06:05

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Hi Ibrahim,

Thank you for this information. Let me try it.

George.

link

answered 01 Apr '13, 06:11

George's gravatar image

George
1111224
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×7

Asked: 30 Mar '13, 10:38

Seen: 1,006 times

Last updated: 01 Apr '13, 06:11


© Copyright Gerger 2017