cancel
Showing results for 
Search instead for 
Did you mean: 

how to trigger a popup window in pure GUIBB application?

former_member661489
Discoverer
0 Kudos
181

Hi,

we want to trigger a popup window(normal popup window or confirmation window) in a pure GUIBB application view when user clicks a button, or a hyperlink in a table cell. there is no webdynpro component to instantiate a window manager for creating the popup window, is it possible to achieve this in feeder class? thank you.

Best regards,

George

Accepted Solutions (0)

Answers (1)

Answers (1)

ulrich_miller
Employee
Employee
0 Kudos

Hi George,

I am not sure if I got you correctly. Within your FPM application you want to raise a popup and

the content of that popup should be made up with a GUIBB right?

If so, currently we don't support (G)UIBB within popups. But we are in process to implement this feature for Netweaver 7.02, i. e, it will be available for EHP5.

Regards,

Ulrich

former_member661489
Discoverer
0 Kudos

Hi Ulrich,

thank you for the reply.

then is it possbile to trigger a popup window with simple confirmation message and Yes/No button? or a popup window containing view from other webdynpro component? how to handle the button action in popup window?

Thanks and best regards,

George

ulrich_miller
Employee
Employee
0 Kudos

yes, we have already a standard popup for confirmation message with two buttons but you can also have freestyle content for your popup. I guess there is a chapter in our cookbook about that, maybe that's also helpful (and we also have demo application for that I guess).

Regards,

Ulrich

former_member661489
Discoverer
0 Kudos

could you tell me the demo application name?

I want to make my question clearer, in our GAF application, all steps are configured via GUIBB, which means we could not trigger the popup window in component controller or in view, there is only one place for codeing, which the feeder class.

Best regards

George

ulrich_miller
Employee
Employee
0 Kudos

ok, I see. Unfortunately I wasn't able to find a suitable demo applicaiton. But I had a look at the cookbook and there are two cases:

a) Application specific popup: Chapter 5.1

b) FPM standard popup for work protection: Chapter 5.3

Ok you just use GUIBBs. But for example if you want to realize a popup as described in case b) than you need a method called "needs_confirmation". That's no prob because in that case you need to implement the interface if_fpm_guibb***ext in your feeder class and there you will find the method needs_confirmation.

Regards,

Ulrich

former_member661489
Discoverer
0 Kudos

so is that to say in our application, it's not possible to popup a normal window which embedding a view from webdynpro component?

by the way, for case b), is the confirmation text changeable?

Thanks and best regards,

George

ulrich_miller
Employee
Employee
0 Kudos

I assume that you can achieve both cases a) and b) with a GUIBB. In case a) you need special handling in method process_event() and in case b) you need special handling in method needs_confirmation(). Furthermore if you use case b) I don't think you can change the text.

Regards,

Ulrich

former_member193369
Active Participant
0 Kudos

Hello,

in case b) you can change the text of the confirmation popup: Method IF_FPM_GUIBB_FORM_EXT->Needs_Confirmation has a exporting parameter EO_COMFIRMATION_REQUEST which can be used to set all texts of the confirmation popup (title, text and button texts).

Best regards,

Christian

Former Member
0 Kudos

Hi Ulrich,

Could you describe the special handling in case a) in detail, please?

Thank you.

Best Regards,

Sean

ulrich_miller
Employee
Employee
0 Kudos

Hi Sean,

first of all I would like to ask if you have already read chapter 5.1 of the cookbook. If there are still open questions after that I surely will help.

Regards,

Ulrich