Posts Taged adf

ADF Tips: Timestamp when updating a row based on Business Components + Morale!

Last week I participated in a thread where an user asked the following question

“is there a way i can auto populate the updatedtimestamp with system date even though its not present in the UI?”.

Since the main question was about how to update a binding attribute without using the UI I refered the following method (from a JSFUtil):

Read More

ADF Tips: OPSS User and Role API – Part 2; Retrieving all roles + all user roles

Last week, we wrote the first part of OPSS User and Role API which was basically, a short introduction and a short demo of how to use the API within an ADF Application by retrieving all users from the Weblogic Authenticator. This post will continue the demonstration by retrieving all roles and furthermore, all roles assigned to each user.

Read More

ADF Tips: OPSS User and Roles API – Part 1: Introduction + Retrieving all users.

So, you have your ADF Application and most important, you are using ADF Security. One of your requirement is to manipulate users and roles from your security framwork within your app. Do you need to worry about what your authenticator provider is? Well, certainly if you are using DB Authenticator then you could write few ViewObjects and implement the requirements accessing the DB and that will do the job but…

Read More

JDeveloper 12.c – ADF Tips: How to pass parameters to method in EL Expression

This is a very short post to show all ADF Developers currently working in the latest version of JDeveloper, a new feature that has been brought in this release powered by JSF 2.0. 

Read More

ADF Tips: How to get value of UI Components.

We can see often developers asking on the OTN JDeveloper & ADF Forum about how to get the value of an UI Component like an input text or selectOneChoice, etc. There are several ways to do it. The common way developers use to go for is binding the component to a bean and then accessing its value by calling myComponent.getValue(). But what happens when the scope of your bean is not Request or BackingBean ?

Read More

ADF Tips: How to groovy in ADF.

Groovy, a useful dynamic language for the JVM based on Java but adding powerful features you would often see in others scripting languages like Phyton and Ruby. Groovy is part of the ADF Framework, particullary inside the Business Components world. This post will resume some of the most useful line of code when working with ADF BC and a little bit of Groovy.

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 Tip: Cascading (dependent) LOV with mandatory (required) fields.

This post will assume that you have, at this point, implemented your Dependent LOV, using ADF Business Components the following;

  • You have View Objects and you have created  View Criterias.
  • Create some LOVs for View Objects attributes.
  • Specifying View Criteria over the View Accessors that retrieves your LOV. (implementing the dependency)
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

Social Media

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