Do some processing before loading jsf fragment created using adf task flow

Hi,
I am working on JDev11g.
I want to create SelectItems of SelectOneChoice dynamically before loading jsf fragment created using adf task flow
I tried by implementing RegionController class's method RefreshRegion in my backing bean of jsf page fragement to do some processing before loading region
But it seems to be not feasible approach because it is getting called every time any component on fragement gets partially submitted.
Is there any method which is called only first time when region is loaded ?
Or any other solution to achieve this.
Regards,
Devang

Hi,
don't think so. You would need a phase listener, but I don't see how you get it in. Wha about using a dynamic region and then use the method that is called from the dynamic region first time it is rendered?
Frank

Similar Messages

  • Create Custom ADF Task Flow for BPM

    Hi,
    I'm working an project on BPM and I'm required to create a custom ADF task flow with multiple views based on the human tasks in BPM. Since I'm new to ADF, could some one please give me some pointers?
    Thanks,
    Debojit

    Hi,
    You have to implement your own custom worklist screens for such a subject. As you know the OOTB worklist screen shows the logged-in users' assigned, etc. tasks. You have to implement the API of SOA workflow.
    You can check Mark Nelson's blogs on Redstack to accomplish this. Hope this is the answer of the problem you are looking for.

  • Doing some processing before my portlet is rendered.

    Hi.
    I would like to do some processing before my portlet is rendered.
    Currently I have a jsp that is the begin node on my webflow. This jsp
    has a button that I click to enter my InputProcessor and
    PipelineComponent so that I can get the data I need from the database
    and render my portlet appropriately.
    I noticed that I could use a servlet as the begin node, and just do
    the processing from there. Then let the flow take me back to my jsp
    and render it correct. However I could not find out how to forward
    from my servlet to the InputProcessor...
    If anyone has done something like this before, or has a good idea on
    how to do it, please help me.
    Sincerely,
    Paul Nyheim
    [email protected]
    Please put my email-address in the cc. field of the reply.

    your begin node can be any type of node (ie presentation, input processor, pipeline)...
    take a look at some of the example webflows, point the ebcc to:
    C:\bea\weblogic702\samples\portal\sampleportalDomain\beaApps\sampleportal-project\sampleportal-project.eaprj
    -tanya
    [email protected] (Paul Nyheim) wrote:
    Hi.
    I would like to do some processing before my portlet is rendered.
    Currently I have a jsp that is the begin node on my webflow. This jsp
    has a button that I click to enter my InputProcessor and
    PipelineComponent so that I can get the data I need from the database
    and render my portlet appropriately.
    I noticed that I could use a servlet as the begin node, and just do
    the processing from there. Then let the flow take me back to my jsp
    and render it correct. However I could not find out how to forward
    from my servlet to the InputProcessor...
    If anyone has done something like this before, or has a good idea on
    how to do it, please help me.
    Sincerely,
    Paul Nyheim
    [email protected]
    Please put my email-address in the cc. field of the reply.

  • Why Dev Guide says "create a separate project for each ADF task flow ..."

    Hi,
    We have a BPM process application which is having a few human tasks. The form for each of the human tasks is similar. We’d like to be able to share some page fragments or code between them and create single web application to handle all the human tasks for this BPM process application. Then I found the following in the Oracle document “Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1.4.0)”:
    “If the SOA composite contains multiple human tasks, create a separate project for each ADF task flow associated with each human task.”
    I wonder if we have to do that and if so, what is the reason.
    Do you have any clue? Please help.
    Thanks a lot,
    Helen

    Hi Helen
    1. I do not know the reason why they mentioned like separate project for each human task. NO, this is not required and we can have just one UI Project like MyTaskForms and have all the JSPs in this same project for each Human Task.
    2. On our side, we have like 10 Human Tasks, all using the same Payload. So we have 10 .task file. For the very first .task file, we used Auto Generate Project and gave project name like OurAppTaskForms. The reason we did this is, so that it adds all the required dependent libraries, tag libs etc properly. For all remaining 9 .tasks file, we did NOT use auto generate. Instead we used standard New -> JSF From Human Task and select one task at a time and follow the steps. These steps are covered in the online documentation. At the end in our BPM App, we have just one UI Project with all the 10 screens.
    3. ALSO, all the 10 screens have some common data. This we put in a reusable JSF Fragment page. And associated a custom Managed Bean for this to set and get values from this fragment and also some Actions for some buttons in the JSF. Then we included this JSF in each taskform jsf file, uisng the include tag. We added this include tag, somewhere in the top. So all screens share common jsf fragment page.
    4. We can refine the above stuff further. As per above, we still have 10 JSF screens for each one of the 10 .tasks. Ofcourse all these 10 jsf have same common jsf fragment. BUT instead of 10 individual jsf screens, we can have only ONE Jsf screen also. Refer online docs for the details. The challenging part is, since we have only one jsf, there may be some bussiness stuff, validatoin stuff to take care of in custom ValidationCallback Handler classes. Say for Task1, we had to show some buttons, but NOT for Task2. So we had to handle this logic. Also in validation call back, we can always get each Tasks, title also. So we can workaround this issue also. We are in the process of doing this right now. But first 3, we already did and they are working fine.
    My personal suggestion is first go with single jsf fragment and include in all tasks jsp files. Any changes to common elements need to make only in one place i.e fragment page.
    Thanks
    Ravi Jegga

  • Create ADF Task Flow for Human task outside of SOA Composite

    Hi,
    Is there any way you can create ADF Task Flow form (for the task Details to be display in worklistapp) for a Human task out side of the SOA Composite applicaiton?. I know we can create ADF Task flow form for task details based on Human Task in SOA composite application. But I dont want to do that. I dont want to keep any association between Human task and ADF Task Flow.
    If there is a way to do this, How can we assiciate this ADF Task flow form with worklist applicaiton?
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    By using these services appropriately:
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm

  • Filter af:outputText  value with some parameters before loading component

    I use jdeveloper 10.1.3 with web adf components.
    I want to show outputText component with some custom Object (item),
    <af:outputText value="#{bindings.item}">
    but before showing this component on the page , during runtime, this item object must be filtered with some parameters and then returned some string ( convert item object to string with parameters during runtime, before loading this outputText component).
    How can I do this?
    Maybe it needs some back beans or I am thinking to create custom component like outputText ,but how to do ?
    what is optimal disizion?
    can someone help me or someone can send some documentation?

    Hi,
    When u will bind Output Text with some method in Backing bean u will get a set(),get() methods along with a CoreOutputText variable, u can initialized the variable , and if u want to check any condition then before setting the value then check the condition in the constructor of the backing bean and then change the CoreOutputText value accordingly,which will set the corresponding value,in the UI
    Thanks

  • Trying to create an annoucement ADF task flow.  Failure to authenticate

    Experts-
    I have created a JSPX page and added the announcement ASF task flow. After I deploy to my WLS instance I recieve the following error when browing the page. "failure to authenticate the user weblogic, due to: Unable to connect to discussion server."
    The java server log file throws this exception "Caused by: org.apache.ws.security.components.crypto.CredentialException: Failed to load credentials. Inner Exception: [Keystore was tampered with, or password was incorrect]"
    I am able to login to the OOTB discussion web app using the same user but not my custom ADF JSPX page.
    I have configured the JDEV Discussion forum connection with the following properties..
    keystore.location = "E:\Oracle\Middleware\user_projects\domains\working_domain\config\fmwconfig\webcenter.jks"
    keystore.type=jks
    encryption.key.alias=orakey
    encryption.key.password=welcome1
    keystore.password=welcome1
    I can test this connection with success.
    Anyone know why I can correctly login the OOTB discussion app using my default weblogic user but not the custom ADK app?
    I am also using the simple login page jdeveloper creates via the "configure ADF security"
    Thanks-

    even I am getting the same problem. I created a Discussion Forum Connection from my Jdeveloper. I tested the connection to be successfull.
    and when I run the ADF application having webCenter Discussion forum taskflow as a region , it says
    For more information on this failure, please set -Djps.auth.debug.verbose=true
    java.io.IOException: Keystore was tampered with, or password was incorrect
    + at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)+
    + at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)+
    + at java.security.KeyStore.load(KeyStore.java:1185)+
    + at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:525)+
    + at org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:121)+
    + at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:62)+
    + at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    at the UI page it says the
    failure to authenticate the user john, due to: Unable to connect to discussion server.
    Please suggest some debugging tips.
    Thanks
    Thyagy

  • Validation messages in JSF (when not using ADF faces)

    I've spent some time with JDeveloper 11 and would like to use it on an upcoming project. I have to target IE 6, so I won't be able to take advantage of ADF Faces. Instead I'd like to use the ADF Business Components with a standard JSF interface so it can be used by people still running IE 6.
    I've created a Business Component from a database table and can bind a JSF HTML Creation Form by dragging the appropriate view from the AppModule in the Data Controls pane. However, when I attempt to submit the page without all the fields being valid I get the following validation error message:
    j_id__ctru2:j_id__ctru6: Validation Error: Value is required. j_id__ctru2:j_id__ctru6: Validation Error: Value is required.
    I've tried making this more descriptive, but editing the error message in the Validation Rules section of the Business Component has no effect. What's the best way to convey a meaningful validation message to the user when not using ADF Faces?
    Also - I'm still very new to JDeveloper. Since I won't be able to rely on my users having Internet Explorer 7, would you recommend I stay with JDeveloper 10? The examples and documentation I've seen so far for JDeveloper 11 appear heavily biased towards using ADF Faces so I'm starting to wonder how much support is there for using plain old JSF.
    Thanks for your time!

    Hi,
    if you are completely new to this then I suggest to use JDeveloper 10.1.3 and ADF Faces in there. Its good to use with IE6 as well. Currently we do have more tutorials available for this release than for 11, which for this reason is a better choice for someone new to this
    Frank

  • Navigation problem in JSF portlet when using ADF

    Hi All,
    I am implementing a simple scenario wherein i have an ADF Business Component (a simple drop down) and a command button. On click of the button, there is a navigation from one jsp to another.
    I am able to portletize a simple application using ADF Business Component.It runs fine when run on local.
    But when i put it on portal, navigation does not work.the control is not transferred to the method of backing bean.It is not showing loggers either.
    jdev version :10.1.3.3
    oracle portal :10.1.4
    Standalone OC4j : 10.1.3
    If any one has working model of this, can you pls post the files used.
    Also , if anyone has work around for same, it will be helpful.Thanks.
    Portlet.xml
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    id="com.vodacom.portlet.ServiceFaultPortlet.af7cec80b0013456">
    <portlet>
    <portlet-name>ServiceFault</portlet-name>
    <display-name>ServiceFault</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/index.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>Service Faults</title>
    <short-title>Service Faults</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    faces-config.xml
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <managed-bean>
    <managed-bean-name>Index</managed-bean-name>
    <managed-bean-class>view.backing.Index</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1index.jspx-->
    </managed-bean>
    <lifecycle>
    <phase-listener>oracle.adf.controller.faces.lifecycle.ADFPhaseListener</phase-listener>
    </lifecycle>
    <application>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    </application>
    <navigation-rule>
    <from-view-id>/index.jspx</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/welcome.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    </web-app>
    Regards,
    Alpa

    Hi George,
    can u brief me on what exactly do you need ?
    I am implementing a simple POC wherein i have made a ADF business component (which is just a DB fetch ) and i am dragging the same on index.jspx page.I have a command button on the same page which when clicked directs me to welcome.jspx.(it first goes to managed bean and returns success.)
    And i am portletising this .. all this works fine on local ... even on portletising it runs fine .. But when i register this portlet on oracle portal .. navigation between index.jspx and welcome.jspx does not work.
    If you need more inputs,let me knw.I have uploaded configuration files in my previous post.Also i am not getting any error when i am trying to make it work on portal..
    Regards,
    Alpa

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java: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:2

  • Debugging an application created using ADF

    I am new to using Jdeveloper and ADF. I have JDeveloper 10.1.3.1
    I am trying to follow the article "Developing an End-to-End Web Application Using the Default Technology Scope" (http://www.oracle.com/technology/obe/obe9051jdev/ADFtoJSP/defaultendtoend.htm)
    After following the steps for "Creating a JSP for Browsing data" i ran the JSP and got a blank form with no data. I was expecting to view data from HR.Departments table on the JSP output.
    After turning on the debugging of ADF by following the article "http://www.oracle.com/technology/products/jdev/tips/muench/debugger/index.html" i saw the following messages logged to the console -
    07/04/06 10:22:09 [11] No XML file /view/DataBindings/DataBindings.xml for metaobject view.DataBindings.DataBindings
    07/04/06 10:22:09 [12] CSMessageBundle (language base) being initialized
    07/04/06 10:22:09 [13] Cannot Load parent Package : view.DataBindings.DataBindings
    07/04/06 10:22:09 [14] Business Object Browsing may be unavailable
    07/04/06 10:22:09 [15] Loading from XML file /view/DataBindings.cpx
    07/04/06 10:22:09 [16] Loading the Containees for the Package 'DataBindings.DataBindings'.
    07/04/06 10:22:09 [17] Loading Child Containers for the container 'DataBindings.DataBindings'.
    Apr 6, 2007 10:22:09 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    Apr 6, 2007 10:22:09 AM org.apache.struts.util.PropertyMessageResources <init>
    Can someone please let me know if the "No XML file..." message above has anything to do with the fact that I cannot see the data on my JSP. If so, how can I fix this.
    Also, if you can suggest any other articles which help debug applications created in ADF I would really appreciate it.
    Regards
    Manav

    You are using a tutorial that is meant for an older version of JDeveloper (9.0.5).
    Since you are using JDeveloper 10.1.3 I would suggest you follow the 10.1.3 tutorials:
    http://www.oracle.com/technology/obe/obe1013jdev/index.htm
    Specifically here is one that is similar to the one you are running through but shows you the new way of doing this in 10.1.3
    http://www.oracle.com/technology/obe/obe1013jdev/10131/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm

  • How to create Popups in task flows

    Hi,
    Can any one help how can we create popup in taskflow. My requirement is i need to do create/edit operation on a table using task flows i have followed the "http://www.oracle.com/technology/obe/obe11jdev/11/btf/bounded_task_flow.html#t6" for create/edit operations in this it's navigating to new page, my case i need to invoke a popup instead of page.
    can any one help me.

    You need to create a separate tf for the edit and use that as a region in your search page.

  • How to load data into table Using Script Task

    We have a directory/folder where we have a file. We need to insert the File Created Date , File Name , Extension into the database table of Sql server by using Script Task.
    So could you please suggest , how to frame the connection string , fetch the file details and insert the data into the database table using Script Task of SSIS 2008

    You can achieve it as follows using standard script task
    1. Add a ForEachLoop container to point to your directory to iterate though the files. Add a variable of type string inside loop to get file name of each file it iterates. Choose option Filename and extension. Add a variable to just store extension part
    (FileExtension), set EValuateAsExpression true for it and give expression as below
    SUBSTRING(@[User::FileName],FINDSTRING(@[User::FileName],".",1)+1,LEN(@[User::FileName]))
    2. Add a script task inside loop and pass filename variable as a read only variable to it. Crete a new variable to get creationdate and pass it as ReadWrite. Inside write code as below
    Public Sub Main()
    ' Add your code here
    Dim f As New System.IO.FileInfo(Dts.Variables("FileName").Value.ToString())
    Dts.Variables("FileCreatedDate").Value = f.CreationTime
    Dts.TaskResult = ScriptResults.Success
    End Sub
    3. Add a Exec SQL Task after Script task inside loop and give a query like below
    INSERT INTO TableName (FileName,CreatedDate,Extension)
    VALUES(?,?,?)
    and in parameter tab map the parameter placeholders 0,1 and 2 to @[User::FileName],@[User::FileCreatedDate] & @[User::FileExtension] variables
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • TP4 [BUG] moving a fragment don't changes task flow definition

    Moving an existing fragment using the refactoring corresponding option didn't change the path in the <page> tag for corresponding view activity in a task flow.

    Hi,
    assume the bug your are reporting is that MOVE is not doing anything here. Its not that it doesn't update the taskflow. If I am correct then yes, this appears to be a bug.
    Frank

  • Can i change BI Query before loading it to BO using some if than else logic

    Hi guys
    In my requirement I have a BI query which the users want to run in BO now. Now the requirement is that they want to change some values in the BI query after the BI query has run based on some u201Cif than else logicu201D for each row.
    So my question is can BO modify a BI query. Is there some place I can write an abap routine between the BI query and the BO Report.
    Thanks

    Hi Adnan, in CR you can create Formula Fields, and you can include IF THEN ELSE statements there. This won´t modify the BI query, but´ll modify the results you see in CR (I believe this is what you want)
    Here, you have information about formula fields, CR 2008 User Guide in chapter 22
    You can do, something like this:
    IF {Tabla.Campo}=1
    THEN "AAA"
    ELSE "BBB"
    Hope this helps,
    Liliana

Maybe you are looking for

  • Order Value - Credit Check

    Dear Experts Is there a way to avoid open order value to be calculated in the credit exposure during credit check.? we want to activate credit checks at the delivery level. and we want only the delivery value + invoice value+ payments to be incorpora

  • Finder crashes (repeatedly)

    I upgraded to 10.5.1 this morning and since the following restart, finder crashes every time it's trying to start. The shiny "application running mark" under Finder's icon in the dock lights up for about half a second and then goes off again for abou

  • I've only used my calendar on my Iphone 4. today i selected to sync with icloud for a back up and all my calendar appointments are gone. Help please.

    I had a ton of appointments on my calendar well into next year. I thought a back up would be nice so I elected to turn on my icloud for my calendar and everything is gone.. i then turned it off but no luck.. it's all gone.. then i checked my icloud o

  • Disable SSL Compression on Mac OS X Mountain Lion Server

    I am running apache 2.2.22, using just profile manager 2, and I am trying to mitigate the crime attack on my server by disabling compression for ssl.  There is more than one directory with httpd.conf files, and I am not sure where to edit the setting

  • Do I really need to write ANY code to create menus

    I need to create a Enhanced CD. You know....a CD, that when put into a computer pops up with menus and options to play music, videos, goto a website display a PDF etc...... I know Director does this, because the last Enhanced CD I saw had a lillte "d