Binding ADF Components in Task Form

Hi!
I am using: Oracle Fusion Middleware 11.1.1.5.0, Oracle JDeveloper 11g.
I posted this thread in the SOA section because of the type of project I am working in (SOA Application). But until now my question remained unanswered so I now I post in this section because I am using also ADF components.
I am trying to customize a BPEL Task Form.
After I made a project using Fusion Web Application, I could confirm that the managed beans for some ADF Faces components were working and the form (an .jspx page that I would run on Integrated Web Logic Server) was functional.
I made a project using SOA Application.
I made a BPEL Process with a Human Tak and using the Launch Task Form Wizard I made a form.
Then I started adding ADF Faces components that are using managed beans, just like in the other project.
When I deploy the project, all the components using the beans just dont show up. If I dont use the components with the managed beans the form appears normally.
Is there some additional requirement to make the bindings with the managed beans in the Task Form?
To clarify the question below I have some printscreens:
1. SelectOneChoice "Rubrica" component with value binding from the ActionListenerOK java class;
http://i43.tinypic.com/x4j0ol.jpg
2. Showing the Expression Builder for the above value binding;
http://i42.tinypic.com/14mdxqq.jpg
3. Method Expression Builder for a Button Component;
http://i41.tinypic.com/2r38tw2.jpg
4. The managed beans list for the form page;
http://i41.tinypic.com/rbjqt2.jpg
5. How the form appears when using the components with java bean bindings;
http://i39.tinypic.com/34pghh0.jpg
6. How the form appears when delete the components with tha java bindings;
http://i41.tinypic.com/2mwwkuo.jpg

Answering your questions:
Where: I created the class in the oracle package, than I tried using oracle.adf and oracle.bpel.services.workflow.worklist.adf, where I have seen that the form had automatically created some of the beans for some actions. I defined the bean inside the task flow.xml that was automatically created when I created the form.
http://i39.tinypic.com/16gx6ic.jpg
What scope: request. The bean is a class that changes the tabs upon an user selection from a SelectOneChoice component. But I also created bean for populating a table and I will need to create several other beans for different methods. The tabs are all hidden and only can be displayed upon selection and clicking the ok button.
As the bean is functional when used in a Fusion Web Application (ADF), I believe that the code is correct:
http://i43.tinypic.com/r8fg46.jpg
Showing the bindings for the respective components:
http://i43.tinypic.com/sxymue.jpg
http://i40.tinypic.com/ek3tjk.jpg

Similar Messages

  • Using ADF BC in a Task Form (SOA Human Task)

    Hi!
    I need to display data from a database table in a task form for a human task. This data is not part of the task payload.
    I read some tutorials about using BC in ADF Applications and applied the same principles to my task form application, so I created a VO and a read-only table. Anyway when the form is displayed in the worklist I get a "Connection <name> not found" exception and lots of NPE. The connection is valid, i.e. declared under WLS JDBC conns.
    I am using 11.1.1.2 version of FMW.
    Any help is appreciated.
    Thanks in advance.
    Mick
    [2010-07-15T13:59:54.950+02:00] [WLS_SOA1] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: jcooper] [ecid: 004YqjMW5gbEoIxqw8Fg6G0002ZL0001IT,0:1] [APP: GestioneCorrezioniUI_new] [URI: /workflow/GestioneCorrezioniUI_new/faces/adf.task-flow] ADF: Adding the following JSF error message: Nome di connessione ConnectionModulisticaDS non definito.[[
    oracle.jbo.ConfigException: JBO-33003: Nome di connessione ConnectionModulisticaDS non definito.
         at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1087)
         at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:595)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:328)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:587)
         at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:562)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:389)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:303)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:199)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:123)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:166)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:844)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1069)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:972)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:932)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:965)
         at oracle.adf.model.BindingContext.get(BindingContext.java:922)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1548)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2434)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2379)
         at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3140)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:485)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:437)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:586)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.lookupAttributeDef(JUCtrlValueBinding.java:557)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding$1JUCtrlHierHintsMap.internalGet(JUCtrlHierBinding.java:174)
         at oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:54)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.getProperty(BaseColumnRenderer.java:960)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.layoutHeader(BaseColumnRenderer.java:489)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:89)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.layoutColumnHeader(BaseTableRenderer.java:1046)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:522)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:402)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:651)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:570)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:327)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:402)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:651)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:570)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:327)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:402)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:651)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:570)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:327)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:402)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:651)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:570)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:327)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1066)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         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:292)
         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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         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.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:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:173)
         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:326)
         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.run(WebAppServletContext.java:3592)
         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:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ]]

    Mick,
    You have to create new or use existing datasource in the worklogic admin console. Make sure the datasource is connected to the right database. Visit the following page for more information on how to create datasource.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10537/T430238T430340.htm
    Make sure to suffix the datasource name with DS. Because connectivity from ADF model is not working without DS. We tried many times and worked only if we Suffix the datasource and JNDI name with DS.
    If your datasource JNDI name is, for an example jdbc/MyDataSourceDS. set this value at your Application Module Configuration section for local and Shared. Note, you can only deploy and test in the server where the datasource got created.
    Let me know if you have any specific questions.
    Thanks
    Annadurai.

  • ADF Task Flow based on HumanTask - Region withiin Task form

    Hello All,
    Was wondering if anybody here has sucessfully used region in their human task forms? I really like the idea of regions and after going through the tutorial here* I tired to implement it.
    Following are some additional details of the issue I'm facing.
    I have created a UI project based on a human task. The main <human task>_taskFlow.xml is bounded and non-fragmented. I then dropped 'view' component within this task flow and create a blank jspx page underneath. I then dragged and droped another bounded and fragmented task flow (which is also a train) on to this jspx page. The 2nd task flow has some jsff pages in a train. When I deploy run this bpm project,I can't see train form within the region and I get following Null Pointer Exception on the server:
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:233)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    Any help would be much appreciated.
    *http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/boundedtaskflow/bounded_task_flow.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Update: After struggling with it almost whole day, I recreated the UI project and the problem has gone away.

  • [ADF custom task form] How to get logged user in Worklist app?

    Hi!
    How to get the user id, logged in Worklist application in a managed bean? I'm creating ADF task form for human task and i have to know which user is logged in.
    Thx!

    &lt;af:outputText value="Authenticated User: #{securityContext.userName}" id="ot2"/>
    or via standard j2se apis (Subject.getSubject(..))
    hth clemens (http://blogs.oracle.com/soabpm)

  • Hide ADF components in email notification Human Task BPM 11g

    How can I hide ADF components in email notification?
    I what to hide some buttons and comments section.
    I'm using BPM 11g 11.1.1.6
    Thanks everybody.

    Hi Frank,
    Just wanted to know if someone has already tried a usecase similar to this as it also involves ADF DI. :)
    Posted in SOA Suite forum : ADF DI integration with SOA Human Task
    Thanks,
    Anoop
    Edited by: Anoop Kumar Shukla on Jan 29, 2013 2:32 AM

  • Does not generate detail of detail collection ADF task form

    Hi
    I use Jdev 12.1.3
    when i auto generate ADF task form from HT generated task forms does not contain tables in detail of detail.
    I have a tree business object as payload on root to many detail and every detail has a collection as detail.
    Also when i use manually by drag and drop from datacontrol on my page as table doesn't works.
    how does I have table and for every row i have a table as detail?
    thanks.
    Fazel.Business Process Management Suite user9525019

    Thanks Frank.
    I have set up the partial triggers on the dependent detail and still the table is empty. On Further investigation, we found that there is no row selected in its master and consequently the detail is empty. But now the question is why is no row getting selected in the Master. My understanding is that the default behavior for master-detail table , the first row for master will be selected by default and the detail will be populated.
    Could you let me know what could be the reasons /where to look for on why no row is getting selected in the Master?

  • ADF Human Task Form

    Hi all,
    I created a BPEL process with Human task activity and Auto generated a Human task form(ADF Form).
    after deploying the process ,in the work list console im able to see the task details and task form is also displayed.
    if isome values are upadted in ADF task form it does not get dispalyed in the form.once if i refersh manually i m able to see the changes.
    how can i make the task form refersh automatically say for example after each and every minute.
    Any suggestions?
    Thanks,
    karthik

    Hi Frank,
    i was looking into this document : http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_designtf.htm#CACFCJFE
    26.3.2 How To Create an ADF Task Flow Based on a Human Task.
    Here ADF pages are auto generated...
    Any suggestion from you where i can go and edit the auto generated task forms so that it can refersh itself automatically.
    Regards,
    karthik

  • Managed Bean in Task Form

    Hi!Oracle Fusion Middleware 11.1.1.5.0, Oracle JDeveloper 11g.
    I post this thread in this section because of the type of project I am working in (SOA Application).
    I am trying to customize a BPEL Task Form.
    After I made a project using Fusion Web Application, I could confirm that the managed beans for some ADF Faces components were working and the form (an .jspx page that I would run on Integrated Web Logic Server) was functional.
    I made a project using SOA Application.
    I made a BPEL Process with a Human Tak and using the Launch Task Form Wizard I made a form.
    Then I started adding ADF Faces components that are using managed beans, just like in the other project.
    When I deploy the project, all the components using the beans just dont show up. If I dont use the components with the managed beans the form appears normally.
    Is there some additional requirement to make the bindings with the managed beans in the Task Form?
    To clarify the question below I have some printscreens:
    1. SelectOneChoice "Rubrica" component with value binding from the ActionListenerOK java class;
    http://i43.tinypic.com/x4j0ol.jpg
    2. Showing the Expression Builder for the above value binding;
    http://i42.tinypic.com/14mdxqq.jpg
    3. Method Expression Builder for a Button Component;
    http://i41.tinypic.com/2r38tw2.jpg
    4. The managed beans list for the form page;
    http://i41.tinypic.com/rbjqt2.jpg
    5. How the form appears when using the components with java bean bindings;
    http://i39.tinypic.com/34pghh0.jpg
    6. How the form appears when delete the components with tha java bindings;
    http://i41.tinypic.com/2mwwkuo.jpg

    &lt;af:outputText value="Authenticated User: #{securityContext.userName}" id="ot2"/>
    or via standard j2se apis (Subject.getSubject(..))
    hth clemens (http://blogs.oracle.com/soabpm)

  • How to open and navigate between human task forms in a same page?

    Hi
    I use Oracle BPM 11.1.1.5
    I have a question about taskflows in BPM Application.
    In ADF web application, I create a sipmle task flow and insert view id and bind these to jspx pages, my pages are opend in same page when
    return an outcome.
    For exapmle I have three pages like A,B,C.
    In task flow, insert three view ids and bind to A,B,C.
    My first pages is A, and when outcome is B navigate to B, when my outcome is C then navigate to C in a same page not separate pages.
    But my problem is here.. in BPM Application when create task forms, every task has a separate task flow that there exist a single view id and a wild card flow in it.
    In BPM workspace when initiate human task form is closed, I should press refresh button to see next human task form in task list table.
    I tried to create a simple task flow and insert human task forms in it and navigate between these.. but show human task form in wrong display and don`t show some component and human task payload.
    Now, my question : How to open and navigate between human task forms in a same page like software installation?

    Having a separate Data Control for each human task is normally the case. There is a way to assign multiple human tasks to a single data control (and one task flow), but I don't think that this is going to help you with what I think you're trying to do.
    If your human task is called "EmployeeDetail", then you'd use the data control associated with this for the UI pages in the task flow diagram that is associated with this human task. For example, you might have a first page that has just the basic employee information - the fields (at least the ID field) would come from the EmployeeDetail data control. When the end user clicks "Next", you might have this UI page flow to a second UI page in the task flow diagram that has the employee's address information. You might place the address fields from the EmployeeDetail data control onto this second UI page.
    You might be asking how the work item instance can automatically flow to the next interactive activity in the process while staying inside the first interactive activity's human task's task flow diagram. This is not how it works - the task flow diagram models the end user interaction while inside a single human task that is tied to a specific interactive activity in the process. If you want a the end user to be able to move the instance through multiple interactive activities in the process in one interaction, look at "Activity Guides". Activity Guides do a nice job of this.
    Dan

  • UI Shell - how to allow ADF Library Bounded Task Flow to close itself

    Hi Richard
    Further to my other post, we're having lots of fun with the UI Shell, it's making mockups very easy.
    Question for you though based around the functionality defined in the UI Shell whitepaper. Say we've created our UI Shell application, and rather than wanting to create the bounded task flows in the app (ie.first, second, third), we create them as standalone bounded task flows deployed to ADF Libraries, and imported into our app separately.
    In the UI Shell examples bounded task flows are opened & closed via the UI Shell's own components (say the navigation page items or toolbar buttons), that call the methods in the Launcher bean (_launchActivity & closeCurrentActivity). It's fairly simple to rewrite the launcher helper methods in the launcher bean to call an imported ADF Library bounded task flow to open it as an activity, just referencing the correct task-flow.xml file.
    However as you know a bounded task flow has a "Default Activity" entry point and one or more "Task Flow Return" exit points. What I haven't been able to work out is how when the bounded task flow exits via a task flow return, can we call the closeCurrentActivity method in the Launcher bean? The UI Shell code examples demonstrate closing a bounded task flow by menu options/or similar outside the bounded task flow in the UI Shell, but it would seem reasonable if the bounded task flow exited via a "Task Flow Return" we should be also able to close the activity tab too.
    (....and as extension, before we even do that potentially call the checkState/isDirty() method to stop the user closing the activity too, but again driven by the bounded task flow attempting to exit).
    I could imagine inserting code into the bounded task flow finalizer to close the activity tab, but this pushes the UI Shell tab activity management logic into our standalone ADF Library bounded task flows which isn't ideal, especially if we want to later reuse them in another app which doesn't use the UI Shell.
    Any suggestions welcome.
    Thanks & regards,
    CM.

    And we're back again.... what's a couple months between friends?
    So it turns out after testing our app (d@mn, so close) that we've hit a bug with this approach.
    Our current app allows one BTF to be open in the UI Shell at any one time. Our menu options automatically open one BTF at a time by the user (max one open), and close the previous BTF. However we have some "special" BTFs that require the user to explicitly close the BTF, which in turn makes use of the regionNavigationListener solution I described earlier in this post.
    However we discovered a bug when we do a complete cycle of the 15 embedded regions within the UI Shell.
    Say we:
    1) Open a normal BTF in region 0
    2) Open another normal BTF in region 1 (our solution automatically closes the previous BTF)
    3) We then open another BTF (again the previous BTF is closed) in region 2, yet this a "special" BTF requiring the user explicitly to close it. Upon the user closing the BTF - this results in the regionNavigationListener being called and the removeTab() method called to close down the BTF in the UI Shell
    4) The user then open/closes multiple normal BTFs, one by one, rotating through regions 3, 4, 5 .... eventually back to 1 again
    5) Then the bug occurs - on opening any BTF back in region 2 (as part of the complete cycle of all regions), the tab for the region 2 opens, correct title, and via debugging the Tab.class has all the right settings including taskFlowId, but the tab is incorrectly empty
    doh!
    I've managed to track a symptom of the problem down that may explain what's happening.
    Each time a tab is rendered with a BTF, the Tab classes getBinding() method returns a reference to the binding required for the current BTF. However for some reason on the complete cycle, for "r2" it returns the binding for the previously user-closed BTF from step 3 above, even though we called the TabContext.removeTab() method.
    What I haven't been able to work out is how the bindings get turned on/off dynamically for each BTF being invoked. Presumably for some reason on step 3, the BTF's bindings aren't being correctly removed from r2 even though we called TabContext.removeTab().
    If anybody has any brain waves about what's going on and how to fix this problem, your help appreciated.
    Regards,
    CM.

  • How to set default bind variable value to task parameter value

    Hi,
    I 'm implementing a BPEL process with a human task, and I autogenerate the task form. I have a custom sql table that stores opinions, different processes should show different opinios, so my ADF table can only show records related to that process. A custom process number is sent to the task form as a task parameter. How do I use that value as the bind variable default and only value?
    Thanks,
    I.D.

    Hi Shay and thanks for your reply,
    What I want is what you have but without the login page. I tried to start my flow with an action and for some reason it didn't work.
    Is there anything else you can tell me?
    Thanks,
    I.D.
    P.S. I was able to get it to work using the aproach Frank Nimphius described in another post.
    Re: How do I prepopulate a bind variable from a session variable?
    Anyway just out of curiosity could you please tell me if I could have done it your way?
    Thanks a lot,
    I.D.
    Edited by: user8696770 on 5/Ago/2009 7:12

  • Deploying EBF with a Human Task and Task Forms usingAIA Deployment Plan

    Hi All,
    I have a set of composites for an invoice interface - File Adapter, Req ABCS, EBS, Prov ABCS, DB Adapter, Resp EBS and an EBF. If my invoice doesnt go through due to some validation errors, I let the user edit the invoice using a Human Task called from my EBF.
    When I deploy the EBF from the jdeveloper, it deploys the Task Form as well, and they get deployed correctly. For the test and production instances, we use AID scripts, and they work fine for all the AIA components. I am looking for suggestions on how to deploy the Task form (ADF) linked to the Human Task of an AIA component.
    Thanks for the help.
    Regards
    Anish.

    Anish,
    tasks forms are not really different from other applications when it comes to deployment via an AIA deployment plan. There are some examples available for this in FP's own deployment plan, e.g. like this:
    <Application name="ActorNotNull_FYINull"
    filelocation="${AIA_HOME}/Infrastructure/Install/applications/ActorNotNull_FYINull.ear"
    wlserver="fp" failonerror="false" action="deploy"/>
    So these task forms can simply be deployed like any other ear, you just need to explicitly call it out in the deployment plan.
    Gerhard

  • Not able to access human task form (11.1.1.4)

    I installed SOA Suite with BPM Suite 11.1.1.4. I ran into quite a few issues. The biggest one is I am not able to access the human task form in BPM workspace even for the new application created in 11.1.14.
    Do you have such issue? I am not sure if it is a bug or is related to my specific installation. I followed the document “Quick Start Guide for Oracle® SOA Suite 11gR1 (11.1.1.4.0) Version 1.6” for the installation. The only difference is that I installed the generic version of WebLogic and JDev and configured them to use JDK 64-bit version since my OS is windows 7 (64-bit). Before, I had installed 11.1.1.3 with 64-bit and it was working fine. The only tool installed with 32-bit is the JDev 11.1.1.3. Since JDev 11.1.1.4 is supporting 64-bit, I installed everything with 64-bit for this time.
    The details of the error are the following:
    With JDev 11.1.1.4, I created a new application which has a simple BPM process with 3 flow objects: start event-user activity-end event. The human task has the auto-generated task form. I deployed the application to the SOA server.
    When testing the application, the task was created and listed in the BPM workspace. But when I clicked the task link to open the task form, the web page was hanging. I noticed the following log was REPEATED again and again in the access.log:
    140.98.125.168 - - [20/Apr/2011:10:28:08 -0400] "GET /workflow/TestpsUI/faces/adf.task-flow?bpmWorklistTaskId=2a5b4ad1-823f-4615-8a7e-c5449a7be814&bpmWorklistContext=12aa4934-991a-487c-b7f3-5159808c399a%3B%3BtbcZXSd1E1LVZv8OIaLZGd21meLUMNkYSMsmz60kNKoEaJ1N53wy3zyRYA%2BunyKF9UNi50fPHKtaXY6IqKbh%2Fu68WebTan3zCwGsUNmNMaw8aLEygS5qb2cOGx2qGal86F%2FgiRka874PYLXhohFdDPCQyoxre2p7IgpsloLHq2rh7T3zWGnyOjLdC7Qw0Geb20Kfp8XA2UUIoxaxTHS6YFPQqqs%2FzIkyEsgMNQJMDbYYGdceRL2sT8rMkBXpmQ0r&bpmWorklistHttpURL=http%3A%2F%2Flocalhost%3A7001%2Fbpm%2Fworkspace%2Ffaces&bpmWorklistHome=home.jspx&bpmWorklistReassign=reassignTask.jspx&bpmWorklistRoute=routeTask.jspx&bpmWorklistRequestInfo=requestInfo.jspx&bpmWorklistSecurity=signTask.jspx&tz=America%2FNew_York&lg=en&cy=US&vr=&dispNameLg=en&dispNameCy=US&dispNameVr=&df=medium&dt=both&tf=short&bpmWorklistSessionTimeoutInterval=900&soaUrl=http%3A%2F%2F140.98.125.168%3A7001&bpmBrowserWindowStatus=taskFlowReturn&adf.tfDoc=%2FWEB-INF%2FHumantask_TaskFlow.xml&adf.tfId=Humantask_TaskFlow&_task-flow-return=http%3A%2F%2Flocalhost%3A7001%2Fbpm%2Fworkspace%2Ffaces%2Fadf.task-flow-return%3F_adf.ctrl-state%3De1i6yi1gq_35&_adf.winId=e1i6yi1gq_26&_afrLoop=7156779026094&_afrWindowMode=0&_afrWindowId=null HTTP/1.1" 200 5478
    Please help if you know what is going on for the issue.
    Thanks a lot,
    Helen

    Go to OEM, select the SOA Composite application you deployed.
    Under Component Metrics … click the link of the Human Workflow Component that you have the issue
    The settings of the Human Workflow Component would be displayed
    Click the Administration tab, you will get the URI setting for the human task
    update the Host name etc. as you want and click "OK" then click "Apply"
    Please note: this is just a shortcut for my own dev-env. I have not got the time to figure out why this happens. It is sure not the right solution for the production if we have the issue in the prod-env, I think.

  • Using templates with task forms

    Hello everybody!
    In my project, I need to create a jsf page template, and aply it to task forms (there are about 50 human tasks, so I really need to reuse as much as possible). Is there any recommended way of doing this?
    In a proof of concept, I tried to simple put the "af:pageTemplate" code snippet in the generated task form source, and then move some of the form generated code inside of the template facets where I needed it. Is this recommended approach? I'm still new to ADF, so I don't know if there are any negative implications in this approach :P
    Thanks,
    Luis
    Edited by: user12048118 on 10/Mai/2011 6:42

    For questions about LiveCycle Designer use the forum LiveCycle Designer.

  • ReGeneration of a task form after adding new element in the payload

    Hello,
    I have a question concerning the re-Generation of a task form
    In a first step we have made a BPM Process with a Human task. We have generated the task form.
    In a second step we have changed the payload definition in the Human Task (i.e adding an attribut).
    How can we re-generate the existing ADF form or modify the Data Control wihtout creating a new ADF project ?
    Thanks,
    Grégoire.

    When you use the auto generate task form feature, it creates a new project for the form. You can also use the manual generate function to add a form to an existing project. But, you can't replace an existing form with the new one this way.
    You could update an existing form to access the new data element (theoretically - though you'd have to do a bit of manual puttering around) but if you have not customized the form, there is no benefit in doing it this way.
    Heidi.

Maybe you are looking for

  • Out of memory error in JDBC sender adapter

    Hi I am inserting a large data set using a sender JDBC adapter into a single table in an MSSQL server. Theoretically I could use statement batch mode to increase throughput. However if I set the batch flag I get an "insufficient system memory to exec

  • Field in Flat File DataSource

    I created a Flat File DataSource. In the DataSource, I enetered InfoObject 0OUTAGTARGT in the Fields tab ->InfoObject Template column. I want this InfoObject to be mapped into field KTWRT (Target Value) in R/3 table EKKO. However, when I enter the th

  • Drop files out of zip archiv and deliver?

    Is it possible to drop a special filetype (exe) or filenames out of an zip archiv? After deleting the unwanted "archiv-members", the archiv should be delivered. I need this requirement for specific recipients, not as a "global setting".

  • Printer spits out blank pages v8.1.3

    When I hit print button, my printer spits out blank pages (about the same number as there are pages in the pdf document). The printer works fine with other programs (Word, Excel etc.) but not with the Acrobat 8.1.3 What gives?

  • Report service doesn't to start after developer6i patching on windows OS

    Hi hsawwan , I am unable to start report and apps listener service after developer 6i patching on windows platform. m getting below error while starting report service. Setting service OracleReportServer-Rep60_UAT to mode 2 Executing service control