This discussion is archived
13 Replies Latest reply: Nov 16, 2012 6:25 AM by 894552 RSS

Auto-load a popup when a page loads?

894552 Newbie
Currently Being Moderated

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

<af:commandLink xmlns:af="" text="Guidelines" partialSubmit="true" id="commandLink3" rendered="true">
<af:showPopupBehavior xmlns:af="" popupId="subform2:popup2"/>

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

Thank you.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points