ADF taskflow exception

Hi,
I am using Jdeveloper 11.1.1.4.0 . I have a jsff and a taskflow . I just dragged and dropped this jsff into the taskflow and i am trying to load this jsff page . But while trying to load the fragment , i get the following exception .
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
     at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:639)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:234)
     at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
     at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1351)
     at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
     at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:429)
     at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:335)
     at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:160)
     at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:108)
     at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:197)
     at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
     at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3194)
     at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2871)
     at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3185)
     at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2871)
     at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
     at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:81)
     at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:21)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:395)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:60)
     at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:278)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
     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: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:207)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/org/calwin/as/ui/TaskFlow/OfficeEventTaskFlow.xml'.
     at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:467)
     at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:368)
     at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:179)
     at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:221)
     at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
     at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:216)
Can someone help me on the same .
Thanks and Regards
Vinithag

Hi,
later in the stack trace it says:
Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/org/calwin/as/ui/TaskFlow/OfficeEventTaskFlow.xml'.
So it seems to have issues finding the task flow document. Did you add this as a region ? If so, is it added as a dynamic region ?
Frank

Similar Messages

  • 11g ADF TaskFlow Exception Handling in BPM

    Hi Guys
    BPM 11g
    I have a human task that is implemented as an ADF task flow. I would like to be able to throw an exception from the ADF application and have it handled by the BPM process, does anyone know if this is possible or how I would do that?
    At the moment I have an ADF error page - I could return an "error" outcome to the process from that but an error is an error and it feels right to show that in the process instead of a normal outcome.
    anyone else worked through this?
    cheers,
    Steve

    help yourself with this thread - Re: Exception Handling
    it should answer your question

  • Not able to get the value in ADF taskflow on load

    Hi,
    I have created an ADF task flow. I have created a ViewObject in this ADF taskflow and I am setting the value of this ViewObject using the java API.
    The issue is that i need to show the data when this ADF task flow executes first time.
    Currently I am getting the blank table in jspx page when ADF task flow is run. Now when I click on a button then I can see the required data in the table.
    Please help me to solve this issue.

    Thanks for the reply.
    I have tried placing the code to get the set the data in table and display the same from table in bean constructor, but I am getting table value as null.
    Looks like it is not able initialize the table until the jsff page gets loaded.
    Does jsff page gets loaded after bean constructor method gets called ?

  • How to get BPM Payload attribute value in ADF TaskFlow

    Hi,
               Activities which I did : I have created ADF Project. Then I created ADF TaskFlow through 'ADF TaskFlow Based on Human Task' option by locating BPM task. So now TaskFlow is been generated and also respective dataControl value also generated. In TaskFlow I created new .jspx file. I am going to design this jspx page by drag and drop from VO instances from dataControl. So for this jspx page, at runtime value will be populated from DB Table.
                      My Requirement :  When the Flow initiated, there will be Parameter value passed to the TaskFlow through Payload which is available in DataControl. So now I based on the Payload parameter value I need to filter DBTable and show the respective value in jspx page which I created in TaskFlow. So getting Payload value and applying filter on VO based on Payload parameter value has to be done before rendering Page.
    I tried to achieve this schenario as like below :
           - Assume like there is attribute called 'transactionId', for which value will be passed to the TaskFlow through DataControl. I created VO based on EO and appended where clause as : "VO.Trans_Id = : bindVar". Created bindVariable called 'bindVar'. In jspx page I just Drag and Dropped VO instance as form. And also I drag and Dropped 'transactionId' as outputText from Payload. And also I created ExecuteWithParams in Binding section of PageDef and mapped that one with invokeAction item in executable section. So now both payload Iterator and invokeAction  will be created in PageDef. I kept Iterator as in the order of : PayloadIterator at first and InvokeAction second one, So that at runtime it will execute in that order. And also I given "refresh" property to payloadIterator and invokeAction to 'renderModel' and I mapped PayloadIterator id to  refreshAfter property of InvokeAction iterator. Now at runtime, So at runtime updated/Newvalue will be retrived to Payload attribute by executing payloaditerator. So now for 'transactionId' value vill be retrieved. Next invokeAction will take value from newly retrieved 'transactionId' as input and execute query. So now VO will be filtered and need to be shown. But instead of that getting error saying like 'No outcome metadata specified for method call activity 'null'.'
    Is this way is correct? If yes, then What mistake which I have done?
    Is any other way to acieve this schenario?
    Do the needful.
    Thanks with Regards,
    PraveenKumar.N

    Guessing you might have looked at this at some point, but you might want to consider using the setCurrentRowWithKeyValue method to do this.
    Here's a blog post that I wrote a while back that goes through step-by-step what I think you're trying to accomplish:  Using a BPM Process Variable on an ADF form to Retrieve Database Information | AVIO Consulting
    Hope this helps,
    Dan

  • Custom ADF Taskflow to be displayed as part of Human Task notification

    Hi all,
    I am trying to display a custom ADF taskflow as part of notification of a Human Task. I see multiple ways of implementing it and need guidance on how to go about this.
    As a first step, I created a taskflow based on the human workflow task. This is WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml. Then I see 2 options -
    Option 1 - Use setTaskDisplayUrl while creating the task
    oracle.bpel.services.workflow.task.model.Task task = objectFactory.createTask();
    String AppUrl = oracle.topologyManager.client.deployedInfo.EndPointProvider.getExternalEndpoint("xyzCommon");
    String taskflowUrl = AppUrl + "/faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml";
    task.setTaskDisplayUrl(taskflowUrl);
    Option 2 - Define the taskflow in the Enterprise Manager - Add or remove the URI for the user defined task details application.
    Setup the Application Name=worklist, Host Name, HTTS Port, URL=/xyzCommon//faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml
    Questions -
    1. Are both the above options required to get my notification correct or is just one of them enough? If one of them is enough, which is better to use?
    2. Is creating the taskflow from the human workflow task the only way to customize my notification to show a taskflow?
    Thanks,
    Srini

    Learnt that I need to follow this link and no explicit setting is required in code.

  • ScrollBar Behaviour of ADF Taskflows rendered as Inline Popup

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

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

  • Oracle.adf.share.exception.ViewScopeException

    Guys,
    I'm getting the following exception "oracle.adf.share.exception.ViewScopeException". This happens when we deploy our applicaiton in clustered environment and trying to run the application from the browser.
    Any pointers to solve this issue is appreciated...
    <Sep 20, 2011 4:49:38 PM EDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    oracle.adf.share.exception.ViewScopeException: No technology supporting ViewScope found. Currently Faces and Trinidad support viewScope.
    at oracle.adf.share.ADFContext.getADFFacesViewScopeMap(ADFContext.java:504)
    at oracle.adf.share.ADFContext.getViewScope(ADFContext.java:411)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getActiveRegionMap(DCTaskFlowBinding.java:1326)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getActiveFlagFromViewScope(DCTaskFlowBinding.java:1344)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.initialize(DCTaskFlowBinding.java:184)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.isActive(DCTaskFlowBinding.java:1256)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:111)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3202)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    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.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:276)
    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.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)
    >

    Check that the adf runtime is installed each managed server in the cluster you deploy the application to.
    Timo

  • Easy way to evaluate a complex return type in adf taskflow

    Hi,
    I use a method call in adf taskflow where I call a bpel ws . This bpel has a complex return type. I want to evaluate in the taskflow router if STATUS==true . Can this be done with pageflowscope (in the method call , I have a return value) or do I need a methodIterator / accessorIterator in the pagedef.
    thanks edwin
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="11.1.1.47.96"
    id="process_Result" Package="nl.ordina.order.view.CreditCheck"
    BeanClass="nl.ordina.order.view.CreditCheck.process_Result"
    isJavaBased="false">
    <Attribute Name="STATUS" IsUpdateable="0" Type="java.lang.Boolean"/>
    <Attribute Name="LIMIT" IsUpdateable="0" Type="java.math.BigDecimal"/>
    <Attribute Name="REASON" IsUpdateable="0" Type="java.lang.String"/>
    </JavaBean>
    Here is the methodaction in the pagedef
    <methodAction id="process" RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="process" IsViewObjectMethod="false"
    DataControl="CreditCheck" InstanceName="CreditCheck"
    ReturnName="CreditCheck.methodResults.process_CreditCheck_process_result">

    nice try,
    Unfortunately your method is easily circumvented by either 1.) disabling javascript in the browser preferences or 2.) viewing the source code for the page and clearly seeing the required password or 3.) simply bookmarking and visiting protectpage.html
    It may take you 5 mins. to password protect your iweb site by using the method you've described, but it would take a visitor less than a minute to bypass the password protection. You need server-side scripting like php to enable real password protection so that information is processed on the server before the page is loaded.

  • 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

  • TaskFlow Exception Handler Behavior

    Hi all,
    I have a question about taskflow exception handler.
    My customer is using method-call exception handler to display error detail as FacesMessage dialog in their taskflow.
    And they are now trying to find the way to call exception handler but not to show the dialog in case that some sort of exceptions happen.
    To achieve this requirement they delete FacesContext.addMesage() from their exception handler, but when not call addMessage() they always get return code 500 (internal server error).
    From the behavior we've got, do we always need to call addMessage() in it to come back to original page?
    Regards,
    Atsushi

    Hi Frank,
    Thank you for your reply. Please let me ask you another question.
    When method-call error handler is executed it returns an outcome. And the outcome determines the next activity I get to.
    My question is whether it is a designed behavior of method-call error handler that when the below two conditions are met I get back to the original error page to see facesMessage dialog.
    1. The method-call outcome doesn't match any control flow case
    2. addMessage() is called in the method defined at method-call
    If any, I'd like to know how to get back the original page after error handler is executed without faces message.
    Thanks,
    Atsushi

  • Invoke ADF taskflow with parameters using POST

    Hi,
    Can someone give an example or point me to an example describing invoking adf taskflow with parameters?
    The requirement is to have the parameters passed using POST method and not passing the parameters in the url.
    Jdev: 11.1.1.4.0
    Thanks!

    Hi,
    a use case for the requirement would have been good to have as yet I can't tell if I am helping you with something useful (hope so) or stupid (for which there would be a better approach to use instead if only we knew the use case).
    Anyway, here's a document describing what you asked for
    http://adfpractice-fedor.blogspot.de/2013/07/url-task-flow-call-with-http-post-method.html
    Frank

  • ContentPresenter ADF Taskflow - Avoid re-write of content URL

    Hello,
    I see content presenter ADF taskflow has a feature that re-writes content URL. In my case, i show a HTML content item in content presenter which contains a download link to a DOC file present in UCM (as below). On render, internally content presenter re-writes the URL as below.
    Experts: I want to know if there is any way to override this feature of content presenter.
    1) Its not just ".doc" extensions, any link starting with "/cs" is re-written by content presenter
    ContentPresenter - Avoid re-write of content URL
    Original HTML from UCM:
    Please <a href="/cs/groups/asset/documents/contenttype1/~asded/ad1.doc"> click here </a> </p>
    Rendered as below by Contentpresenter:
    Please <a href="/appcontent/faces/oracle/webcenter/sitestructure/render.jspx?datasource=UCM%23dDocName%DOC_CONTENTID"> click here </a> </p>
    Appreciate help.
    PS: This Taskflow was OOTB built for WebCenter and may be should be part of that forum, but given frequency of responses, I have add here.

    Hi.
    As you said, Content Presenter has a urlRewriterClass in the service definition of type oracle.webcenter.content
    My recommendation is to open an Oracle-SR to ask Oracle for the best approach or what to do with it.
    A solution can be overwrite the Java Class of the rewriter just to avoid the transformation of the URL. It isn't recommendable.
    I hope it helps.
    Regards.

  • ADF Taskflow Navigation

    Hi All,
    I am stuck with a problem of ADF TaskFlows and need a help quickly.
    The description is as follows.
    After login to the application first page i encounter is a jspx page say start.jspx on which i have dragged a bounded taskflow called as TF1. I have 10 jsff pages in this taskflow say(A, B, C, D, E, F, G, H, I, J.)
    Now on one of these pages (say A) i have a link which will open the page B. I have dragged another taskflow say TF2 on B. In TF2 i have 5 jsff pages say (AA, BB, CC, DD, EE).
    Now from page BB i want to navigate to page D of the first taskflow.
    Please help on the same.
    Thanks

    Bind RegionNavigationListener of the region(for TF2) with a bean method and in bean you can navigate from
    if(regionNavigationEvent.getNewViewId() == null){
    NavigationHandler nh =
    FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
    nh.handleNavigation(FacesContext.getCurrentInstance(), null,
    "PROVIDE_CONTROL_FLOW_CASE_NAME_TO_GO_TO_PAGE_D");
    Amit

  • ADF taskflow performance

    I heard that ADF taskflows may slow down the performance at runtime as server needs to maintain pageflowscope variables and complete hierarchy of pages for each user. Is it right?
    Thanks
    Sanjeev

    Hi Frank, Timo
    Thank you for your input.
    I was also thinking on similar lines but let me wear a black hat and try to think all negatives about task-flow
    1) Generally we have 10 task-flows on a page. If each flow is maintaining 10 variables. It means 10 hashmap with 10 variables. Now if 1000 users try to access this application it means (10000 hashmap objects and each with 10 variables). Point is with every new user number of hashmap instances will be multiplied.
    2) We can also register beans in pageflow scope. Now if we bind UI component on such beans, then pageflow scope will not remain light weight. (I know its not good practice to bind component on pageflow beans as ui components are not serializable and they can not be passivated but still if we want to save state of ui components across the page.)
    3) If by mistake we make taskflow to use new datacontrol instance. Now AM instance will be associated with task flow and AM could be memory consuming.
    (I used the word 'by mistake' here because this setting should be derived from functional requirement. If functionality requires it that way, without taskflow also we will end up with 2 AM or 1 AM with two different vo instances. But yes if we set it wrongly by mistake it could be sever impact of memory consumption)
    I can't think of any. If you know any downside of taskflow please share.
    Thanks
    Sanjeev.

  • ADF taskflow and runtime Customizations

    Hi,
    I have a taskflow that contains panel customizable, which is deployed as adf library to my webcenter portal application.
    When I open resorces catalog in composer mode at runtime I am able to add an instance of the taskflow to the page then add content into the customizable area.
    When I add another instance of the taskflow to a page anywhere in the portal it picks up the runtime changes i made to the first instance.
    Is there a way to stop this behaviour and allow multiple instances of a taskflow to run independently.
    My Taskflow:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <cust:panelCustomizable id ="pc1" xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
    layout="scroll" showEditAction="true"
    showSplitAction="true"
    rendered="#{Content.display}">
    <af:outputText id="ot1" value="EditId"
    binding="#{Content.ID}"
    rendered="#{securityContext.userInRole['Administrator']}"
    />
    </cust:panelCustomizable>
    </jsp:root>
    So the user can manipulate what goes into the content area at runtime.
    Regards

    Hi,
    To debug it on production, can you check on the hot-deployment area of Spaces apps to validate the shared library reference is updated in weblogic.xml is picked up:
    WebCenter_Domain_Home/servers/WC_Spaces/tmp/_WL_user/webcenter_11.1.1.4.0/<depl_prefix>/war/WEB-INF/weblogic.xml
    - Substitute respective depl_prefix with latest hot deployment folder created inside WebCenter_Domain_Home/servers/WC_Spaces/tmp/_WL_user/webcenter_11.1.1.4.0 directory for your instance.
    Cross verify the shared library reference for the ADF taskflow is reflected in the weblogic.xml for the Spaces server to reflect it.
    I hope it helps
    Thanks,
    Pramod

Maybe you are looking for

  • How can I connect to Bluetooth of my iPhone when the screen is off ? (Bluetooth is ON)

    I need to "Page" my iPhone whenever its Bluetooth is ON. I couldn't figure it out how long is the listening time of the Apple's Bluetooth when its in Idle mode. Does anybody know how is the procedure of Apple devices to listen for available paging? I

  • HT1386 what is "other" in the capicity on my phone

    When it shows in itunes the capicity of the phone. It has "photos" "music" "apps" and "other". I have over 7GB of capicity on my phone taken up with "other" how can i delete some of that down? Can i delete it down? What is other composed of?

  • MM Manage mandatory field in material master data

    Hi, i need to manage some fields in MM01 and MM02 in order to have these fields mandatory if other fields have particular value. For example, if material type is ZFER and Prod.hierarc (in Basic Data 1) is AL001, only in this case i want that field Co

  • Version 7.5 Sp04

    Guys, Is the above version available for customers to be implemented in there BPC systems or is still in Customer Rampup and not aavailable for publicly ? Regards

  • PRE POST FADER Question.....

    I have a lead vocal sent via a send, to an AUX with a delay on it. I muted the lead vocal track, but am still hearing the echo from the delay AUX track. I checked, and it is set to POST fader. So this shouldn't happen. I have just noticed something w