Workshop Building Oracle ADF Applications

Hi all
i tried the Building Oracle ADF Applications: Workshop and still have a problem:
If i navigate from BrowserCustomers.do to eg. EditCustomers this works fine. In the EditCustomers i have my Cancel Button that implements the event_rollback. If i run the application in the IE navigate to EditCustomers an click on Cancel button a go back to the BroseCustomers view. But although i see the context of the BrowseCusomers view the url-adresslist gives me /CustomerMaintenace-ViewController-context-root/EditCustomers.do.
So if i click on Button NextSet in BrowseCustomers view i am again in the EditCustomers.
I checked several times the code with the one in the workshop but didnot find anything wrong.
Any ideas ??

I got the same problem.
I think its related to the Edit link, wich is :
a href="index.jsp.do?event=setCurrentRowWithKey&Arg0=<c:out value='${Row.rowKeyStr}' />&event=Edit"
The probleme come from the fact that there's two parameter name event.
Anyone knows a right way to select a row and forward to the edit page in the same link ??
thx for your help
Jeff
Message was edited by:
user536516

Similar Messages

  • Building Oracle ADF Applications Workshop

    I have finished going through the "Building Oracle ADF Applications: Workshop"
    from the following link:
    http://www.oracle.com/technology/obe/obe9051jdev/ide1012/adfworkshop/buildingadfapplicationsworkshop.htm
    Hopefully that is sufficient for the doc writer to locate the context of my
    comments. If not, let me know and I'll provide additional information.
    I grouped all of these together as one big comment. If you want it in a
    different format, again, let me know.
    Prior starting the workshop I printed out the entire document which resulted in
    51 pages of output. In each comment, except for the first general comment, I
    list the section name, step number and my page number which should be enough to
    uniquely identify the area that the comment relates to. My suggestions start
    out with "It would be nice...". I numbered the comments so I could have
    comments refer to each other.
    (1) One of the things I really liked was the "If you want to see a
    demonstration of these steps, click here" links. Sometimes the discussion
    was not precise so being able to see the actual usage worked well. It would
    be nice if there were more of these in the workshop.
    (2) "Building the Basic Page Flow", step 2, page 13.
    I had some trouble with this because it wasn't clear how one changes the
    DataPage's name. I used the property sheet and did it wrong, resulting in
    an error. I had to consult the "If you what to see..." link to determine
    how to do this correctly.
    It would be nice if there were a paragraph before "When you are done"
    saying something like:
    To change the name of a DataPage just click on the icon's label and
    enter the new value, starting with the leading slash.
    (3) "Connecting the Pages", step 9, page 21.
    This step has one switch to the Source editor view to make a change. This
    change can also be made in the Design view.
    It would be nice to stay in the Design view. The suggested wording for this
    is:
    In the Design view you can change the Edit button link by clicking on
    the Edit button and pressing the left arrow (<--) key once on the
    keyboard. The Property Inspector will be in an <A> element. Edit the
    href property by appending the following:
    &event=Edit
    (4) "Connecting the Pages", step 10, page 22.
    The first time I had trouble drawing the links. A bit more discussion on
    how to draw the links with corners would be nice. One of the troubles was
    that I would edit one link and another (or all of them) would suddenly
    change to simple vertical links (no corners). The link lines were
    separated, but the link names were displayed making it more difficult than
    necessary to tell which link line went with which link name.
    (5) "Adding a Create Function", step 4, page 24.
    I have the same comment on this step as I did in comment (3).
    (6) "Creating Session Variables with onEvent() methods", step 2, page 27.
    The last paragraph describes how JDeveloper will prompt you to enter an
    import statement. The comment I wrote on that page was:
    Cool!
    It's nice that JDeveloper handles this booking task.
    (7) "Building a Message Stack with a findForward() method", step 1, page 28.
    In the second paragraph it's not clear what the context is. It would be
    nice if the second paragraph would start out with:
    In struts-config.xml, right-click ...
    (8) "Building a Message Stack with a findForward() method", step 6, page 30.
    This code fragment at the end of this step has all lines starting in column
    1. It would be nice if this was indented so it could be followed with less
    effort. The same is true for the other code fragments in this section.
    (9) "Building a Message Stack with a findForward() method", step 12, page 32.
    I wrote a simple Java program that compared a String variable to a string
    literal. In all cases using == to compare returned false, while .equals()
    worked correctly. I was using Java 1.4.2_06_b03. Even if Java 1.5 supports
    converting the == between strings to equals(), it would be nice if the
    comparisons to the "type" variable used the .equals() method instead of ==,
    so that those of us still using Java 1.4 would have properly working code.
    Note that == in 1.4 compares the hash values while equals() looks at the
    contents.
    (10) "Enabling the Delete Confirmation Page", step 5, page 36.
    The last sentence of the first paragraph contains the phrase:
    if there are errors, build the ActionMessage object.
    It would be nice if this contained an extra word as in:
    if there are no errors, build the ActionMessage object.
    (11) "Enabling the Delete Confirmation Page", step 6, page 36.
    Line 12 (or 13 if you count blank lines) is storing a value in the request
    object. It would be nice to have a discussion in this step instead of
    having to wait until section "Intercepting the Middle-Tier Message", step
    8, page 42 before we know what this is all about.
    (12) "Overriding the findForward() Method", step 1, page 44.
    It appears that the call to the super.findForward method is missing. It
    would be nice if the following were inserted before the closing curly
    brace:
    super.findForward(actionContext);
    (13) "Overriding the findForward() Method", step 9, page 46.
    Near the end of this step it mentions the imports that are added. It
    appears that there is a missing import statement. If this is correct, it
    would be nice to also include the following import:
    import oracle.adf.controller.struts.actions.DataActionContext;
    (14) "Overriding the findForward() Method", step 10, page 46.
    My diagram doesn't look like this. The "Edit" link between /browseCustomers
    and /editCustomers should be "Commit". The "Cancel" link from
    /editCustomers back to itself shouldn't be there. The "Commit" link from
    /sure to /browseCustomers should be "Cancel". Compare this with the diagram
    in section "Creating a Delete Confirmation Page and a Forward", step 5,
    page 25.
    (15) "Internationalizing Field Labels", step 3, page 48.
    This is another case where the context is not clear. It would be nice if
    the following was added to the first paragraph:
    In the browseCustomers page,
    (16) "Internationalizing Field Labels", step 10+, page 49.
    Everything is internationalized except for the buttons. How does one
    internationalize them?
    (17) "Conditionally Displaying a Field", step 1, page 49.
    The last sentence says "The result should look like the following:". If one
    were following this workshop from front to back then what should be shown
    is the internationalized version of this page.
    (18) "Conditionally Displaying a Field", step 5, page 50. Bug?
    When I look at the Source view of editCustomers.jsp the <INPUT> element has
    a property setting of disabled="true". When I run the application and look
    at the HTML source used by the browser, that same <INPUT> element has a
    property setting of disabled="disabled". It works, but isn't that somewhat
    redundant? I recommend that the source code should have the disabled
    property setting as it appears in the Source view.

    Hi Jean,
    Can you please provide the document part number and book title where you have seen this errors? This way I can forward this to the doc writer.
    If this is not a document issue, please try the Members Feedback Forum. Community Feedback (No Product Questions)
    Thanks

  • Configuring Multiple Schemas in Oracle ADF application

    Hi,
    Thanks all for the replies for my previous posts :-)
    We have a requirement in which we need to configure our application for multiple Database schema. At runtime based upon the logged in user we need to get data from the schema related to that user.
    These schema may be on same Database instance/server or may be on different DB servers.
    The requirement is like this
    Logged in User DB schema configured
    "A" ASchema @ 127.0.0.1
    "B" BSchema @ 127.0.0.2
    "C" ASchema @  127.0.0.1
    "D" Dschema @ 127.0.0.2
    based on the User login (which is happening through one OID system), I need to fetch data from different schema (configured for different application).
    These schema have different set of tables but set of table we require for our application are of same structure.
    Same structure means same Table names with same relations.
    Please let me know can we do the same in Oracle ADF application and How?_
    One more requirement is that if i add a user at runtime and configure the DB schema for this user, All data related to this users will be loaded from this Schema which is configured for this user.
    Thanks in Advance,
    Amit
    newbie to Oracle ADF
    Edited by: ur.amit on May 10, 2010 3:17 PM

    You can try the below example to change database at run time.
    in the filter change the connection and not the credentials
    http://www.oracle.com/technetwork/developer-tools/jdev/dynamicjdbchowto-101755.html#03.
    Most of the other part is done to handle state management tables, which you might also have to do unless you use a file passivation store or if its ok to passivate to a single database always.
    If its ok to passivate to a single db always. Hard code the jbo.server.internal_connection in the AM configurations to a DB jndi name.
    Adf allows you to activate and passivate to a different database other than what you are connected to get and put data.

  • New Oracle ADF Application.

    Hi
    I installed wls1035_oepe111172_win32.exe on my local machine in new directory.
    Next I created base_domain and admin console works OK. WebLogic Server Version: 10.3.5.0
    In “Oracle Enterprise Pack for Eclipse” I try to create New -> Oracle ADF Application.
    During this process I had to create “New Runtime”.
    After this I received message :
    ” Target runtime is not valid; must be WLS 11gR1 PS3 (or greater) with ADF extension.”
    Separately I installed ADF and result is the same.
    I am afraid that in wls1035_oepe111172_win32.exe installation “Oracle Enterprise Pack for Eclipse” doesn’t recognize that WebLogic Server Version: 10.3.5.0 is greater than WLS 11gR1 PS3.
    How I can solve this problem?
    Is this my fault or instalation inconsistence ?
    Please help.

    Hi,
    I just realized that the installer you were referring to is not the same as the one I used in my test.
    The error message you are seeing is due to the fact that the Application Development Runtime is not installed as part of the wls1035_oepe111172_win32.exe.
    In order to workaround the issue please download the 11.1.1.5 Application Development Runtime from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html and install into the wls home where you installed wls1035_oepe111172_win32.exe.
    Once this is complete, you should be able to create an ADF application without any issues.
    Thanks
    Raj

  • INTEGRATION ORACLE ADF APPLICATION TO SAP

    Dear SDN Member,
    We have a requirement wherein we are supposed to connect ORACLE ADF application to SAP Application.
    Please advice if there is any cook-book to accomplish this task.
    Thanks in anticipation.
    ~ Syed.
    <email removed by moderator>
    Message was edited by: Manish Kumar

    Hello Nikolay,
    So nice of you to have spared your time on this.
    Will review the doc and let you know further.
    Many thanks again.
    ~ Syed.
    <email removed by moderator>
    Message was edited by: Manish Kumar

  • Oracle ADF application with Teradata as Database

    JDeveloper PS5.
    Is it possible to integrate Oracle ADF application with Teradata as Database?
    If yes, can you please provide some information with respect to the same?
    Thanks,
    Navaneeth

    Does teradata have a JDBC driver ? and can it understand SQL92 falvor SQL ?
    If yes, then maybe you can do ADF on it.
    Take a look at this :
    http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    A bunch of ADF features will not be available, primary key generation will be a bit sketchy(all keys for all tables will come from a single sequence of numbers) and you'll have to implement some stuff like the persistence collection manager.
    The one thing that doc does not mention is that you also have to make sure your adf-config.xml is set with the correct 'jbo.SQLBuilder' property (SQL92) in the <amconfig-overrrides> section.
    Happy hacking !

  • Run an Oracle ADF application on a tablet pc?

    I've been asked if an Oracle ADF application can run on a tablet pc. (I'm assuming XP Tablet PC Edition) . Does anyone know? If so, can I develop using JDev 10.1.3?

    User,
    Can you please be more specific? If you are talking about an ADF Faces application, those types of apps are web applications, and can be accessed just fine as long as you have a supported browser. However, your question isn't quite clear - do you mean you want to use JDeveloper 10.1.3 on this tablet PC to develop an application?
    John

  • Building Oracle XML Application Book....

    Has anyone purchased the 'Building Oracle XML Applications' book and do they have any opinions on it? Useful?

    It it currently orderable, and is planned to ship by September 31st/October 1st, just in time for the Oracle OpenWorld conference.
    The full table of contents (which eventually should be put also up on the O'Reilly Site) is:
    Preface
    Audience for This Book
    Which Platform and Version?
    Structure of This Book
    Chapter Summaries
    About the Examples
    About the CD-ROM
    Conventions Used in this Book
    Comments and Questions
    Acknowledgements
    Part 1: XML Basics
    Chapter 1: Introduction to XML
    What Is XML?
    What Can I Do With XML?
    Why Should I Use It?
    What XML Technology Does Oracle Provide?
    Chapter 2: Working with XML
    Creating and Validating XML
    Modularizing XML
    Searching XML with XPath
    Part 2: Oracle XML Fundamentals
    Chapter 3: Combining XML and Oracle
    Hosting the XML FAQ System on Oracle
    Serving XML in Any Format
    Acquiring Web-Based XML Content
    Chapter 4: Using JDeveloper for XML Development
    Working with XML, XSQL, and JSP Files
    Working with Database Objects
    Using JDeveloper with Oracle XDK Components
    Chapter 5: Processing XML with PL/SQL
    Loading External XML Files
    Parsing XML
    Searching XML Documents with XPath
    Working with XML Messages
    Producing and Transforming XML Query Results
    Chapter 6: Processing XML with Java
    Introduction to Oracle8i JServer
    Parsing and Programmatically Constructing XML
    Searching XML Documents in Memory Using XPath
    Working with XML Messages
    Producing and Transforming XML Query Results
    Chapter 7: Transforming XML with XSLT
    XSLT Processing Mechanics
    Single-Template Stylesheets
    Understanding Input and Output Options
    Improving Flexibility with Multiple Templates
    Chapter 8: Publishing Data with XSQL Pages
    Introduction to XSQL Pages
    Transforming XSQL Page Results with XSLT
    Troubleshooting Your XSQL Pages
    Chapter 9: XSLT Beyond the Basics
    Using XSLT Variables
    The Talented Identity Transformation
    Grouping Repeating Data Using SQL
    Sorting and Grouping Repeating Data with XSLT
    Chapter 10: Generating Datagrams with PL/SQL
    Programmatically Generating XML Using PL/SQL
    Automatic XML Generation with DBXML
    Chapter 11: Generating Datagrams With Java
    Generating XML Using Java
    Serving XML Datagrams Over the Web
    Automatic XML from SQL Queries
    Chapter 12: Storing XML Datagrams
    Overview of XML Storage Approaches
    Loading Datagrams with the XML SQL Utility
    Storing Posted XML Using XSQL Servlet
    Inserting Datagrams Using Java
    Chapter 13: Searching XML with interMedia
    Why Use interMedia Text?
    What is interMedia Text?
    The interMedia Text Query Language
    Handling Heterogeneous Doctypes
    Handling Doctype Evolution
    Advanced interMedia Text
    Chapter 14: Advanced XML Loading Techniques
    Storing Datagrams in Multiple Tables
    Building an XMLLoader Utility
    Creating Insert Transformations Automatically
    Part 3: Oracle XML Applications
    Chapter 15: Using XSQL as a Publishing Framework
    Overview of All XSQL Pages Facilities
    Additional XML Delivery Options
    Chapter 16: Extending XSQL and XSLT with Java
    Developing Custom XSQL Actions
    Integrating Custom XML Sources
    XSLT Extension Functions
    Chapter 17: XSLT-Powered Portals and Applications
    XSLT-Powered Web Store
    Personalized News Portal
    Online Discussion Forum
    Part 4: Appendices
    Appendix 1: XML Helper Packages
    Installing the XML Helper Packages
    Source Code for the XML Helper Packages
    Appendix 2: Installing Oracle XSQL Servlet
    Installing
    Appendix 3: Conceptual Map to XML Family
    Appendix 4: Quick References

  • Having trouble with xml package in "Building Oracle Xml Applications"

    I have modified the xml package found in Building Oracle XML Applications chapter 5 to exclude everything but the CLOB function, see Package below. When compiling the package body I am getting the following error.
    SQL> @xml_body
    35 /
    Warning: Package Body created with compilation errors.
    SQL> show errors
    Errors for PACKAGE BODY XML:
    LINE/COL ERROR
    19/5 PL/SQL: Statement ignored
    19/15 PLS-00382: expression is of wrong type
    SQL>
    The error occurs at this line in the xml_body package.
    retDoc := xmlparser.getDocument(parser);
    I am new to Oracle and any help would be appreciated.
    CREATE OR REPLACE PACKAGE xml AS
    -- Parse and return an XML document
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument;
    -- Free the memory used by an XML document
    PROCEDURE freeDocument(doc xmldom.DOMDocument);
    END;
    CREATE OR REPLACE PACKAGE BODY xml AS
    parse_error EXCEPTION;
    PRAGMA EXCEPTION_INIT(parse_error,-20100);
    -- Parse functions parse an XML document and return a handle to
    -- the in-memory DOM Document representation of the parsed XML.
    -- Call freeDocument() when you're done using the document returned
    -- by the function.
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument IS
    retDoc xmldom.DOMDocument;
    parser xmlparser.Parser;
    BEGIN
    IF xml IS NULL THEN RETURN NULL; END IF;
    parser := xmlparser.newParser;
    xmlparser.parseCLOB(parser,xml);
    retDoc := xmlparser.getDocument(parser);
    xmlparser.freeParser(parser);
    RETURN retDoc;
    EXCEPTION
    WHEN parse_error THEN
    xmlparser.freeParser(parser);
    RETURN retDoc;
    END;
    -- Free the Java objects associated with an in-memory DOM tree
    PROCEDURE freeDocument(doc xmldom.DOMDocument) IS
    BEGIN
    xmldom.freeDocument(doc);
    END;
    END;
    null

    I have modified the xml package found in Building Oracle XML Applications chapter 5 to exclude everything but the CLOB function, see Package below. When compiling the package body I am getting the following error.
    SQL> @xml_body
    35 /
    Warning: Package Body created with compilation errors.
    SQL> show errors
    Errors for PACKAGE BODY XML:
    LINE/COL ERROR
    19/5 PL/SQL: Statement ignored
    19/15 PLS-00382: expression is of wrong type
    SQL>
    The error occurs at this line in the xml_body package.
    retDoc := xmlparser.getDocument(parser);
    I am new to Oracle and any help would be appreciated.
    CREATE OR REPLACE PACKAGE xml AS
    -- Parse and return an XML document
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument;
    -- Free the memory used by an XML document
    PROCEDURE freeDocument(doc xmldom.DOMDocument);
    END;
    CREATE OR REPLACE PACKAGE BODY xml AS
    parse_error EXCEPTION;
    PRAGMA EXCEPTION_INIT(parse_error,-20100);
    -- Parse functions parse an XML document and return a handle to
    -- the in-memory DOM Document representation of the parsed XML.
    -- Call freeDocument() when you're done using the document returned
    -- by the function.
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument IS
    retDoc xmldom.DOMDocument;
    parser xmlparser.Parser;
    BEGIN
    IF xml IS NULL THEN RETURN NULL; END IF;
    parser := xmlparser.newParser;
    xmlparser.parseCLOB(parser,xml);
    retDoc := xmlparser.getDocument(parser);
    xmlparser.freeParser(parser);
    RETURN retDoc;
    EXCEPTION
    WHEN parse_error THEN
    xmlparser.freeParser(parser);
    RETURN retDoc;
    END;
    -- Free the Java objects associated with an in-memory DOM tree
    PROCEDURE freeDocument(doc xmldom.DOMDocument) IS
    BEGIN
    xmldom.freeDocument(doc);
    END;
    END;
    null

  • Oracle ADF application Deploymet Guide Preparation-Needed Inputs

    Hi all ,
    I need to prepare deployment guide for deploying Oracle ADF  11g Application in weblogic server 10.3.5  and Oracle Database 11g.
    Please provide your inputs for me  in preparing the deployment guide. From where should i start and what things i can incorporate in the guide.

    A good starting point is the doc http://docs.oracle.com/cd/E28280_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG
    This should get you started.
    Timo

  • Oracle ADF application run while debuging but gives error while running

    Hi,
    I created application in oracle ADF, which accesses database from SQL server 2008. I changed database names to different database having same tables. When I debug it by using breakpoint in EOIMPL class, it runs perfectly. But when run it by removing brakpoint it gives error (invalid object). Please Help.
    Thanks.

    can u paste the complete invalid objects error..
    I rember i have seen this case before which possibly got resolved by removing the system folder.. especially the systemfolder/o.j2ee/drs/ folder..
    may be some synching problem..

  • How to Edit Word Document in Oracle ADF Application - Apache POI

    Hi All
    I was wondering if there is a way to edit and save word documents in Oracle ADF without loosing the Formatting.
    I was able to edit and save the word document however the Formatting was lost.
    Please let me know if there are any pointers or open source Java APIs that we can use to achieve this.

    Refer the Text Formatting section
    Apache POI - HWPF - Java API to Handle Microsoft Word Files
    HWPF Reads in a Word document with minimum formatting (no lists, tables, footnotes, endnotes, headers, footers)
    Apache POI - HWPF - Java API to Handle Microsoft Word Files
    The _cbt field in class HWPFDocumentCore contains formatting information.
    HWPFDocumentCore (POI API Documentation)
    For more advanced text extraction needs, including Rich Text extraction (such as formatting and styling), along with XML and HTML output, Apache POI works closely with Apache Tika to deliver POI-powered Tika Parsers for all the project supported file formats.
    Apache POI - Text Extraction
    Use Apache Tikka for formatting.
    Apache Tika - Supported Document Formats

  • Run  oracle ADF application by client

    witch software needs the client to run oracle ADF application

    hi user,
    welcome to otn
    witch software needs the client to run oracle ADF applicationbrowser which supports
    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html
    a little bit question?. little bit answer ;)
    please give enough info.

  • Oracle ADF application - broswer cancel / retry error message

    Hi
    We have developed an application on Oracle ADF11g and targetted client browser to run on IE7.
    We have no issues during our development and test environment, whereas while we moved the same to customers beta & then to live environment, the user experiences with the following error message frequently with the following message saying that:
    "To display the webpage again, Internet Explorer needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click retry to display the webpage again."
    Will any help us to identify the likely root causes for this issue:
    Adnavce thanks
    Kind Rgds
    Krish

    John,
    We have identified 3 scenarios where we observed 'Cancel/Retry' message.
    1. While developer wrongly set the value for height & width attribute for panelCollection control and while the end-user attempted to change the size using the menu provided by panel collection.
    2. While the developer not provided try...catch covering fully for all the code part inside to an action method.
    3. While the developer tried sending return page after executing responseComplete inside the to an action method.
    We have corrected all these scenario, but still the end-user perceives this error message. What will be the other reasons?
    Please help us.
    Krish

  • Automate QA testting Oracle ADF applications

    Is there a method/tool to automate QA testing on ADF fusion web applications.

    User,
    Yes, but QA or even "Quality Assurance" can mean about 1 million and 1 things to 1 million people. I mean, describe what type of testing you mean - you did so, automated UI testing.
    Have a look at [url http://seleniumhq.org/]Selenium (there are more, but it's the one with which I'm familiar).
    John

Maybe you are looking for