Tutorial

ADF Tutorial: How to publish contextual events from a tree selection?

Let’s imagine the following scenario; or even better, let’s see the following picture:

tree_contextual_events_adf_oralution_oralublog_01

We’ve got a home page with an embedded taskflow being shown as a region. When we select a node from the tree, we want to communicate to the Home Page that the selection has been made, passing also data in the form of a payload.

Read More

ADF Tutorial: How to use ProgressIndicator as a Progress Bar in table’s column, list or iterator.

Progress Bar is one state of the af:ProgressIndicator component – an useful multi-component designed to “give users an indication that there is a back end task in progress” or anything that has a measurable start and end.

Read More

ADF Tutorial: Contextual events, method in bean, no POJO DC for that please!

If you are familiar with ADF Contextual Events, then you will know that the events only happen in the Binding Layer, meaning that producers and consumers ought to be registered in some pageDef inside your ADF Application. Right, but what do you do when your consumer method is in your bean? You need to expose the method to your binding layer for it to be able to become a valid candidate to ‘consume’ any of your contextual event. You might be tempted to just create a POJO DC based on this bean just to be able to create a method binding in your pageDef only for this purpose or use a dummy method in your AppModule to do the job.

Read More

ADF Tutorial: How to drill down a graph

It has been long time since our last post. Fortunately we have been quite busy. For this post, we have decided to show you how to implement a “drillable” graph.

Read More

ADF Tutorial: How to refresh an LOV after Commit operation? Ah! Using contextual events.

This time, we are going to show an easy way to refresh an LOV that needs to be updated just when a Commit is done on the based LOV’s View Object. This use case, also will show how to accomplish the task by using a powerful ADF Feature; Contextual Events.

Read More

ADF Tutorial: Implementing custom pagination.

Recently, we had a requirement were we need to implement a custom pagination for a content presenter template (integrating UCM into WC Portal). From there, we found useful information about how to achieve this on Yannick Ongena’s blog entry. Also, while researching for other requirements, we saw this Timo Hahn’s blog entry were he’s got a point:

Most users don’t use this feature which, or don’t know how to define a page variable.

So we decided to mix the two posts and now you are just reading the result

Read More

ADF Tutorial: How to map roles to when user logs in.

ADF Security provides you with a really strong and robust security framework which allows you to set up the security for your application in a easy, quickly and understandable way. Also, if its good configured with, for example, Weblogic authenticator providers, then you can have all your enterprise roles coming from, for example, an Oracle Internet Directory (LDAP), mapped automatically with little configuration to your application roles. However, some times you might need to do some of this process manually

Read More

ADF Tutorial: How to executeWithParams with a LOV – SelectOneChoice and no command button

When creating and experimenting ADF Applications, a common thought or requirement would be to filter a table upon a selection from a LOV. This might sound straightforward to implement; Autosubmit to the LOV, ExecuteWithParams in the ValueChangeListener, partialTrigger on the table and buya, this should be enough. Later on you would find out that the behaviour is not the expected. 

Read More

ADF Tutorial: How to apply bulk actions to a view object rows. Part 1

Here is a quick one. If there is a requirement that states that an action must be performed to all the result set of a view object, then you might consider the following method. In our case, we have a requirement that we need to raise the salary of all the employees within an specific department. 

Read More

ADF Tutorial: Transient attributes and how to populate them – Part 1

One of the great advantages of using ADF BC for your data model, is the possibility to use “Transient” attributes in them. A transient attribute means that it is not persistent in data base and it will filled manually or programatically to achieve a certain task within a requirement. For example, a requirement is to display the Average Employee Salary for a Department. If you think to

Read More

Social Media

Stay up-to-date with our latest ADF and related technical posts via your favourite social network services.