Taskflow in a popup

I open a taskflow in a popup by specifying "run as dialog". The taskflow contains a .jspx page, which displays in the popup. On the .jspx, there is a LOV field and a button at the bottom. My questions are as follows:
1. When user clicks "search..." link of the LOV field, it opens a search window. But the search window is limited inside the original popup. If the original popup is small while the search window is big, it looks ugly. Is there anyway not to limit the search window inside the original popup?
2. This question is related to the first one. If I open second popup (the second popup is a regular popup coded as <af:popup> inside the .jspx page) from the original popup using "show Popup Behavior" operation, the second popup is also limited inside the original popup. Is there anyway not to limit the second popup inside the original popup?
3. No matter how I layout the button at the bottom of the popup, it always has space between the button and the bottom edge of the popup. I can not position the button the same location as the default button on a regular dialog popup. (The default button is at very bottom of the popup window). Is there a way to achieve it?
Any feedback is greatly appreciated.
My JDev is 11.1.1.6
Edited by: user508065 on Sep 20, 2012 11:10 AM

3. No matter how I layout the button at the bottom of the popup, it always has space between the button and the bottom edge of the popup. I can not position the button the same location as the default button on a regular dialog popup. (The default button is at very bottom of the popup window). Is there a way to achieve it? Try putting the custom button inside the button bar facet in af:dialog.
<af:popup id="p1">
<af:dialog id="d2" title="Sample Popup with custom buttons"
type="none">
*<f:facet name="buttonBar">*
*<af:commandButton text="Custom Submit" id="cb2"/>*
*</f:facet>*
</af:dialog>
</af:popup>
Thanks,
Navaneeth

Similar Messages

  • Error 500--Internal Server Error while opening a taskflow  in inline popup

    Hi,
    I am getting "Error 500--Internal Server Error" while opening a bounded taskflow as a popup from another bounded taskflow containing page fragments. The popup taskflow contains jspx pages. I even removed the jspx pages from the popup taskflow to check if the error is resulting from the bindings on the pages but still I get the same error. The entire stack trace of the error in the popup dialog is :
    Error 500--Internal Server Error
    oracle.adf.controller.ControllerException: ADFC-04008: The BindingContext on the session is null.
         at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
         at oracle.adfinternal.controller.util.model.AdfmUtil.getBindingContext(AdfmUtil.java:47)
         at oracle.adfinternal.controller.util.model.DCFrameImpl.makeCurrent(DCFrameImpl.java:125)
         at oracle.adfinternal.controller.state.ViewPortContextImpl.makeCurrent(ViewPortContextImpl.java:1006)
         at oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:159)
         at oracle.adfinternal.controller.state.ControllerState.setRequestState(ControllerState.java:900)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:355)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:105)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:112)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:59)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:258)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any help is greatly appreciated.
    Thanks,
    KK

    Hi Frank,
    Thanks for the reply. I am using it as an inline popup. I am trying to create command links dynamically in an iterator. When a link is clicked a popup window opens. The text of the link is passed to the popup window by creating a variable in the session scope ( I even tried request scope) by an action listener in the backing bean.
    I tried to create another simple application with a static command button which passes its text to popup window through a session scope variable. It worked fine. I am not sure why the same procedure is not working in my original application. Can you give me a hint what could possibly go wrong according the exception stack trace ?
    Thanks,
    KK

  • Declarative component stops working after taskflow-call-in-popup

    Hi!
    JDev 11.1.1.3.0
    I need a component, much like the commandToolbarButton, but I have the requirement that the user should still be able to select from the popup even if the button is disabled.
    So I created a declarative component, combining two buttons and a popup with a menu in a panelGroupLayout. The one button, the mainButton, actually executes the action, the other (with an icon only) opens a menu in a popup.
    The user selects an item from the popup, the component then PPRs the main button in code to display the user's choice in the main buttons text.
        <af:panelGroupLayout layout="horizontal" id="${component.id}_layout">
          <af:commandToolbarButton id="mainButton" text="#{component.mainButtonText}"
                                   clientComponent="true" disabled="#{!component.enabled}"
                                   partialSubmit="true"
                                   actionListener="#{component.mainButtonPressed}"/>
          <af:commandToolbarButton id="menuButton" icon="/images/arrowDownComboBox.png"
                                   partialSubmit="true" disabled="#{!component.enabled}">
            <af:showPopupBehavior alignId="mainButton" align="afterStart" popupId="commandPopup"/>
          </af:commandToolbarButton>
          <af:facetRef facetName="extensionButton"/>
          <af:popup id="commandPopup" contentDelivery="lazyUncached" childCreation="immediate"
                    clientComponent="true">
            <af:menu id="commandMenu" clientComponent="true" binding="#{component.commandMenu}"/>
          </af:popup>
        </af:panelGroupLayout>That works fine ... until the user opens a taskflow in a popup.
    I have a bounded taskflow, jspx-based, opened by a button with an action that navigates to a taskflow-call activity in a modal dialog. The user opens the taskflow, does what needs to be done, then closes the dialog.
    Still fine.
    But, after the dialog has closed, when the user selects an item from the popup menu of my declarative component, I suddenly get an NPE:
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <<RegistrationConfigurator><handleError> Server Exception during PPR, #1
    java.lang.NullPointerException: UIComponent is null
         at org.apache.myfaces.trinidad.component.UIXComponent.addPartialTarget(UIXComponent.java:498)
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.addPartialTarget(RequestContextImpl.java:513)
         at com.ge.med.web.components.button.CommandComboButton.refreshMainButton(CommandComboButton.java:213)
         at com.ge.med.web.components.button.CommandComboButton.setSelectedCommand(CommandComboButton.java:177)
         at com.ge.med.web.components.button.CommandComboButton.commandItemPressed(CommandComboButton.java:243)
         at com.ge.med.web.components.button.CommandComboButton.processAction(CommandComboButton.java:129)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)To track the problem down, I have pointed the binding attribute of the declarative component to a property in a session-scoped bean, to see what the component looks like that is set, what the children and grand children are, and who the parent is.
    This prints:
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Setter called: DemoComboButtonComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@1762a87, id=demoAdd]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Parent: RichPanelGroupLayout[UIXFacesBeanImpl, id=cbll1]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Children: [RichPanelGroupLayout[UIXFacesBeanImpl, id=demoAdd_layout]]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Grand kids: [RichCommandToolbarButton[UIXFacesBeanImpl, id=mainButton], RichCommandToolbarButton[UIXFacesBeanImpl, id=menuButton], RichPopup[UIXFacesBeanImpl, id=commandPopup]]> That's fine. But when I add the same debug code to my setSelectedCommand() method (which is called when the user selects an item from the popup's menu), I get:
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <I am: DemoComboButtonComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@ba2b1c, id=demoAdd]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <My Parent: null>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <My Children: []> The empty children property explains the NPE. This NPE only happens when the user selects an item from the popup after the dialog has closed.
    Debugging showed that the new DemoComboButtonComponent is created during the restoration of (tree) state after the closing of the modal dialog. But why has it no parent? And where are the kids?
    Could the binding of the declaratice component to a session-scoped bean be the problem? Somehow prevent the state mechanism from re-building the UI component tree correctly?
    I am at the end of my wits.
    Any help is appreciated!
    Sascha

    Hi Frank,
    no, not yet. I had the feeling that it's me who is doing something wrong. Declarative components are pretty common, right? So are taskflow calls in dialogs. Someone should have noticed if there's a bug in the framework, right?!
    But I changed the scope of the bean (to backing scope and request scope) that the declarative component is bound to and I still get the error.
    I will try to create a simpler test case, and if I can reproduce with that, then I will file a bug, if there's no one that can explain the phenomenon.
    Sascha

  • Refresh of a bound taskflow in a popup results in an error.

    I have a bounded taskflow in a popup which needs to be refreshed every time the parameter templateName is updated.
    &lt;taskFlow id="list_wkbk_workflow1" taskFlowId="/WEB-INF/list_wkbk_workflow.xml#list_wkbk_workflow" Refresh="ifNeeded"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"&gt;
    &lt;parameters&gt;
    &lt;parameter id="templateName" value="#{ListWbkController.templateName}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/&gt;
    &lt;/parameters&gt;
    &lt;/taskFlow&gt;
    I get this error each time the region is refreshed.
    java.lang.IllegalStateException: Unable to queue marking of region as dirty because of a problem (see included cause).null
    at oracle.adf.view.rich.model.RegionModel._markComponentAsPartialTarget(RegionModel.java:320)
    at oracle.adf.view.rich.model.RegionModel.markRegionDirty(RegionModel.java:221)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.dirtyRegion(TaskFlowRegionModel.java:436)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:91)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2913)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2651)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:218)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)...
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.view.rich.model.RegionModel._markComponentAsPartialTarget(RegionModel.java:313)
    ... 47 more
    Caused by: java.lang.IllegalArgumentException: ADF_FACES-60041:Phase RENDER_RESPONSE 6 has already started or passed; at least at phase RENDER_RESPONSE 6.
    at oracle.adfinternal.view.faces.context.RichPhaseListener._queueTaskForPhase(RichPhaseListener.java:175)
    at oracle.adfinternal.view.faces.context.RichPhaseListener.queueTaskForBeforePhase(RichPhaseListener.java:144)
    ... 52 more
    I did not see this error with an earlier version, I see it with the Build JDEVADF_MAIN_GENERIC_081202.1750.*5232* build. Any help is appreciated.
    Thanks,
    Suneetha

    Hi,
    The D810 requires Camera Raw 8.6 or later - the latest version that is compatible with Photoshop Elements 12 is Camera Raw 8.5 as far as I can see.
    You need to either buy a new version of Photoshop Elements or use the free Adobe DNG converter.
    DNG  Converter 8.8
    Win – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5888
    Mac – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5887
    Useful Tutorial
    http://www.youtube.com/watch?v=0bqGovpuihw
    Brian

  • Taskflow as inline popup causes issues while returning..

    Hi,
    I am using 11gr1p1. I have an ADF application where I have a bounded taskflow I call as inline popup. And in the popup I return from the taskflow ..
    Everything works fine when I launch my app within JDeveloper or when I launch it directly.
    It fails when I call the ADF application from a different web page by opening it in a new window. In this case when I click the button in the inline popup to return from the taskflow I got an error in the IE's log as below..
    Line :1
    Char:86
    Error : Access is denied.
    Any help will be great, we spent quite a time to make this work ...
    Test page to launch the ADF app
    <html>
    <head>
    </head>
    <body>
    <div >
    <p ><a href="http://msoyerxp:7101/PopupTest-ViewController-context-root/faces/adf.task-flow?adf.tfId=tf-main&amp;adf.tfDoc=/WEB-INF/tf-main.xml" target="_blank" > Test </a></p>
    </div>
    </body>
    </html>Main taskflow
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="tf-main">
        <default-activity id="__1">MainPage</default-activity>
        <view id="MainPage">
          <page>/MainPage.jspx</page>
          <redirect/>
        </view>
        <task-flow-call id="tf-popup">
          <task-flow-reference>
            <document>/WEB-INF/tf-popup.xml</document>
            <id>tf-popup</id>
          </task-flow-reference>
          <run-as-dialog>
            <display-type id="__7">
              <inline-popup/>
            </display-type>
          </run-as-dialog>
        </task-flow-call>
        <control-flow-rule id="__2">
          <from-activity-id id="__3">MainPage</from-activity-id>
          <control-flow-case id="__5">
            <from-outcome id="__6">Popup</from-outcome>
            <to-activity-id id="__4">tf-popup</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <visibility id="__8"/>
      </task-flow-definition>
    </adfc-config>Task flow that I call as inline popup
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="tf-popup">
        <default-activity id="__1">PopUpPage</default-activity>
        <view id="PopUpPage">
          <page>/PopUpPage.jspx</page>
          <redirect/>
        </view>
        <task-flow-return id="taskFlowReturn1">
          <outcome id="__17">
            <name>taskFlowReturn1</name>
          </outcome>
        </task-flow-return>
        <control-flow-rule id="__20">
          <from-activity-id id="__21">PopUpPage</from-activity-id>
          <control-flow-case id="__22">
            <from-outcome id="__24">Return</from-outcome>
            <to-activity-id id="__23">taskFlowReturn1</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <visibility id="__8"/>
      </task-flow-definition>
    </adfc-config>Main Page
    <f:view>
        <af:document id="d1">
          <af:form id="f1" targetFrame="_self">
            <af:panelSplitter orientation="vertical" splitterPosition="50" id="ps1">
              <f:facet name="first">
                <af:panelFormLayout id="pfl1">
                  <f:facet name="footer"/>
                  <af:commandButton text="Open Popup" id="cb1" action="Popup" useWindow="true"
                                    windowEmbedStyle="inlineDocument" windowHeight="300"
                                    windowWidth="400"/>
                </af:panelFormLayout>
              </f:facet>
              <f:facet name="second">
                <!-- id="af_one_column_header_stretched_with_splitter"   -->
              </f:facet>
            </af:panelSplitter>
          </af:form>
        </af:document>
      </f:view>Popup Page
    <f:view>
        <af:document id="d1">
          <af:form id="f1">
              <af:panelSplitter orientation="vertical" splitterPosition="50" id="ps1">
                <f:facet name="first">
                  <af:commandButton text="Return1" id="cb1" action="Return" partialSubmit="true"/>
                </f:facet>
                <f:facet name="second"/>
              </af:panelSplitter>
          </af:form>
        </af:document>
      </f:view>

    That is the problem actually. When I run the link directly it works fine. But I need to launch the ADF application from a non-ADF app which is not hosted on WLS.
    The scenario above was just to simplify the problem...
    Is there any security settings etc that may cause this ?
    Thanks

  • Loading TaskFlow in a Popup.

    Hi,
    I am using Jdeveloper version 11.1.1.3.0.
    I want to Load the TaskFlow in the a popup.
    TaskFlow2 --> Contains
    Managed Bean Method (Default activity)-- (SUCCESS) --> App ModuleImpl Method (Parameter -- sending string value in request scope)
    ----------- (BUILDSUCCESS) ---> View.Jsff
    Iam having the BasePage.Jspx.
    It contains TSF1, which contain only one page fragments file (BasePage.jsff)
    In that Jsff iam having One Popup whihc contains ViewPage.Jspx that incldued TSF2.
    My problem here is , Managed Bean Method get fires but it does not route to ApplModule Method.
    May i know what is mistake i have done here.
    can anyone help on this issue?
    reg,
    vini.
    Edited by: Vini on Mar 24, 2011 2:21 AM

    Check the value for <outcome> in your the method call activity. More details here - http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_activities.htm#BACFBDAE

  • How to call one popup of taskflow overlaps another popup of taskflow in separate dialogs.

    Hi everyone,
    I have 3 taskflows named taskflow1, taskflow2, taskflow3. In taskflow1, I have a button (title: "call taskflow2")  to call taskflow2 as dialog. When taskflow2 is shown as dialog, in taskflow2, I also have another button (title: "call taskflow3") to call taskflow3 as dialog. When I do in this way, I have a trouble is the taskflow3 is displayed in the frame of taskflow2. I don't want that. I want taskflow3 dialog to be displayed in the separate with taskflow2 dialog.
    Do you have any ideas about my trouble and could you please help me to solve my problem.
    Thank you very much!

    Dear Timo,
    As your idea:
    TimoHahn wrote:
    For me this sounds like it's designed. A dialog is shown in the frame of it's parent. That is what the dialog is for. The natural thing to do is to call the third taskflow from the first , this way they are in parallel.
    A dialog can be set to be modal, in which case you can't do anything outside the dialog until you close it, or nonmodal in which case you can lter the dialog but are still allowed to change the surrounding frame. In this case you have to be careful that the data you see and change in the dialog does not overwrite anything you changes in the underlying frame.
    Timo
    I tried to follow your idea to open the third taskflow from the first. But I don't know any way to do that. If you used to do this, could you please help me? I spent much time to find a way to open multiple dialogs in separate inline windows, but not successful. I appreciate you so much for your help.
    Thank you so much.

  • Opening taskflow in a popup programatically

    My requirement is to open a new task flow from one task flow.
    I can do it with taskflowcall activity. I can also do in place replacement of source task flow with new task flow or can open new task flow in new dialog/window using run-as-dialog element in task flow definition.
    Using the same source task flow definition how can I do in-place replacement or open task flow iin new dialog, based on some condition.
    Scenario can be like this -
    User selects either to open new task flow in place of current task flow or to open in new dialog. Using this selection how can I open task flow as per users requirement.
    Can I add/remove run-as-dialog element in task flow definitions using some APIs?

    Hi,
    User selects either to open new task flow in place of current task flow or to open in new dialog. Using this selection how can I open task flow as per users requirement.
    Can I add/remove run-as-dialog element in task flow definitions using some APIs?
    Create two task flows call activities, one that opens as a dialog, the other one opening in place. Have both task flow activities pointing to a managed bean to get their task flow document to show (unless the task flow shown never changes, in which case it can be hard coded). Then use a router that, dependent of the user choice) launches one or the other
    Frank

  • Taskflow context not maintained with ADF popups

    JDev build: JDEVADF_11.1.1.4.0_GENERIC_101212.1926.5912
    A coworker also reproduced this using JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    This is a simple WebCenter custom app created using JDev. I'm seeing exceptions when canceling a popup that contains a taskflow (the DocViewer taskflow). The popup was launched from another taskflow called Content Presenter. Upon canceling the popup (i.e., clicking the 'x' in the upper right corner), I see this error message in a javascript alert:
    "Target Unreachable, 'presenterNavigationBean' returned null
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1"
    In the server console, I see these exceptions (abbreviated to keep this post a bit smaller, but I can provide the entire stack trace if necessary):
    java.lang.IllegalStateException: The expression "#{bindings.rbxzy5vg6jr1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "oc_4478173184region1") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.rbxzy5vg6jr1}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "portal_cpPageDef". Now using an empty RegionModel instead.
         at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:692)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:632)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:300)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    javax.el.PropertyNotFoundException: Target Unreachable, 'presenterNavigationBean' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.setValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.setValue(Unknown Source)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:656)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeBindings(LifecycleImpl.java:727)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.access$000(LifecycleImpl.java:71)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$1.call(LifecycleImpl.java:697)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$1.call(LifecycleImpl.java:693)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
    (basically the same thing as above repeats a few times) presenterNavigationBean is the bean for the Content Presenter taskflow which launched the popup.
    The steps I'm taking to see this problem are:
    1. Launch JDev and create a WebCenter app, accepting all defaults. This requires the WebCenter extension, i.e., oracle.webcenter.framework_bundle.zip
    2. Create a content repository connection to an Oracle Content Repository
    3. Create a jspx in Web Content/oracle/webcenter/portalapp/pages using the global page template (select that checkbox). I typically call it cp.jspx, thus the references to "portal_cpPageDef" in the exceptions above.
    4. Open the jspx in source view, place the cursor after the pageTemplate tag, and add a "page customizable" component from the Oracle Composer group in the Component Palette. Save the page.
    5. Open Web Content/oracle/webcenter/portalapp/pagehierarchy/pages.xml and drag your jspx to the root of the hierarchy. Save all pages.
    6. Run the Web Content/index.html page.
    7. Login using weblogic/weblogic1
    8. Click on the page you created in the toolbar
    9. Click "shift + ctrl + E" to put the page in edit mode.
    10. click the "Add Content" button (it launches a popup)
    11. In the popup, click on "Content Management"
    12. Click on "Add" next to the Content Presenter taskflow and close the popup
    13. Now select an HTML document from the content repository by using the Content Presenter wizard (click on the first wrench icon in the chrome). If you don't have one, you'll have to add it to the repository.
    14. In the Content Presenter wizard, select the "Preview" page
    15. click the "Open in Document Viewer" button. This launches the DocViewer taskflow in an ADF popup.
    16. Click the cancel button in the upper right corner.
    17. This is when the javascript alert will show the errors mentioned above. The server console in JDev will show the stack traces.
    Please let me know if this is a configuration issue on my end or a bug within ADF. I'll monitor this thread closely today to provide any information that could be helpful asap. Thank you.

    It's the bean that the Content Presenter taskflow uses. All I did was create a page using the global page template and added the Page Customizable component to it, then customized the page to have an instance of the Content Presenter taskflow. I can use Content Presenter normally until I attempt to edit an HTML doc (which launches the DocViewer taskflow in an ADF popup). At that point I start seeing binding errors, like the taskflow context is lost.

  • ScrollBar Behaviour of ADF Taskflows rendered as Inline Popup

    Hi All,
    I am using Jdeveloper 11.1.1.5.
    I have created a bounded Taskflow and then i have used two other taskflow in my current taskflow as Inline Popup.Functionality wise everything works fine but if my given taskflow size i.e the window width and height parameters are small then the page content then automatically the Scroll bar comes into the Taskflow at runtime.
    It is good to have a scroll bar automatically but it doesn't work in a correct manner. When my page render , the scroll bar is situated at the edges of the taskflow .Now if i go down , automatically scroll happens and comes to the default position.
    This makes users bit in a hazy situation. I don't want the scrollbar in the ADF Taskflow which rendered as Inline Popup.I want the scrollBar inside thr page which can help users to do scroll in a proper way.
    Is there any way to achieve this ?
    Regards,
    Shah

    Hi All,
    Any suggestions please on this.
    Regards,
    Shah

  • Opening TaskFlow as Popup

    Hi All,
    For Opening the task flow as popup. I have created 2 taksflows wiith one as .jsff and another one as .jspx.but for opening as a dialog it is accepting only .jspx but as per my requirment i need .jsff that is in bounded Task flow with page fragment.....Jdeveloper is not allowing me to create.kindly suggest why it is protesting and how can it be acheived.
    I am using Jdev 11.1.2.0
    plz kindly suggest a sol.
    I have seen this thread but no replys.....It may be usful for both the threads
    TaskFlow Region as a Pop Up inside another TaskFlow Region
    Regrads
    Peter

    Hi Frank,
    I am looking for a solution to develop a popup as a template or component in ADF since our app uses lots of popups. I try to build own buttons, like SAVE, APPLY, and CANCEL buttons.
    I have listened to many of your video and code corners. The following video shows the java controlled popup. It invokes a page fragment in the popup. The questionis : can this method used to popup a taskflow ?
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/AdfFacesDialogOkCancelHandling/AdfFacesDialogOkCancelHandling.html
    I have two task flows, popup-parent-taskflow.xml and popup-taskflow.xml.
    The managed bean in popup-parent-taskflow.xml binds to the popup and table. The managedBean is in the Request scope
    The managed bean defined in the popup-taskflow.xml can't access to the popup and table. How is the table get refreshed ?
    "There is a pattern that explains how to do similar with Page Fragments, but honestly this is quite a lot of coding and doesn't allow your task flow to decoratively return values."
    Could you explain this statement ? Is this example you talked about ?
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/39-taskflow-in-popup-169181.pdf
    I would appreciate if you could suggest a best way to do popup for my case and provide the example for it.
    Thank you !
    David

  • Popup ReturnListener, get taskflow return activity

    Hi OTN,
    On my ADF JSF page there is a button, calling a bounded taskflow in a popup.
    In button's popup ReturnListener I need to know which return activity ended the taskflow.
    How can I retrieve this information?
    I expected the ReturnEvent object to hold this information, seems but it doesn't.
        public void createInfPopupReturnListener(ReturnEvent e) {
            System.out.println("e = " + e);       
            System.out.println("e.getReturnValue() = " + e.getReturnValue());
            System.out.println("e.getReturnParameters() = " + e.getReturnParameters());
            if(e.getReturnParameters() != null) {
                System.out.println("e.getReturnParameters().size() = " + e.getReturnParameters().size());
    e = org.apache.myfaces.trinidad.event.ReturnEvent[component=RichCommandToolbarButton[UIXFacesBeanImpl, id=ctb1], returnValue=null]
    e.getReturnValue() = null
    e.getReturnParameters() = {}
    e.getReturnParameters().size() = 0JDeveloper 11.1.1.3
    Thanks.

    Hi Frank,
    I have defined a taskflow return value as a pageFlowScoped bean variable.
    <return-value-definition id="__98">
          <name id="__97">returnValue1</name>
          <value>#{pageFlowScope.CreateInfPageFlowBean.returnValue}</value>
          <class>java.lang.String</class>
        </return-value-definition>With a following taskflow bean code:
        private String returnValue;
        public void setOkReturnValue() {
            returnValue = "ok";
        public void setCancelReturnValue() {
            returnValue = "cancel";
        public String getReturnValue() {
            return this.returnValue;
        }And placed setOk and setCancel method-call activities before two task-flow-return activities.
    Is that the right way?

  • ADFC-0619: Authorization check failed implementing popup through taskflow

    Hi All,
    I receive the error ADFC-0619: Authorization check failed: '/WEB-INF/main-task-flow-template.xml#main-task-flow-template' 'VIEW'. when accessing the taskflow that will show as a popup as described in this blog: http://andrejusb.blogspot.com/2013/03/reusable-adf-region-with-dialog.html. I created a sample application and I have it working as expected.  The sample app has no security configured.  When I put the functionality into our main app the error occurs.  I have checked the jazn-data.xml and have granted a role to both the task flow and the web page.
    Our app is setup where I have a task flow template that most taskflows inherit from.  The calling page is inherited from the template which uses page fragments.  The taskflow for the popup is not inherited from the template and does not use page fragments.
    I am using 11.1.1.6.  The error happens when deploying to the Integrated server as well as a local WLS.  I read a few forum posts on this subject and some folks removed the anonymous role.  I have this role defined but is is only used for my login page so I don't want to remove it from there.
    Appreciate the help as this is blocking me from working on the functionality within the popup.
    Thank you - Rudy

    Resolved.  Our Application is setup as described by Jobinesh in the book "Oracle ADF Real World Developer's Guide".  In this case we have a separate application called "Common", within that we have projects for the ADFFrameWorkExtension, CommonModel, CommonUtilities and CommonUI.  The CommonUI project contains the main-task-flow-template and errorPage.jsff as well as the MainTemplate.jspx.  Each of these projects are deployed as a jar and imported into the main project.
    In the jazn-data.xml under Resource Grants, Resource Type = Task Flow, check the option to "Show task flows imported from ADF libraries".  This showed the main-task-flow-template which I granted the anonymous-role view action.
    When I run it now shows the popup.

  • Hide close icon from taskflow inline popups / process window closure

    Hi OTN,
    I would like to know of there is an opportunity to hide "X" close icon from popup window when I run a taskflow in a popup as an inlineDocument?
    Or what is a preferred way to process user window closure to rollback changes?
    In my current application a user always has Cancel button which sets taskflow return parameter as "Cancel" which is then read by dialog return listener.
    The listener would call Rollback if there is "Cancel" returned.
    But "X" close doesn't set any parameter.
    Maybe I sould set "Cancel" as a default return parameter value? Or the right way is to use finalizer?
    Please, advice me.
    Thanks.
    ADF Fusion Web Application
    JDev 11.1.1.3

    You have to define and apply a custom skin. It is easy, read the documentation here:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/af_skin.htm#BAJFEFCJ
    You can get detailed description of all the supported skin selectors here:
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15862/toc.htm#ComponentLevelSelectors
    Note, that <tt>af|dialog::close-icon-style {display:none;}</tt> will affect all the popup dialogs, but not only the taskflow popup windows. If you need to apply it only to taskflow popup windows, then use <tt>af|panelWindow::close-icon-style{ display:none; }</tt>. Have a look at Frank's blog post http://blogs.oracle.com/jdevotnharvest/2010/12/how-to_hide_the_close_icon_for_task_flows_opened_in_dialogs.html.
    Dimitar

  • TaskFlow, popup and create form

    Hi,
    I have a form used to add an employee : In this form, i have a lov to choose the department of this employee. If a department is missing in the list, i can add a new one using a link "add a new department".
    This link open a popup . In this popup i have a taskFlow bounded : this task flow contain a create form and buttons "ok", "cancel".
    I've use this exemple as root of my test :
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#140
    The problem :
    When i valide or cancel my popup form, a message "Empno in Emp is required" appear : this field is in the employee form...
    How can i do to avoid this error?

    Hi,
    i've find a usecase where it works : A simple JSPX with a taskFlow in a popup.
    My previous usecase where : a taskFlow containing a JSPX with a taskFlow in a popup.
    Why is it working in a case, and not in the other? no idea... the task flow in the popup is the same, the form in the JSPX is similar.
    Now, i've a new problem...
    I only can call the popup containing the task flow one time! The second time, the popup is empty! (The only stuff that appear is the panel window and its close button... with nothing inside!) I call "second time", when i validate or cancel the task flow in the popup.
    If it can help, this is the code of the taskFlow :
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="create-department-frag">
    <default-activity>CreateInsertDept</default-activity>
    <transaction>
    <new-transaction/>
    </transaction>
    <data-control-scope>
    <isolated/>
    </data-control-scope>
    <method-call id="CreateInsertDept">
    <method>#{bindings.CreateInsert.execute}</method>
    <outcome>
    <fixed-outcome>CreateInsert</fixed-outcome>
    </outcome>
    </method-call>
    <view id="addDpt">
    <page>/addDpt.jsff</page>
    </view>
    <task-flow-return id="save">
    <outcome>
    <name>Save</name>
    <commit/>
    </outcome>
    </task-flow-return>
    <task-flow-return id="cancel">
    <outcome>
    <name>Cancel</name>
    <rollback/>
    </outcome>
    </task-flow-return>
    <control-flow-rule>
    <from-activity-id>CreateInsertDept</from-activity-id>
    <control-flow-case>
    <from-outcome>CreateInsert</from-outcome>
    <to-activity-id>addDpt</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule>
    <from-activity-id>addDpt</from-activity-id>
    <control-flow-case>
    <from-outcome>save</from-outcome>
    <to-activity-id>save</to-activity-id>
    </control-flow-case>
    <control-flow-case>
    <from-outcome>cancel</from-outcome>
    <to-activity-id>cancel</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <use-page-fragments/>
    </task-flow-definition>
    </adfc-config>
    I can't understand what happen...
    Sometimes this exception is present in the console :
    Exception in thread "Timer-X" java.lang.NoClassDefFoundError: oracle/jbo/pool/ResourcePoolMonitor$PrivilegedActionAdapter
         at oracle.jbo.pool.ResourcePoolMonitor.setLoader(ResourcePoolMonitor.java:133)
         at oracle.jbo.pool.ResourcePoolMonitor.resetThreadContext(ResourcePoolMonitor.java:126)
         at oracle.jbo.pool.ResourcePoolMonitor.run(ResourcePoolMonitor.java:113)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)

Maybe you are looking for

  • Backing up macbook with time machine for first time

    I tried backing up my macbook for the first time, using time machine, to a new portable external hard drive formatted for p.c. The screen said do you want to erase the disc and i did. It said nothing about formatting for mac, but began to appear to b

  • Using a dropdown to set a radio button

    I've been searching and searching in vain, trying many different things can I cannot seem to find an answer already or stumble on similar code to help. I've got a dropdown, then when you select different values set different fields on the form. That

  • Text isn't anti-aliased in packaged file

    My text is anti-aliased in my AW piece, but not in my published .exe file. Anyone know why?

  • Overlaying 2 fields to display different values on a button click

    hi, I have designer 7 in my local machine and I have overlaid 2 fields - one as visible and one as invisible - containing value and Percentage information. When the user clicks on a button I show percentages or values like a toggle. It seems to work

  • Java with xml please help me :(

    Hi, I need to design a Jva GUI interface where when an action is triggered the event will first look at some pattern(rules) defined in a XML file before been fired. I have no idea of how the communication is going to be established . I have never use