ADF task flows and parameters WITHOUT data controls

Hello world.

In a previous post, I asked him about the best way to call the workflow "at a distance" by a "local" application Frank Nimphius suggested me to use the JAR ADF libraries between projects for this. I'll apply, but I have a small/big problem:

As I said in my previous post, I exclusively use the EJB 3.0 - JPA technology in all my projects. The components business or data controls are used. Just a lot of Java-based components.

Now, supossed that I have a (based in the HR schema) application with 3 projects:

-L' one with all things EJB: entities from tables, session bean, and an example of a Java client.
-The second as a 'local' point of view, with a JSPX (viewLocations.jspx) page that contains the table of communities (table_locations).
-The third view "at a distance", with a JSPX too (viewCountries.jspx) page that contains the table of countries (table_countries).

I have a button in views the remote, and one to switch from local to remote display and the other for the opposite.

The goal is: pass a location of choice of table of locations for the project where I need to see the country for the selected location.

In the table of locations, I use a variable currentLocation (declared as: private location currentLocation = new Locations() ;) to store the selected location and a SelectionListener process, called selectLocation_listener() with this code in the)
backing.viewLocations.ViewLocations.java:

+ ' public void selectLocation_listener (SelectionEvent selectionEvent) {+
+ / / Add code from the event here... +.
currentLocation = (rentals) table_locations.getSelectedRowData ();
+}+

If the selected location is stored in the variable currentLocation.

Both in projects the and remote, in that I store the task flow JSPX pages. I have the taskLocal.xml as an unlimited workflow with the viewLocations.jspx as the main view and the taskRemote.xml as a workflow bounded with the viewCountries.jspx as the main view.

I have deployed the project remotely in a library JAR ADF and imported to the local project, then I get it as a special activity Flow call.

The question is: How can I pass the variable currentLocation as a workflow setting to my project remotely? I don't have any data control to bind to a workflow parameter.
Should I really have some control of data to store my currentLocation variable and bind it to a parameter? Or there is another way without data controls?

Another fact: local and remote project have a dependency with the EJB project.
What about dependencies? Have a role in call task workflow activities?

Thanks in advance.

If you would like more information or a more detailed explanation please ask me.

Hello

a data control is needed for this. If you only want to use ADF task Flow and manage the component UI lie yourself, then you are good to go with this approach. To add parameters to a call from bounded task flows, have a look here

http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/TOC.htm (Chapter 15, activities of view URL using 15.3)

You can make the local variable that is accessible from an accessor method Set/getter bean managed so that you can use EL when you set the value of the parameter.

Frank

Tags: Java

Similar Questions

  • Info by exception display JDev 11.1.2.1 ADF task flows activity

    Article 22.4 of the 11.1.2.1 Fusion developer's guide tells me how to designate an activity as the exception handler for a workflow. I followed the directions; created a page error, placed in the workflow, marked as the exception handler. I force an exception and indeed the page.

    What I don't know is how to extract the data of the exception, so I can filter, format and display it. How is the exception page receives the exception data?

    This level of exception is adequate handling? All my treatment in the workflow. If each of them has an exception handler is something more, what I should do to catch exceptions alll?

    Thank you, Steve

    You can use

    #{controllerContext.currentRootViewPort.exceptionData.message}
    

    also chk
    ADF task flows of exception handling

  • Train ADF task flows of value name complete bundel comonent

    Hello

    I've got som problem with train of delimited adf task flows.

    I'm building a workflow bounded as the fragment and the train and I add the component display name for each view, but how do I give the value of the display name of a bundel of view controller.

    cordially mohammad.j.yaseen

    Hello

    It works as John says. Here is a write are:

    http://blogs.Oracle.com/jdevotnharvest/entry/reading_train_stop_display_names

    Frank

  • Input parameters of the task flow and "back" button

    Hello experts. I have two stubborn workflow created by page; say they are TF1 and TF2. Each workflow task has their own controlled beans. These controlled beans are kept in the Page flow scope. The two task-flow has their own of initializers.

    By an action on TF1, I redirect to the TF2. During this redirection, I pass some parameters. After redirection when it enters the TF2, I extract the parameters programmatically. Now I'm back on TF1 and TF2 of TF1, I'm clicking on the back button of the browser. Note that I put anything if the re-entry allowed or not in TF2. After clicking the browser back button access me for the new TF2. TF2 called if I generate any action of the initializer. BUT now I can not get the input parameter values more. All values in the set of input null parameter.

    My question is:

    • Why have defined null values?
    • How can I make persistent values?

    Any pointer would be very useful.

    I use JDeveloper 11.1.1.6.0, WebLogic 10.3.5.

    Thanks in advance.

    Tapas

    There is a way. Click on "back" button is not invoke the lifecycle JSF and browser displays the previous pages in its cache. If somehow, I can say browser not to cache the page, then every time a click the back or next button, the browser would GET the page headed from the server, which would eventually be my.

    So I added a filter to achieve this:

    public class NoCacheFilter implements Filter {
        @SuppressWarnings("unused")
      private FilterConfig _filterConfig = null;
    
        public void init(FilterConfig filterConfig) throws ServletException {
            _filterConfig = filterConfig;
        }
    
        public void destroy() {
            _filterConfig = null;
        }
    
        public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
            HttpServletResponse servletResponse = (HttpServletResponse) response;
            servletResponse.setHeader("Cache-Control","no-cache, no-store, must-revalidate, private, max-stale=0, post-check=0, pre-check=0");
            servletResponse.setHeader("Pragma", "no-cache");
            servletResponse.setHeader("Expires", "Sun, 16 Dec 1984 07:48:00 GMT");
            chain.doFilter(request, response);
        }
    }
    

    Note that I have to specify browser to cache resources, I do R & D to change this filter.

    It works. Hope, now I can spend my weekend peacefully :-).

    Ref:

    Tapas

  • Method call as default activity in ADF task flows

    Hello

    I have a workflow to execute a method on the page loading to set cookie values.
    I added a control method of data as the default activity in the workflow. But it is not called immediately, it is executed only if it is called from another view.

    Any help will be appreciated.

    WebCenter Portal App 11.1.1.6


    Code workflow task:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < adfc-config xmlns = "http://xmlns.oracle.com/adf/controller" version = "1.2".
    ID = "___5" >
    < task-flow-definition = id "cookie-task-flow" >
    < default activity id = "__17" > addEmpNoCookie < / default activity >
    < transaction id = "__38" >
    < new-transaction / >
    < / transaction >
    < data-control-scope id = "__39" >
    < shared / >
    < / data-control-scope >
    < managed-bean id = "__1" >
    < id managed-bean-name = "__4" > cookieBean < / managed-bean-name >
    < managed-bean-class id = "__3" > tr.com.signum.roketsan.utils.CookieBean < / managed-bean-class >
    < managed-bean-scope id = "__2" > pageFlow < / managed-bean-scope >
    < / managed-bean >
    <-l' call the method id = "addEmpNoCookie" >
    < method id '__8' = > #{bindings.addEmpNoCookie.execute} < / method >
    < result id = "__16" >
    < id fixed-result = "__7" > addEmpNoCookie < / fixed-results >
    < / results >
    < / method >
    < use-page-fragments / >
    < / task-flow-definition >
    < / adfc-config >

    Def of the activity of the Middle page of

    <? XML version = "1.0" encoding = "UTF-8"? >
    < pageDefinition xmlns = "http://xmlns.oracle.com/adfm/uimodel."
    version = "11.1.1.61.92".
    ID = "cookie_task_flow_cookie_task_flow_addEmpNoCookiePageDef".
    Package = "TR.com.Signum.roketsan.pageDefs" SkipValidation = "true" > "
    < Settings / >
    < executables / >
    < links >
    < methodAction id = "addEmpNoCookie" RequiresUpdateModel = "true".
    Action = 'invokeMethod' MethodName = "addEmpNoCookie."
    IsViewObjectMethod = 'false' DataControl = "CookieBean."
    InstanceName = "CookieBean.dataProvider" > "
    < NamedData NDName = 'cookieValue.
    NDValue = "#{webCenterProfile [securityContext.userName] .employeeNumber} '"
    NDType = "java.lang.String" NDOption = "3" / > "
    < / methodAction >
    < / links >
    < / pageDefinition >

    Hello

    It contains only the activity of the method, and if so, why is he launched with the help of a new transaction? Note that navigation always is an ID of the view and the workflow will not run if there is no view to navigate to. So either the calling flow calls this workflow and workflow returns immediately after execution of the activity of default method then it refers to a display of flow tasks calling or you add a view. Note that cookies are set on the response of a call and it is not issued before coming to a view. For this reason, using a method call activity could be a bad approach to try this so a phase listener is better suited

    Frank

  • Query about the ADF task flows call using URL

    ADF Version: 12.1.3 and 11.1.7

    We have a scenario where we want to implement a Home Application and product Application deployed as separate web applications.

    Now the House must have the ability to call the Application of product using call URL delimited task flow.

    My query is whether the return of a stubborn workflow will work in this scenario, because it works with the delimited call task normal flow.

    What are the other alternatives if it won't?

    Also anyone provides me with examples of applications for the above scenario.

    Kind regards

    Nikhil

    Here's a nice article on this topic

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/43-remote-task-flow-169185.PDF

  • Install Windows 7 on a partition that include data and files without data loss

    Hello

    I have a question :

    • I've already installed windows 8 on the C partition.
    • but I also D partition with the files and folders.
    • so is it possible to install windows 7 on the D partition without losing my data in it?

    Kind regards

    No, installation on drive D will remove. I suggest to create an on C:\ partition and install Windows 7.

    http://notebooks.com/2011/02/25/how-to-create-a-simple-partition-in-Windows-7-quick-tip/

  • the problem working with adf task flows...

    Hi all I m tries to run the jsf page uses the adf workflow it is giving me error belove and does not not the page I need to do now?



    Target URL - http://localhost:7101/Myapp-ViewController-context-root/faces/head.jsf
    < ViewHandlerImpl > < _checkTimestamp > Apache Trinidad runs with control of activated timestamp. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    < LifecycleImpl > < _handleException > ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in the phase 1 RESTORE_VIEW
    javax.faces.view.facelets.FaceletException: Error Parsing / / C:/JDeveloper/system11.1.2.2.39.61.83.1/o.j2ee/drs/Myapp/ViewControllerWebApp.war/head.jsf: detected default [line: 21] < Line 21, column 26 >: XML-20121: end tag (Fatal Error) does not match the start tag 'af:panelSplitter '.
    at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:394)
    at com.sun.faces.facelets.compiler.SAXCompiler.doMetadataCompile(SAXCompiler.java:377)
    at com.sun.faces.facelets.compiler.Compiler.metadataCompile(Compiler.java:130)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.createMetadataFacelet(DefaultFaceletFactory.java:319)
    at $200 (DefaultFaceletFactory.java:92) com.sun.faces.facelets.impl.DefaultFaceletFactory.access
    to com.sun.faces.facelets.impl.DefaultFaceletFactory$ 2.newInstance(DefaultFaceletFactory.java:168)
    to com.sun.faces.facelets.impl.DefaultFaceletFactory$ 2.newInstance(DefaultFaceletFactory.java:166)
    to com.sun.faces.facelets.impl.DefaultFaceletCache$ 2.newInstance(DefaultFaceletCache.java:94)
    to com.sun.faces.facelets.impl.DefaultFaceletCache$ 2.newInstance(DefaultFaceletCache.java:89)
    to com.sun.faces.util.ExpiringConcurrentCache$ 1.call(ExpiringConcurrentCache.java:99)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.sun.faces.util.ExpiringConcurrentCache.get(ExpiringConcurrentCache.java:114)
    at com.sun.faces.facelets.impl.DefaultFaceletCache.getMetadataFacelet(DefaultFaceletCache.java:135)
    at com.sun.faces.facelets.impl.DefaultFaceletCache.getMetadataFacelet(DefaultFaceletCache.java:62)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.getMetadataFacelet(DefaultFaceletFactory.java:252)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.getMetadataFacelet(DefaultFaceletFactory.java:201)
    at com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:114)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:749)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
    to 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:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    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:139)
    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)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to 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)
    < LifecycleImpl > < _reportFailureForMissingViewRoot > ADF_FACES-30179: for more information, see the error log of the server for an entry beginning with: The UIViewRoot is null. Fatal error during PhaseId: RESTORE_VIEW 1.
    javax.faces.view.facelets.FaceletException: Error Parsing / / C:/JDeveloper/system11.1.2.2.39.61.83.1/o.j2ee/drs/Myapp/ViewControllerWebApp.war/head.jsf: detected default [line: 21] < Line 21, column 26 >: XML-20121: end tag (Fatal Error) does not match the start tag 'af:panelSplitter '.
    at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:394)
    at com.sun.faces.facelets.compiler.SAXCompiler.doMetadataCompile(SAXCompiler.java:377)
    at com.sun.faces.facelets.compiler.Compiler.metadataCompile(Compiler.java:130)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.createMetadataFacelet(DefaultFaceletFactory.java:319)
    at $200 (DefaultFaceletFactory.java:92) com.sun.faces.facelets.impl.DefaultFaceletFactory.access
    to com.sun.faces.facelets.impl.DefaultFaceletFactory$ 2.newInstance(DefaultFaceletFactory.java:168)
    to com.sun.faces.facelets.impl.DefaultFaceletFactory$ 2.newInstance(DefaultFaceletFactory.java:166)
    to com.sun.faces.facelets.impl.DefaultFaceletCache$ 2.newInstance(DefaultFaceletCache.java:94)
    to com.sun.faces.facelets.impl.DefaultFaceletCache$ 2.newInstance(DefaultFaceletCache.java:89)
    to com.sun.faces.util.ExpiringConcurrentCache$ 1.call(ExpiringConcurrentCache.java:99)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.sun.faces.util.ExpiringConcurrentCache.get(ExpiringConcurrentCache.java:114)
    at com.sun.faces.facelets.impl.DefaultFaceletCache.getMetadataFacelet(DefaultFaceletCache.java:135)
    at com.sun.faces.facelets.impl.DefaultFaceletCache.getMetadataFacelet(DefaultFaceletCache.java:62)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.getMetadataFacelet(DefaultFaceletFactory.java:252)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.getMetadataFacelet(DefaultFaceletFactory.java:201)
    at com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:114)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:749)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
    to 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:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    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:139)
    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)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to 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)

    Hello

    Do you see that?

    javax.faces.view.facelets.FaceletException: Error Parsing / / C:/JDeveloper/system11.1.2.2.39.61.83.1/o.j2ee/drs/Myapp/ViewControllerWebApp.war/head.jsf: detected default [line: 21] : XML-20121: end tag (Fatal Error) does not match the start tag 'af:panelSplitter '.

    Check out the code and put an end to af:panelSplitter.

    Arun-

  • ADF 11 g: create with the data control problem: Please help

    Hello

    In my application, I tried to create a customized data controller.

    I created a Java class results and a bean ResultsBean class.
    Then I selected class results-> right click-> data controller to create.
    The Results.xml is created
    Everything is going well so far.

    Then I updated the details of class Bean in Results.xml and tried to re-create the data controller but did ResultsBean.xml ' t formed.


    In other words ResultsBean have not associated with outcome data controller.
    Please help on this.

    Version of the ADF: Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660

    Thanks and greetings
    Maryline Roussel

    Yes you use generics to the JDeveloper type, how the JDeveloper Assistant know the ResultBean is used to return an ArrayList value?

  • Form delimited ADF task flows where to put setNamedWhereClauseParam

    Hello

    I use jdeveloper 11g and I am trying to set up a stubborn workflow (type of train), station a theres a search ADF form where the user selects a record, at the station two form should present all the options related to the selected record on the station one and the possibility of introducing new information. I have the ViewObject for station 2, but I don't know where to put the code for "setNamedWhereClauseParam" and then run the query. Or in other words, how to pass the value of the key selected on station 1 station 2 as the parameter at the request of VO?

    Thank you

    Mike.

    Hello

    trains allow you to navigate between pages. So if there is a dependency between page1 and page2, where page 2 must have 1 page visited, so I think you should alow direct access to page 2. To answer your question

    -Create a file IMPL for the ViewObject to filter by the ViewCriteria
    -Create a public method that takes the input parameters required for bind variables
    -in the VOImpl define the VC and the bind varoables
    -run the VO
    -Create a public method (still on the VO2) ClientInterface
    -1 page write the parameters of the selected query in #{requestScope.param1},...
    -Drag and drop the client method as a method between page1 and page2 so the query call activity is performed
    -On the arguments to the method, use #{requestScope.param1} to read the search criteria in

    Frank

  • ADF task flows finalizer

    Hello

    JDEV 11.1.2.0.0

    I need to call the method when the workflow stops. I can't use finalizer method because it cannot have PageDefinition (to contain the method and links the iterator)

    Is it possible that we can call iterator and the method links in the finalizer of workflow method?

    If drag us and drop method in the workflow, is possible we can ensure that method is called whenever get out us the workflow.

    Thank you

    JIT

    Hello

    the initializer and finalizer run while there is no available connection (the connection is not in scope) so it's impossible. So the question is what you call the method of through a binding. One option would be to access the BindingContext object to then access the domain controller you want to operate on and do the job manually that you would do through the link. Another option is to have an activity method before the return of the activity and give a PageDef file to this activity of the method to execute all what you need to do.

    As usual, usecase important

    Frank

  • Why: Data control not extensible/empty - flow ADF based task entry on HT.

    Hi all

    I hope to create an ADF task flows based on a human task. I have an ADF stand-alone application in the ViewController which I want to create this workflow. The control of data entry resulting doesn't seem to be expandable.

    Questions
    1. When you create a Taskflow ADF based on a human task, should always be within a project in the same application as the SOA components?
    2. If not, is control of resulting data blank human task or not expandable because the xsd for the HT is based on the MDS? I have configured all MDS connections in my application.

    JDev: 11.1.1.4

    Thank you
    PP

    Hello

    Answers: -.

    1. No, it is not necessary that your ADF Taskflow based on human task should be in the same application where the SOA project. But this Taskflow-ADF deployment, to the SOA Project.You can add this project whenever you want to deploy.
    2. it may be the cause because of the Configuration of MDS.

    Do one thing, while creating the ADF Taskflow human task, you select the .task via the file system file not the MDS.
    If you select the. Your soa project task file, then it will ask you to name the Taskflow, just to name the taskflow you want and say ok.
    After you have created the taskflow, it will add a large number of xml files in your project and it will create a data control.

    It could be useful!

    Kind regards
    Shah

  • Cannot invoke the stubborn task in adf application flow after deployment on stand-alone WSL

    Hello.

    We have developed application in jdeveloper 12.1.3 using ADF workflows and *.jsp (try us and *.jspx also) pages.

    On integrated weblogic application server works, but after successfully deployment on stand-alone WLS (ver. 12.1.3, demployment mode domain) with ADF runtime 12.1.3, we cannot call activity of workflow (bounded task flows) on click of a button. If we call button click on the page of the progress of the task without terminals began that it works well.

    On the server we have deployments:

    ADF. Oracle.businesseditor (1.0,12.1.3.0.0)

    ADF. Oracle.Domain (1.0,12.1.3.0.0)

    ADF. Oracle.domain.WebApp (1.0,12.1.3.0.0)

    consistency-transaction-rar

    Application of the DMS (12.1.3.0.0)

    EM

    emagentsdkimplpriv_jar (11.2.0.1.0,12.1.0.3.0)

    emagentsdkimpl_jar (11.2.0.1.0,12.1.0.3.0)

    emagentsdk_jar (11.2,12.1.0.3.0)

    EMAS

    EMCORE

    emcoreclient_jar

    emcorecommon_jar

    emcoreconsole_jar

    emcoreintsdk_jar (11.2.0.1.0,12.1.0.0.0)

    emcorepbs_jar

    emcoresdkimpl_jar (11.2.0.1.0,12.1.0.0.0)

    emcoresdk_jar (11.2.0.1.0,12.1.0.0.0)

    emcore_jar

    em_core_ppc_pojo_jar

    em_sdkcore_ppc_public_pojo_jar

    JSF (2.1, 2.1.7 - 01-)

    jsr311-API (1.1.1,1.1.1)

    JSTL (1.2,1.2.0.1)

    log4j_jar (1.3,1.2.15)

    ODL.clickhistory (1.0,12.1.3)

    ODL.clickhistory.WebApp (1.0,12.1.3)

    OHW - RCF (5,12.1.3.0.0)

    OHW - uix (5,12.1.3.0.0)

    Oracle.ADF.dconfigbeans (1.0,12.1.3.0.0)

    Oracle.ADF.desktopintegration (1.0,12.1.3.0.0)

    Oracle.ADF.desktopintegration.Model (1.0,12.1.3.0.0)

    Oracle.ADF.Management (1.0,12.1.3.0.0)

    Oracle.BI.ADF.Model.slib (1.0,12.1.3.0.0)

    Oracle.BI.ADF.View.slib (1.0,12.1.3.0.0)

    Oracle.BI.ADF.WebCenter.slib (1.0,12.1.3.0.0)

    Oracle.BI.composer (11.1.1,0.1)

    Oracle.BI.jbips (11.1.1,0.1)

    Oracle.dConfig - infra (2.0,12.1.3)

    Oracle.jrf.System.Filter

    Oracle.jsp.Next (12.1.3,12.1.3)

    Oracle.pwdgen (2.0,12.1.3)

    Oracle.SDP.client (2.0,12.1.3)

    Oracle.WebCenter.composer (2.0,12.1.3)

    Oracle.WebCenter.Skin (2.0,12.1.3)

    Oracle.WSM.Console.Core.View (1.0,12.1.3.0)

    Oracle.WSM.seedpolicies (2.0,12.1.3)

    orai18n-ADF (11,11.1.1.1.0)

    OWASP. ESAPI (2.0,12.1.3)

    State-Management-Provider-Memory-rar-12.1.3

    UIX (11,12.1.3.0.0)

    webapp

    WebApp1

    wls_jrf

    wls_reconfig_jrf_12

    WSIL-wls (12.1.3.0.0)

    +++++++++++

    Our problem:

    Of view1.jspx on click commandButton1, we cannot call taskFlowCall1.

    During the click on we see view1.jspx refreshes, but should be called view2.jspx.

    +++++++++++

    Sources

    -adfc_config.xml-

    <? XML version = "1.0" encoding = "windows-1251"? >

    " < adfc-config xmlns =" http://xmlns.Oracle.com/ADF/controller "version ="1.2"> "

    < view id = "View1" >

    View1.jspx < page > < / print this page >

    < / view >

    < task-flows-call id = "taskFlowCall1" >

    <-flow-reference to tasks >

    /Web-INF/taskFlowCall1.XML < document > < / document >

    taskFlowCall1 < id > < /ID >

    < / task-flow-reference >

    < / task flows-call >

    < rule of flow control = '__1' id >

    View1 < of-activity-id > < /-activity-id >

    < control-flow-case id = "__2" >

    TFC < from outcome > < / de-results >

    taskFlowCall1 < to-activity-id > < / to-activity-id >

    < / control-flow-case >

    < / control-flow-rule >

    < / adfc-config >

    -taskFlowCall1.xml-

    <? XML version = "1.0" encoding = "windows-1251"? >

    " < adfc-config xmlns =" http://xmlns.Oracle.com/ADF/controller "version ="1.2"> "

    < - flow - the definition of task id = "taskFlowCall1" >

    View2 < by default-activity > < / default activity >

    < transaction >

    < new-transaction / >

    < / transaction >

    < data-control-scope >

    < shared / >

    < / data-control-scope >

    < view id = "view2" >

    View2.jspx < page > < / print this page >

    < / view >

    < id of task-flow-return = 'Cancel' >

    < result >

    cancellation of < name > < / name >

    < rollback / >

    < / results >

    < / task-flow-back >

    < task-flows-call id = "taskFlowCall2" >

    <-flow-reference to tasks >

    /Web-INF/taskFlowCall2.XML < document > < / document >

    taskFlowCall2 < id > < /ID >

    < / task-flow-reference >

    < / task flows-call >

    < rule of flow control = '__1' id >

    View2 < of-activity-id > < /-activity-id >

    < control-flow-case id = "__2" >

    Cancel < from outcome > < / de-results >

    cancellation of < to-activity-id > < / to-activity-id >

    < / control-flow-case >

    < control-flow-case id = "__3" >

    tfc2 < from outcome > < / de-results >

    taskFlowCall2 < to-activity-id > < / to-activity-id >

    < / control-flow-case >

    < / control-flow-rule >

    < / task-flow-definition >

    < / adfc-config >

    -view1.jspx-

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1"xmlns:f =" " http://Java.Sun.com/JSF/core "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "xmlns:h =" http://Java.Sun.com/JSF/html ">

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document title = "view1.jspx" id = "d1" > "

    < af:form id = "f1" >

    < h:commandButton value = "commandButton1" id = "cb1" action = "tfc" / >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    ++++++++++++

    Pls help me.

    We found a solution to the problem yourself.

    Our solution:

    On each page that uses the activity to call a workflow in the bindings, we added the executor of the ADF task flows Bindings type - taskFlow.

    The property is set (in my example):

    ID - taskFlowCall1

    taskFlowId - /WEB-INF/taskFlowCall1.xml#taskFlowCall1

    That's all.

  • Comments and questions about the mixture ADF Page flows with Trinidad UI

    Hi all

    I did a few tests to see how possible it is to use Trinity to the UI (for compatibility of this stinking IE 6) as well as the ADF Page flows / controller of the ADF. My question is whether there is a sustainable configuration from the point of view of Oracle. I did things to make it work and noted the following interesting behaviors (call anaomalies, if you wish):

    (1) addition of ADF Page Flow within the reach of the technology for a project automatically adds ADF Faces. If I try to eliminate ADF Faces of the scope of technology, it automatically deletes the flow of Page of ADF as well.

    (2) if I remove the ADF Faces DURATION 11 project library and create a page of trinidad (also set up the renderkit and as appropriate skin and remove a moment-false ServletADFFilter of web.xml) I get errors MDS when running the resulting page. I can't correct the error by removing the MDS libraries either - as soon as I put ADF Faces DURATION 11 library back, things are OK.

    (3) since I've faced ADF in my scope of technology, all newly created JSPX pages end up having af:document / af:form tags and have the namespaces implemented for ADF Faces. Not useful if I want only parts of Trinidad, but not a show-stopper, either.

    (4) an interesting thing that I have reported before... If I have the ADF Page library flow into my project and then configure navigation case in faces-config. XML (I know, wouldn't do that, just an observation, even if someone who has accidentally library ADF Page Flow in their project without any intention to use the ADF Page flows will find this very annoying to debug...), the first click of button that leads to the navigation works very well. All subsequent navigation requires two clicks on the link/button to trigger navigation. This behavior does not occur if you change the case of navigation to redirect = true.

    So, in summary, I seems to be the controller of flow/ADF Page ADF working with Trinidad, with a few minor problems of productivity due to an obvious requirement to have the Library Runtime of ADF Faces and the extent of technology ADF Faces included in my project. Now Oracle - is this going to be a sustainable configuration?

    I'd also appreciate comments, suggestions and comments from anyone else who has tried or is trying to use the ADF Page flows / ADF controller with a single user Trinity interface (well, in my case, I'm going to blur more using the tag af:template with components of the Trinity, but it's another whole story).

    Best,

    John

    bump #2

    + 1). Adding the ADF Page Flow within the reach of the technology for a project automatically adds ADF Faces. If I try to eliminate ADF Faces of the scope of technology, it automatically deletes the flow of Page of ADF as well. +

    ADF task flows have to ADF Faces e around. Not sure this is documented somewhere, but I hope it's

    (2) no idea about it

    + 3). Since that I've faced ADF in my scope of technology, all newly created JSPX pages end up having af:document / af:form tags and have the namespaces implemented for ADF Faces. Not useful if I want only parts of Trinidad, but not a show-stopper, either. +

    Looks like that is facing an emergency room to have an option in the dialog creation page if create an ADF or page of Trinidad. I'll take a note

    + 4). An interesting thing that I have reported before... If I have the ADF Page library flow into my project and then configure navigation case in faces-config. XML (I know, wouldn't do that, just an observation, even if someone who has accidentally library ADF Page Flow in their project without any intention to use the ADF Page flows will find this very annoying to debug...), the first click of button that leads to the navigation works very well. All subsequent navigation requires two clicks on the button/link to trigger navigation. This behavior does not occur if you change the case of navigation to redirect = true. +

    I'm not sure how to restrict we are on the "do not use" them in combination, but to me this looks like a bug.

    Frank

  • Task remote Flow and a shared library

    Hi Expert,

    Could you please tell me the difference between the remote call task flow and using the shared in performace propective library.

    If we use remote task flow, then there will be less dependecy from other project which has never want to use streams of task remotely... just give the URL and shared input parameter. I'm not sure how to call the remote task flow in a dynamic region. We do not want to use af:iframe as there is a lot of problem with leaking memory in the browser... Oracle does not recommend to use the iframe...

    Appreciate your help.

    Thank you

    Naresh Garg

    We already use af:iframe to call the remote task of flows in a couple of tab in a single Application. Somehow we get the problem by making the taskflow distance when visted repeatedly in different-2 tab in the fast. As directed by the team of Oracle's Support, do not use af:iframe to call the remote task flow.   So looking for solution to avoid the use of iFrame pages. as the dynamic region call...

    I just found a link to TaskFlow remote...

    Note: this distance task flow calls must be made from a delineated stream or unbounded task high on the page of the calling application. If called from a region (using the call parent activity) in a page, the State of the region is not recovered on workflow performance.

    The ADF developers have recently identified task flow remotely like an architectural model to partition their application of ADF in independently deployed Java EE applications. Although it looks like a desirable use of the remote task workflow capability, it is not possible to reach for as long that remote task flow return as a region of the ADF.

    Thank you Tim for quick response.

    Thank you

Maybe you are looking for