Tuesday 23 February 2016

FPM OVP Application: Adding a Button on the UIBB Panel Area

The below link provides how to create a header list UIBB and an item list UIBB.
The FPM application looks like as below.
1
Here we want to add some BUTTON.
2
Open the FPM Application.
3
Go to the Application configuration and click on display configuration.
4
Click on the configuration name link.
5
So here we have two LIST UIBB configurations.
6
Select the first UIBB and click on the toolbar Schema. Here the rendering type should be WITH Panel.
7
Click on Edit button.
8
Click on Create Toolbar Element button.
9
Select button and click on OK button.
10
So a new button added.
11
Provide the button text as “Display”, tooltip and FPM EVENT ID as ‘DISPLAY_FLIGHT_INFO’. Save this.
12
So the final changes are saved now.
13
Test the application.
14
So here the button appears in the first UIBB panel area.Next task is to response when the Display button is clicked.
15
We have to code in the feeder class of the first UIBB. Select the first UIBB and select the Configure UIBB button.
16
Expand the general Settings section and click on the feeder class button.
17
So here we have the feeder class.
18
Go to the Process_Event method.
19
We want to display this message when Display button is clicked.
20
Put the below piece of code. 
21
Test the application and click on the Display button which displays the desired message.
22

No comments:

Comments system

Disqus Shortname