Skip to Content
0
Former Member
Jun 30, 2006 at 07:28 AM

Troubles creating a Popup

13 Views

Hello,

I'm trying to extend existing Application with a Popup.

Since I'm new to BSP and PCUI development, I used PCUI Cookbook as reference.

My Popup is triggered by a Button, which is located on Searchresult toolbar.

I am using MAC of Searchresult Screenstructure as Model Access Class for my Popup.

For layout I'm using a different screenstructure with the same MAC.

I edited PROCESS_EVENT and GET_MESSAGES in order to pass a message to interaction layer and to protect it from being deleted. And of course I maintained all required BLUEPRINT tables, like it's stated in the Cookbook.

Now to my problems:

1. My popup doesn't stay up. It flashes for a short time and disappears again. I debugged the application and it doesn't seem to use GET_MESSAGES of my MAC at all. How do I get it to use my GET_MESSAGES?

2. I changed my popup to show as popin for now, in order get functionality working. Now it shows up, but it does not show data, i put into my Screenstructure and the input field seems to be locked although i didn't lock it in the BLUEPRINT table. So do I need to pass an instance of the screenstructure to my popup/in and how do i pass it?

Thanks for your help in advance and if you require more information, don't hesitate to ask me.