Task Flow Run as Dialog problem - Jdev 11.1.2.4.

We're using Jdeveloper and ADF 11.1.2.4 and have problems running task flow as dialogs(inline popup) but just on Internet Explorer(ver 8,9,10). First time when we call task flow it opens popup but dispaly error Page not found. But task flow is regulary displayed at second call, and evry other call(click on a button). And on all other browsers (Chrome, FireFox) is working normally, aswell as on 11.1.2.1 version.
I assume that problem is that for the first time BTF is not activated, but have no idea how to solve it.
I have found at Known Issues for 11.1.2.4 version that:
Popup components with the childCreation attribute set to "deferred" often render blank with the first invocation. This issue arises if you use the popup component with a region and use the setPropertyListener tag to establish the activation of the region. The setPropertyListener tag with a popupFetch type will not be invoked for the initial fetch establishing the initial content delivery. This is because the markup that defines the setPropertyListener tag is defined within the popup's body. With the option to defer creating the children, the body is not processed until the first fetch for content. The popup fetch event listener (setPropertyListener) is processed in the Apply Request Values phase prior to when it is created in the Render Response phase. The workaround is to use the "popupFetchListener" method expression (PopupFetchEvent server-side event) to establish state that would have been established using the setPropertyListener.
But still have no idea how it is connected to Run As Dialog feature of Task Flows.
Please, help us to solve this beacuse our users mostly use IE.
Thank you,
Patrik

No, there is no workaround for this.  You can open a SR and let Oracle work on this. We can't do anything about it.
Why can't you install jdk 1.6?
You can have more then one jdk installed on your pc.
You can use in jdk which comes with the installation package,
Timo

Similar Messages

  • ADF11 - Task-Flow Run as Dialog Window Size

    Hello
    I've an unbounded task flow that calls a bounded task flow.
    The task flow call is marked run-as-dialog
    The button in the unbounded task flow that calls the bounded task flow has useWindow=True
    When running the application and clicking the button the task-flow is executed in a modal browser window,
    however the size of the modal browser window is way too small for the window contents.
    Is there a way to control the size of the browser window opened when running a task-flow as a dialog.
    Regards
    Paul

    Hi Frank
    Do you know of a good optician, I think I need some glasses :-)
    The hight and width proprieties of the command button did the trick.
    Kind Regards
    Paul

  • SavePointException occurring when closing task flow ran as dialog

    Hi,
    JDeveloper: 11.1.1.5
    Whenever I close a task flow that is run as a dialog, either using the 'X' button at the top, or by executing a return activity, I am getting the following exception. Before when I attempted to close the dialog, I would get a warning about unsaved changes, but I wouldn't get any exceptions. Any idea what is going on?
    <ControllerState> <deliverWindowCloseEvent> ADFc: Exception thrown by window close listener.
    oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08011: The JNDI connection name is not specified in configuration file adf-config.xml.
         at oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:54)
         at oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:38)
         at oracle.adfinternal.controller.savepoint.SavePointDBConnectionFactory.getConnection(SavePointDBConnectionFactory.java:104)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.getConnection(SavePointDBPersistManager.java:188)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.createAndExecuteStatement(SavePointDBPersistManager.java:709)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.createTable(SavePointDBPersistManager.java:173)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:205)
         at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:126)
         at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:263)
         at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:228)
         at oracle.adfinternal.controller.savepoint.SavePointCreateListener.windowClosed(SavePointCreateListener.java:53)
         at oracle.adfinternal.controller.state.ControllerState.deliverWindowCloseEvent(ControllerState.java:1920)
         at oracle.adfinternal.controller.state.ControllerState.windowClosed(ControllerState.java:1931)
         at oracle.adfinternal.controller.application.WindowIdProviderImpl.windowClosed(WindowIdProviderImpl.java:221)
         at oracle.adfinternal.view.faces.context.RichPhaseListener._handleWindowClosed(RichPhaseListener.java:579)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:288)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:399)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         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:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         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.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: 912202 on Sep 20, 2012 12:44 AM

    Hi Frank
    Do you know of a good optician, I think I need some glasses :-)
    The hight and width proprieties of the command button did the trick.
    Kind Regards
    Paul

  • Call task flow action from dialog

    I want to call an action from task flow when i press OK on my dialog
    it was work when i was calling it after i press on button,

    if i drag task flow in page and add button in this page I can select one of the actions in task flow in the property inspector panel, ACTION filed of this button
    so when i click on this button the browser will to to the destination of the action
    how can i do that if i have dialog instead of button
    and sorry for my bad english

  • BUG: iPad displays 1cm border around content in task flow popup window

    I have tried this out on JDeveloper 11.1.1.6.0, 11.1.2.1.0 and 11.1.2.2.0 and each one seems to have the same problem. When displaying a taskflow in-line popup windows on an iPad (iOS 4.3.5 and iOS 5.1) a ~1cm border is displayed on the left, bottom and top of the window's content, with some of the content (also about 1cm) on the right being cut-off.
    I have also tried my app out on a Android Samsung Galaxy Tab (built-in browser), Android Samsung S1 (built-in) and on my Windows 7 PC in Safari and Firefox. None of these devices/browsers have this problem.
    To replicate this problem the following steps can be followed.
    1) Create a normal fusion web application.
    2) Add a wild card control flow rule to the default unbounded task flow.
    3) Add a new bounded task flow to the unbounded task flow.
    4) Set the bounded task flow 'Run as Dialog' to 'true' and 'Display type' to 'inline popup'.
    5) Link the wild card control flow to the bounded task flow.
    6) Add a single jsf page to the bounded task flow.
    7) Add a panel box to the jsf page (or any other content for that matter)
    8) Create a test page and add a button to it. Set up the button's action properties such that it opens the bounded task flow as a window ('UseWindow' - 'true'; 'WindowEmbedStyle' - 'window'; 'WindowModalityType' - 'modeless' and set width and height).
    Are any workarounds for this? Is there currently a available patch to fix this problem?

    Hi,
    Are any workarounds for this? Is there currently a available patch to fix this problem?
    if nobody dares reproducing this and filing it as a bug then a fix can take a while. I'll put it on a list of my follow ups, but this is not a high priority list. So if you can I appreciate if you can file the bug and provide a testcase. Note that 11.1.2 (11g R2) is not yet optimized for tablet PCs. So JDeveloper 11g R1 (11.1.1.6) is the build that should be used as a reference for filing the bug
    Frank

  • Bounded Task Flow as Dialog - 404 Not Found

    I am attempting to call a bounded task flow as an inline dialog from a view activity in my unbounded task flow. When the bounded task flow is invoked, I am presented with a dialog which contains a "404 Not Found" error. I thought that I had this right based on what I read in the developers guide:
    1. In my unbounded task flow, create a task-flow-call activity
    a. Set the "Run As Dialog" behavior to "true"
    b. Set the "Display type" to "inline-popup"
    2. Add a named control flow which associates a view activity to the task-flow-call activity.
    3. In the related view activity page, add a command control with the "action" set to the name of the control flow, and "useWindow" set to "true".
    4. In my bounded task flow, add a view activity which points to the JSF document (jsfx) that I want to display in the dialog.
    5. I add a task flow return activity to my bounded task flow, and a control flow that associates the view activity with the return activity.
    6. In my page fragment, I add a cancel button which invokes the control flow from the view activity to the return activity.
    Run
    When I click on the command button which invokes the bounded task flow as an inline pop-up, and I see an inline pop-up which contains the 404 page not found error.
    I must be missing something fundamental here. I've scanned all the doc and the forum, but I don't see it. Will someone please point it out to me?
    Cheers
    Edited by: gratuitious on Mar 24, 2011 5:03 PM
    Edited by: gratuitious on Mar 24, 2011 5:07 PM

    I appreciate the response, but I am actually building an ADF application that I am running in the JDeveloper embedded WebLogic Server. These instructions are for deploying a task form composite app to a standalone WLS.
    I'm just trying to run a bounded task flow in a dialog as described here: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/taskflows_dialogs.htm#BABBAFJB
    However, I get the 404 Not Found error when I invoke the bounded task flow from a command control. The dialog appears, but the default page of my bounded task flow is not in it.
    Seems like this has to be a simple problem to fix. Anyone?
    Thanks

  • Problem reentering task flow in dynamic region

    Hi All,
    I have problem with reentering task flow in dynamic region.
    JDeveloper/ADF 11.1.2.3.0
    Use Case:
    Application contains bussines modules(implemented as bounded task flows) displayed in dynamic region.
    In some modules, default activity is Method Call activity which performs some validations(input parameters, state of records in db, etc.)
    and if some conditions are not satisfied, shows message to the user and exits module (navigates to Task Flow Return activity).
    Problem:
    If user tries to start the same module again, nothing happens(message is not shown).
    If user choose some other module and after that start first module, message is shown(so I suppose this means that task flow was correctly exited first time but dynamic region state was not refreshed).
    Current implementation info:
    Dynamic region has attached regionNavigationListener which resets taskFlowId variable in dynamic region bean if regionNavigationEvent.getNewViewId() == null but this listener is not called if Method Call activity directly navigates to Task Flow Return activity.
    (if user navigates to Task Flow Return activity from button on some page, this works as expected)
    Also, I tried to reset taskFlowId variable from task flow finalizer and to programatically refresh region binding, but this still doesn't work.
    So, am I missing some point about refreshing dynamic region or this is bug in ADF?
    Thanks,
    Dario

    I don't have any popup.
    There is only page which contains dynamic region.
    This dynamic region can be empty or can contain one of business modules(bounded task flows) which are invoked from menu.
    In some cases business module must exit(by invoking task flow return activity) immediately after invocation(because some business validations fail).
    In this case, module will show message to the user.
    Problem is that if user call the same module again, nothing happens(message is not shown) because regionNavigationListener(which only purpose is to reset taskFlowId variable when business module exits) is not triggered when Method Call activity(which is default activity in BTF) navigates to Task Flow Return activity.
    Also, I tried to use Router activity instead Method Call, but problem still exists(regionNavigationListener is not triggered).
    Obviously, regionNavigationListener is called only if navigating from page(or fragment) and this is probably a bug in ADF so I opened SR.
    Edited by: kdario on Oct 27, 2012 5:04 AM

  • ADF task flow

    Hi all,
    your input is appreciated for the following problem:
    Situation:
    I have an application containing a menu, a static page containing a dynamic region. The region changes when the user click a menu item.
    Consider that the menu contains two items, pointing to two pages, each page will generate a report which will be loaded in popup dialog.
    Problem:
    The user clicks menu-item1 to load page1 and generates report1 (the popup dialog is shown, the server is generating the report data). While the report is generated, the user clicks menu-item2 to load page2 in order to generate report2.
    Nothing will happen until report1 is generated and shown in the poped-up dialog. Only when report1 is done the user is navigated to page2. (it seems the control stays in the bounded task flow1 until it completly ends)
    Desired behavior:
    Let the user generate report1, and still can navigate to page2 and generate report2 (while the first one is beeing under processing).
    Pages and code :
    1- adfc-config: undbounded taskflow.
    2- page1-tf: bounded taskflow, containing a fragment, and an outcome to popup the dialog
    3- page2-tf: bounded taskflow, containing a fragment, and an outcome to popup the dialog
    4- the dynamic region class, created by jdev, when menu-item1 is clicked, the page1-tf is parsed and returned. same applies for menu-item2.
    flow for page1-tf (page2-tf is identical):
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="fragment1">
    <default-activity id="__1">fragment1</default-activity>
    <data-control-scope id="__2">
    <isolated/>
    </data-control-scope>
    <view id="fragment1">
    <page>/fragments/fragment1.jsff</page>
    <redirect/>
    </view>
    <view id="report1">
    <page>/pages/report1.jspx</page>
    </view>
    <control-flow-rule id="__3">
    <from-activity-id id="__4">fragment1</from-activity-id>
    <control-flow-case id="__8">
    <from-outcome id="__9">dialog:report1</from-outcome>
    <to-activity-id id="__10">report1</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <use-page-fragments/>
    </task-flow-definition>
    </adfc-config>
    Environment:
    jdev 11.1.1.2 + oracle 11g
    your help is appreciated, and if you need more info, let me know.
    thanks

    Hi,
    for this you would need to implement an asynchronous call to the report, which means you kick off the report as a batch job so the return immediately goes back to the bounded task flow. If you have the class invoking the report wait for the report invocation to get back to it - after finishing processing - then the process waits. Bounded task flows don't run as back ground processes, so you have to find your own way. There are many options thinkable how users can get to a report once its done e.g.
    - af:poll to check a table for reports finish statements and reports pickup locations
    - Active Data Services to push notification to users

  • Validation, Task Flow, Servlet, Pop-up, and a Managed Bean

    Hi,
    We're trying to display a PDF in a pop-up by calling a Servlet within a JSF page by using a task flow in JDeveloper 11g R2.
    The relevant JSF snippet:
    <af:inlineFrame id="if1" shortDesc="Report" source="/pdfservlet" styleClass="AFStretchWidth"></af:inlineFrame>The /pdfservlet points to a Servlet with a doGet method as follows:
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
      response.reset();
      OutputStream out = response.getOutputStream();
      FacesContext context = this.getFacesContext(request, response);
      OracleReportBean bean =
        context.getApplication().evaluateExpressionGet(context, "#{reportBean}", OracleReportBean.class);
      bean.run(context, out);
      removeFacesContext();
      out.close();
    }The Servlet attempts to get the FacesContext, but we've encountered the following exception:
    Caused By: javax.faces.FacesException: Cant instantiate class: oracle.adfinternal.view.faces.component.AdfViewRoot.We removed the following lines from the getFacesContext() method:
    UIViewRoot view = facesContext.getApplication().getViewHandler().createView(facesContext, "");
    facesContext.setViewRoot(view);This avoids the exception above, however... We're trying to get the parameters from the form that was submitted. Here is an example element from the form:
    <h:inputHidden value="MyMedicationList_Report" id="system_REPORT_RESOURCE"/>When the Servlet calls the Managed Bean to retrieve the value, it uses:
    Map<String, String[]> requestParameters = getRequestParameters();
    Parameters p = getParameters();
    for( String key : requestParameters.keySet() ) {
      for( String value : requestParameters.get( key ) ) {
        int i = key.indexOf( ':' );
        if( i >= 0 ) {
          key = key.substring( i + 1 );
        p.put( key, value );
    }Where getRequestParameters() attempts to get the external context to retrieve the request parameter values map:
    return getExternalContext().getRequestParameterValuesMap();The map comes up empty.
    I've tried following http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf by setting the web.xml to:
      <!-- JspFilter must be configured before adfBindings. -->
      <filter-mapping>
        <filter-name>JpsFilter</filter-name>
        <servlet-name>PDFServlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>PDFServlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>And set the data bindings to:
      <pageMap>
        <page path="/pdfservlet" usageId="ca_bcpra_promis_reporting_view_PDFServletPageDef"/>
      </pageMap>
      <pageDefinitionUsages>
        <page id="ca_bcpra_promis_reporting_view_PDFServletPageDef" path="ca.bcpra.promis.reporting.view.PDFServletPageDef"/>
      </pageDefinitionUsages>The Servlet executes, calls the instantiated managed bean, but cannot read the request parameters.
    The button used to launch the task flow in a dialog is:
    <af:commandButton text="Run Report" id="submitReport" useWindow="true"
                      windowEmbedStyle="inlineDocument" windowModalityType="applicationModal" windowHeight="500"
                      windowWidth="700" action="runReport"/>By using a task flow, the user inputs are validated before the pop-up is opened. We want to keep that behaviour. The PDF opens and then returns with a NullPointerException:
    http://pastebin.com/raw.php?i=PaM64jL4
    The Servlet, through the managed bean, makes a request to the report server to pass parameters and generate a PDF. The PDF is streamed back to the browser via the Servlet.
    What other approaches can we take to:
    1. Send user and system parameters.
    2. Generate a PDF on a remote server.
    3. Stream the PDF back to the user in a pop-up.
    Thank you.

    It is not a static PDF. The PDF is generated, dynamically, on the report server using the parameters from multiple forms on the page.
    We've leveraged the HttpSession getSessionMap() object for now. When combined with a Method Task Flow, we can transfer the data (and FacesContext) to the report Servlet. For example, the following code exposes objects that the Servlet needs through the session:
      public void initReport(String reportName) {
        FacesContext context = FacesContext.getCurrentInstance();
        ExternalContext ec = context.getExternalContext();
        OracleReportBean bean =
          context.getApplication().evaluateExpressionGet(context, "#{reportBean}", OracleReportBean.class);
        bean.setFacesContext(context);
        ec.getSessionMap().put("reportBean", bean);
        ec.getSessionMap().put(Parameters.PARAM_REPORT_RESOURCE, reportName);
      }This means the Servlet can use the object:
      protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        response.reset();
        // Find the bean from the session.
        OracleReportBean bean = (OracleReportBean)request.getSession().getAttribute("reportBean");
        OutputStream out = response.getOutputStream();
        bean.run(out);
        out.close();
      }This allows the bean to generate reports.

  • Understanding task flow templates?

    Hi gang
    I was hoping somebody could clue me in on Task Flow Templates (TFT) please within JDev 11g? I'm reading section 17.8 of the Fusion Dev 11g Guide as below:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows_complex.htm#insertedID8
    Is the purpose of the TFT for a task flow much like a Java interface is to a class, such that the Activities defined within the TFT have to actually be implemented in the task flow itself?
    ...or...
    Is the purpose of the TFT to add consistant functionality to a task flow. For instance if we always wanted a "train" task flow to have an opening page and closing page in the train, we could add this to the TFT, and the relating train task flow would inherit these?
    Either way within a task flow using a TFT, I don't see any visual indicator that the task flow is based on the TFT, and I don't see any activities from the TFT in the task flow diagram either? Do I have to add them manually or am I missing something?
    Hope you can help.
    Cheers,
    CM.

    Hi Chris,
    I'm always glad to share knowledge.
    You guessed right with the global navigation. That is why and how we use the TFT.
    The authorization & authentication thing is kind of a relict from the old jdev 903 days .
    A couple of years back the company I'm working for as a consultant ask me to build an authorization & authentication framework using jdev and bc4j.
    Jaas or ADF Security was not an option back then, so I designed the framework around some DB tables (kind of DBLoginModule).
    This framework is still in use, because it offers a nice UI, is expendable and has all functionality the company needs.
    One of the features is that we can fine grain the level of security down to fields on a page a user can see (or what he can see). In case of a security violation we use the TFT to navigate to the right error page, which in some cases allows the user to get more rights by using a different password (like run as administrator) for this specific access.
    So it's kind of a global menu which is not visible to the user directly but only when he hits a wall.
    Timo

  • Code for return from task flow

    Hi,
    I came across this TaskFlowUtils which contains utility methods related to task flow.
    Is there any method which will cause return from task Flow. I can't find the same.
    I do not want to return via Task Flow return activity.
    Regards,
    Nikhil

    Nikhil, which jdev version do you use?
    What is your use case?
    Are you referring to the class TaskFlowUtils Chris Muir developed and which is available through ADFEMG?
    If yes, this class is more to inspect the current task flow. It contains some methods to control the task flow (commit, rollback), but is not meant to navigate.
    It is essential to understand how task flows work, if they are called using a task flow call activity or if they are run in a region. A task flow run in a region is not meant to return. It always run once it initiated. There are patterns how regions communicate with their parent or other regions.
    So the question is what do you want to do?
    Why do you want to return from a task flow and why don't you want to use the task flow return activity?
    Timo

  • How to add many bounded task flow just on one only .jspx page?

    Dear all
    I will explain you what I do and What I want to do.
    I created one jsf page template called "baseTemplate". It contains only one panelSpliter with horizontal layout . In the first face I created 10 commandLinks as a menu. the second facet contains the facet ref.
    My task is now to create 10 task flows.
    What i do is:
    1- create bounded task flow name it "taskFlow1" and add all the views and page navigations that I want.
    2- double click the views and create them as page fragment and design the layout.
    3- create .jspx page name "task1.jpx" based on "baseTemplate".
    4- dragging and dropping "taskFlow1" into "task1.jspx" as a region
    5- repeating steps from 1 to 4 with "task2.jspx" till "task10.jspx"
    in this way i created 10 "jspx" pages for each task flow
    What i want to do is:
    I want to create just one and only one ".jspx" page and drag all task flows on it. And when clicking on any command link from the menu , the corresponding task flow is invoke.
    Is this a way to do this.
    Thank you in advance.

    of course, there is.simply in the unbounded Task flow drag your task flow as task flow call and specify the outcome, and make the action of your command link
    the outcome you specify, of course you will navigate to the default activity of the bounded task flow also you could open your task flow as lightweight dialog
    as frank do in his example

  • Malformed URL when executing task flow

    Dear Gurus,
    when executing a recently created task flow in my project,after authentication, I get a 401 error message. I have applied the authenitcated-role in my task flow in jan-data.xml file, so this error does not make sense.
    However, i have noticed that in the formed URL there is something strange. In the adf.tfId= part of the URL, the id of the task flow mentioned is different from the adf.tfDoc= part, where the actual XML file of the task flow is mentioned. The id of the task flow in adf.tfId belongs to another task flow.
    Below, the created URL is depicted
    http://127.0.0.1:7101/HERA-Gui-context-root/faces/adf.task-flow?adf.tfId=gui-authentication-flow&adf.tfDoc=/WEB-INF/advanced-authentication-flow.xml&_afrLoop=14818531247046&_afrWindowMode=0&Adf-Window-Id=w0&_adf.no-new-window-redirect=true
    When I manually change the adf.tfId to the id of the task flow I want to run, the task flow runs normally.
    Can somebody explain me what is wrong?

    Hi..
    Check whether here is some point to you
    http://cn.forums.oracle.com/forums/thread.jspa?threadID=1063589

  • Task flow-call  as a Dialog with inline-popup issue JDev 11.1.1.2.0

    I have a very serious issue with task flow-call running as a Dialog with inline-popup
    have bunch of data driven table components pointing to pageDefs with Iterators
    the problem is, the dialog comes first with nothing in it (blank) and it takes 3-5 seconds to fetch all views,
    this is useless, there is no option to control taskflow-call activation , like you do for af:region
    For reference : I am talking about this : http://jobinesh.blogspot.com/2010/08/refresh-parent-view-when-in-line-popup.html
    Download the workspace , connect as HR Schema and you will see what I am talking about
    looks really dumb, it would make sense to show dialog with data all at once, rarther than looking at blank screen to wait for the data to show up
    Edited by: user626222 on Sep 20, 2010 8:57 AM
    can I call this a bug?
    Edited by: user626222 on Sep 20, 2010 1:58 PM
    sometimes I wonder if anyone tested this, as soon as you have some data driven components on your page, you get all sorts of problems in ADF
    But something simple, Adf client side invokes the Dialog as a popup first, and then it thinks oh ya I get massive pageDef to load, so end-user customer will stare at the blank screen for 10 secs , hoping that something will come up or program is crashed
    Well, I am afraid to say you lost your customer :(
    Edited by: user626222 on Sep 20, 2010 2:29 PM
    Edited by: user626222 on Sep 20, 2010 2:35 PM
    Edited by: user626222 on Sep 20, 2010 2:35 PM
    Edited by: user626222 on Sep 20, 2010 2:36 PM

    ok, knowing this fact, I want to show some kind of status indicator during the wait time.
    Unfortunately, putting af:statusIndicator does not work untill after entire page loads
    <?xml version="1.0" ?>
    <?Adf-Rich-Response-Type ?>
    <content action="/EmpApp/faces/displayEmployees.jspx?_adf.ctrl-state=5plp6ahes_72">
    <fragment><![CDATA[<span id="f1::postscript"><input type="hidden" name="javax.faces.ViewState" value="!-e8tyzkiuc"></span>]]>
    </fragment>
    <fragment>
    <![CDATA[<div id="afr::DlgSrvPopupCtnr::content" style="display:none"><div id="j_id12" style="display:none">
    <div style="top:auto;right:auto;left:auto;bottom:auto;width:auto;height:auto;position:relative;" id="j_id12::content">
    <div id="j_id13" class="x142"><div class="x157" _afrPanelWindowBackground="1"></div>
    <div class="x157" _afrPanelWindowBackground="1"></div><div class="x157" _afrPanelWindowBackground="1">
    </div><div class="x157" _afrPanelWindowBackground="1"></div>
    <table cellpadding="0" cellspacing="0" border="0" summary="" class="x146">
    <tr>
    <td class="p_AFResizable x148" id="j_id13::_hse"> </td>
    <td class="p_AFResizable x14a" id="j_id13::_hce"><table cellpadding="0" cellspacing="0" border="0" width="100%" summary=""><tr>
    <td><div id="j_id13::_ticn" class="x151"><img src="/EmpApp/afr/task_flow_definition.png" alt=""></div></td><td class="x14e" id="j_id13::tb">
    <div id="j_id13::_ttxt" class="xz8"></div></td><td>
    <div class="x153"><a href="#" onclick="return false" class="xz7" id="j_id13::close" title="Close"></a></div></td></tr></table></td><td class="p_AFResizable x14c" id="j_id13::_hee"> </td></tr><tr><td class="p_AFResizable x14j" id="j_id13::_cse"> </td>
    <td class="p_AFResizable x14g" id="j_id13::contentContainer">
    <div id="j_id13::_ccntr" class="x14h" style="width:700px;height:430px;position:relative;overflow:hidden;">
    <div id="j_id14" class="xne" style="position:absolute;width:auto;height:auto;top:0px;left:0px;bottom:0px;right:0px">
    <iframe _src="javascript:'<html&gt;<head&gt;<title/&gt;</head&gt;
    <body/&gt;
    </html&gt;'" src="javascript:''" frameborder="0" style="position:absolute;width:100%;height:100%">
    </iframe>
    </div></div></td><td class="p_AFResizable x14l" id="j_id13::_cee"> </td></tr><tr><td class="p_AFResizable x14n" id="j_id13::_fse"><div></div></td>
    <td class="p_AFResizable x14p" id="j_id13::_fce">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" summary=""><tr>
    <td class="p_AFResizable x14u" id="j_id13::_fcc"></td><td align="left" valign="bottom"><div class="p_AFResizable x14y"><a tabIndex="-1" class="x14w" id="j_id13::_ree" title="Resize"></a></div></td></tr></table></td><td class="p_AFResizable x14r" id="j_id13::_fee">
    <div></div></td>
    </tr></table></div></div></div></div>]]>
    </fragment>
    <script-library>/EmpApp/afr/partition/gecko/default/opt/frame-SHEPHERD-PS1-9296.js</script-library>
    This is how it launches the taskflow-call, so there is no way to control this behaviour from the calling taskflow's jspx, feels very closed system,why ADF is not making this behavior Open by some kind of client listener,
    <script>
    <![CDATA[AdfDhtmlLookAndFeel.addSkinProperties({"AFPopupSelectorFooterStart":"x11b","AFPopupSelectorHeader":"x114","af|panelWindow-tr-open-animation-duration":"300","AFPopupSelectorHeaderStart":"x115","AFPopupSelectorContentEnd":"x119","AFPopupSelectorContent":"x117","af|panelWindow::resize-ghost":"x144","AFPopupSelectorContentStart":"x118","AFPopupSelectorFooter":"x11a","AFPopupSelectorFooterEnd":"x11c","AFPopupSelectorHeaderEnd":"x116","AFPopupSelector":"x110",".AFPopupSelector-tr-open-animation-duration":"200"});AdfPage.PAGE.addComponents(new AdfRichPopup('j_id12',{'_dialogURL':'/EmpApp/faces/adf.dialog-request?_adf.ctrl-state=5plp6ahes_76&_rtrnId=1285074907739&__ADFvDlg__=true','_inlineFrameId':'j_id14','_launchId':'r1:0:cb2','_panelWindowId':'j_id13','_rtnId':'1285074907739','contentDelivery':'immediate'}),new AdfRichPanelWindow('j_id13',{'modal':true,'resize':'on','stretchChildren':'first'}),new AdfRichInlineFrame('j_id14',{'source':'javascript:\'\x3chtml>\x3chead>\x3ctitle/>\x3c/head>\x3cbody/>\x3c/html>\''}));AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('r1');]]>
    </script>
    AdfDhtmlRichDialogService.getInstance().launchInline there is no way for me to put af:statusindicator for the wait time using this way
    <script>AdfDhtmlRichDialogService.getInstance().launchInline('j_id12');*</script>
    </content>

  • JDev 11.1.2.4.0 Can't Open Unbounded Task Flow

    I just created a new Fusion application. When I click on the unbounded task flow adfc-config.xml I get an error dialog box An unexpected severe error has occured in JDeveloper.
    It seems that same issue as in that discussion https://forums.oracle.com/thread/2565042?start=0&tstart=0 except that I am not using mobile extension. I can't downgrade JDev to JDK 1.6. I use 1.7.0_25. Any workaround?
    Stack Trace:
    Failed to create an instance of editor oracle.adfdt.controller.adfc.diagram.editor.AdfcDiagramEditor
    java.lang.reflect.InvocationTargetException
      sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      j.lang.reflect.Constructor.newInstance(Constructor.java:526)
      o.ii.editor.EditorState.createEditor(EditorState.java:154)
      o.ii.editor.EditorState.getOrCreateEditor(EditorState.java:102)
      o.ii.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:251)
      o.ii.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:214)
      o.ii.editor.TabGroupState.createSplitPaneState(TabGroupState.java:105)
      o.ii.editor.TabGroup.addTabGroupState(TabGroup.java:394)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:786)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:720)
      o.ii.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:637)
      o.ii.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
      o.ii.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
      o.i.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:219)
      o.i.controller.ContextMenu.fireDefaultAction(ContextMenu.java:447)
      o.ii.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1900)
      o.ii.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2249)
      o.ii.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2278)
      o.ii.explorer.CustomTree.processMouseEvent(CustomTree.java:211)
      j.a.Component.processEvent(Component.java:6270)
      j.a.Container.processEvent(Container.java:2229)
      j.a.Component.dispatchEventImpl(Component.java:4861)
      j.a.Container.dispatchEventImpl(Container.java:2287)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4492)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4422)
      j.a.Container.dispatchEventImpl(Container.java:2273)
      j.a.Window.dispatchEventImpl(Window.java:2719)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.EventQueue.dispatchEventImpl(EventQueue.java:735)
      j.a.EventQueue.access$200(EventQueue.java:103)
      j.a.EventQueue$3.run(EventQueue.java:694)
      j.a.EventQueue$3.run(EventQueue.java:692)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      j.a.EventQueue$4.run(EventQueue.java:708)
      j.a.EventQueue$4.run(EventQueue.java:706)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.a.EventQueue.dispatchEvent(EventQueue.java:705)
      o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      j.a.EventDispatchThread.run(EventDispatchThread.java:91)
    Caused by:
    java.lang.NoClassDefFoundError: Could not initialize class oracle.diagram.framework.action.Actions
      o.diagram.framework.action.handler.ZoomInHandler.<clinit>(ZoomInHandler.java:22)
      o.diagram.framework.editor.CommonDiagram.<clinit>(CommonDiagram.java:100)
      o.adfdt.controller.adfc.diagram.editor.AdfcDiagramEditor.<init>(AdfcDiagramEditor.java:17)
      sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      j.lang.reflect.Constructor.newInstance(Constructor.java:526)
      o.ii.editor.EditorState.createEditor(EditorState.java:154)
      o.ii.editor.EditorState.getOrCreateEditor(EditorState.java:102)
      o.ii.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:251)
      o.ii.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:214)
      o.ii.editor.TabGroupState.createSplitPaneState(TabGroupState.java:105)
      o.ii.editor.TabGroup.addTabGroupState(TabGroup.java:394)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:786)
      o.ii.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:720)
      o.ii.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:637)
      o.ii.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
      o.ii.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
      o.i.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:219)
      o.i.controller.ContextMenu.fireDefaultAction(ContextMenu.java:447)
      o.ii.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1900)
      o.ii.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2249)
      o.ii.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2278)
      o.ii.explorer.CustomTree.processMouseEvent(CustomTree.java:211)
      j.a.Component.processEvent(Component.java:6270)
      j.a.Container.processEvent(Container.java:2229)
      j.a.Component.dispatchEventImpl(Component.java:4861)
      j.a.Container.dispatchEventImpl(Container.java:2287)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4492)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4422)
      j.a.Container.dispatchEventImpl(Container.java:2273)
      j.a.Window.dispatchEventImpl(Window.java:2719)
      j.a.Component.dispatchEvent(Component.java:4687)
      j.a.EventQueue.dispatchEventImpl(EventQueue.java:735)
      j.a.EventQueue.access$200(EventQueue.java:103)
      j.a.EventQueue$3.run(EventQueue.java:694)
      j.a.EventQueue$3.run(EventQueue.java:692)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      j.a.EventQueue$4.run(EventQueue.java:708)
      j.a.EventQueue$4.run(EventQueue.java:706)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      j.a.EventQueue.dispatchEvent(EventQueue.java:705)
      o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      j.a.EventDispatchThread.run(EventDispatchThread.java:91)

    No, there is no workaround for this.  You can open a SR and let Oracle work on this. We can't do anything about it.
    Why can't you install jdk 1.6?
    You can have more then one jdk installed on your pc.
    You can use in jdk which comes with the installation package,
    Timo

Maybe you are looking for

  • Report should prompt me for parameters, please help.

    Hi All, I am using Crystal version 10, So is there any way I can get the behaviour of my parameters as dynamic parameter? I have this requirement because when I am deploying the Report on BO server, and try to open the report from InfoView, it is not

  • Should I put it to SLEEP or SHUT DOWN?

    Greeting everyone. I recently purchased my first Macbook, my first laptop ever. I've pretty much grown up using a desktop pc. I turn it on when I get home, put it on sleep mode when I leave it to watch tv or what not. If I'm done with it for the day,

  • Problem with this program

    I see this board is very young. Well I'm a high school freshman in a java programming class and i have a little problem with my homework. My source code is: import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.text.DecimalFor

  • Could not use the move tool because no layers are selected.

    This problem started a few days ago. I like to hold down the "Shift" key when moving a layer (either text or image) to keep the horizontal spacing locked. It was never a problem but a dialog box is now popping up with the following note: Could not us

  • Buying the iPhone 5. Should i preorder it from a carrier online or queue outside a store on release date?

    So I have an iPhone 4 and have been waiting for the iPhone 5 to eventually come out. I want to have it on release date so just wondering what the best choice is to guarantee it on release date. Preordering it straight away on O2 website, or queue out