cancel
Showing results for 
Search instead for 
Did you mean: 

Loading of panel stacks

former_member182889
Active Participant
0 Kudos

Dear FPM-Experts,

in our custom application we are using stacked panels in order to address separate parts of our quite huge UIs.

From an FPM-perspective, all UIBBs are within the same section on the same page.

On opening the UI, all UIBBs are being loaded, the data is getting retrieved. This behavior differs to the loading of tabbed-UIBB-tabs: They are only instantiated and loaded once activated.

Is there any mechanism to enforce the same behavior for stacked panels as well?

Thanks for your assistance,

Oliver

Accepted Solutions (0)

Answers (1)

Answers (1)

karsten_heth
Active Participant
0 Kudos

Hello Oliver,

the reason for the different behaviour between tabs and stacks seems to be that all UIBBs in a stack are visible, but the active one is expanded and the inactive ones are collapsed.

I found this chapter in the FPM Developer's Guide:

"Processing Mode for Collapsed UIBBs ('Lazy Load')

Broadly speaking, this feature allows you to determine whether collapsed UIBBs should be immediately instantiated (and take part in the FPM event loop) when they are visible on the page, independent of their collapsed/expanded state, or whether the UIBBs should be instantiated in a 'lazy' manner and take part in the FPM event loop only if they are wire sources or after they become visible and expanded."


You can change the default behaviour in the general settings of the OVP configuration by changing the parameter ""

Regards,

Karsten


former_member182889
Active Participant
0 Kudos

Dear Karsten,

sorry for the delayed response! We had found this setting earlier, but it seemed that get_data was issued nevertheless on opening the OVP.

I'll debug once more during our next performance optimization (maybe in 2015 ) in detail why this interface method is executed by the framework.

Cheers,

Oliver