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!

Auto-load a popup when a page loads?

894552Nov 8 2012 — edited Nov 16 2012
Hi,

I created a link loading a form’s popup. I want to modify the code so that when the page is loaded, the popup is auto-load. How can I do that? I'm using JDev 11.1.1.6.

<af:commandLink xmlns:af="http://xmlns.oracle.com/adf/faces/rich" text="Guidelines" partialSubmit="true" id="commandLink3" rendered="true">
<af:showPopupBehavior xmlns:af="http://xmlns.oracle.com/adf/faces/rich" popupId="subform2:popup2"/>

<af:subform xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="subform2" defaultCommand="commandLink3">
<af:popup xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="popup2">
<af:dialog xmlns:af="http://xmlns.oracle.com/adf/faces/rich" type="none" id="dialog2" resize="on" contentWidth="500" contentHeight="500">
<af:outputText xmlns:af="http://xmlns.oracle.com/adf/faces/rich" value="TEXT…." id="sot1" escape="false"/>
<f:facet xmlns:f="http://java.sun.com/jsf/core" name="buttonBar">
<af:group xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="group1">
<af:commandButton xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="commandButton2" text="Close"/>
</af:group>
</f:facet>
</af:dialog>
<af:clientListener xmlns:af="http://xmlns.oracle.com/adf/faces/rich" type="popupOpened" method="popupGuidelines"/>
</af:popup>
</af:subform>
</af:commandLink>

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2012
Added on Nov 8 2012
13 comments
2,253 views