Developing comfort level with ADF, while moving from OAF.

A small article on the above, on my blog link :
http://mukx.blogspot.com/2008/02/next-big-thing-adf-faces.html
It provides a quick start up with ADF.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                   

May be the following link will help you ->
http://www.oracle-latest-technology.com/2010/12/how-to-dynamically-open-external-url.html

Similar Messages

  • Developing Business Services with ADF BC

    Hello all,
    I was following the tutorial at http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm#t2s5, which is Developing Business Services with ADF Business Components
    AND i was wondering if i could add a custom validation that would: prevent the user from entering a Gender IF the credit limit is greater than 400? Is this possible? If so, could some point me in the right direction
    Cheers

    Hi,
    you have two options:
    1. add the validation on the ADF BC model using a method validator. This would compare the two attributes and throw an exception if the business rule is violated
    2. Use a ValueChange Listener on the credit limit field (in association with a autosubmit=true setting on the field) to enable the gender field through a Partial Page Refresh. To programmatically refresh a field using PPR, you create a binding of the component to refresh o a managed bean using its binding property. Then you call
    AdfFacesContext.getCurrentInstance().addPartialTarget(<component reference here>)
    Frank

  • 10.1.3.1 : Developing Business Services with ADF BC tuto issues

    Hi,
    I was doing a learning session at my office based on the 'Developing Business Services with ADF Business Components' tutorial : http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm. The topic Creating ADF Business Components > 9 shows how to create EOs, VOs, AM and the corresponding UML diagram.
    When using JDev 10.1.3.1 :
    * the diagram is not generated as expected,
    * the java domains are not created from DB domains.
    Under JDev 10.1.3.2 :
    * the java domains are created from DB domains,
    * the diagram has been generated on 1 out of 3 computers.
    Any clues on what's going on or any known bugs ?
    Thanks,
    Seb.

    Hi,
    Today in 10.1.3.1 the diagram generation just works. It seems the keepResident extension was causing troubles as the exception stack trace mentioned its name... I just removed it.
    But still, the domains are not generated as expected. I've made several tests even in a fresh installation of JDeveloper 10.1.3.1.
    Seb.

  • DATAGRID FOCUS ISSUE: Focus got lost, while moving from one cell to another cell using tab key.

    Problem: Focus got lost, while moving from one cell to another cell using tab key.
    Example: In an AdvanceDataGrid, there are three columns having custom ItemRenderer with Spark TextInput control (editable=true & focusEnabled=true).
    When I try to move the focus in with in 2nd, 3rd & 4th column using tab key, focus got lost. Most of the time it’s working, but some time it doesn’t work. There’s no clue as to how may rows/columns the focus has jumped to; or whether the focus has gone out of the data grid altogether.
    Observations: I am not sure whether this problem is because of custom component implementation or it is because of some issue related to Flex Component.
    It only occurs when we perform some actions like some server call, some complex logic execution etc. at the focus out event of itemrenderer.
    There is one property of datagrid i.e. editedItemPosition which contains row & column index of datagrid. On the focus out event, it gets null when focus got lost. We tried to set it, but it didn’t work.
    Steps Performed:-
    1. Currently focus is in 2nd column i.e. Apply to #.
    2. Once I press tab key from 2nd column, it goes to 3rd column which is correct.
    3. Now if I press tab key from 2nd column i.e. Payment #, focus should go to 3rd column, but it goes out of data grid and set the focus of button which is outside data grid.

    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bjtable+%2Btab+%2B%22enter+key%22&col=javaforums

  • Problem with Visibroker while moving to JDK 1.4 from 1.3

    Hi,
    I am getting following error in Visibroker 3.4 while moving to JDK 1.4.
    Its says....
    java.lang.ClassCastException
         at com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:60)
    I have compiled my IDLs with Visibroker(idl2java) and using those stubs clsses as external jar, also with Visibroker jars (vbjapp.jar and vbjorb.jar) took it from Visibrokers lib directory.
    Its working fine with jdk 1.3....
    Other stubs classes are tested and working fine with 1.3.
    Do we need to get the new Jar for VBJ?
    can any one throw some light on this, Pls share your experience, in case you came across such problem.
    It would be great help
    Thanx in advance
    /GSaha

    Hi,
    I'm not sure, but I suspect the following happened:
    Visibroker 3.4 was targeted for J2SE 1.0 and 1.1 platforms. It probably includes a lot of org.omg.CORBA classes that weren't in J2SE at the time, so the JVM picked them up from the Borland jars.
    In J2SE 1.4, a lot of these classes are in the platform, so are loaded from the JDK rather than the classpath. Also, it's been a long time since J2SE 1.1. Things are added to the J2SE platform from the OMG specs when they are stable. There are probably differences between the Borland ones from the days of J2SE 1.1 and the ones in the J2SE 1.4 JDK, thus the ClassCastException.
    Try overriding the bootclasspath with -Xbootclasspath so the JVM picks up the Borland jars first and overrides the org.omg.CORBA classes in rt.jar. There's a new way to do this for standards outside of Java such as OMG classes called the "preferred classes" or "preferred classpath", but I can't seem to remember how to do it. (You're not supposed to deploy applications with -Xbootclasspath solutions anymore.)
    - Everett

  • Issue while moving from string to field symbol -- waiting for help

    Hi Abap Experts,
    At present I got stucked here at client place. Please help me . Thanks in advance.
    I have a structure in field symbol. I also have data in the string (rec ty )
    I need to move it to corresponding fields in the field symbol. While moving, it is giving a dump.
    data:linetype type string,
    struc type ref to DATA.
    field-symbols: <fs> type any.
    linetype = i_strucname.
    " Get internal table and attach the field-symbol
    CREATE DATA struc type standard table OF (linetype).
    ASSIGN struc->* TO <fs>.
    <fs> = string. (dump is occuring here)

    Hi,
    My code:
    data:linetype type string,
    struc type ref to DATA.
    field-symbols: <fs> type any ,
    <f1> type any .
    linetype = i_strucname (Z structure)
    " Get internal table and attach the field-symbol
    CREATE DATA struc type standard table OF (linetype).
    ASSIGN struc->* TO <fs>.
    I need to populate the Z structure at runtime with the appropriate field values from the string.
    for example:
    input: abc \ \xyz
    structure: first ffield length 10,   " MY Z STRUCTURE
                   second field length 5
                    third field length 10.
    output: abc        xyz         
    I get the structures dynamically.

  • What are the things we need to take care while moving from 11g to 12c.

    Dear All,
    One of my client having the application running on 11g and now he wants to move it on 12c.
    Now he is asking to me that, what are the things will not work or impacted due to this. Any code level changes, syntax, functions etc are working in 11g and now there is difference or not working in 12c. Could you please help me in this.
    Is there any document for all these thing. I searched on google but not able to find any specific doc.
    Thanks in advance.
    Regards,
    ganesh

    Gaurav_91 wrote:
    Hi,
    Moving from 11g to 12c will not impact anything.
    Database in 11g will now act as PDB's in 12c.
    And what makes you say so? What about the changes/fixes done in the optimizer that would alter the plans? What about if the client wants to use in-memory database option? And your statement that database in 11g will now act as PDB in 12c doesn't make any sense. What if the client is not willing to move to multitenancy? What about the scripts that are running in 11g without any issues and suddenly, will break in 12c  due to PDB's ? Do you have any technical reference to validate your claim that there won't be any impact ?
    Aman....

  • How to make slicer to remember selected values while moving from report to another

    I have Power View on SharePoint 2013 and OLAP Cube on SQL Server 2014 solution.
    1) I select slicer values and graphs are updated
    2) I move to next page on same Power View file and use slicers.
    3) I come back to original reports. My slicer valuers are empty.
    Is it possible to make slicer to remember selected values while browsing from reports to another?
    Ken
    Kenny_I

    Hi Kenny_I,
    This seems to a by design issue. The selected values within a slicer will be stored in Memory. When we go to another report, the memory will be released.
    Best Regards,
    Black

  • How to invoke ADF application URL from OAF?

    Hi guru's,
    We have a developed a custom ADF application using Fusion Middleware 11g.
    We would like to integrate this ADF with existing EBS/OAF application.
    We were able to invoke ADF URL from EBS responsibility with a special function type "ADFx" in R12.1.3.
    Now we need to pass context/profile level parameters from EBS to external ADF application. Like logged in userId/RespId etc...
    We are running ADF application also in same EBS DB and hence want to use same fnd_user/Resp concept in ADF.
    Can anyone help me on how to pass these parameters like userId/RespId from EBS to ADF while invoking ADF application URL?
    If we can append the values to ADF URL, we would be bale to parse them in ADF context. But, i am stuck at passing parameters from EBS.
    How Can we invoke ADF URL from OAF page? is there any specific function available or is it just URL invoke?
    Also, in OAF the logged in user session information is maintained in cookies(if i am correct), is there any way that we can pass the session level values from OAF to ADF?
    Any help in this regard would be a great help!!!
    Thanks

    May be the following link will help you ->
    http://www.oracle-latest-technology.com/2010/12/how-to-dynamically-open-external-url.html

  • Problem with RTF Report Generation From OAF Page

    Hi,
    I have a requirement where from OAF page, on a button click, a RTF report should be generated. Template has been already defined for the same. If I want to generate report in .xls or pdf, it is working fine but in case of RTF it is showing that "Word cannot start the converter mswrd632" and then onclick of ok, it is displaying some junk data in word doc.
    Below is the code written in PFR-
    else if((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
           outputType = "application/vnd.msword";//"application/vnd.ms-word.document";//"application/vnd.ms-word";
           ext = ".doc";
    if ((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
          TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, TemplateHelper.OUTPUT_TYPE_RTF, null, pdfout);
    else
          TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, (byte)btype, null, pdfout);
    Please help urgently by sharing your ideas about solving this problem.
    Thanks,
    Annie

    hi Annie,
    Please check the links may be it will help you:
    https://forums.oracle.com/thread/2185528
    https://forums.oracle.com/thread/2545516
    https://forums.oracle.com/thread/2543842
    https://forums.oracle.com/thread/2342141
    if you get the right solution please mention here, it will help others.
    Regards
    Mahesh

  • Prompting to SAVE while moving from one Tab to Another

    Hi !!
         We are having the User entry WEB layouts where in the data entry layouts for different applications are spread on multiple Tabs .
      However i want the user to be warned to Save the data on a particualr tab when he moves to the another tab for data entry .
    I have explored the options enhancing the class CL_UPWB_BSP_APPL however in there how can i check that user is moving to new Tab and how to send a prompt for saving from there to the user.
    Appreciate your interest and help in the matter .

    Hi,
    i think it is not necessary to warn the user during leaving each tab cause a warning is standard if the user try to leave the BSP-Application with the exit-Button.
    Please note that the planning-buffer is filled and not refreshed as long as they dont leave the actual planning session.
    So it is enough to put one SAVE-Button on the top of the page, this will save all entries were made on different tabs.
    Bye Gil

  • Upgradation while moving from Form/Report 6i to 11g ?

    Sir/Mam,
    I have inhouse development in Oracle 8i, Form/Report 6i in server/client architechture. Now, I want to run my application in Oracle 11g Form/Reports.
    There are so many Oracle Products in Oracle 11g. So, guide me what type of upgradations or which type of Oracle Products I should download.
    Thanks & Regards.
    Sukhvinder Singh.

    Hi Sukhvinder,
    These are the main things you need to do
    01. Upgrade Oracle Forms/Reports 6i (Client/Server) to 11g (Web) version
    --In here you need to follow the Oracle Gudelines
    http://download.oracle.com/docs/cd/E12839_01/doc.1111/e10394.pdf
    02. Then Install Oracle WebLogic Server with Oracle Forms/Reports Services
    03. Deploy Forms/Reports
    Each of these task has lot of things to do..

  • Problem with report after moving from version 8.5 to 11

    Post Author: kenbrien
    CA Forum: General
    I have a Crystal Report which was created in version 8.5 that is going against an Oracle datasource. When we upgraded to Report Server XI the report worked almost the same but it began to truncate a memo field that is on the report. The field can be up to a few hundred characters long but it truncates it to only the first 2 characters. In addition there is also one field in a Group Header that no longer displays when we run the report. The design of the report hasn't changed so how do we fix the problems introduced since going to XI? Where do I start looking?
    Thanks.

    Hi,
    Try this link for update and hot fixes,[ Click Here|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    regards,
    Clint

  • Error while deploying ADF web application from JDeveloper 11g to Web Logic

    Hi,
    I developed application following "Developing RIA Web Applications with Oracle ADF" tutorial.
    It works fine when started locally, from JDevelopwr 11g (11.1.1.1.0).
    I tried to deploy it to remote Oracle WebLogic Server (10.3.1, with ADF libraries installed) from JDeveloper, but got:
    +[02:29:00 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRDemo on AdminServer.: Failed to load webapp: 'HRDemo.war'.+
    +[02:29:00 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet+
    +[02:29:00 PM] See server logs or server console for more details.+
    +[02:29:00 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] #### Deployment incomplete. ####+
    +[02:29:00 PM] Deployment Failed+
    Tried to add "ADF Common Web Runtime" to deployment profile's "Libraries selected for deployment" but than got:
    +[02:52:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRSystem_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'.+
    +[02:52:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet+
    +[02:52:44 PM] See server logs or server console for more details.+
    +[02:52:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] #### Deployment incomplete. ####+
    +[02:52:44 PM] Deployment Failed+
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 10, 2009 2:58 PM

    Hi,
    We did that earlier, too (modified existing domain).
    Also, after that, we created new domain and extended it according to you suggestions but no change.
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 11, 2009 10:20 AM

  • Developing a User Interface with ADF Faces - Tutorial - Questions

    Hello everybody,
    I am a forms developer and I am totally new to ADF.
    I started from the tutorials : Developing Business Services with ADF BC and Developing a User Interface with ADF Faces...
    Everything was easy and very clear, as far as the material covered in the tutorial is concerened.
    But when I tried to modify a little bit the application, to perform a different task... disaster!!! :-)
    One of the "simple" things that I tried to do -for example- is :
    In the login.jspx, where we have created an ADF Parameter form (that accepts as a parameter the customer ID) and
    retrieves in the next page the Orders of the specific customer.... to Display a message, such as "+Customer Does Not Exist+"
    if the user types in the parameter form an not existent customer ID...
    I understand that I should use a validator.... But I cannot find the list validator (from query) in the bind variables not in the ADF Parameter Form Fields....
    Does anyone know?
    Regards,
    Maira Kotsovoulou

    Dear Grant,
    CustomerID is in the UI Project, and appears as a part of an ADF Parameter Form... and I can not find key exists in the UI Validators....
    CustomerID in the .entities is a bind variable in a query. select ... from customers where customer_id = :p_customer_id. Again KEYEXISTS validator is not available in the bind variables sections... Only in the attributes!!!
    I understand that the "normal" behavior in a query with bind variables where there is no match is to display nothing as it does!!!
    But I was just wondering, if I could even trap that before I display the empty form...? Or could I display a text in my ADF form, that says no rows... (as I can do in an ADF Table???)

Maybe you are looking for

  • Using Blackberry as a Modem for Mac Book Pro

    Does anyone know how to use a blackberry for a modem on a Mac Book Pro, running 10.5.5? I can pair the device with the blackberry, but it will not connect. Some say it works in parallels and virtualbox with windows, but i dont even know how to do tha

  • SP Not firing

    Hi I am new to SP.I written a code which is executed at back end succesfully but its not firing at front end. I used this SP to restrict the user to change the unit price(Comes automatically from item master) for a particular item group in PO.its not

  • Blank Spread Using Print Booklet

    I am outputting a 48 page booklet using the Print Booklet feature in InDesign CC. Oddly, one spread is printing without the content. Pages 3 and 46 are blank. I know they are being output, since the crop marks do appear on the spread. The content, ho

  • Enable partition feature in oracle 11g

    we have 11g and the DB has not installed the partitiong, how do we install this feature in 11g? SQL> select * from v$option; PARAMETER                                                        VALUE Partitioning                                          

  • Trouble w/ WYSIWYG in Word

    I am having trouble with a word doc that contains clip art. Everything appears to be formatted correctly on the screen, but when I print, the clip art is not where it should be. Any suggestions? The clip art is a jpeg.