Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ADF:Popup contentDelivery=immediate vs popupFetchListener

811261Feb 25 2011 — edited Feb 25 2011
Hello everybody

I am having a problem using a popup which can be explained as followed:
When I use contentDelivery=immediate the popupFetchListener is not triggered
When I use contentDelivery=lazy the popupFetchListener is trigger.

Due to the advantage of showing the content when the popup opens, and so displaying the information that I need I have to use contentDelivery=immediate, but I also want to use a popupFetchListener.

Can anybody tell me where is the problem and what can I do to bypass it?

Thank you
Angel
This post has been answered by John Stegeman on Feb 25 2011
Jump to Answer

Comments

John Stegeman
Answer
Angel,

There is no problem - the [url http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e12419/tagdoc/af_popup.html]documentation will tell you that what you describe is the documented behaviour:
The PopupFetchEvent is one of two server-side popup events but doesn't have a corresponding client event. The popup fetch event is invoked during content delivery. This means that the event will only queue for popups that have a contentDelivery type of lazy or lazyUncached. Another caveat is that the event will only work when the launch id is set. This is automatically handled by the af:showPopupBehavior but must be provided as a popup hint if programmatically shown.
Since the PopupFetchEvent is specifically defined as an event that is fired during content delivery, it's not going to fire if there is no deferred content delivery.

John
Marked as Answer by 811261 · Sep 27 2020
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 25 2011
Added on Feb 25 2011
1 comment
1,756 views