Re: Problems using page fragments

Hi,
Have you gone through the tutorial titled "Using Page Fragments". This is available at:
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index.jsp
This might be of help to you
Cheers
Girish

solve the problem using the design pattern Tab
http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html

Similar Messages

  • I have a problem using Pages. Whenever I type fl I get a symbol instead. Does anyone else have this problem?

    I have a problem using Pages. Whenever I type fl I get a symbol instead. Does anyone else have this problem?

    Hi Tom
    On my machine it seems that the fi ligature doesn't exist with Times New Roman (installed version is 5.01.3x)
    It's available in Warnock Pro but the st one which is designed in Warnock doesn't apply.
    This last screenshot was made from Linotype Explore, the old free version.
    Typography isn't really easy, even with modern tools
    Yvan KOENIG (VALLAURIS, France) lundi 6 juin 2011 14:53:01
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Writeup on Using Page Fragments

    Hi All,
    We recently posted a PDF file "Beyond the Book 2" that contains
    an example using page fragments, custom style sheets, and
    page navigation from a page fragment.
    Here's the link:
    http://www.asgteach.com/books/creator_field_guide.htm
    and choose Beyond the Book 2.
    --Gail                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks Gail.
    Regards,
    Runa.

  • How use page Fragments(give me this error symbol  : class Hyperlink )

    hi master
    sir
    i am try to this link sample for page fragments
    http://developers.sun.com/jscreator/learning/tutorials/2/pagefragments.html
    every setp is right but when i use this code
    Hyperlink homeLink = navigationFragmentBean.getHomeLink();
    this line give me error
    see error
    symbol : class Hyperlink
    location: class fragmentexample.Page1
    Hyperlink homeLink = navigationFragmentBean.getHomeLink();
    1 error
    please give me idea how i remove this error
    thank's
    aamir

    hi master
    sir use mysql database
    I have three textfield in my page and one button.
    All texttfidld are bound with datasourceprovider or bound with mysql and I use normal code in button event
    getMfatableDataProvider().cursorNext();
    also I drop page fragment box tool and create new fragment in my application but when I run my page and click the button first record move to next record and again I press button then page give me this error
    when I run my project then in browser address show this
    http://localhost:29080/mfamove/
    first time when I press button record move to next record and browser show this address
    http://localhost:29080/mfamove/faces/Page1.jsp;jsessionid=12a66ea53657ffffffffcb77c9939bc5aa0
    second time I press button then browser show this address
    http://localhost:29080/mfamove/faces/Page1.jsp
    and page show this error
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.faces.el.MethodNotFoundException
    textField1_processValueChange: mfamove.Page1.textField1_processValueChange(javax.faces.event.ValueChangeEvent)
    Possible Source of Error:
    Class Name: com.sun.faces.el.MethodBindingImpl
    File Name: MethodBindingImpl.java
    Method Name: method
    Line Number: 206
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.faces.el.MethodBindingImpl.method(MethodBindingImpl.java:206)
    com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:124)
    javax.faces.component.UIInput.broadcast(UIInput.java:492)
    javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
    javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:343)
    com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Please give me idea how I use record navigation
    Thank�s
    Aamir

  • InputFile persistent problem in Page Fragments

    I'm using jdeveloper 11g
    I have a table which contains inputfile controls which is placed inside page fragment.Then I included page fragment using Taskflow into a page. but it doesn't keep the persistance of inputfile.
    if anybody come across any solution please let me know.
    thank you.

    Hi Anton,
    You can treat the fragment as any page, its going to have its own pageDef that will be included automatically by the page containing its task flow within a fragment (assuming you're using the data control/component drag-drop feature in JDeveloper). This is actually one of the best working feature of 11g imho.
    Regards,
    ~ Simon

  • Is anyone having problems using pages app with iPad mini?

    I have to use a template report for my job- which other people with normal sized iPads also use- I use pages to convert the word doc - which contains writing and boxes - I complete the report and send it back to work, when they open it all the writing can't be seen down the right hand side, so I'm having to write three words per line in each box so they can read it when they open it, this is not ideal and wondered if its the iPad mini that can't cope ? Wondering weather to get the standard size iPad although I don't really want to do that.
    I also need a way of password protecting my work can anyone help ?
    Thanks

    I have an HP Scanjet 8390 with the same problem ($1600 new when I bought it). Using the "HP Scan.app", I am able to scan but not save - something about a read only file.
    The HP Scanjet 8390 is a business class **DUPLEX document scanner built like a tank, critical to my business (and personal). ie. I scan 100's of duplex pages a day for the last 6 years with no problems. It has a 14" glass for legal documents, 48-bit, +programmable hard buttons to scan and copy, or scan and print, OCR...
    I called 1-800-633-3600.. HP told me they do not support legacy products, have no intention of updating the drivers for legacy products and suggested I buy a new scanner (even though my old scanner works perfectly and is faster and not ).
    What is considered a legacy product? 1 year? 2 years? Am I to buy a new ($1000) scanner every 1-2 years?  What benefit do I get from a new equivalent scanner?

  • Problem using Page items in trigger

    Hello all,
    I have a requirement in my application in which I need to use a page item in my trigger..
    My basic requiremtn is I have 2 forms to enter data..I need the name entered int he first form to be displayed in the second form, since am associating the data entered in the 2nd form to the name entered in the 1st form..
    In my 2nd form where I need this, am setting the Source of Server_Name to P105_DEVICE_NAME. But I need this info to enter the details to the table..So I ve created the folowwing trigger.
    create or replace TRIGGER "cts_apps_temp_insert"
    BEFORE INSERT ON CTS_APPS_TEMP
    FOR EACH ROW
    DECLARE
    vComputer_ID NUMBER;
    vTemp varchar(200);
    BEGIN
    vTemp := :P105_DEVICE_NAME;
    select computer_id into vComputer_ID from cts_hardware_info where computer_name = vtemp;
    INSERT INTO CTS_SERVER_APP_CUSTOMER(SERVER_ID,DEPT_APP_REL_ID,TECHNICAL_MANAGER,FUNCTIONAL,APPLICATION_COORDINATOR,MODIFYUSERID,DATEOFMODIFICATION)
    VALUES (vComputer_ID,:NEW.DEP_APP_REL_ID,:NEW.TECHNICAL_MANAGER,:NEW.FUCNTIONAL_MANAGER,:NEW.APPLICATION_COORDINATOR,v('APP_USER'),sysdate);
    END;
    But am getting an error executing this
    Compilation failed, line 5 (10:44:08) The line numbers associated with compilation errors are relative to the first BEGIN statement. This only affects the compilation of database triggers.
    PLS-00049: bad bind variable 'P105_DEVICE_NAME'
    Is there any other way to access the Page Items from the trigger?
    Thanks,
    Nehal

    Thanks Tyson. I have changed it but I still get the same error.
    For some reason, The value of P105_DEVICE_NAME is becoming null.
    I tried executing the following in SQL workshop.
    begin
    dbms_output.put_line('skdjaldjakdjalkdj');
    dbms_output.put_line(v('P105_DEVICE_NAME'));
    end;
    and got the following output
    skdjaldjakdjalkdj
    Statement processed.
    0.00 seconds
    It doesnt print anything for v('P105_DEVICE_NAME').
    Any idea why this is happening?
    Thanks,
    Nehal

  • Problem using pages created by Muse in Eclipse

    Hi,
    I created a website using Muse and exported that to HTML into my workspace of eclipse.
    I get an error when i do that; I have posted a snapshot of the same here, can somebody please tell me what I need to do in order to get rid of the error and run the website on a server?
    Thanks,
    Shripad D

    I didn't get a good answer, but I have a workaround.  I downloaded FreeMake to use to convert the flv created by Adobe.  If you go this way, simply convert from flv to flv, and FreeMake will use a differnt audio codec that is comatible.

  • Reuse Task flows without Page fragment

    Hello,
    I ve seen some examples with task flows being resued inside regions and using page fragments.
    However , my requirement is little different and would like some inputs on this.
    I have an authentication module to be used in different ADF applications.
    I have a login page(not a page fragment) and a router and task flow return activity in the resuable bounded task flow.
    We are having a managed bean to check authentication and we have a page flow scope variable which marks success or failure and hands it over to router which inturn routes to task flow return if successful, else routs it back to login page if failure.
    When i use this BTF in a consuming task flow(BTF) and add the module as an ADF library, everything is fine except it is not lauching a welcome page upon success and just stays on the same login page.
    I have the ADF security on with the redirect page given upon successful authentication as the welcome page.
    The welcome page is in the consuming application and not part of the authentication module itself.
    In the consuming task flow, i have a control case from the Authentication task flow call activity to the welcome page and the control case rightly given success as outcome automatically bcos of task flow return in the consumed task flow.
    Any input to launch the welcome page upon successful authentication is greatly appreciated.

    Hi,
    you cannot authenticate users in a bounded task flow and expect to redirect you successfully. The redirect only happens if authentication is handled by the ADF Security authentication servlet redirecting the call. So your bounde task flow needs to return an outcome and your consuming application should have a wild card navigation case defined that then redirects to the welcome page
    Frank

  • Calling taskflow as an inline-poup from a page fragment

    The ADF Controller cannot execute task flow '/WEB-INF/task-flow-definitionxml#task-flow-definition' that uses page fragments in the root view port.
    Now what if you want to do this, I have a use case, feeling stuck , using JDev 11.1.1.2.0

    Hi,
    You can create a page based task flow and call it as an inline popup from your fragment based task flow.
    It should work.
    Barbara

  • Threadinar10 - Page Separator, Page Fragment Box , Tab Set & Tab Components

    Hi All,
    This is the tenth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss 4 components in the "Components Palette: Layout Section" section of the Creator Component Catalog.
    The components we will focus on today are
    "Page Separator", "Page Fragment Box" , "Tab Set" & "Tab" Components.
    Let us begin our discussion with the "Page Separator" Component.
    Page Separator Component
    You can drag the Page Separator component from the Palette's Layout category to the Visual Designer to create a horizontal line that resizes to any page width selected by the user. This component is the visual equivalent of an HTML <hr> tag.
    In the page bean, a Page Separator component is a PageSeparator object.
    * Note: If you want to use an HTML <hr> tag, drop a Meta component on the page and set its tag property to hr.
    [b]Page Fragment Box Component
    This component enables you to include a page fragment in a page. A page fragment is a separate, reusable part of a page that can be included in any number of pages. For example, you might want to put a common a visual element like a header graphic in a page fragment and then include it in all the pages in an application.
    When you drag the Page Fragment Box component from the Layout category of the Palette and drop it on a page, the Select Page Fragment dialog box prompts you for the name of the page fragment to be included. You can enter the name of an existing page fragment or create a new page fragment. If you create a new page fragment, the IDE gives the new fragment a .jspf file suffix and creates a node for it in the Projects window, as well as adding the page fragment to the Outline window.
    * Note: A Page Fragment Box component simply includes a page fragment in a page. Deleting a Page Fragment Box component from a page does not delete the page fragment itself, even if you originally used the Select Page Fragment dialog box to create the page fragment.
    After dropping a Page Fragment Box component on the page, if you click inside the component, you see the properties for the included fragment. If you click the border of the component, you see the properties for the enclosing <div> block. You can also use the Outline window to select the enclosing block, the page fragment, or the components in the page fragment. In the Outline window, the Page Fragment Box component is represented by a node named directive.include:fragment-file.jspf, where fragment-file is the name of the page fragment file.
    If you double-click the page fragment, it opens as a page in the Visual Editor, enabling you to edit it like a regular page. The page fragment has an associated JavaBeans object, a page fragment bean, which you can edit by clicking the Java button at the top of the page fragment when it is open in the Visual Editor. As with a regular page, if you drop a component like a button in a fragment, double clicking adds an event handler in the page fragment bean, enabling you to reuse the code on any page to which you add the page fragment. A common scenario for reusing component code would be a Search Box fragment that has a search Label, a Text Field where the user enters the search string, some Inline Help, and search logic code in the page fragment bean.
    * The tab order of the components in the page is unlikely to work properly unless you enclose the entire page fragment box in the Faces Verbatim component.
    For more details see tutorial : "Using Page Fragments"
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html
    [b]Tab Set Component
    The Tab Set component in the Palette's Layout category is a container for a set of Tab components. Typical uses of a tab set are:
    * To provide alternate sets of components on the same page and enable the user to navigate to them by clicking on tabs. The user sees only the components under the currently selected tab. For more information on adding components to tabs, see Tab Component.
    * To navigate among a set of pages. If you use a tab set this way, you would usually have the tab set near the top of each page with the component's width set at 100%. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. In addition, you would need to delete the default Layout Panel component under each tab so the tab would display the page contents.
    You can set Tab Set properties in the component's Properties window.
    A Tab Set component contains Tab Components, and Tab components can contain other Tab components. You can see these components displayed as hierarchical nodes in the Outline window after you add a Tab Set to your page.
    You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dropping a new tab component on the Tab Set or on a Tab component.
    You can drop a new tab component on a tab set in the Visual Designer to the right or left of existing tabs to create a new tab at that level. The tabs in a tab set can also be containers for other tabs. If you drop a Tab component on an existing tab, the new tab becomes a child of the tab on which you dropped it. The maximum number of levels for tabs is three.
    The tab set component determines which tab is rendered as selected, storing the value in the selected property. By default, the selected property is set to the first tab created for the component. If you click a tab while designing your web page, that tab becomes the selected tab. You can tell during design time that a tab is selected because its color changes.
    [b]Tab Component
    A Tab is part of a Tab Set component. You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dragging a new Tab component from the Layout category of the Palette and dropping it on the Tab Set or on another Tab component. You can also drag from the Palette and drop the tab on the tab set's nodes in the Outline window.
    * If you drop the Tab component to the left or right of an existing tab, it is added to the same row of tabs.
    * If you drop the Tab component on an existing tab, the dropped tab becomes a child tab of the tab on which you drop it unless the existing tab is a third level tab. You can have at most three levels of tabs in a tab set.
    o Note: You cannot add a child tab to a tab that has components in its Layout Panel. When you drop a tab on an existing tab component that has an empty Layout Panel, the empty Layout Panel is deleted to make room for the dropped tab.
    By default, a Tab component has a Layout Panel below it where you can drop components that will be displayed when the user selects the tab. The Layout Panel by default has its panelLayout property set to Grid Layout, meaning that components dropped on the panel are aligned at the location where they are dropped. You can change the layout behavior by setting the panelLayout property to Flow Layout, which aligns dropped components left to right in rows. For more information on Layout Panel properties, see Layout Panel Component Properties Window.
    To select a tab in a tab set, either click the Tab component on the page or select the Tab component's node in the Outline window. To select the whole tab set, either click the border of the Tab Set component on the page or select the tab set's node in the Outline window. Alternatively, you can select a Tab component and either press Escape or right-click and choose Select Parent to select its parent component.
    * Note: If you select a tab on a page in the Visual Designer, a side effect is that it becomes the selected tab. If this effect is not what you want, select the tab in the Outline window so you can set its properties.
    You can drag tabs in the Outline window to change their location and level in the tab set.
    Some typical uses of tabs:
    * You can drop components on the Layout Panel component below a tab to enable a set of components to be displayed below each tab. When the user selects a tab, they see only the components that are associated with the tab, without having to change pages.
    * You can use a tab set to navigate among a set of pages. Each tab component links to a page in your web application. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. If you want to use the tab set for page navigation, be sure to delete each tab component's Layout Panel.
    You can also right-click the Tab component and choose one of the following options:
    * Edit action Event Handler. Code the action event handler, the method that is called when the user clicks the tab. This method determines which page or resource to open based on specified conditions. The action method typically processes mouse clicks and returns a string indicating the name of a page navigation case (the page in your application to display next). The default name for the method is tab-id_action, where tab-id is the value of the tab's id property.
    * Bind to Data. Dynamically set the text that appears on the tab. You can bind the component's text property to an object or a data provider, as described in the topic Bind to Data Dialog Box.
    * Property Bindings. Opens a dialog box that enables you to bind properties of the component in addition to the text property to other objects or bean properties that update this component's properties automatically.
    [b] Please join in and share your comments, experiences, additional information, questions, feedback, etc. on these components. <br><br>
    Thank you for your participation

    The following blog has a mini tutorial on using a tab set in a page fragment for page navigation:
    http://blogs.sun.com/divas/entry/tabbing_thru_the_tulips
    A reader commented that the mini tutorial needed to be improved upon to show how to keep the tab state and navigation state in synch.
    How would you do it? If you have a good example, maybe post it to this thread.
    Also, there is no tab tutorial but it is on the priority list. What would you like a tab tutorial to show how to do?

  • External Page Displayed In Page Fragment

    Hello,
    I am attempting to replicate the method in which frames work by using Page Fragments. I have a header at the top of the page and a "frame" along the left side of the page that allows for navigation. The rest of the web page is an area that updates based on the navigation selection that is made. I would now like to have one of the navigation buttons load a page fragment that contains an external page. Whenever I use getExternalContext().redirect(...) method inside of the Page Fragment, I am totally redirected to the external site and I lose my "frames" functionality. Thanks for the help.
    Scott

    Page Fragments are not like frames; a page fragment is -inlined- into the document by the server. Look at the source in the browser (View Source); the server sends a single html page to your browser.
    If you want frames-like functionality in the browser, you'll need to use frames. You might be able to use iframes too.
    -- Tor
    http://blogs.sun.com/tor

  • How to pass parameter through URL to bounded task flow with page fragment

    I want to pass parameter to Bounded Task Flow With Page Fragment trough URL
    as I start this taks flow with router and according to this Param I will rout the user.
    I added input param to taks flow named direction and make the task flow called URL invoke url-invoke-allowed
      <input-parameter-definition id="__41">
          <name id="__42">direction</name>
          <value>#{pageFlowScope.direction}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>but I don't know how to add this to the JSPX that I will add the bounded task flow Inside.
    and How to pass this from URL

    Hi,
    url-invoke-allowed is only required if the task flow itself is directly accessible from a browser (which is not the case at all if the task flow uses page fragments). To pass input parameters to a task flow that is embedded in a region and that has input parameters, you define the input parameters on the taskFlow Id that is created in the PageDef file of the containing page. To learn ADF task flows, have a look at the videos below. They also contain a sample for passing parameters to a region
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p1/taskflow-overview-p1.html
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p2/taskflow-overview-p2.html
    Frank

  • Haven't been able to use pages for a while.  Keep getting following message.  Have tried reinstalling iWork, but no luck.  Same problems with Keynote and Numbers/Users/scottmcdonald/Desktop/Screen Shot 2012-03-14 at 9.39.52 PM.png

    Haven't been able to use pages for a while.  Keep getting following message.  Have tried reinstalling iWork, but no luck.  Same problems with Keynote and Numbers/

    Have you moved Pages from its installed location? Or just dragged a copy to your current system?
    It can't find some of its resources apparently.
    Peter

  • Problem with popup in a page fragment

    JDev 11.1.2.1
    I'm using the code described here to launch popup from a backing bean.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
    How-to launch a popup programmatically from Java
    Starting Oracle JDeveloper 11.1.1.3, instance of af:popup can be opened using a Java method on the RichPopup object. The RichPopup class is the bean implementation of the af:popup ADF Faces tag. To launch a popup from a managed bean, you first need to get a hold on to a rich popup instance, which you can do by searching it on the UIViewRoot or by referencing a JSF component binding – which you create using the "binding" property of the af:popup component tag. To open the popup you then call
    RichPopup.PopupHints ph = new RichPopup.PopupHints(); popup.show(ph);
    It works fine except when the popup is inside a page fragment.
    In IE 7 I get the javascript error message
    "this.getDomNode().parentNode' is null or not an object"
    I have also tried the following code; that works fine except when the popup is inside a page fragment.
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = popup.getClientId(context);
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service =
    Service.getRenderKitService(facesContext,
    ExtendedRenderKitService.class);
    service.addScript(facesContext,
    "AdfPage.PAGE.findComponent('" + popupId + "').show();");
    Any idea how to launch a popup in a page fragment?

    Since this is working for others I'm working on a test case to send to oracle.
    I'll try to give more information.
    Main.jspx
    has a region for Child.jsff using a bounded task flow.
    <af:region value="#{bindings.Child.regionModel}" id="r1"/>
    Child.jsff has a popup bound to backing bean and a button that calls java to open the popup.
    Child.jsff has its own set of bindings. It is not inherting parent bindings.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:resource type="javascript"/>
    <af:group id="g100">
    <af:popup childCreation="deferred" autoCancel="disabled" id="p1" binding="#{TestBacking.testPop}">
    </af:popup>
    <af:commandButton text="testPopup" id="cb1" actionListener="#{TestBacking.test}"/>
    TestBacking.java
    public void setTestPop(RichPopup testPop) {
    this.testPop = testPop;
    public RichPopup getTestPop() {
    return testPop;
         public void test(ActionEvent actionEvent) {
              RichPopup.PopupHints ph = new RichPopup.PopupHints();
              testPop.show(ph);
    Edited by: Phil on Nov 14, 2011 11:53 AM
    Edited by: Phil on Nov 14, 2011 11:58 AM

Maybe you are looking for

  • Lenovo IdeaPad Miix 2 (10") - Windows 8.1 Feature oder Lenovo-Tool?

    Hallo, nach Rücksprache mit dem Support habe ich Windows 8.1 Pro (32 Bit) installiert. Hierzu habe ich alle bestehenden Daten / Installationen gelöscht und Windows 8.1 vom USB-Stick neuinstalliert. Soweit hat auch alles super gepasst, wie mit dem Sup

  • Multibyte characters(Chinese Data)

    Hi, We have a table in oracle(10g) which stores Chinese data as well English characters. Production is designed in such a way that, we can' t increase size of the columns. Is there any way to handle multi-byte characters like Chinese with the same le

  • H97M-G42 stuck at boot with BIOS 7925v25 and 7924v26

    I am in a loophole with the MSI H97M-G43 Motherboard. I would not recommend this motherboard to anyone planning to play with ESXi Bios v21 v22 v23 v24 would not recognize quadport lan adapters such as Intel PRO/1000 VT or Intel PRO/1000 PT. In Bios t

  • Line 8060 of the INF file\i386\txtsetup.sif

    Hi ! I have problems throw the formating.. after partioning the disk...i want to formmat , but i can't do format iwith a sturtup disk...  when i write A:>/ format C: (i take) bad command in a dos line (or somthing like this it doesn't work) 2. throw

  • How do I play my downloaded rental movie on my ipad2?

    How do I play my downloaded rental movie on my ipad2 and where do I find it...help ?