JavaPins - Stories tagged with ADF 11g
1
Pins

Invoke JavaScript from backing bean in ADF 11g

published 693 days, 11 hours, 43 minutes ago posted by tracytracy 695 days, 17 hours, 41 minutes ago
Sunday, May 27, 2012 5:37:22 PM GMT Friday, May 25, 2012 11:38:53 AM GMT
So, lets say you are working with ADF11g but also want to leverage the power of JQuery to display a messagebox that fades away after some seconds. For instance after creating a message. We can create the following JavaScript to make a message box appear, and slowly fade out after 5 seconds. 01 function autoremove(selector){ 02 $(selector).removeClass('hideBox'); 03 $(selector).fadeTo(5000, 1.0); 04 $(selector).animate({ 05 opacity: 0, 06 ... (more)
category: ADF | clicked: 3 | comment | | source: blog.whitehorses.nl
tags: ADF 11g, Backing mean, JavaScript, jquery
1
Pins

Rest Consumption in ADF « Asa Welle's Oracle ADF Blog

published 737 days, 16 hours, 30 minutes ago posted by vinaykumarvinaykumar 768 days, 19 hours, 42 minutes ago
Friday, April 13, 2012 12:50:40 PM GMT Tuesday, March 13, 2012 9:38:09 AM GMT
In this post, I will demonstrate building a rest web service that supplies a JSON response using Netbeans and Glassfish. I will also demonstrate an ADF project consuming the JSON result in the AM, constructing a transient VO and displaying the results on the page. The Netbeans project can be downloaded from https://docs.google.com/open?id=0B9yySVFbRABBVndsRDZMWjlUVm04bWZ1Ull4Rl9Kdw. The Jdeveloper project for the JSON consumption can be downloaded from https://docs.google.com/open?id=0B9yySVFbRABBbTU4Tn... (more)
category: ADF | clicked: 1 | comment | | source: asawelle.wordpress.com
tags: ADF, ADF 11g, REST, Webservice
1
Pins

Dare to Code...: Difference between getRowCount and getEstimatedRowCount in ADFount

published 770 days, 20 hours, 7 minutes ago posted by rahulrahul 774 days, 19 hours, 34 minutes ago
Sunday, March 11, 2012 9:13:19 AM GMT Wednesday, March 07, 2012 9:46:30 AM GMT
In ADF applications where a VO is working on large amount of data it is could be a bad impact on using getRowCount to find the number of rows in the VO. The reason is it query the database table every time it is used. So, it incurs you a DB trip. However, getEstimatedRowCount is a bit different. For the first time it queries to DB table using a select * from table query and store the count in the Middle-tier. After that it keeps on adjusting the count within the middle tier whenever row insertion or de... (more)
category: ADF | clicked: 3 | comment | | source: adfjsf.blogspot.com
tags: ADF 11g, getEstimatedRowCount, getRowCount
1
Pins

Dare to Code...: Conclusion on Chris Muir's ADF Task Flow Behavior in 11g

published 770 days, 20 hours, 7 minutes ago posted by rahulrahul 774 days, 20 hours, 24 minutes ago
Sunday, March 11, 2012 9:13:19 AM GMT Wednesday, March 07, 2012 8:56:13 AM GMT
Chris Muir wrote an excellent series on the behavior of adf task flows in conjunction with the transaction control options and am connection. You can find all from the last post available here  For little impatient people who may not have enough time to go through all the 4 blog posts may read the key points here: A Bounded Task flow knows to which AM to connect and establish which db connection only via page definition file bindings. So, a transaction wont be initiated or a db connection won... (more)
category: ADF | clicked: 2 | comment | | source: adfjsf.blogspot.com
tags: ADF, ADF 11g, Behavior, Conclusion, Task Flow
1
Pins

Born To DeBug: ADF 11g methodAction and invokeAction in the pageDef

posted by rahulrahul 775 days, 18 hours, 3 minutes ago
Tuesday, March 06, 2012 11:17:16 AM GMT
Hi, Here is a small example focusing on how to create a methodAction and an invokeAction in a pageDef. Those properties in a pageDef can be very helpful especially when we want to do things more declaratively or have automated actions for your page. Download The Sample Application. What we are going to do here is a slight difference of a previous post. In the previous post we entered a page in insert mode. http://dstas.blogspot.com/2010/09/open-jspx-page-in-insert-mode-in-adf.html ... (more)
category: ADF | clicked: 3 | comment | | source: dstas.blogspot.com
tags: ADF, ADF 11g, invokeAction, methodAction, pageDef
1
Pins

Born To DeBug: Master View Search Form .Display Only Results in Detail View Objects

posted by rahulrahul 775 days, 18 hours, 20 minutes ago
Tuesday, March 06, 2012 11:00:45 AM GMT
Hi, There is a very easy way to  keep your Search Form in find mode all the time. Consider this: Lets say that we have a Master View Object (e.g. Employees) and a Detail View Object( e.g Departments). We want to Use the Master as a Search Form and the Detail as a result table. The structure of our page is the following: 1) Master as a search form(always entering in find mode.) 2) Detail as a readOnly detail table. We want our page to show something like this: and we want to show... (more)
category: ADF | clicked: 0 | comment | | source: dstas.blogspot.com
tags: ADF 11g, Master Detail, Search
1
Pins

Born To DeBug: ViewObjectImpl findByKey(Key key, int i) example

published 774 days, 19 hours, 15 minutes ago posted by rahulrahul 775 days, 18 hours, 21 minutes ago
Wednesday, March 07, 2012 10:05:08 AM GMT Tuesday, March 06, 2012 10:59:17 AM GMT
Hi, This is a small sample application demonstrating the findByKey(Key key,int i) method. According to the API: http://download.oracle.com/docs/cd/B1409919/web.1012/b14022/oracle/jbo/server/ViewObjectImpl.html#findByKeyoraclejboKey_int This can be useful when we want to navigate to a page for instance displaying a given row and not actually filtering the dataset retrieved from the query. Download the Sample Application The test case is fairly simple. Lets use the HR schema.We create... (more)
category: ADF | clicked: 3 | comment | | source: dstas.blogspot.com
tags: ADF 11g, example, findByKey(Key key, int i), ViewObjectImpl
1
Pins

Born To DeBug: Master Detail on separate Pages and Separate Task Flows ADF 11g

published 774 days, 19 hours, 15 minutes ago posted by rahulrahul 775 days, 18 hours, 24 minutes ago
Wednesday, March 07, 2012 10:05:08 AM GMT Tuesday, March 06, 2012 10:56:12 AM GMT
Hi, This is another small example of how to present Master-Detail information. This example will show to present master detail data over different pages where each page exists in a different task Flow. Furthermore, you can find a discussion in the forum, where this post was inspired from. Download The Sample Application. The implementation is almost the same as a previous post: http://dstas.blogspot.com/2011/10/master-detail-on-separate-pages-jspx.html The difference here is that, Mas... (more)
category: ADF | clicked: 1 | comment | | source: dstas.blogspot.com
tags: ADF, ADF 11g, Master Detail, Pages, Separate, Task Flow
1
Pins

Born To DeBug: Master Detail on Separate Pages jspx ADF 11g

published 774 days, 19 hours, 15 minutes ago posted by rahulrahul 775 days, 18 hours, 33 minutes ago
Wednesday, March 07, 2012 10:05:08 AM GMT Tuesday, March 06, 2012 10:47:21 AM GMT
Hi, This is an example of using a typical master detail relationship but in different pages. The master will be in one page and the details will be in another page. The use case is simple. Select a master row from a table and then navigate to the details table of this master which are in another page. For this case we will use the Department and the Employees tables of the HR Schema. The Departmens will be the master page and the Employees will be the details page. Download The Sample Ap... (more)
category: ADF | clicked: 1 | comment | | source: dstas.blogspot.com
tags: ADF 11g, Master Detail, Pages, Separate
1
Pins

Born To DeBug: TaskFlow managed Bean properties.Referring to a Bean instance from another Bean instance using task flows. ADF 11g

published 770 days, 20 hours, 7 minutes ago posted by rahulrahul 775 days, 19 hours, 11 minutes ago
Sunday, March 11, 2012 9:13:19 AM GMT Tuesday, March 06, 2012 10:09:04 AM GMT
Hi, In this example we are going to show how to access bean instances from other bean instances using task flows. Based on a question in the OTN forum: https://forums.oracle.com/forums/thread.jspa?threadID=2321268&tstart=0 It might sound a bit strange to some, but task flows can be quite helpful for that matter. Download Sample Application. What is the purpose of task flows? According to documentation: http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows.htm#BABFBAFA ADF ... (more)
category: ADF | clicked: 3 | comment | | source: dstas.blogspot.com
tags: ADF 11g, managed bean, Oracle ADF, Task Flow
1
Pins

Luc Bors Weblog: ADF 11g Contextual Event Framework: An Example

published 796 days, 22 hours, 22 minutes ago posted by vasantvasant 799 days, 22 hours, 44 minutes ago
Tuesday, February 14, 2012 6:58:48 AM GMT Saturday, February 11, 2012 6:36:47 AM GMT
Often a page or a region within a page needs information from somewhere else on the page or from a different region. While you can pass parameters to obtain that information, doing so makes sense only when the parameters are well known and the inputs are EL-accessible to the page. Parameters are also useful when a task flow may need to be restarted if the parameter value changes. However, suppose you have a task flow with multiple page fragments that contain various interesting values that could be us... (more)
category: ADF | clicked: 3 | comment | | source: lucbors.blogspot.in
tags: ADF 11g, Contextual Event, example, Framework
2
Pins

Luc Bors Weblog: ADF 11g popup and panelwindow: Open wikipedia in a modal popup.

published 796 days, 22 hours, 22 minutes ago posted by vasantvasant 799 days, 22 hours, 47 minutes ago
Tuesday, February 14, 2012 6:58:48 AM GMT Saturday, February 11, 2012 6:33:30 AM GMT
This post was more or less inspired by the noteWindow example on Oracles tag demo site. When hovering the highlighted text in this example the user gets extra information about the subject. I wanted to give the end user the opportunity to get even more information, for instance by invoking a wikipedia page about the subject. The catch here is that I wanted this information to be shown in a modal popup, and one that is not prohibited by popup blockers. Luckily ADF 11g provides javascript popups that c... (more)
category: ADF | clicked: 0 | comment | | source: lucbors.blogspot.in
tags: ADF 11g
1
Pins

Luc Bors Weblog: ADF 11g Skinning: Three ways to change look and feel

published 796 days, 22 hours, 22 minutes ago posted by vasantvasant 799 days, 22 hours, 47 minutes ago
Tuesday, February 14, 2012 6:58:48 AM GMT Saturday, February 11, 2012 6:32:58 AM GMT
On the JDeveloper ADF forum there are many questions on how to change the look and feel of components. In this post I'll explain three ways to do that. Setting skin Selector property For this we need to define a custom skin. In the style sheet we will add an entry that will hide the columnheaders. af|column::column-header-cell{display: none;} This entry in the styleSheet will apply to ALL columns in your application. Using and appending styleClasses Now we create a StyleClass tha... (more)
category: ADF | clicked: 1 | comment | | source: lucbors.blogspot.in
tags: ADF 11g, Skinning
1
Pins

Luc Bors Weblog: ADF 11g : Change a Viewobjects' Query on the Fly

published 796 days, 22 hours, 22 minutes ago posted by vasantvasant 799 days, 22 hours, 48 minutes ago
Tuesday, February 14, 2012 6:58:48 AM GMT Saturday, February 11, 2012 6:32:11 AM GMT
One of the requirements at my current project is to have one ADF table display data from different database tables. That is, depending on criteria entered by the user, the query behind the view object needs to change. All in all 12 different database tables are involved in this story. This requirement is based on functionally in the original (oracle forms) application. This forms application used the setblockproperty built-in: setblockproperty(' (more)
category: ADF | clicked: 4 | comment | | source: lucbors.blogspot.in
tags: ADF, ADF 11g, view object, view object query
1
Pins

Luc Bors Weblog: ADF 11g: Using a List in Query component

published 798 days, 1 hour, 47 minutes ago posted by vasantvasant 799 days, 22 hours, 49 minutes ago
Monday, February 13, 2012 3:33:26 AM GMT Saturday, February 11, 2012 6:31:28 AM GMT
When you create a default query component you might miss some of the features that ADF offers to you. One of these is the use of lists in the query component. In this post I'll explain to you how to do that. First image here is the way a query component displays when you use all the defaults, and do no tweaking at all. Forget that I already changed some attributes so they are not displayed in the query component. It looks ok, but the user of your application might not be so happy. They have to know... (more)
category: ADF | clicked: 3 | comment | | source: lucbors.blogspot.in
tags: ADF 11g, query component
1
Pins

Luc Bors Weblog: ADF 11g : Query Component with ‘dynamic’ view criteria

published 810 days, 18 hours, 37 minutes ago posted by anujaanuja 810 days, 20 hours, 15 minutes ago
Tuesday, January 31, 2012 10:43:43 AM GMT Tuesday, January 31, 2012 9:05:20 AM GMT
In my current project use a lot of re usable taskflows. In one particular situation I needed exactly the same taskflow to be re-used with one tiny small difference: The displayed query component needed to have different fields compared to page in the base taskflow. Now there are lots of possible solutions (two query components and a switcher, or two query components using the rendered property). I choose a different solution using ternary operator and EL in the page definition. Use case I need to d... (more)
category: ADF | clicked: 2 | comment | | source: lucbors.blogspot.com
tags: ADF, ADF 11g, dynamic view criteria, query component