Oralublog

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 Tips: How to update a View Object using a File? UploadFile Declarative Component.

Few weeks ago someone asked about how to add new rows to a view object using a file. That person thought that ADF provided such component out of the box; a kind of  uploadFile which would give that functionality. Unfortunately for him, that component does not exists but it doesn’t mean that one, the developer, could not create one using, for instance, declarative components. 

Read More

ADF Tips: OPSS User and Role API – Part 3; Create a user.

Hi again, this is the third post related to OPSS User and Role API which basically will show how to simply create a user in the weblogic server authenticator. If you haven’t seen the previous posts please see here Part 1 and Part 2.

Read More

Oracle JDeveloper, ADF & ADF Mobile – LATAM

Hemos tomado la iniciativa de crear una nueva comunidad de Oracle JDeveloper y ADF en Espanol. Si estas interesado en formar parte, este es el link.

JDeveloper 12.1.3: DVT Visualization Graphs, a step back?

I’ll try not to be too critical about it but… Most of us felt mesmerized and exited about this new version’s release notes where a bunch of new graphs were introduced which is great and we should, we are thankful to JDeveloper’s team for the effort. However, there are few “steps back” that I would like to mention to see if I get a valid response from someone in Oracle. Specifically about Bars Charts (this may apply for the rest of the other graphs as well). 

Read More

ADF Tips: Cookies in ADF

Imagine this scenario; your ADF web application is wide open and there are no user management in the system. All operations are done anonymously and the requirement is that it should remain that way. The following use case  is to illustrate the situation and might not even make sense in a real world but will suffice the purpose of this post.

Read More

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

Oracle Linux Tip: How to install google chrome?

This is a very quick post that can save some people of frustration when trying to install google chrome in Oracle Linux without realising that Google Chrome doesn’t support any more Linux Red Hat distro, hence, Oracle Linux is not supported to. If you try to install it manually, you will face some missing libraries and dependencies (libstdc++.so.6) that will take you soon to google and find the solution. Hopefully, you have arrived here rather sooner than later. You can install Google Chrome by running:

Read More

Social Media

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