This discussion is archived
14 Replies Latest reply: May 26, 2012 12:08 AM by svn123 RSS

like new-form-instance in forms10g revalent to adf.

svn123 Explorer
Currently Being Moderated
experts,

this is my need:

i had tree link in left side if i hits it means jsff(dynamic region) will open on right side.

while opens jsff i want to execute my vo.

something like executequery


so i have to say,

what i did:

am putting some entries one jsff. after finishing entries switch into another jsff. datas are not get refreshing. if i refresh url means the vo get refreshed.

why i want execute vo means some data are not refreshing. if i remove some part of url means the vo get refreshed.

i did nt know how to use executequery onpageload..

can any one help.

-jdev11.1.1.5.0

Edited by: subu123 on May 8, 2012 10:45 PM
  • 1. Re: like new-form-instance in forms10g revalent to adf.
    Sudipto Desmukh Expert
    Currently Being Moderated
    In your taskflow you can have a default activity as a AM/Bean method call which will call a method to execute the VO .. this way whenever your region loads , you will always execute the VO.
  • 2. Re: like new-form-instance in forms10g revalent to adf.
    svn123 Explorer
    Currently Being Moderated
    nice idea guru.

    but i had another idea. i didnt know whether it is correct way or not.

    i choose the corresponding iterator go to property palette. by default it will be deffered

    i choos'd refresh - always. is this right way.

    could you help me.
  • 3. Re: like new-form-instance in forms10g revalent to adf.
    svn123 Explorer
    Currently Being Moderated
    In your taskflow you can have a default activity as a AM/Bean method call which will call a method to execute the VO .. this way whenever your region loads , you will always execute the VO.
    guru as you said i did it. while hitting the link some error throws


    <MethodCallMetadataXmlImpl> <parse> ADFc: /WEB-INF/TaskFlows/MKG1020TF.xml#MKG1020TF: 
    <MethodCallMetadataXmlImpl> <parse> ADFc: No outcome metadata specified for method call activity 'null'.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/TaskFlows/MKG1020TF.xml#MKG1020TF: 
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['method-call', 'LeadsVoExecuteQuery'].
    <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:640)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:440)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:341)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:164)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:241)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3202)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3193)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
         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:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:279)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
         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:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.adf.controller.metadata.ParsingException: ADFC-02020: Cannot find default activity 'LeadsVoExecuteQuery' in task flow definition '/WEB-INF/TaskFlows/MKG1020TF.xml#MKG1020TF'.
         at oracle.adf.controller.internal.metadata.xml.XmlUtil.createAndLogParsingException(XmlUtil.java:465)
         at oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl.parseTaskFlowDefinition(MetadataResourceXmlImpl.java:444)
         at oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl.parse(MetadataResourceXmlImpl.java:308)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMDSCachedResourceOrParse(MdsMetadataResourceProvider.java:721)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:376)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         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:217)
         ... 62 more
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    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:640)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:440)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:341)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:164)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:241)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3202)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3193)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
         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:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:279)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
         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:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.adf.controller.metadata.ParsingException: ADFC-02020: Cannot find default activity 'LeadsVoExecuteQuery' in task flow definition '/WEB-INF/TaskFlows/MKG1020TF.xml#MKG1020TF'.
         at oracle.adf.controller.internal.metadata.xml.XmlUtil.createAndLogParsingException(XmlUtil.java:465)
         at oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl.parseTaskFlowDefinition(MetadataResourceXmlImpl.java:444)
         at oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl.parse(MetadataResourceXmlImpl.java:308)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMDSCachedResourceOrParse(MdsMetadataResourceProvider.java:721)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:376)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         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:217)
         ... 62 more
  • 4. Re: like new-form-instance in forms10g revalent to adf.
    Sudipto Desmukh Expert
    Currently Being Moderated
    Caused by: oracle.adf.controller.metadata.ParsingException: ADFC-02020: Cannot find default activity 'LeadsVoExecuteQuery' in task flow definition '/WEB-INF/TaskFlows/MKG1020TF.xml#MKG1020TF'
    Looks like a PageDef file for the method activity is missing ... did you drag and drop the method from the DataControl pallette to the Tasflow and mark it as default activity ?

    Also its not a good idea to use refresh as always
  • 5. Re: like new-form-instance in forms10g revalent to adf.
    svn123 Explorer
    Currently Being Moderated
    Caused by: oracle.adf.controller.metadata.ParsingException: ADFC-02020: Cannot find default activity 'LeadsVoExecuteQuery' in task flow definition '/WEB-INF/TaskFlows/MKG1020TF.xml#MKG1020TF'
    thanks this problem solved.
    Also its not a good idea to use refresh as always
    ok i understood.
     AM code
        public void LeadsVoExecuteQuery() {
            Prospects1VOImpl vo1 = (Prospects1VOImpl)this.getProspects1_1();
            vo1.executeQuery();
        }
     MKG1020 - taskflow code.
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="MKG1020TF">
        <default-activity id="__1">MKG1020</default-activity>
        <managed-bean id="__3">
          <managed-bean-name id="__2">MKG1020</managed-bean-name>
          <managed-bean-class id="__5">com.rits.suplr.view.backing.MKG1020</managed-bean-class>
          <managed-bean-scope id="__4">backingBean</managed-bean-scope>
        </managed-bean>
        <view id="MKG1020">
          <page>/PageFragments/MKG1020.jsff</page>
        </view>
        <method-call id="LeadsVoExecuteQuery">
          <method>#{bindings.LeadsVoExecuteQuery.execute}</method>
          <outcome id="__6">
            <fixed-outcome>LeadsVoExecuteQuery</fixed-outcome>
          </outcome>
        </method-call>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    my default activity will be
    <default-activity id="__1">MKG1020</default-activity>
    i cant change this.
    if i change this is to default activity to that method means my page will is not renders.

    AS Far as i know,

    we can use one thing as Default activity.

    so how can i execute my vo. while region opens.
  • 6. Re: like new-form-instance in forms10g revalent to adf.
    Sudipto Desmukh Expert
    Currently Being Moderated
    Cool .. close the thread by marking it as answered.
  • 7. Re: like new-form-instance in forms10g revalent to adf.
    svn123 Explorer
    Currently Being Moderated
    Cool .. close the thread by marking it as answered.
    sir, i did not understood. i did not get my need.

    if i change my default activity, means jsff page is not rendering.
  • 8. Re: like new-form-instance in forms10g revalent to adf.
    Sudipto Desmukh Expert
    Currently Being Moderated
    I missed the last part of your post.
    Have the method call after your default activity , next in sequence :) It shoudl just execute , irrespective whether its default or not
  • 9. Re: like new-form-instance in forms10g revalent to adf.
    svn123 Explorer
    Currently Being Moderated
    Have the method call after your default activity , next in sequence :) It shoudl just execute , irrespective whether its default or not
    as you said i tired. but red color error showing on right hand side. element managed bean is not expected.
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="MKG1020TF">
        <default-activity id="__1">MKG1020
       
        </default-activity>
        
     <method-call id="LeadsVoExecuteQuery">
          <method>#{bindings.LeadsVoExecuteQuery.execute}</method>
          <outcome id="__6">
            <fixed-outcome>LeadsVoExecuteQuery</fixed-outcome>
          </outcome>
        </method-call>
        
        <managed-bean id="__3">
          <managed-bean-name id="__2">MKG1020</managed-bean-name>
          <managed-bean-class id="__5">com.rits.suplr.view.backing.MKG1020</managed-bean-class>
          <managed-bean-scope id="__4">backingBean</managed-bean-scope>
        </managed-bean>
        
        <view id="MKG1020">
          <page>/PageFragments/MKG1020.jsff</page>
        </view>
        
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
  • 10. Re: like new-form-instance in forms10g revalent to adf.
    Sudipto Desmukh Expert
    Currently Being Moderated
    Can you put a screenshot of your Taskflow diagram ?
  • 11. Re: like new-form-instance in forms10g revalent to adf.
    svn123 Explorer
    Currently Being Moderated
    yes of-course, you are welcome :)

    http://imageshack.us/photo/my-images/62/50491224.png/

    any replies.
  • 12. Re: like new-form-instance in forms10g revalent to adf.
    Sudipto Desmukh Expert
    Currently Being Moderated
    I donot understand why you can't use the method call as the default activity ?
    There will be a control flow case from the method call to you view activity which means after execution of the VO , the page will render.

    Please have a read to clarify your basics -
    http://docs.oracle.com/cd/E21764_01/web.1111/b31974/taskflows_activities.htm#BACFBDAE
  • 13. Re: like new-form-instance in forms10g revalent to adf.
    Shay Shmeltzer Employee ACE
    Currently Being Moderated
    See if this helps:
    https://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl

    Should be the same if you are using page fragments in your taskflow - just have the taskflow accept a paramter and put it in the pageflowscope.
  • 14. Re: like new-form-instance in forms10g revalent to adf.
    svn123 Explorer
    Currently Being Moderated
    sorry for the late reply.

    i will ah try as you said.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points