The Unofficial ADF FAQ

Coming soon

Advertisements

10 Responses to The Unofficial ADF FAQ

  1. Sir Ragnar says:

    Is there any (core) way to prevent that a user exit from a window before commit or rollback any changes?.

    Thanks in advance.

  2. John Stegeman says:

    Sir Ragnar,

    Interesting that you commented to a page that doesn’t yet exist; however, I don’t know of any way to do what you are asking.

    John

  3. Kamran Amini says:

    We are still in the need for developing a shuttling interface for our customer. If you have an step – by step or documentation to use for developing the selectmanyshuttle using jSF/TopLink, please let us know.

    Thank you in advance for your time.
    Kamran

  4. Tif says:

    Hi,

    It is a quite interesting question. Actually the only “workaround” i have found is to highlight the commit and rollback buttons when they get enabled (with something like #{bindings.Commit.enabled? ‘background-color:rgb(255,0,0);’:”} in the InlineStyle attribute).
    For preventing user to close the internet explorer window, i’m not sure that a solution exists (may be a pop-up could be triggered?). But i think there is a possibility to prevent the navigation by adding some global rules which could be tested before each navigation, but unfortunately i don’t know how to do. Also if somebody find the solution, i will use it with pleasure.

    Best regards,
    Tristan

  5. Todd Hill says:

    John,

    Not sure how best to reach you, but I posted a question on the JDeveloper forum regarding your subversion best practices article (part 3). Here’s the link;

    http://forums.oracle.com/forums/thread.jspa?threadID=840639&tstart=0

    I was wondering if you’d be able to respond for the benefit of all.

    Thank you, Todd Hill.

  6. Mariela says:

    Hello!!
    I have a question, is possible creater a selectOneChoice editable?. I need show 3 o 4 options and write other option if is required.
    Thank for you help!

  7. Raj says:

    Do anyone have an idea about any best practices of mocking the framework objects such as adf class, session class etc?

  8. Sachin Gupta says:

    Hello There,
    I am doing junit testing for one of the method and it gives me error while searching for iterator in ApplicationModule. Error is listed below. Can someome please provide hints/solution for this? Any help would be appreciated.

    Do i need to instantiate the iterator and pass it to ApplicationModule before calling @test method in jUnit.

    //Created AMMOdule using Fixture class and calling the method written in Impl class
    _amImpl = (cancelPO)fixture1.getApplicationModule();
    String status = _amImpl.cancelOrder();

    // Actual Impl class implementing the method. First line works fine but second line gives null pointer expcetion as it is not able to find the iterator. Do i need to instantiate the iterator and pass it to ApplicationModule before calling @test method in jUnit.
    //Code
    String User = getDBTransaction().getConnectionMetadata().getUserName();
    DCIteratorBinding dcib = ADFUtils.findIterator(“orderedItemsRVO1Iterator”);
    // Error
    java.lang.NullPointerException: null
    oracle.retail.merch20.common.JSFUtils.resolveExpression(JSFUtils.java:37)
    oracle.retail.merch20.common.ADFUtils.getBindingContainer(ADFUtils.java:112)
    oracle.retail.merch20.common.ADFUtils.getDCBindingContainer(ADFUtils.java:120)
    oracle.retail.merch20.common.ADFUtils.findIterator(ADFUtils.java:246)
    oracle.retail.merch20.microApps.cancelPO.am.cancelPOImpl.getSqlObjForCancelOrder(cancelPOImpl.java:121)
    oracle.retail.merch20.microApps.cancelPO.am.cancelPOImpl.cancelOrder(cancelPOImpl.java:91)
    oracle.retail.merch20.microApps.cancelPO.am.applicationModule.cancelPOAMTest.testCancelOrder(cancelPOAMTest.java:69)

  9. Rajasekhar says:

    Hi John,

    I am trying develop a swing application.
    The steps followed were
    1.Empty ADF form
    2.placed Jtabbedpane on the empty form.
    3.Placed 3 Jpanels on Jtabbedpane.
    4.Selected form layout on the JPanel1.
    But while running the swing form,the data was not visible.

    My requirement is how to work with form layout on JPanel. The structure window is fine.

    Any small information on this requirement is helpful.

    Regards,
    V.Rajasekhar

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: