Reusable Taskflow

Hi All,
I am facing a problem while using the reusable task flow in the consuming page.
1. I am using a consuming page in another page(main page) as region in side panelBox(Main page is having one panel box inside panel box i am using region). As so as main page opens only consuming page only lable's are coming.
2. If I collapse the panel box and expand, am getting all the components.
Kindly help me in this.
Thanks in advance
Regards,
Ashok E

Hi,
page flow scope beans are private to the task flow they are defined in. So an outer task flow cannot directly access this information
Frank

Similar Messages

  • Creating ReUsable TaskFlows

    hi All,
    I'm using ADF BC, JDev 11G. I need to reuse the task flows built as a part of different applications. I've included the sources by opening the respective projects(model and ViewController). Following the instructions from Packaging a Reusable ADF Component into an ADF Library I was able to create the File System.
    The error is that I'm not able to use that taskflow as a button on the page in a different application. I'm getting error MDS-00013. How to solve this issue.
    Is there a simpler method to create reusable components, task flow etc.
    Stack Trace:
    Root cause of ServletException.
    oracle.adf.controller.ControllerException: ADFC-02001: ADF Controller cannot find '/WEB-INF/task-flow-definition_3.xml'.
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:448)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:358)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:170)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:214)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:931)
    oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/task-flow-definition_3.xml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:936)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:2398)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1042)
    at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:202)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:402)
    Suggestions would be appreciated...
    Thanks in Advance...
    Jyothi

    Hi,
    Once you create a file system connection to the directory where you have deployed your ADF Library, you can expand the library in the Resource palette. You can right click it to add it to an active project in your app. If you have multiple projects, choose one that you wanna add the library to.
    If you have reusable task flows you will find ADF Taskflows node under the jar in the resource palette. Just drag and drop the task flow as a region or a dynamic region in your jspx page. Or if you wanna use it as a task flow call or return, then you can see the jar in the component palette. Just expand the drop down in the component palette, choose the jar. Then drag and drop the task flow.
    BTW if you have a db connection etc packaged in your jar an dif you are reusing them, then the password wont be included. Expand the app resources accordion, choose your connection and enter the password for your db connection.
    Thanks.

  • Taskflow Raise event foucs problem

    Hi,
    We are using Oracle ADF JDeveloper version 11.1.1.4 (released version) for our development.
    We have used several taskflows / reusable taskflows in our application. For most of the taskflows we have "raised events".
    However we are facing strange problem with the same.
    For example:
    Consider a screen where height of the screen is more than the WINDOWS height. For such a screen vertical scroll bar will be there.
    There is a taskflow which is at the bottom of the screen. To see that taskflow user will use the vertical scroll and will reach there.
    If USER performs any action on this taskflow then events get fired correctly but the focus atomically gets shifted to first element of the screen. Due to this behavior USER needs to scroll the screen every time which is irritating. If we disable the raise event focus doesn’t shift.
    Can somebody look into this?

    Hi,
    customer support would be a good point of contact for analyzing the problem if you have a test case. I can only assume you are talking about contextual events ?
    Frak

  • How to use same view as editable and read only in ADF

    Hi,
    how to use same view as editable and read only in ADF ?? How can we achieve this in TF's ???
    -mrudul

    Hi,
    Steven Davelaar wrote a presentation about this "Building Highly Reusable Taskflows"
    Starting slide 14 is where your use case comes into play
    Frank

  • Advice using workspace in custom ADF application

    Submitted on behalf of Mike Rooney (who cannot access this forum):
    We are analyzing Oracle BPM 11g beta and would like to understand existing resources for building worklist views, task status, bpm reports, etc, into our custom ADF 11g application. We want to create components on our ADF application pages that mimic these features provided by Oracle Workspace. Are there APIs, libraries or rich components that exist? We have reviewed Chapter 29 of the Oracle SOA 11g Developer Guide which discusses a programmatic solution for building a custom worklist client. We are wondering if there are any alternative rich components or declarative solutions for this functionality.
    Any help or advice is appreciated!
    -- Becky Kellinger

    Sorry for the delay on this one.
    Our 11g api is completely backward compatible with 10g. So the source we provide for the JSP based worklist app in 10g still works with 11g.
    Starting with BPM PS1, we are also providing reusable taskflows for customers to create their own ADF app and reuse our worklist regions in that app.
    Heidi.

  • Iterative Development when using JSPX/JSFF in a Library?

    Using JDeveloper 11.1.1.6.0 -
    We have a WebCenter project that is utilizing a separate project that is compiled as a ADF Shared Library - to allow for reusable taskflows. We're trying to find a fast/convenient way of seeing changes to this shared library when the main weblogic project is deployed and running. When we save changes to the main project we can see those changes in the browser immediately after a refresh however the same does not happen for JSFF files in the shared lib. I was hoping there is a way to allow this feature or at the very least something else (such as manually copying files) that would be faster than what we are doing now (undeploy/redeploy).
    Help appreciated!
    Edited by: 921739 on Oct 9, 2012 8:15 PM
    Edited by: 921739 on Oct 9, 2012 8:23 PM

    hi,
    maybe this helps.
    https://groups.google.com/forum/?fromgroups#!topic/adf-methodology/arL5H0ZJbRY
    Also search for "ADF hot deployment". There may be additional hints in the www.
    regards
    Peter

  • Advantages of using Taskflow

    What are the advantages of using TaskFlow over traditional J2EE apps?
    All answers are welcome

    ADF task flows provide a modular approach for defining control flow in an application. Instead of representing an application as a single large JSF page flow, you can break it up >into a collection of reusable task flows. Each task flow contains a portion of the application's navigational graph.Read this blogpost for more details:
    http://xmlandmore.blogspot.com/2010/03/oracle-adf-task-flow-in-nutshell.html
    Thanks,
    Navaneeth

  • Javascripts and ADF Taskflows

    Hello All,
    I am using JDeveloper 11.1.1.5 (on Fedora 64-bit).
    This one has been driving me nuts for a while. I have uploaded a simple testcase here - http://dox.bijesh.info/SimpleJS.zip.
    In this particular testcase, I have an ADF taskflow composed of 2 page fragments. This taskflow is embedded as a region in a JSF page. Both the page fragments include some javascript embedded via af:resource and invoked through a clientListener on a button within each. Now, the JS on any page other than the "default activity" page does not get fired on the button action. It is as if the javascript did not get loaded at all. In fact when I examine this in Chrome, the error console shows an error as soon as I navigate to the second page fragment - "Uncaught ReferenceError: jspage2 is not defined".
    I have tried using trh:script and that had the same problem. This happens with referenced JS files (through the source attribute) too.
    My original use-case is to build a reusable Maps component which involves quite a bit of Javascript. Being a reusable library, I wouldn't ideally have control of where my taskflow will be embedded. And therefore embedding the JS in the initial pages is not a viable solution.
    All suggestions are welcome.
    Best Regards,
    Bijesh

    Hi Frank,
    First thanks for your answer.
    I moved my script this way:
    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core" xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
        <af:decorativeBox id="db2" theme="light" binding="#{backingBeanScope.beanDvtMapas.db2}" clientComponent="true">
            <f:facet name="center">
                <dvt:map startingX="-47.76" startingY="-18.84" mapZoom="2"
                         mapServerConfigId="mapConfig" baseMapName="CTBC_IREDES.MAPA_TASKFLOW"
                         inlineStyle="width:100%; height:450px;" id="m2"
                         srid="8292" unit="METERS" copyrightText="Todos os direitos são reservados à ALGAR TELECOM"
                         binding="#{backingBeanScope.beanDvtMapas.m2}">
                    <f:facet name="rtPopup"/>
                    <f:facet name="popup"/>
                </dvt:map>
            </f:facet>
            <f:facet name="top">
                <af:group id="grp" binding="#{backingBeanScope.beanDvtMapas.grp}">
                    <dvt:mapToolbar mapId="m2" id="mt2" showViewMenu="false"
                                    binding="#{backingBeanScope.beanDvtMapas.mt2}" showDistanceTools="false"
                                    showSelectThemeDialog="false" showSelectThemeMenuItem="false"
                                    showSelectionTools="false"/>
                    <af:commandButton text="escondido" id="cb1"
                                      binding="#{backingBeanScope.beanDvtMapas.cb1}" visible="false" clientComponent="true">
                        <af:serverListener type="clickMap"
                                           method="#{backingBeanScope.beanDvtMapas.recebeIpid}"/>
                    </af:commandButton>
                    <af:resource type="javascript" source="../js/mapUtil.js"/>
                    <af:resource type="javascript">
                         var temas = new Array();
                         temas[0] = 'PCM_DISTRIBUICAO';
                         temas[1] = 'CAIXA_TERMINAL';
                         var map = AdfPage.PAGE.findComponent( 'r1:0:m2' );
                        alert(map); //undefined
                        showMapWithThemes('m2', temas);
                    </af:resource>
                </af:group>
            </f:facet>
        </af:decorativeBox>
        <!--oracle-jdev-comment:auto-binding-backing-bean-name:beanDvtMapas-->
    </ui:composition>My script was loaded but it didn't find the components in the page fragments, what can I do to solve this question?
    Do you have a idea?
    Today I try to search the components this way:
    AdfPage.PAGE.findComponent( REGION_ID + 0 + COMPONENT_ID)[]s,
    Renan

  • 关于Portlet 和 taskflow

    经常会有客户问到WebCenter中到底是要用portlet来做页面 还是用ADF task flow? 找到一篇比较好的文章,供大家参考。
    原文连接:https://blogs.oracle.com/ATEAM_WEBCENTER/entry/adf_task_flows_versus_portlets
    If there's a question that we get more often than "When [INSERT_NEXT_PRODUCT_RELEASE_HERE] is going to be available?", it is "Should I use Task Flows or Portlets?".
    I can't remember of a single WebCenter engagement that we on the A-Team have worked on that this question hasn't been asked. Let's see what's currently written up on the internet on the subject and build on top of that.
    What's on Task Flow vs Portlets on the interwebs?
    Not surprisingly, if you search for this topic you're bound to follow some very good information on the subject. I recommend you to also read the following links:
    George's "Task Flow or Portlet: what to choose?"
    Yannick Ongena's "Difference between ADF portlets and task flows"
    Portlets vs Taskflows discussion at the WebCenter Enterprise Methodology Group (EMG) mail list
    ADF Task Flows versus Portlets cheat sheet table
    The table below tries to capture some common points when developing ADF and WebCenter based applications, and how these points reflect in each of the three options of developing and deploying a reusable UI flow.
    How to read this table
    To be straight with you, this is not a decision table. You should use it for reference when you want to know how each technology maps to a specific requirement or feature. This will give you a better idea of what you need to be aware of and some reference information on how to do it.
    Local Task Flow      Remote Task Flow     ADF-based Portlet
    User Interface Rendering / Skinning      
    Inherit ADF Faces geometry management from the parent container. Uses the same skin as the consuming application automatically.
    Rendering of TFs is sequential and can add up to the consumer's rendering time depending on the TFs performance.
    Do not support geometry managment. Usually remote TFs are opened as browser popup windows or take over the current browser window until it navigates back to the caller. Doesn't know about the skin being used by the caller application.
    Rendering time is dependent on the server where the remote TF is running. An external URL request is being issued.
    Renders inside an iframe, so there's no geometry based support for the portlet, but it is somewhat manageable from the showDetailFrame component that surrounds it (here). There is support for skin detection and synchronization but the skin needs to be deployed together with the portlet. TIP: never use inline (rich) popups in a portlet.
    Overall JSF rendering is still sequential, but because portlets are rendered as iframes browsers can usually request between 4 to 8 iframes in parallel from the same domain which can sometimes translate to a faster page load time. Please check here.
    Interaction Support     
    Contextual Events here , here
    Supports Transactions and Savepoints (when used with ADF BC). Here.
    IN/OUT parameters
    No transactional support.
    Inter-portlet communication and auto-wiring
    No transactional support
    Deployment     Locally within the application's EAR file or as a WLS shared library. Updates require a redeployment and restart of the consuming applications.     Deployed as separate application (EAR) or Web Application.     Deployed as a separate application to a server configured to run as a Portlet Producer. Here
    Memory Scope     Uses the application's memory scope and can fully leverage application, session, request, view scopes.     Runs on a different memory scope     Runs on a different memory scope
    Resource Consumption     It can slow down the containing up if it has a processing bottleneck. Likewise, it can cause an out of memory if the code called by the task flow has a memory leak      Does not impact the calling application. Does not offer a time-out mechanism out of the box     Does not impact the calling application. It does offer time out and caching configurations.
    Architectural Coupling     Tightly coupled modules, composite apps.     Loosely-coupled, but still application-oriented     Loosely-coupled, heterogeneous and legacy application integration.
    Security     
    Fully leverages ADF Security Context for ADF and WebCenter Task Flows.
    Requires single sign-on (here) or identity federation (here and here) for authentication and correct mapping of enterprise to application roles for seamless authorization.     
    WS-Security with OWSM is used for authentication. Correct mappings between enterprise and application roles are needed for fine-grained authorization.
    More info here, here, and here.
    Runtime Configuration Features      None, but can be dynamically added to a page using Oracle Composer and the Resource Catalog.     None     Provides support for personalization (user preferences) and runtime management of Portlet Producer connections.
    Design Time Features     ADF Library with consumed TFs needs to be in the classpath. Integration tests can be run locally.      No importing required but remote TF information is required: TF URL, IN/OUT parameters. The remote TF needs to be available on a remote server for integration tests. Security infrastructure should be taken into consideration when doing proper integration testing.      No importing required. Producers are configured as connections and portlets define their own metadata/service definition through WSRP (here). Connections can be modified on a post-deployment process from EM or WLST (here).
    What should I consider to pick one over the other?
    Portals, as the name implies, are gateways to other applications. With that in mind, portlets consumed in the portal offer a glimpse - one could say a glassdoor - to take a quick peek into the application that exposes it. Once it grabs your attention, it should offer you a way of going into that system to check for more detailed information and to take an action - again, using the same analogy glassdoor analogy, you now opened the door and are inside a specific room. Once inside that room, you're not interested in what's going around in the other rooms.
    Ideally, the portlet producer is hosted on the same environment as the application they are exposing. This is so because that application is responsible for managing what is exposing, much like a web service, and can assign the adequate resources to run the portlets without having too much impact on their production environment. For example, you might want to expose a "User Profile" portlet but you want to limit the amount of information and access to your HR system providing it.
    You should use portlets whenever you are aggregating a set of heterogeneous (UI-based) services onto a common view, and these heterogeneous services are isolated, or at least don't have a lot of interdependence between them. If you need more info, or you need to work on a task, you are taken to the real application. In this scenario, the HR team exposed a "User Profile" info while the Sales team exposed a "Your latest sales numbers" portlet, both driven say, by the user id, but they don't know about each other.
    Composite applications, on the other hand, are assembled by collaborative development of TFs - the TFs are still designed to be modular, but also work together, and often cases to depend on each other, specially when we consider transactions and shared scopes. Not only they will tightly interact, they will leverage the same execution resources. Ultimately, they are contained in the same business domain.
    As you probably noticed, my approach to decide to use one over the other is from a pure application integration perspective. Oftentimes I found other decision point that although are technically valid, I don't quite agree with, or at least I don't find them to be able to weigh in as much as my application integration approach. So let's go over some of these points and I will try to explain why I don't find them so important.
    "If I use portlets I don't need to stop my application when I release a new version or a fix"
    Yes you do. You need to stop the portlet container no matter what. And that will show up as a portlet timeout on your portal/application. Granted, the main application is still running, but if the portlet is there, it is because it is important. And people will complain.
    If you need 24/7 availability (and, believe, you don't most of the time in this scenarios), portlets will not help you. A good infrastructure and the correct deployment process will.
    Using a portlet as a patch delivery channel is not a good approach either. If you find yourself in need constantly redeploying portlets than you should review your QA process.
    "Because portlets render as iframes I can make my portal run faster"
    This is often times not true. Yes, in some situations you could have the main page consuming the portlets to render faster, but you still could have portlets taking time to render, and that's not good from a user experience perspective - showing a "loading..." message or empty placeholder box is not the best solution. I'd rather engineer locally running Task Flows to meet the required performance numbers than rely on portlets and iframes as my performance boots option.
    Conclusion
    I hope I was able to provide you with enough ammunition to make and informed decision when choosing one technology over the other. Please feel free to follow up with your comments; I'm definitely very interested in your experiences and considerations.

    文章非常不错啊,很有指导意义。

  • Error in creating reusable worklist regions

    Hi,
    I tried to create reusable worklist region for the Task List task flow(taskList-task-flow-definition) in my fusion application using the following reference:
    http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/bp_worklist.htm#BHADHGCF
    I have passed the following parameters to the taskList-task-flow-definition task flow:
    federatedMode=true
    showServerColumn=true
    The wf_client_config.xml is present in the WEB-INF folder and src folder. Its contents are:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client" clientType="REMOTE">
    <server default="true" name="default">
    <localClient>
    <participateInClientTransaction>false</participateInClientTransaction>
    </localClient>
    <remoteClient>
    <serverURL>t3://<hostname>:8001</serverURL>
    <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initia
    lContextFactory>
    <participateInClientTransaction>false</participateInClientTransaction>
    </remoteClient>
    <soapClient>
    <rootEndPointURL>http://<hostname>:8001</rootEndPointURL>
    <identityPropagation mode="dynamic" type="saml">
    <policy-references>
    <policy-reference enabled="true" category="security"
    uri="oracle/wss10_saml_token_client_policy"/>
    </policy-references>
    </identityPropagation>
    </soapClient>
    </server>
    </workflowServicesClientConfiguration>
    I have deployed the app to the Weblogic Admin Server. (The SOA Managed Server is present in the same domain). I'm getting the following Error message:
    Error showing tasklist. Possible reasons could be : 1. SOA server connection information is not available. 2. If it is run in federated mode, the default server may be down.
    Any solution to this?
    Thank you,
    Rashmi

    I was able to solve this by creating a bean with a method that returns the WorkflowServicesClientConfigurationType Object.
    Reference: Section A.7 in http://docs.oracle.com/cd/E17904_01/user.1111/e15175/bpmug_ws_taskflows.htm#autoId27
    This works when the JSPX which contains the taskflow binding is a 'Blank Page' and I'm able to see the tasks.
    However, I tried to follow the same steps on a JSPX which uses 'UIShell template' and got a NoClassDefFound error for oracle.bpel.services.workflow.client.config.WorkflowServicesClientConfigurationType
    Any solution to this?
    Thanks.

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

  • Invalid UTF8 encoding when including ADF Lib taskFlow in ADF Project

    Hi,
    Im getting a strange error:
    [ServletContext@115621591[app:Composer2EAR module:Composer2 path:/Composer2 spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@a0bf0c7[ GET /Composer2/faces/publicPage?_afrLoop=84880154689388&_afrWindowMode=0&_adf.ctrl-state=17i184s9c9_4 HTTP/1.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,es-mx;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Referer: http://5.4.0.71:8888/Composer2/faces/publicPage Cookie: JSESSIONID=xn52MtnWLJX2W1hZJl5Wwnw1RHnWGkmfG4rxX0NJBvkyGC735w1G!190853820 ]] Root cause of ServletException.
    java.io.UTFDataFormatException: Invalid UTF8 encoding. at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:174) at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:213) at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:134) at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450) at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2585) at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1121) at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:3144) at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:539) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:315) at oracle.jsp.parse.XMLUtil.getDocument(XMLUtil.java:394) at oracle.jsp.parse.OracleJsp2Java.transformImpl(OracleJsp2Java.java:400) at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:587) at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:675) at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:485) at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:455) at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:650) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:388) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:729) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:653) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) 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.ServletStubImpl.execute(ServletStubImpl.java:184) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:164) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:185) at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:440) at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:154) at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128) at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:492) at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:76) at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:88) at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:30) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:670) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:388) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:729) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:653) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) 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:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:268) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191) at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205) 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:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421) 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:57) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) 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)
    Im using :
    - Jdeveloper 11.1.1.3
    - Webcenter 11.1.1.3
    - Weblogic Server 10.3.3
    I made a Webcenter Application with 2 View Controller Projects, one to publish a ADF Library, and another to make a webpage to consume the library.
    The library is a bounded taskflow (with fragment) that shows a simple page.
    The web project is a simple jspx that have a region with the taskflow, the project has the ADF Library jar as a library in the project
    The Application is deployed as a EAR.
    - test 1: simple jspx page with a region : Works OK
    Results: Works OK
    - test 2: jspx with oracle composer tags: Page customizable -> panel customizable ->ShowDetail Frame -> TaskFlow Region
    Results: It works ok the first deploy, it fails with the error above after the second deploy (no need to move or change anything)
    Has anyone seen something similar?
    if i can i would post the entire source in a zip file,but i dont know if i can do it here (im new in this forums)
    Thanks in advance.

    Hi Frank,
    Yes, but here its creating a separate database connection.... ? I figrued out this by creating a vo which gives me a db session id,
    I created a reusasble pf and VO as separate lib, now i used both of them in my consumer app, i dragged the same VO (from reusable lib) to my page, and in same page i used the reusable pf, both gives me different db session id ...... ? really confused ...... is this how it works ... ? is it normal ? or some additional configuration needed .?
    Regards,
    Santosh.
    jdev 11.1.1.5.0

  • How to close PopUp (from taskflow region)???

    Can someone, please, explain how to solve this use-case:
    I have PopUp in which I put a region (in which is a small TaskFlow consiting of 2 JSFFs). I want to have Cancel and OK buttons in both JSFFs in TaskFlow. How to close PopUp from within TaskFlow ??? I saw the TaskFlow Return component in ADF TaskFlow diagram components (in palette) but haven't found any help/documentation on it. Or, should I use Return listener on command button used to rise popup (but, still, how to close popup from taskflow?)?
    Any help would be great!
    Thanks in advance,
    Marko

    mimarko,
    Regions/Taskflows are meant to be isolated reusable components. They are not meant to
    have knowledge of their parent or container. That said, code contained with in a region should not attempt to reach out an modify the parent. Regions can fire contextual events that can be handled by a listener declared in the parent pages pageDef. However, attempting to close a popup from a context listener would be bad practice. The easiest fixt is to put the popup in the taskflow for your region. That will create a reusable popup that you can use through out your application.
    --Ric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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

  • A better way to initialize imported taskflows and BCs with current user

    Hello.
    I'm currently developing a composite application containing one main application and a number of subapplications (modules) packed in adflibs.
    Main application has a side menu and a dynamic region, showing taskflows (on fragments) from adflibs.
    Main application is configured with adf security and it has current login and queries his ID. I would like main application to tell modules current user ID rather than each module to find out current user on their own.
    So there is currentUserID input parameter required in each imported taskflow. And my question is what is a better way to process this ID in the modules?
    What I have previously done is:
    I've created a custom BC classes layer, VOImpl and VORowImpl have getIdUser() method. This method reads currentUserID parameter from pageFlowScope where the taskflow is storing the parameter.
    Top-level View Objects have :IdUser query parameter and corresponding bind variable. This bind variable has value="source.getIdUser()", calling the method from custom VO class.
    This way works fine but here and there I read that it is a bad practice to access pageFlowScope from BCs.
    I could agree with this in case someone could share a better way.
    So what is a good practice?
    Thanks.
    ADF/JDev 11.1.2.3 - 12

    Why don't you use adf security for this? Read Oracle ADF: Security for Everyone which give you an overview and sample on how to implement this.
    Timo

Maybe you are looking for

  • Best practice on handling a datacontrol based on a changing webservice

    Is there any best practice on how to handle changes to a datacontrol, when a webservice changes ?, it seems the information on portnumbers, servernames etc. is placed in a number of files, an optimal solution seems to be that Jdeveloper would have fu

  • Address Book on Mac not updating to iCloud

    I have managed to successfully set up iCloud across my iPhone, iPad and iMac.  The issue I am having relates to the Address Book on the iMac which are not syncing to iCloud.  Items changed on other devices do not appear on iMac Address Book an likewi

  • A better webgallery? Here's my attempt.

    Imagine a web gallery, generated from your Aperture albums, that allowed clients or visitors to your site to search your photos by keywords, IPTC and EXIF metadata. Imagine providing a function for your clients, friends or family to leave comments wi

  • Emergency Responder 8.5 to 8.6 upgrade - licensing query

    Hi, I've a client looking forward to upgrade CER from 8.5 to 8.6 and wants to know if he needs new license for it. I believe it's a minor upgrade and he wouldn't need any but he had some license issue in the recent past and wants to be sure before go

  • Getting Machine IP Address

    Hi, We have a standalone Flash application (i.e. we run the swf directly, not in browser) which displays information about an application running remotely. When the app is run on on one and only one machine we want to display all data, on all others