It happened to me two times over the last couple of months. In the morning, when I fired up JDeveloper (220.127.116.11.0) to work on the ADF project at my current client, JDeveloper suddenly “forgot” which project workspaces were open and lots of other settings were lost. Apparently, some settings files are corrupted for whatever reason. In this state, it is not possible to do my normal work with JDeveloper. As I don’t want to spend half the day with re-installing JDeveloper and all plugins and re-doing all my settings, I figured out a way to “repair” the JDeveloper settings. I thought I’d share this, so if you ever encounter a similar situation, you can safe yourself a lot of work by just repeating what I did. Continue reading
At my current client we had the first user acceptance test of a new Oracle ADF application. We have a lot of data entry pages in our application, where database records are presented in editable tables. Each table has a tool bar, with a “Create new record” button on it. One of the things the users noticed during the test, is that when they created a new record, the new record showed up in the table and was selected, but the first input field in the record didn’t have the input focus. I looked for a setting in ADF to set the input focus after creating a new record, but didn’t find anything. So I created my own solution… Continue reading
At the end of my previous post, I stated:
There’s one more thing I’m not really sure of (yet). In section 39.7 of their Fusion Middleware Developer’s Guide, Oracle shows a (in my opinion rather hacky) way to make sure Session information is saved between different incarnations of the ApplicationModule. I’m not sure if this is needed in our approach, since we set the year at the start of each JSF lifecycle anyway. But I implemented it, “just in case”, it doesn’t harm anyone.
As you probably know, Oracle ADF is a complete JEE application development framework from Oracle. It is targetted at companies that already have an Oracle Database and perhaps legacy applications developed with Oracle’s “Forms” technology. The client I’m working for at the moment is such a company, and we’re developing an application in ADF that is going to replace (a part of) their Forms application eventually. Continue reading