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!

invoking a popup on the click of an image in an adf application

992151Jul 16 2013 — edited Jul 22 2013

Hi All,

I am working on an ADF application that has a page with a table of records. One of the columns has an image in it and on click of that image i need to open a modal popup that has respective details of that record.

I am not able to open the popup on click of the image.

below is the snippet of how i am trying to achieve the same.

<f:facet name="imageFacet">

         <af:commandImageLink icon="/images/pdf.png"    id="cil1">

                    <af:showPopupBehavior popupId="popupExt" triggerType="click"/>

           </af:commandImageLink>

     <af:popup id="popupExt" animate="default"  >

          <af:panelWindow id="pw1" 

                          modal="true"

                          title="External Internet Info in a Modal Popup"

                          contentHeight="250"

                          contentWidth="450"

                          resize="on">         

             <af:inlineFrame id="if1" shortDesc="This is an inline frame"

                          styleClass="AFStretchWidth"

                          inlineStyle="height:250px;">

             </af:inlineFrame>

in this code, i get an error on the jspx page that <af:popup> is not a valid child of <af:commandImageLink> and on running the page, nothing happens on click of the image.

Any Ideas or suggestion in this regard will be helpful.

Thanks

This post has been answered by Timo Hahn on Jul 22 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2013
Added on Jul 16 2013
8 comments
603 views