ADF Popup not showing at fragment load

Hi,
I am calling a bean method in getter of command link at the load by binding it to a command link defined in bean, so when this fragment is called from other fragment then
in this method i m doing some checks ,and based on particular condition i have popup.show but it doesnt show the popup and code is not raising any exception.
    public RichCommandLink getC1() {
        populatedata();
        return c1;
  Now in populatedata ,I have popup shown for some conditions but when fragment is getting called for first time it doesnt show the popup ,but same populatedata is called from button on the fragment 
  so when i click on button ,this popup is shown properly.
So as I understand first time getC1 gets fired when fragment was getting loaded ,so how to make sure popup is displayed during that ..
public void populatedata()
if ....
                    System.out.println("showing popup");                   
                   RichPopup.PopupHints p2 = new RichPopup.PopupHints();                   
                     p1.show(p2);
                    System.out.println("after showing popup");
In logs i see both system out messages , can you guys suggest me how to get this popup displayed when fragment loading for first time and getter for c1 is getting fired.
Jdeveloper version :11.1.2.3.0
Regards,

Hi,
have you debugged the method call to prove that it is called at all? Instead of a component binding as a trigger, can you try a value property e.g. on a hidden output text component?
Since you are on JDeveloper 11g R2, the use of JSF 2 system events also becomes possible. The system event would be added to a component on the fragment (e.g. the fragment root layout container) and then listen for the render pre-render phase.
see: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/108-triggerpopupinregion-1994836.pdf
Frank

Similar Messages

  • ADF Query not showing correct search results.

    Hi,
    I am using normal ADF af:query to search data using a VO Criteria.
    We have modified the getter of searched column in VORowImpl java class to return values based on NLSID search from cache.
    Logic in getter:
    If for a column_name nlsid is present then show data as the value of nlsid.
    Suppose Initially:
    column_name = "Column1"
    column_name_nlsid="Column1_nlsid"
    column_name_nlsid_value="Column1_nlsid_value"
    The table will show:
    column_name: "Column1_nlsid_value"
    if we search "Column1" as column_name, The Search will also show:
    column_name: "Column1_nlsid_value"
    in results
    But,
    If we modify the nlsid value as:
    column_name_nlsid_value="Column1_nlsid_value_MODIFIED"
    Then
    The table will show:
    column_name: "Column1_nlsid_value_MODIFIED"
    if we search "MODIFIED" in column_name, The Search will NOT show any results
    So, it seems to me that the af:query search always searches upon the values derived from InternalAttribute values.
    What can i do to over-ride such behaviour , so that the search also takes the data from modified getters.

    Try posting in Jdeveloper Forum JDeveloper and ADF which has more audience

  • ADF Portlets not showing up

    Hello ,
    I am using Oracle AS 10.1.2 , Oracle Portal 10.1.4 , JDeveloper 10.1.3.3 installed on a Linux box.
    I have also downloaded and run the ADF Runtime Installer JAR file in the box.
    But, when I try to deploy an ADF screen as a JSR 168 portlet it is not showing up as a portlet and is throwing an "500 Internal Server Error". Any ideas ! !
    Although , when I try to run the same portlet in my JDeveloper Webcenter pre-configured OC4J it works fine.
    Please let me know if anyone has found a solution to the above problem.
    Best Regards.

    If its a caching issue, which caches did you try to flush?
    Or can you create a JSP , deploy it to the app servers with the following code
    <%@ page import="com.bea.p13n.cache.* "%>
    <%@ page import="java.util.* "%>
    <%
    String[] cachenames = CacheFactory.getCacheNames();
    for (int i = 0; i<cachenames.length; i++)
    String curCacheName = cachenames;
    CacheFactory.flush(curCacheName);
    %>
    and access this JSP and see if it solves your problem
    If it doesnt solve your problem, do you have personalized desktops for each user or something?
    regards
    deepak

  • Not showing video while loading

    My quicktime is not showing the video on quicktime movies, primarily on the apple website and i'm perplexed as to why. It will play the audio while it is loading and once it has loading i can refresh and it will play the audio and video... any ideas on how to fix this very annoying problem?

    I am having the same problem. If someone could provide a solution that would be great. I reset safari, cleared out cache, made sure I had a newest updates.

  • Horizontal Axis not showing when initial loading

    Hi,
    We are on Dashboard 4.1 SP3.
    I have drilling down configured on the Dashboard report. The issue is when initial loading the dashboard. the horizontal text are not showing completly, untill I click the other column of the parent column, it shows the child horizontal text.
    Could you please help.
    Thanks,

    Hi Dave,
    There are some issues still in displaying the horizontal axis.
    1844514 - Dashboard X axis labels are cutoff
    As a workaround what you can do, use the range slider to make the date text to display vertically rather than horizontal or you can enlarge the size of the chart at the max to make them to display vertical.
    Hope this helps!!!
    --SumanT

  • Adf popup not closing

    Hi ,
    i am working on Oracle Jdeveloper 11g Release 1.
    I have included a popup jspx in side my parent page using:
    <jsp:include page="/core/gccompliance/library/packages/complianceStandards/AddStandardToPackage.jspx"/>The jspx code is as below:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <c:set var="coregccomplianceuiBundle"
             value="#{adfBundle['oracle.sysman.core.gccompliance.view.CoreGccomplianceUiMsg']}"/>
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <af:resource type="javascript">
        /** * Shows the popup dialog **/
        function showAddCSDialog()
            var popup = AdfPage.PAGE.findComponent("addCsDialog");
            popup.show();
        function folderBtnListener()
            var popup = AdfPage.PAGE.findComponent("addCsDialog");
            popup.hide();
      </af:resource>
      <af:popup id="addCsDialog" contentDelivery="lazyUncached">
        <af:dialog modal="true"
                   title="#{coregccomplianceuiBundle.INCLUDE_COMPLIANCE_STANDARD}"
                   id="addCS1" closeIconVisible="false" styleClass="AFStretchWidth"
                   dialogListener="#{pageFlowScope.packages_libraryBean.handleAddStandardToPackage}"
                   contentWidth="900" contentHeight="350" type="cancel">
          <af:panelGroupLayout id="includeCS2" layout="vertical">
              <af:query id="addcss"
                          headerText="#{coregccomplianceuiBundle.COMPLIANCE_SEARCH}"
                          value="#{bindings.CSSelectorForPackageVOCriteriaQuery.queryDescriptor}"
                          model="#{bindings.CSSelectorForPackageVOCriteriaQuery.queryModel}"
                          queryListener="#{bindings.CSSelectorForPackageVOCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.CSSelectorForPackageVOCriteriaQuery.processQueryOperation}"
                          resultComponentId="::cst1" rows="3" maxColumns="2"
                          saveQueryMode="hidden" disclosed="false"/>
              <af:table value="#{bindings.CSSelectorForPackage1.collectionModel}"
                        var="row" rows="#{bindings.CSSelectorForPackage1.rangeSize}"
                        emptyText="#{bindings.CSSelectorForPackage1.viewable ? coregccomplianceuiBundle.MSG_NO_DATA_DISPLAY : coregccomplianceuiBundle.MSG_ACCESS_DENIED}"
                        fetchSize="#{bindings.CSSelectorForPackage1.rangeSize}"
                        styleClass="AFStretchWidth"
                        binding="#{pageFlowScope.packages_libraryBean.includeCsTable}"
                        selectionListener="#{bindings.CSSelectorForPackage1.collectionModel.makeCurrent}"
                        rowBandingInterval="0"
                        rowSelection="multiple" id="cst1"
                        columnStretching="column:resId1c2"
                        summary="#{coregccomplianceuiBundle.PACKAGE_INCLUDE_CS_SUMMARY}"
                        contentDelivery="immediate">
                <af:column id="csSelehdr" width="10" rowHeader="true"/>
                <af:column sortProperty="CsDname" sortable="false"
                           headerText="#{bindings.CSSelectorForPackage1.hints.CsDname.label}"
                           id="resId1c1" rowHeader="true" align="left">
                  <af:outputText value="#{row.CsDname}" id="ot1"/>
                </af:column>
                <af:column sortProperty="Description" sortable="false"
                           headerText="#{bindings.CSSelectorForPackage1.hints.Description.label}"
                           id="resId1c2">
                  <af:outputText value="#{row.Description}" id="ot6"/>
                </af:column>
                <af:column sortProperty="TargetType" sortable="false"
                           headerText="#{bindings.CSSelectorForPackage1.hints.TargetType.label}"
                           id="resId1c3">
                  <af:outputText value="#{row.TargetType}" id="ot5"/>
                </af:column>
                <af:column sortProperty="LifecycleStatus" sortable="false"
                           headerText="#{bindings.CSSelectorForPackage1.hints.LifecycleStatus.label}"
                           id="resId1c4">
                  <af:outputText value="#{row.LifecycleStatus}" id="ot4">
                    <af:convertNumber groupingUsed="false"
                                      pattern="#{bindings.CSSelectorForPackage1.hints.LifecycleStatus.format}"/>
                  </af:outputText>
                </af:column>
                <af:column sortProperty="Author" sortable="false"
                           headerText="#{bindings.CSSelectorForPackage1.hints.Author.label}"
                           id="resId1c5">
                  <af:outputText value="#{row.Author}" id="ot3"/>
                </af:column>
                <af:column sortProperty="CsType" sortable="false"
                           headerText="#{bindings.CSSelectorForPackage1.hints.CsType.label}"
                           id="resId1c6">
                  <af:outputText value="#{row.CsType}" id="ot2">
                    <af:convertNumber groupingUsed="false"
                                      pattern="#{bindings.CSSelectorForPackage1.hints.CsType.format}"/>
                  </af:outputText>
                </af:column>
              </af:table>
            </af:panelGroupLayout>
          <f:facet name="buttonBar">
            <af:group id="g15b">
              <af:commandButton text="#{coregccomplianceuiBundle.OK}" id="addcsokb"
                                partialTriggers="cst1"
                                actionListener="#{pageFlowScope.packages_libraryBean.handleAddStandardToPackage}"
                                partialSubmit="true"/>
            </af:group>
          </f:facet>
        </af:dialog>
      </af:popup>
    </jsp:root>When i click on ok button the action listener {pageFlowScope.packages_libraryBean.handleAddStandardToPackage} is called which executes some bussiness logic and then invokes folderBtnListener() java script method in thee jspx.
    The code for action listener is:
        public void handleAddStandardToPackage(ActionEvent ae)
            handleAddStandardToPackage();
            addScript("folderBtnListener();");
        public void addScript(String script)
            FacesContext fcxt = FacesContext.getCurrentInstance();
            Service.getRenderKitService(fcxt,
                                        ExtendedRenderKitService.class).addScript(fcxt,
                                                                                  script);
        }But when i click on ok the bussiness logic is executed fine but the popup does not get closed. I have to click cancel button to close it.
    Can someone suggest what am i missing in my code?

    Hi,
    Did you try with autoCancel property of popup
    See
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_popup.htmlOr you have to bind popup to Bean then use
    RichPopup.hide();
    See
    how to close a popup

  • Animated splash does not show after initial load

    I am trying to get an animated splash to show the form is loading. When I use an animated splash it shows as expected on the initial load but on subsequent loads of same form, it does not. Static splash shows every time. What can I do to get the animated splash to show every time a form is opened? Is it possible?
    Edited by: user620240 on Mar 3, 2009 8:54 AM

    Kami,
    I'm facing the same problem.
    Could you please provide a link to 'doc 376241.1'. I haven't been able to find it. Or maybe you could copy-paste the code in here?
    Thanks in advance for this,
    Abigail

  • Popups not showing

    Hi there, have knocked myself silly trying to understand why
    the popups appeared just fine, made some changes to the contents of
    the popup menus - I added more, and they don't show up.
    I've tested with Firefox and IE, both programs are the most
    recent versions.
    I'm using Firewords and Dreamweaver 8
    I read in another posting that Fireworks popups will not work
    if there are too many of them. I've reduced the number
    substantially. I created a new png file with 1 popup for testing
    purposes and it works.
    Is it just a matter of there still being too many? I have
    attached the html code created by Fireworks.
    I don't want to have to go into the code and manually make
    changes every time as this is a template for a website I'm doing
    and there will be many changes I'm sure yet to come.
    Thanks!

    I have the same problem. it just quit working checked everything.. so frustrating have not had any help here that i could useI hope you got yours resolved  Thea

  • Images are not showing when page load

    Hello All
    I am having lot of webparts on my page.
    In two of them webpart i applied xslt and showing image of created by person in this
    1)Announcement webpart(Wall updates)
    2)Showing blog using content by query webpart(Blogs)
    While page loading not able to load images in both webpart view.
    But when i decreases webparts on page images rendered properly.
    I think it is taking time to fetch images so timeout and showing default images.
    Kindly suggest me some way to tackle and images will displayed properly
    Thanks in advance
    Varsha Patil

    Hi,
    According to this documentation from MSDN about
    SharePoint Server 2010 capacity management: Software boundaries and limits:
    “In SharePoint Server 2010, there are certain limits that are by design and cannot be exceeded”, “The default values for these limits were defined by testing, and represent the known
    limitations of the product. Exceeding supported limits may cause unexpected results, significant decrease in performance, or other harmful effects”, “in most cases, operating at or near an established limit is not a best practice, as acceptable performance
    and reliability targets are best achieved when a farm’s design provides for a reasonable balance of limits values”.
    So it is not recommended to add many web parts into one page.
    If there is a special need to display many web parts in one page, it is recommended to reorganize the content to minimize the number of web parts in use and customization will
    be needed sometimes if the built-in web parts can’t meet the requirement.
    Best regards
    Patrick Liang
    TechNet Community Support

  • ADF values not showing in inventory

    I have a couple administrator defined fields (ADF) that seemed to be populated on the workstation (shown in %ZENWORKS_HOME%\work\inventory\*-cdflast.xml) but they do not appear in the Zenworks inventory report. Why would that be?
    (ZCM agent v11.2.4)

    Must I have "Launch Collection Data Form" checked in Inventory/Scan Now to get ADF into the inventory?

  • ADF LOV not showing

    We have discovered an issue with a deploy of an ADF/JHeadstart application in a citrix access gateway. It seems that the context-root of a runtime javascript 'scriptEval10_1_3_4_0.js' is missing. The contex-root before this call is visible and seems to work.
    This javascript is part of a call of opening a LOV window, discovered with JMater. The request to the database is not performed.
    Ideas to solve this?
    Thanks in advance,
    Erwin
    Some additional info: jdeveloper version 10.1.3.4
    Within the Citrix Access Gateway the prebuild javascript could not be found and generated.
    The Url of the SRC should  be prefixed with the CAG refererence.
    The src for the javascript should be /cvps/agagaeagwerwfa/SCAD/adf/jsLibs/ScriptEval10_1_3_4_0.js
    So how to change the generated javascript references within the jpsx file?
    <body id="body" onunload="_checkUnload(event)" onload="_checkLoad(event)">
    <script src="/SCAD/adf/jsLibs/ScriptEval10_1_3_4_0.js">
    <html><body><b>Http/1.1 Object Not Found</b></body> </html>
    </script>
    Outside the Citrix Access Gateway, the javascript is found and working properly
    <body id="body" onunload="_checkUnload(event)" onload="_checkLoad(event)">
    <script src="/SCAD/adf/jsLibs/ScriptEval10_1_3_4_0.js">
    if(!_pprBackRestoreInlineScripts)
    var iFrameElement=document.getElementById("_pprIFrame");
    if(iFrameElement!=null)
    var code=
    _getCommentedScript(iFrameElement.contentWindow.document,"_pprScripts");
    if(code==null)
    code=_getCommentedScript(document,"_pprScripts");
    if(code!=null)
    _eval(window,code);
    else
    var saveScriptElement=_getElementById(document,"_pprSaveScript");
    if(saveScriptElement!=null&&saveScriptElement.value!="")
    _eval(window,saveScriptElement.value);
    _pprBackRestoreInlineScripts=false;
    </script>
    Perhaps the soucecode of adf-faces-impl.jar could provide a better understanding of the insight process..

    Erwin,
    This seems an ADFissue unrelated to JHeadstart.
    Can you build a sample ADF app without Jheadstart and a model-based LOV, and see whether the problem reproduces?
    If so, please contact Oracle Support to log a SR/bug.
    Thanks,
    Steven Davelaar,
    JHeadstart Team.

  • ADF popup not shown from BPM

    Hi,
    I'm working on a project that requires me to integrate a custom designed ADF task flow into a BPM user task. Unit testing of the task flow was working fine, but upon integrating this task flow with the BPM process, it seems that none of the popup components are working.
    Could anybody please help me out?
    Debojit

    ... JDeveloper version? Have you tried a recent build?
    Frank

  • Preloader not showing until fully loaded..?

    Hello all!
    I'm having trouble with my preloader, it seems to not be working. What happens is that, when I simulate the download, my flash window just stays continues to be the background color, and then after it fully loads, switches over to my preloader frame. I'm sorry if any of this doesn't make sense, as I am new to Flash and all of the lingo

    if you're using timeline coding, typically your preloader only would be in frame 1 along with the code to animate your preloader display and furnish load-progress info to the user.  nothing else should be in frame 1.
    if you do that, your preloader will be displayed AFTER all assets marked for export in frame 1.  ie, if you have embedded font(s), objects with classes etc
    if you have a lot of assets exporting in frame 1, you will need to either change that export frame or make an external preloader (a main swf with preloader only that loads your current swf minus the preloader).

  • Short, long Description not showing up when loading Catalogs

    Hello:
    When I load the internal catalogs, the short and long description is not coming over.  It seems like a bug since I can see it sometimes.
    We are current up to date on the SRM/CCM patches but we are still <b>not</b> getting the description data. 
    Has anyone experience the same situation?
    Thanks again in advance!

    Hi Mike,
    You say you are loading internal catalog and next you talk of SRM/CCM patches.
    Hence I assume you generating SRM_EXTRACTED_CATALOG.
    (you can load internal catalog from R/3 also.)
    Pl. check whether these short and long description are present in SRM transaction COMMPR01
    because if present there then only you can see in your catalog.
    BR
    Dinesh

  • 80GB ipod Classic not showing any Music loaded on it

    I have an 80GB Classic Model No A1238. Suddenly the ipod has stopped showing any playlist or music that was there on it. But the ipod shows 56.4gb used and 17.9GB Free which means it still has the data but in the summary it shows Songs 0, Videos 0, Podcast 0 etc... How can i recover the music and make it appear ? Will i have to restore the ipod or there is a way recover ? Please help.

    Sounds like the iPod's file system and databases have been corrupted possibly due to a damaged/failing hard drive or failed sync operating with iTunes.  So yes, the only way to try and recover is to restore the iPod to factory settings.
    Restoring iPod to factory settings
    B-rock

Maybe you are looking for

  • Multiple (but separate) domain problem & Apple's slow and useless response

    I am having problem with multiple (but separate) domain. I opened a ticket. Here is Apple's slow and useless response and my follow up. This follow up is not going to resolve the issues I am having. The sites are not in one domain file. I have split

  • How can I purge old data on EM Repository?

    I'd like to remove my old data of EM repository. For example, removing old data collected before Jan 1st 2007. Is there any auto-job for that facility? Or Any ideas?

  • Spry Tabbed Panels overwritting Flash drop down menu in IE

    I am having an issue with Spry Tabbed Panels appearing above a Flash drop down menu in IE6 & IE7 but it works fine in Firefox. Would someone be able to educate me on what I can do to fix this problem. The page that is exhibiting this problem is http:

  • Export FCP project and linked media assets

    Sorry everyone, I know this is an easy question but I have searched for the answer and am still very confused.  I want to save my FCP project and just the appropriate used media assets in one place so I can send a condensed version of my entire proje

  • Flash and database development

    I am in the beginning stage's of building my website... I am planning to use an access database- whereby new entries are made and they would then be updated to the ISP... how would I link the Access database up with my flash site so it would show the