AF:popup not working within commandLink

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..

Hi Naveneeth,
I tried using inline frame within the <af:dialog>but I keep getting stackoverflow error.
Here is the code snippet I was trying :
<af:document id="d1">
<af:form id="f1">
<af:popup id="p1">
<af:dialog id="da1">
<af:inlineFrame shortDesc="google" source="http://www.google.com" />
</af:dialog>
</af:popup>
<af:panelGroupLayout id="pl1">
<af:commandLink id="c1" text="LaunchOSN" partialSubmit="true">
<af:showPopupBehavior popupId="p1" triggerType="action"/>
</af:commandLink>
</af:panelGroupLayout>
</af:form>
</af:document>
Whenever I click to launch the link to open popup I keep getting this error:
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
java.lang.StackOverflowError
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
     at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:
My Jdev version is 11.1.1.6.0
Not sure whats happening..LEt me know if I am trying the right way....Thank you..

Similar Messages

  • Spotlight not working within program. Please HELP!

    Spotlight not working within programs. Cannot not locate files on network volumes.
    For example: if I am using Photoshop or MultiAd Creator Pro, and want to open a file, I will do File>Open and  use spotlight in the "Open" dialog, and it doesn't ever find anything? I can see the files but if I search it fails to locate. Same thing happens if I try to "Place Graphic" In MultiAd and other programs. It appears to be a universal issue regardless of program.
    I tried re-indexing spot light via the system preferences (privacy, drag in volume, remove volume). I also tried re-indexing via terminal.
    I tried mounting the volumes via afp, smb, cifs and nothing works!!
    This issue is handicapping production.
    Anyone??
    Thank you in advance RR

    Spotlight alternatives.
    EasyFind – Spotlight Replacement
    Find Any File

  • Applet work well in appletviewer but do not work within browser

    hi, i created an applet that works well in appletviewer,but it does not work within a firefox browser, it issue a message: java.security.AccessControlException: access denied (java.io.FilePermission imgDir/vsam.jpg read). What can i do to solve this issue please ?

    sign the applet, use doprivileged and trust the applet when you open it.
    Use htmlconverter in jdk/bin folder to convert you applet so it uses
    object tag instead of applet so IE won't try to run it with msjvm.
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and reply 18 for the java class file using doprivileged
    Still problems?
    A Full trace might help us out:
    http://forum.java.sun.com/thread.jspa?threadID=656028

  • Javascript For loop not working within a function

    Hi all,
    I'm a beginner to LiveCycle and I cant seem to get a loop working within a function.  The function is being called successfully because when I manually create the code it works but I am trying to clean things up.
    So here is my working example:
    function hideContent() {
            MainFlowedSub.LevelsSub.Table1.presence = "hidden";
            MainFlowedSub.LevelsSub.Table2.presence = "hidden";
           ... and so on....
             MainFlowedSub.LevelsSub.Table8.Row1.presence = "hidden";
            MainFlowedSub.LevelsSub.Table8.Row2.presence = "hidden";
           ... and so on....
    However when I try and creat a loop instead of listing every sing table/row nothing happens. this is important to my project as there will be alot of different rows depending on radio button selections earlier in the form.  Below is the current state of my code:
    function hideContent() {
        var i=0;
         for (i=1;i<=5;i++)
             MainFlowedSub.LevelsSub.Table[i].presence = "hidden";
        var j=0;
         for (j=1;j<=23;j++)
             MainFlowedSub.LevelsSub.Table8.Row[j].presence = "hidden";
        var k=0;
         for (k=24;k<=88;k++)
             MainFlowedSub.LevelsSub.Table8.Row[k].presence = "hidden";
    this will then continue as there will be hundreds of rows.
    Any help will be greatly appreciated and I am sure I am making a basic error  so thanks in advance.
    j

    thanks for your help paul.  Again, really appreciated as I know very little about all this.
    Unfortunately its still not working... One thing I am sure of is that I am doing something very basic wrong. So here is my code, I have applied your suggestion above which will cover all my data:
    To give an understanding, I have 5 tables of content, each has i amount of rows. and I am running this script to clear/remove all items being displayed.
    function hideContent() {
        for (var i=1;i<=5;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table[" + i + "]").presence = "hidden";
        for (var i=1;i<=71;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table8.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=93;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table9.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=99;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table10.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=101;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table11.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=87;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table12.Row[" + i + "]").presence = "hidden";
    It has to be something to do with my For loops because if I manually insert each line it works perfectly.
    Thanks again,
    johnny

  • ADF Faces to Trinidad migrated app popup not working

    I have 10g version application (ADF bc and jsf) migrated to 11g using automated migration of jdeveloper and this application has lot of popups . for some reason pop ups are not working in the converted app
    if i open a popup programmatically it works okay , but it is not working when used from faces-config.xml ; with dialog:edit etc and usewindow = true - opens in same window
    for this blog post [http://blogs.oracle.com/Didier/2008/12/dialog_not_opening_in_a_popup_1.html] by Didlier , the configuration should be moved to adfc-config.xml file , but looks like that is only required when using rich controls ( mainly task flows) . for now my applicaiton only has trinidad components.
    If i create adfc-config.xml manually and copy all the navigation flows , will it work. i guess i need to specify that somewhere for the application to start using this file
    I thought i will download the converted srdemo but the link to converted srdemo from here [http://www.oracle.com/technetwork/developer-tools/jdev/migration-082101.html]
    is not working
    if anybody have suggestions please advise , thanks for your time
    Regards

    There seems to be a broader problem here in that the client-side validation is not respecting sub-form boundaries. Any post on the page causes all the validations to run, not just the ones in the subform that contains the control the invoked the post.
    Also, with the field marked as immediate, will I have problems with a "Cancel" button marked as immediate? Will the validation on the immediate field take place prior to the navigation invoked by the Cancel button?
    Thanks.

  • Case tatement not working within a cursor

    I am having a problem getting the case statement to work within a cursor in a store procedure in our 2008 r2 environment. Below is the cursor that I'm referring too. Any suggestions would be greatly appreciated.
    SET NOCOUNT ON;
    DECLARE @part_id as int, @WAREHOUSE_ID AS varchar(80), @SAFETY_STOCK_QTY AS int;
    DECLARE parts_cursor CURSOR FOR
    select part_id ,WAREHOUSE_ID,  coalesce(SAFETY_STOCK_QTY,0) from PART_WAREHOUSE where Part_ID in (SELECT distinct  #FLINES03.Part from #FLINES03)
    OPEN parts_cursor
    FETCH NEXT FROM parts_cursor
    INTO @part_id, @WAREHOUSE_ID, @SAFETY_STOCK_QTY
    WHILE @@FETCH_STATUS = 0
    BEGIN
      CASE @WAREHOUSE_ID
        WHEN 'AAA' THEN UPDATE #FLINES03 SET WHS1_SS_QTY = @SAFETY_STOCK_QTY WHERE #FLINES03.PART = @part_id AND #FLINES03.WHS1 = @WAREHOUSE_ID
        WHEN 'BBB'THEN UPDATE #FLINES03 SET WHS2_SS_QTY = @SAFETY_STOCK_QTY WHERE #FLINES03.PART = @part_id AND #FLINES03.WHS2 = @WAREHOUSE_ID
        WHEN 'CCC'      THEN UPDATE #FLINES03 SET WHS3_SS_QTY = @SAFETY_STOCK_QTY WHERE #FLINES03.PART = @part_id AND #FLINES03.WHS3 = @WAREHOUSE_ID 
      END   
      FETCH NEXT FROM parts_cursor INTO @part_id, @WAREHOUSE_ID, @SAFETY_STOCK_QTY
    END
    CLOSE parts_cursor
    DEALLOCATE parts_cursor

    CASE is an expression, not a statement. It means you can not execute code. You need to change your code to IF statements, e.g.
    IF @WAREHOUSE_ID = 'AAA'
        UPDATE ....
    IF 
        UPDATE ...
    Also, what is the purpose of using cursor? Can you provide the whole picture of what you're trying to achieve?
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Buttons not working within movieclip inside scrollpane

    hey I have a couple buttons that work outside of the ScrollPane but dont work within it. This is my exact code, how do i get them to work?
    scrollPane.source = myContent;
    scrollPane.setSize(173,500);
    K1Button.addEventListener(MouseEvent.CLICK, playVid);
    function playVid(e:MouseEvent):void{
    myVideoPlayer2.myFLV2.source = "video/K.mp4";
    myVideoPlayer2.myFLV2.play();
    T1Button.addEventListener(MouseEvent.CLICK, playVid2);
    function playVid2(e:MouseEvent):void{
    myVideoPlayer2.myFLV2.source = "video/T.flv";
    myVideoPlayer2.myFLV2.play();

    still cant get this any ideas?
    cant seem to get the buttons within the content movieclip to work.
    they are supposed to play a video when clicked.
    they do exhibit the rollover glow action, just not the down action of playing the movie.
    if i take them outside the scrollpane they work fine.

  • LightShow Magic  popup not working?

    Hi folks,   I am trying to import content from the existing site to  the new BC site, and I have uploaded the relevant js files and folders, but even though the linked files are seen in the Inspector on the live page, the popup link to Enlarge and create a lightshow is not working:
    http://joden.businesscatalyst.com/cat/artnouv/index.htm
    I am wondering if there is a limitation in BC that is preventing the js from working or if there is some other error on my part.
    Any help appreciated.
    Thanks
    Jeff

    Hi,
    I can see that there is no magnify.gif image in your "image" folder and your <a href tag is set to '#' and this is why it is not working. Also the linking is not correct to image folder, make sure you select the path carefully, See the image below
    Hope this helps.

  • As2 form not working within action scripts

    this script is working on online but when i put this code within my project action scripts, its not working,,,
    stop();
    System.useCodepage = true;
    send_btn.onRelease = function() {
        my_vars = new LoadVars();
        my_vars.sender = email_box.text;
        my_vars.subject = subject_box.text;
        my_vars.message = message_box.text;
        if (my_vars.sender != "" and my_vars.subject != "" and my_vars.message != "") {
            my_vars.sendAndLoad("mailer.php", my_vars, "POST");
            gotoAndStop(72);
        } else {
            error_clip.gotoAndPlay(72);
        my_vars.onLoad = function() {
            gotoAndStop(73);
    email_box.onSetFocus = subject_box.onSetFocus=message_box.onSetFocus=function () {
        if (error_clip._currentframe != 1) {
            error_clip.gotoAndPlay(6);

    Are you testing on a server?  If not, do you have PHP installed to support trying to call upon a PHP file?

  • Android orientation lock does not work within the ADPS App

    Hi,
    and another Android App Bug for today. The Android orientation lock feature does not work in Apps created with ADPS. If orientation lock is enabled and I turn the tablet, the orientation off the ADPS Apps will turn with the tablet.
    My Test Tablet is an Acer IconiaTab A510 with Android 4.0.3
    Kind regards
    Yves

    When you say that the orientation lock doesn't work, we have no way of knowing if that means that the screen is locked in one position only, or that it will not lock in one position only. So try something g very basi and reboot your iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    In the camera app, you have to swipe up and down on the screen to move between photo, video and the square photo mode options, so are you even in the correct mode to take videos?

  • IVR recording not work within the network

    I have an IVR script for recording the caller to leave a voice message to agent,
    and the agent is able to listen the voice message.
    The script is 100% working during the development environment (that is an isolated network)
    When the script moves to another production environment
    The outside caller (e.g. my mobile phone) is able to do the same thing,
    However, if the caller is made from internet network, seems the "recording" function not working
    are there any possible reason may cause the above problem?
    Thanks
    Sam

    while recording internally, seems the system does not record anything.
    For example,
    I have recorded for about 10 sec voice message.
    Then terminate the contact and put into CSQ
    then an agent pick up that session and retrieve the voice message,
    but it jumps directly to the next step, and the voice message is skipped
    seems the voice message has not been recorded
    That's why i have no idea  ....
    =_= ....
    Sam

  • Smartforms: Output Options for Field Contents not working within table

    Hello,
    to display an amount and its unit I am using &GS_MM_IT_GEN-MENGE(R)& &GS_MM_IT_GEN-MEINS& with a line of a table. Unfortunatly it seams that the output option "R" (right-justified) is not working with the table context. Has anyone an idea, what to do?
    Thanx,
    Peter

    Dear all,
    thank you for your suggestions. I have found out, that the output option work pretty well as described in the documentation. The are output options of a field and not of a column! To get a right justified column, I had to change the attribute of the parapraph assigned to the column.
    Regards
    Peter

  • Query Not Working Within CFFUNCTION

    I've been a CF developer for 15 years and I've never run into anything this strange or frustrating.  I've pulled my hair out for hours, googled, abstracted, simplified, prayed and done it all in reverse.  Can you help me?
    A cffunction takes one string argument and from that string I build an array of "phrases" to run a query with, attempting to match a location name in my database.  For example, the string "the republic of boulder" would produce the array: ["the","republic","of","boulder","the republic","the republic of","the republic of boulder","republic of","republic of boulder","of boulder"].
    Another cffunction uses the aforementioned cffunction and runs a cfquery.  A query based on the previously given example would be...
    select locationid, locationname, locationaliasname from vwLocationsWithAlias where LocationName in ('the','the republic','the republic of','republic','republic of','republic of boulder','of','of boulder','boulder') or LocationAliasName in ('the','the republic','the republic of','republic','republic of','republic of boulder','of','of boulder','boulder')
    This returns 2 records...
    locationid - locationname - locationalias
    99 - 'Boulder' - 'the republic'
    68 - 'Boulder' - NULL
    This is good.  Works fine and dandy.  HOWEVER... if the string is changed to "the republic", resulting in the phrases array ["the","republic","the republic"] which is then used to produce the query...
    select locationid, locationname, locationaliasname from vwLocationsWithAlias where LocationName in ('the','the republic','republic') or LocationAliasName in ('the','the republic','republic')
    This returns 0 records.  Say what?!  OK, just to make sure I'm not involuntarily HIGH I run that very same query in my SQL console against the same database in the cf datasource.  1 RECORD!
    locationid - locationname - locationalias
    99 - 'Boulder' - 'the republic'
    I can even hard-code that sql within the same cffunction and get that one result, but never from the dynamically generated SQL.  I can get my location phrases from another cffunction of a different name that returns hard-coded array values and those work, but never if the array is dynamically built.  I've tried removing cfqueryparams, triple-checking my datatypes, datasource setups, etc., etc., etc.  NO DICE
    WTF!?  Is this an obscure bug?  Am I losing my mind?  I've tried everything I can think of and others (including Ray Camden) can think of.
    ColdFusion 8 (with all the latest hotfixes)
    SQL Server 2005 (with all the greatest service packs)
    Windows 2003 Server (with all the latest updates, service packs and nightly MS voodoo)

    No, I haven't yet.  I've never used SQL Profiler before.  It can help me see what CFQUERY is sending to the server?
    Incidentally, I just found something interesting. This code...
    <cfset myQuery = "select locationid, locationname, locationaliasname from vwLocationsWithAlias where LocationName in ('the','the republic','republic') or LocationAliasName in ('the','the republic','republic')" />
    <cfdump var="#myQuery#" />
    <cfdump var="#request.qLocationsResult.sql#" />
    Compare: <cfdump var="#compare(myQuery, request.qLocationsResult.sql)#" />
    myQuery Len:<cfdump var="#len(preserveSingleQuotes(myQuery))#" />
    SQL Len:<cfdump var="#len(request.qLocationsResult.sql)#" />
    Produced this output:
    select locationid, locationname, locationaliasname from vwLocationsWithAlias where LocationName in ('the','the republic','republic') or LocationAliasName in ('the','the republic','republic')
    select locationid, locationname, locationaliasname from vwLocationsWithAlias where LocationName in ('the','the republic','republic') or LocationAliasName in ('the','the republic','republic')
    Compare: 1
    myQuery Len: 190
    SQL Len: 211
    The strings LOOK identical, but there's obviously something different between them.  How in the heck can I find out what those differences are?

  • Bookmark hyperlinks not working within PDF

    I have added hundreds of bookmarks and created hyperlinks to each one. The hyperlinks function from within iBooks Author but as soon as I export to PDF, the hyperlinks stop working.
    From within the PDF the hyperlinks appear as underlined text, and the curser changes to indicate that a hyperlink is present. But clicking on a link does nothing. However, external hyperlinks (to websites: e.g. http://www.site.com) function OK.
    I have opened the PDF within Preview, Adobe Reader and also within various iPads. Apple indicate that bookmarks/hyperlinks work when exporting to PDF, so what am I doing wrong?
    I've searched the net for solutions and it appears that I'm not the only one with the same issue - but no solution is present.
    Any ideas?

    sandman39 wrote:
    If I export to pdf in Keynote, all my saved hyperlinks default to http://livepage.apple.com/ (when the pdf is subsequently opened in Adobe Reader).
    Are you sure that you really entered a link when you created an Hyperlink?
    The described one is the one which is used by default by every iWork's components.
    We must enter the true one by ourselves.
    Yvan KOENIG (from FRANCE samedi 13 septembre 2008 18:05:31)

  • One of Many Hyperlinks not working within Visio 2007 PDF document

    I am using Visio 2007 to publish a PDF document, and am running Acrobat 9.4.  All hyperlinks in this document are to pages within
    the same single Visio/PDF document (no external links).
    However, after exporting the Visio document to the Acrobat (PDF document), some (not all) of the hyperlinks in the PDF version do not function.  The links
    are visible, exist and function from within Visio itself.
    Have tried deleting and recreating, copying and editing working links but to no avail. 
    Any help greatly appreciated.

    "Marked As Answer byJennifer
    Zhan<abbr class="affil">Microsoft Contingent Staff</abbr><abbr class="affil">, Moderator</abbr>Friday, March 11, 2011 8:38 AM"
    I did not see an answer to this problem. What was the solution?  I am having the same problem.  My drawing include lines that are hyperlinks which are defined in depth on following pages. However, the lines that cross over each links get confused.

Maybe you are looking for

  • Any idea on how to add timesheet entries?

    I am trying to process time sheet data with Numbers. I have the "raw" data coming out of OfficeTime. I now have something that looks like this (just a simplified excerpt): 10/24/07 2:15 PM 0:30 $0.00 Design - Draft Comments on this session 10/11/07 9

  • Can't get spicemeter to 100%

    I have spent the last couple of hours completing everything on the spicemeter checklist except:Use integrated remote access to connect to a deviceCreate a new tab in the user portalAdd content to a tab in your user portalI have added a new tab (just

  • ICal OSX 10.4.7 Crashes when I try to subscribe to this feed....

    Hi folks... Im trying to use a service called Airset (www.airset.com) They offer an online calendar which proivdes an iCal feed. Im using OSX v10.4 and when I try to subscribe to my calendar at webcal://www.airset.com/services/iCal/public/3725/Work.i

  • Install CO - OracleASjm/ApplicationOCF not found

    After installed OAS, I install OAS by cmd: "install.cmd silent" but it is always has a fail below: [oracle:deploy] 11/07/15 08:36:44 Notification ==>Compiling EJB generated code [oracle:deploy] 11/07/15 08:37:20 Notification ==>application : GMCentra

  • Doubts after reading Logic Express 7's manual

    Hello everybody, I am sorry to be posting on Logic Express 7 here, but nobody seems to be able to answer my questions that I posted in the respective thread. I only have to ask whether the following are Logic Pro 7 ONLY features: 1. Customizing the T