How to Implement Process Train In ADF

I am using Jdeveloper 10.1.3.1.0
Our requirement is to use process train in our project, so could anyone please knows this things that how to implement it please tell me.
In Single page i am having so many tabs and each tab having one detail page and atlast it is going to submit all the details.
Thanks In Advance
Ramkumar
Message was edited by:
user636100

Hi!
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=af_maintrain_html should give you all the information you require.
BB

Similar Messages

  • How to implement Process Train in Jdev 10.1.3

    Hi..
    Somebody know where can I find tutorial about how to implement process train in jdev 10.3.1
    thanks

    http://download-west.oracle.com/docs/html/B25947_01/web_complex005.htm#CEGIGJID

  • How to implement Distributed Transactions in ADF?

    Scenario:
    when selected rows and submitted action from UI, following happens
    1) For the selected rows, information will get fetched from database and a message will get formed and will get posted in JMS queue
    2) once step1 is successful, corresponding record will get logically deleted
    Implementation details:
    Environment: Oracle ADF , Weblogic server
    Step1: Created UI with Multi selection
    Step2: getting selected row key information and calling a custom AM method (exposed as client interface) from managed bean passing selected row key info
    step3: implementing following logic in AM method
    while(keyList.hasNext()
    1) getting View object for the given key and populating message
    2) Posting the mesage in JMS queue configured in weblogic using JMS Helper classes written
    3) updating the delete flag in VO
    Problem statement:
    In Step3 after sub step 2 executed, suppose if database is down substep3 will not get executed
    because of which a record will get displayed again back in UI and when selected again a duplicated message will be sent to the concerned external system
    I'm very new to ADF. Can anyone please help me on how to achieve this using ADF?
    Much Appreciated,
    Indu

    Thanks Vinod for your reply
    at substep 2 getting record from database and populating message and posting it to jms queue
    at substep 3 if post is successful the updating database indiacting this message has been sent by updating delete flag
    if i update database first and then if send message, In case of JMS exception(Can be Queue failures) my record will get updated and i cannot see record back in UI
    So both these opertions has to be happened in in single Transaction.Either both has to be happened or both has to be rolled back
    database and JMS are different resources. How ADF handles these XA transactions?
    Thanks,
    indu

  • How to create process train model in jheadstart

    Hello
    im trying to create a process train model through jheadstart but i can't
    please if there is any idea about this help me

    Hello,
    In JHeadstart you can create a wizard that contains a process train model. The JHeadstart Developers Guide that comes with your download of JHeadstart contains the documentation you need to create such a wizard.
    Hope this helps,
    Evert-Jan de Bruin

  • How to implement next_record; (FORMS) in ADF

    Hi,
    I would like to implements automatically create new record when i press enter on a <af:inputText like next_record in forms, and copying some data from the current rowto the next row
    thanks
    Fakhri

    I found a solution for navigation between input text in <af:table that works fine in FireFox but not in Chrome :
    I create the javascript in the main page :
    <af:document title="index.jsf" id="d1">
    <f:facet name="metaContainer">
    <af:resource type="javascript">
    function setFocusMatric(evt) {
    var _keyCode = evt.getKeyCode();
    var compid = AdfPage.PAGE.findComponentByAbsoluteId("r1:r1:pc2:t2:matric");
    if (_keyCode == AdfKeyStroke.ENTER_KEY) {
    compid.focus();
    function setFocusValeur(evt) {
    var _keyCode = evt.getKeyCode();
    var compid = AdfPage.PAGE.findComponentByAbsoluteId("r1:r1:pc2:t2:val");
    if (_keyCode == AdfKeyStroke.ENTER_KEY) {
    compid.focus();
    function setFocusImpor(evt) {
    var _keyCode = evt.getKeyCode();
    var compid = AdfPage.PAGE.findComponentByAbsoluteId("r1:r1:pc2:t2:impor");
    if (_keyCode == AdfKeyStroke.ENTER_KEY) {
    compid.focus();
    </af:resource>
    </f:facet>
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:decorativeBox id="db1" topHeight="60px">
    <f:facet name="center">
    <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"
    partialTriggers="::reshum ::ctb4"/>
    </f:facet>
    <f:facet name="top">
    <af:panelHeader text="Module Administratif" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelGroupLayout id="pgl1" layout="horizontal" halign="center">
    <af:commandButton text="Rollback" disabled="#{!bindings.Rollback.enabled}" immediate="true"
    id="cb1" action="#{viewScope.index.doCancel}" rendered="false">
    <af:resetActionListener/>
    </af:commandButton>
    <af:spacer width="30" height="10" id="s7"/>
    <af:commandToolbarButton id="reshum"
    inlineStyle="font-weight:bolder; text-align:center; vertical-align:middle; background-color:transparent;"
    partialSubmit="true" text="Resource Humaines" partialTriggers=""
    action="#{viewScope.index.rhtaskflowdefinition}"/>
    <af:spacer width="50" height="10" id="s6"/>
    <af:commandToolbarButton id="ctb4" partialSubmit="true"
    inlineStyle="font-weight:bolder; width:100px; text-align:center; vertical-align:middle; background-color:transparent;"
    text="Salaires"
    action="#{viewScope.index.salairetaskflowdefinition}"/>
    <af:spacer width="30" height="10" id="s1"/>
    after in my jsff :
    <af:inputListOfValues id="impor"
    popupTitle="Search and Select: #{bindings.DrdetimView3.hints.Cdimpor.label}"
    value="#{row.bindings.Cdimpor.inputValue}"
    model="#{row.bindings.Cdimpor.listOfValuesModel}"
    required="#{bindings.DrdetimView3.hints.Cdimpor.mandatory}"
    columns="#{bindings.DrdetimView3.hints.Cdimpor.displayWidth}"
    shortDesc="#{bindings.DrdetimView3.hints.Cdimpor.tooltip}"
    partialTriggers=":::ctb1 :::ctb2">
    <f:validator binding="#{row.bindings.Cdimpor.validator}"/>
    <af:clientListener method="*setFocusMatric*" type="keyPress"/>
    in FireFox the navigation was succeeded but Chrome cannot fire the AdfKeyStroke.ENTER_KEY
    is there another solution for all web browser
    thanks

  • How to give JASS Security to ADF BC Swing Application.

    Hello Friends,
    ->I read lots of threads about JASS Security in ADF about Web Application.
    ->But i am not getting any solution/Document Which explains, How to Implement JASS Security to ADF BC Swing Apllication.
    -> I Will Explain Which type of application we developed.
    We had developed one Whole ERP Product by using ADF BC [Swing] Technology.We have 480 Forms in our Application.Now i need to give security to my Application.
    ->I Will Explain Structure of Application.
    We have seperate Application Module for each form means i have 480 Application Modules in my application.I create seperate session beans for each Application Module and I deploy it on Standalone OC4J Server
    So please friends help me out to give security to my application.
    Thanks in Advance.

    Hello Franks
    First thanks for your reply.
    --> As you suggested two options for me but i would like to go with second option.
    JAZN with ADF BC.
    ---> As you said i need to do jbo.security.enforce property set to "auth".but currently i made it "Test" to trace login user means to set History Columns.
    --->Frank i am waiting for your documents.If you have documents in the format of how-to-do then Please Forward me.
    Thanks Frank

  • How deploy BPM process with ADF form?

    Hi everybody,
    I'm a newbie on BPM (11g) and ADF. I've created a BPM process and an ADF train into the same project.
    I was wonder if I can deploy the ADF stuff and start to test only the train before hook up the ADF form with the UserActivity.
    How I can do that? How can deploy it? Better create a jar or ear?
    Any suggestions?
    Best Regards.
    Fairlie

    Hi Daniel,
    yes I have two separate projects - BPM and ADF - in the same applications.
    For now, I'd like to work only on ADF project implementing the front end that I will use in next future into my BPM project.
    Every time I click on Run on the main page in ADF project, JDev tries to deploy the entire application.
    I need to work only on ADF for now and testing it. The soa server is on remote server.
    I've tried to deploy the ADF project on remote server and I get this error:
    'Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp
    Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter'.
    I've checked the oracle.adf.model library class path and It's ok...so I do not understand why I get this error.
    What do you think is better to do? Trying to deploy the ADF with war, jar or ear...or...?
    Thanks a lot for any suggestions.
    Fairlie

  • How to set the active Step in a process Train using JSF

    I have a process train that I am pointing to a list of steps, I want to be able to set the current step, but cannot find the property to set.
    Does anyone know how to accomplish this? This process train is for readonly purposes only, no navigation needed.
    Thanks
    Kelly

    Right, I think I've been able to do what you're trying to do.
    I've defined a subclass of ProcessMenuModel, which simply has a currentViewId property and a constructor with an extra argument for it:
    public class SettableProcessMenuModel
      extends ProcessMenuModel
      private String _currentViewId = null;
      public SettableProcessMenuModel(Object instance, String viewIdProperty, Object maxPathKey, String currentViewId) throws IntrospectionException
        super(instance, viewIdProperty, maxPathKey);
        _currentViewId = currentViewId;
      public void setCurrentViewId(String currentViewId)
        this._currentViewId = currentViewId;
      public String getCurrentViewId()
        return _currentViewId;
    }Then in the model adapter I use this class instead of MenuModel, plus a currentViewId property:
    public class TrainModelAdapter implements Serializable {
        private String _propertyName = null;
        private Object _instance = null;
        protected transient MenuModel _model = null;
        private Object _maxPathKey = null;
        private String _currentViewId = null;
        public MenuModel getModel() throws IntrospectionException {
            if (_model == null)
              _model = new SettableProcessMenuModel(getInstance(),  // SettableProcessMenuModel instead of ProcessMenuModel
                                            getViewIdProperty(),
                                            getMaxPathKey(),
                                            getCurrentViewId()); // Extra argument
            return _model;
        public void setCurrentViewId(String currentViewId)
            _currentViewId = currentViewId;
            _model = null;
        public String getCurrentViewId()
          return _currentViewId;
    ...Then when you want to set the current step, you set the currentViewId on the TrainModelAdapter to the viewId you need.
    This basically makes the value you pass in override the currentViewId value in the menu model.
    I hope you are able to use this in your implementation.

  • How to implement the Seibel response in the ADF ?

    Hi All,
    JDev ver : 11.1.1.5
    I have integrated the Fusion middle ware with Seibel using the 'REST' services(The URI based service).
    I followed this link to integrate : http://siebel-essentials.blogspot.com/2011/02/first-encounter-with-sai-ofm.html
    I want to know how to use the response and how can I implement the URI response in my java/ADF code ?
    How to send the request ? and how to receive the response ?
    If anyone worked on this, please share me the implementation process..
    Regards,
    Gopinath

    Hi,
    JDeveloper 11.1.1.5 supports REST get requests from the URL Data Control (if you wanted to use ADF). Note however that this release expects an XML or CSV payload. Alternatively you build a REST client using Jersey libraries in which case the client is a Java object that then you use to provide the data for display
    Frank

  • How to Implement HTTP Request Status Code Processing

    I actually have two questions. First, I wondering how to add multiple status code processing to an http request. Secondly, I was wondering how to go about using alternate http requests to different servers in case the primary server is down. What kind of parameter would the program use to determine that the server is unavailable and switch to another server??
    Currently, the program I've written calls an rdf server (http://www.rdfabout.com/sparql) using a sparql query,
    the server returns an xml string, the program parses it, and calculates numbers
    from the string. The program works, but the problem is that the server is down occasionally.
    When the server is down, we need to add calls to another server to
    increase reliability. So, the next task is to call this server:
    http://www.melissadata.com/lookups/ZipDemo2000.asp
    I need to do exactly the same things I did with the rdf server. The
    difference will be constructing a request and a bit different parsing of
    the response.
    current SPARQL query is defined as follows:
    PREFIX dc:  <http://purl.org/dc/elements/1.1/>
    PREFIX census: <http://www.rdfabout.com/rdf/schema/census/>
    PREFIX census1: <tag:govshare.info,2005:rdf/census/details/100pct/>
    DESCRIBE ?table WHERE {
    <http://www.rdfabout.com/rdf/usgov/geo/census/zcta/90292> census:details
    ?details .
    ?details census1:totalPopulation ?table .
    ?table dc:title "SEX BY AGE (P012001)" .
    }current HTTP Request is defined as follows:
    import java.net.*;
    import java.net.URL;
    import java.net.URLConnection;
    import java.io.*;
    import java.io.DataOutputStream;
    import java.io.BufferedReader;
    import java.io.StringReader;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.util.Scanner;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.Arrays; 
    public class MyConnection
         static Scanner sc = new Scanner(System.in);//allows user to input zipcode
        public static void main(String[] args) throws Exception
             int zip;//zipcode is declared as integer format
            //User defines zip through input
            //proceed to put SPARQL query into string, which is then used to call the server
            String requestPart1 =
            "query=PREFIX+dc%3A++%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E+%0D%0APREFIX+census%3A+%3Chttp%3A%2F%2Fwww.rdfabout.com%2Frdf%2Fschema%2Fcensus%2F%3E+%0D%0APREFIX+census1%3A+%3Ctag%3Agovshare.info%2C2005%3Ardf%2Fcensus%2Fdetails%2F100pct%2F%3E+%0D%0A%0D%0ADESCRIBE+%3Ftable+WHERE+%7B+%0D%0A+%3Chttp%3A%2F%2Fwww.rdfabout.com%2Frdf%2Fusgov%2Fgeo%2Fcensus%2Fzcta%2F";
            String requestPart2 = "" + zip; // zipcode is transformed from int to string format and plugged into SPARQL query here
            String requestPart3 =
            "%3E+census%3Adetails+%3Fdetails+.+%0D%0A+%3Fdetails+census1%3AtotalPopulation+%3Ftable+.+%0D%0A+%3Ftable+dc%3Atitle+%22SEX+BY+AGE+%28P012001%29%22+.+%0D%0A%7D%0D%0A&outputMimeType=text%2Fxml";
            String response = "";
            URL url = new URL("http://www.rdfabout.com/sparql");//designates server to connect to
            URLConnection conn = url.openConnection();//opens connection to server
            // Set connection parameters.
            conn.setDoInput (true);
            conn.setDoOutput (true);
            conn.setUseCaches (false);
            // Make server believe we are form data…
            conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
            DataOutputStream out = new DataOutputStream (conn.getOutputStream ());
            // Write out the bytes of the content string to the stream.
            out.writeBytes(requestPart1 + requestPart2 + requestPart3);
            out.flush ();
            out.close ();
            // Read response from the input stream.
            BufferedReader in = new BufferedReader (new InputStreamReader(conn.getInputStream ()));
            String temp;
            while ((temp = in.readLine()) != null)
                 response += temp + "\n";
            temp = null;
            in.close ();
            //parsing stuff is taken care of after here
    }What remains now is to:
    1) add status code processing: notify if the server is not available, ect.
    2) add ability to connect to additional server if primary server is down.
    I'm thinking an if/else statement, which I've tried a few different ways,
    but I don't quite know how to implement that...Also trying to add the
    status code processing/error handling, but I'm not sure how to do that
    for multiple/different errors, such as 404, 503, 504, ect.. try/catch statements?
    So yeah, just been scratching my head on this trying to figure out how to work it..
    If you can help me out on this, I've been going nuts trying to figure this out...

    I think your issue comes form the fact that you are not casting URLConnection to HttpURLConnection.
    Doing the cast would allow you to use getResponseCode() - among other methods - and test for a response different than 200.
    Read: [http://mindprod.com/jgloss/urlconnection.html|http://mindprod.com/jgloss/urlconnection.html]

  • ADF-FACES-EA16: internal server error after migrating process train

    java.lang.NoSuchMethodError: void oracle.adfinternal.view.faces.taglib.core.nav.CoreProcessTrainTag.setVar(java.lang.String)
         at newContract2e_jspx._jspService(newContract.jspx:26)
         [newContract.jspx]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
    here is the part related to process train
    <f:facet name="location">
    <af:processTrain binding="#{backing_newContract.processTrain1}"
    value="#{newContractPageFlowModel}"
    var="newContractNode">
    <f:facet name="nodeStamp">
    <af:commandMenuItem binding="#{backing_newContract.commandMenuItem1}"
    text="#{newContractNode.label}"
    action="#{newContractNode.outcome}"/>
    </f:facet>
    </af:processTrain>
    </f:facet>
    <f:facet name="actions">
    <af:processChoiceBar binding="#{backing_newContract.processChoiceBar1}"
    value="#{newContractPageFlowModel}"
    var="newContractNode">
    <f:facet name="nodeStamp">
    <af:commandMenuItem binding="#{backing_newContract.commandMenuItem2}"
    text="#{newContractNode.label}"
    action="#{newContractNode.outcome}"/>
    </f:facet>
    </af:processChoiceBar>
    </f:facet>

    Hi Steven,
    Just to let you know, I was able to reproduce this very easily with a simple JHeadstart project.
    - Create ADF Fusion Web app
    - Create connection to HR
    - Add VO, EO, APpModule for Departments table
    - Change AM configuration to use DataSource
    - Enable JHeadstart on ViewController
    - Create new JHeadstart service definition
    - Set JHeadstart custom authentication to Custom
    - Set JHeadstart custom authorisation to Custom
    - Secure all pages
    - Set session timeout in web.xml to 5 minutes
    - Deploy to local weblogic
    - Log on to application then logoff
    - Wait longer than 5 minutes then log back on
    - Redirect message shown which takes you back to login page
    - Login and you will get 500 server error
    This is with zero custom coding - only steps those shown above. Can you please confirm that you can replicate this ?
    Cheers,
    Brent

  • How to do Process Audit... after a implementation..

    Hi,
    We are currently in the final configuration stage, Our client insting as to do
    final audit to know whether we met as per BPML.
    Kindly suggest..
    How generally Audit happens after a Implementation ?
    Is there any SAP tools?
    What are all the important object needs to be covered?
    Little urgent..
    Laxmanan

    Hi Lakshmanan
    To my knowledge there is no standard SAP tools for audit.  But as you may be aware for implementing SAP, there are 6 stages of implementation process which are called roadmaps.
    The stage what you are asking is in third stage, viz. <b>Realization Phase</b>.  In stage only, you do Unit Testing and Integration Testing thoroughly.  If at all if there is any error in your configuration, through Integration testing, we can find out the error and rectify before implementation.
    Of course, issues will come after implementation and you have to support which is part of 5th phase in Roadmap - <b>Go Live and Support</b>.
    Thanks
    G. Lakshmipathi

  • How to Implement Add User Functionality in ADF

    Hi,
    I already setup my web app to use ADF security and the sample user's and groups that I have created in jazn-data.xml is already
    functioning as expected.
    I just need to add the functionality on how to programmmaically add user in my weblogic internal LDAP realm
    and assign them to the currently configured user groups.
    This would be available to Admin Level user.
    Anybody has good site or link on how to accomplish this in my ADF Web Application?
    Thanks
    JDEV 11G PS3

    Hi Arun,
    Jdev Version 11.1.1.6.0
    I have one table already created in a hosted db.It has some columns namely Component,Manager,%CodeCoverage,TotalLines,Covered Lines.One manager has 5-6 components under him.
    What I want is to have a table having manager name and if I click on manager,it should show components under him with all the details mentioned above.
    I wanted to achieve it through tree table but don't know how to proceed

  • How i can implement onPageLoad method in ADf Fusion Middleware

    I want to implement onPageLoad method in ADF Fusion Middleware. What i did so far is :
    - Created my own PagePhaseListener class which implements PagePhaseListener interface.
    I wrote following code in that class
    public void afterPhase(PagePhaseEvent event) {
    PageLifecycleContext ctx = (PageLifecycleContext)event.getLifecycleContext();
    if (event.getPhaseId() == Lifecycle.PREPARE_RENDER_ID) {
    BindingContainer bc = ctx.getBindingContainer();
    onPagePreRender();
    bc = null;
    public void onPageLoad() {
    // Subclasses can override this.
    public void onPagePreRender() {
    // Subclasses can override this.
    public void beforePhase(PagePhaseEvent event) {
    PageLifecycleContext ctx = (PageLifecycleContext)event.getLifecycleContext();
    if (event.getPhaseId() == Lifecycle.PREPARE_MODEL_ID) {
    BindingContainer bc = ctx.getBindingContainer();
    onPageLoad();
    bc = null;
    - Created a backingbean with session scope and override onPageLoad method
    - Inside pageDefinition i added Controller class using EL like #{MyPhaseListenerBean}
    but it game me error that no "MyPhaseListenerBean class found.

    Hi ,
    When am Adding ControllerClass ( ControllerClass="com.hp.rebates.grs.view.backing.fragments.ItemTabsBean" ) for PageDef File am getting error as...
    <[ServletContext@31287410[app:grs module:grs-ViewController-context-root path:/grs-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    java.lang.ClassCastException: com.hp.rebates.grs.view.backing.fragments.ItemTabsBean cannot be cast to oracle.adf.model.RegionController
    at oracle.adf.model.binding.DCBindingContainer.getRegionController(DCBindingContainer.java:4944)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:225)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:117)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1182)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         Truncated. see log file for complete stacktrace
    >
    Any one can help me solve this issue.
    Thanks in Advance.

  • Webinar: How to implement secure scenarios with SAP NW PI 7.1

    SAP Intelligence Platform & NetWeaver RIG APJ Expert Call
    Dear valued SAP Experts,
    Next SAP Intelligence Platform & NetWeaver RIG Expert Call Session will take place on Tuesday, August 18.
    The SAP Intelligence Platform & NetWeaver RIG Expert Call Sessions are designed to support consultants, partners and customers  during their implementation projects. The sessions cover all different aspects of SAP NetWeaver and are aimed at
    thus provide knowledge which is not available via standard training courses. The session duration is typically 60min and includes questions and answers.
    Tuesday, August 18, 2009:
    How to implement secure scenarios with SAP NetWeaver Process Integration 7.1
    Time: 2.00 - 3.00 p.m. Singapore Time (UTC +8)
    This event will feature Makoto Sugishita with the SAP Intelligence Platform & NetWeaver Regional Implementation Group.
    Makoto provides the following abstract:
    In this session you will learn more about the core security concepts that are provided with the service-oriented architecture (SOA)
    management capabilities in SAP NetWeaver Process Integration (SAP NetWeaver PI). This session will cover main use cases and
    supported scenarios of secure SAP NetWeaver PI deployments. 
    SAP Connect Link: https://sap.emea.pgiconnect.com/I016095
    (no passcode needed)
    Dial in:
    For dial in details please register here http://www.surveymonkey.com/s.aspx?sm=EFeuZl9PxrwKOW5i5W556g_3d_3d
    Kind regards,
    Sarma Sishta
    SAP Intelligence Platform & NetWeaver RIG APJ

    hi,
    I'm making this a sticky thread till August 18 so it will have better visibility
    Regards,
    Michal Krawczyk

Maybe you are looking for