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!

AF:popup not working within commandLink

895760Apr 4 2012 — edited Dec 21 2012
Hi all,

I have a requirement where when I click on a link , I need to launch a popup which will in turn open-up some URL say 'Google'.. For eg : When I click the link in the jspx say "Google"" it should open up google.com in a pop-up...I was thinking of something like :

<af:form id="f1">
<af:popup id="p1">
<af:dialog id="da1">
</af:dialog>
</af:popup>
<af:panelGroupLayout id="pl1">
<af:commandLink id="c1" text="Google" partialSubmit="true">
<af:showPopupBehavior popupId="p1" triggerType="action"/>
</af:commandLink>
</af:panelGroupLayout>
</af:form>

But this does not launch the popup at all in the commandLink...Can you anyone tell me how can I get this simple prototype done...Thank you for the help..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2013
Added on Apr 4 2012
6 comments
1,011 views