ADF Exceptions

[ADF security error] Accessing the securityContext property on class oracle.adf.share.ADFContext is not permitted. What can be the reason?

Problem ADF application has view object containing bind variable based on groovy expression. The latter tries to access ADF security context. On compilation I get static type checking error: [Static type checking] – [ADF security error] Accessing the securityContext property on class oracle.adf.share.ADFContext is not permitted. Possible solution You need to switch definition type of groovy expression. Move it from…

Continue Reading

ADF Exceptions

JBO-25186: Exception in expression “bindVariableName” of unknown type : oracle.jbo.ExprSecurityException. What can be the reason?

Problem I have a bind variable (i.e. “bindVariableName“) defined in view object query scope. It is based on groovy expression which access ADF security context. In particular I try to verify whether user is in certain role: adf.context.securityContext.isUserInRole(“RoleName”). And get an exception: JBO-25186: Exception in expression “IsPlanAssumptProvideAssigned” of unknown type : oracle.jbo.ExprSecurityException Reason Looks that ADF does not execute groovy…

Continue Reading

Database

How to enable and disable flashback for a table in Oracle database? How to create flashback data archive?

Here is just a reminder what is Oracle Flashback in general: Oracle Flashback Technology is a group of Oracle Database features that that let you view past states of database objects or to return database objects to a previous state without using point-in-time media recovery. Here are the steps which we need to accomplish if want to have table enabled…

Continue Reading

ADF

What is an impact of “immediate” attribute either for UICommand and UIInput behaviour? ADF Faces Page lifecycle.

In ADF development we face immediate attribute for a button quite frequently. Sometimes developers do not clearly understand what the meaning and impact for action behaviour it cause. Actually this attribute makes sense not just for UICommand (buttons), but for UIInput (input fields) as well. And by the way, its not an ADF invention, it comes from JSF (Apache MyFaces) framework.…

Continue Reading

ADF Desktop Integration (ADFdi)

How to delete a record in table component of ADF Desktop integration (ADFDI) Excel workbook?

In my previous post I’ve introduced what needs to be done in order to be able to insert and update data in ADF Desktop integration (ADFDI)  table component: How to insert new record in table component of ADF Desktop integration (ADFDI) Excel workbook ? How to update a record in table component of ADF Desktop Integration (ADFDI) Excel workbook ?…

Continue Reading

ADF Desktop Integration (ADFdi)

How to insert new record in table component of ADF Desktop integration (ADFDI) Excel workbook ?

In previous post I’ve provided some guidance how to use update operation in ADFDI table component. Here I’m going to show how to insert data. Assuming that you’re already familiar with update from post – How to update a record in ADF Desktop Integration (ADFDI) Excel workbook table component?. I’ll just further extend demo application developed in preceding post. So, to support…

Continue Reading

ADF Desktop Integration (ADFdi)

How to update a record in table component of ADF Desktop Integration (ADFDI) Excel workbook ?

Update – the easiest of CRUD operations to configure in ADF Desktop Integration (ADFDI) table component. Here is what needs to be assured to have it working: Commit action binding available in page definition file. Upload ribbon command is set up in excel worksheet. It must have at least to actions – upload and commit. Updating of row enabled in…

Continue Reading