Ok I might be missing something here. I have a splitpanel as the main layout for the app. Left shows menu right side shows panel as required. When I start the app and press for example the contacts button it should display the "Contacts" panel in the right side. Well it does not. I need to press the button a second time before it display the panel. I am using api_panel.addPanel('TheMainRightSidePanelName','TheNameOfTheCell','ContactsMainPanel'). As I click different menu options using api_panel.addpanel to show the relevant panels works then fine. It is only the very first time. I ran with the debugger mode. It shows the event BUTTONPRESS and the action which calls the procedure. The only line in the procedure is the api_panel.addpanel call. The first time it just stops.

asked 20 May '14, 05:32

Raymond's gravatar image

Raymond
24320
accept rate: 0%


All, This seems to be a bug for the time being. There is a workaround though.

procedure show_this_panel (p_panel_name varchar2) is begin api_panel.addPanel('mainpanel','center', 'this_panel'); end;

Change it to

procedure show_this_panel (p_panel_name varchar2) is begin api_panel.addPanel('mainpanel','center', 'this_panel'); api_panel.addPanel('mainpanel','center', 'this_panel'); end;

Note! Make sure the same panel is "added" twice. If you add the for example panel_1 and panel_2 it will not work. It is only the very first time after you started up your application.

link

answered 22 May '14, 02:46

Raymond's gravatar image

Raymond
24320
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:

×1

Asked: 20 May '14, 05:32

Seen: 751 times

Last updated: 22 May '14, 02:46

Related questions


© Copyright Gerger 2017