adf

How to add tab index of selectOneChoice of Oracle's ADF ?

How to add tab index of selectOneChoice of Oracle's ADF ? ...

How do I use the ADF propertyListener tag?

I have a class CustomerBean { Customer customer; public CustomerBean() {...} public getCustomer() {...} public void setCustomer(Customer c) {...} ... } When using normal JSF I can use a setPropertyLIstener tag (on say a commandLink) to update the customer property. I'm trying to do the same thing with Oracle ADF, ...

Generic Database Code Table Editor

Where can I find a generic editor (JSP using Oracle's ADF) for create, read, update, and delete on any table? Example usage: User selects the name of a table. User then adds a new row, or updates/deletes an existing row. User saves the changes. Foreign keys would appear as drop-down lists, and all others as af:inputText. (The user-f...

Adding a featureclass / featurelayer dynamically to a Map or MapResourceManager

I'm struggling with a really stubborn problem here. I have a FeatureClass which I want to add to my map, the problem is that every example I can find requires me to hardcore a servicestring, point to a service or something likewise. I already have a featureclass so I would like to use that to add a dynamic layer to the map, it's a simp...

How do you create your own ADF Faces skin?

We are using the default Oracle ADF Faces 10g default skin. It looks super nice, but we want to make tweaks to it (changing the CSS and also how certain components are rendered -- for example the table component will place buttons above and below the table component-- we want them only on the bottom-- this appears to require a programmat...

Why am I seeing invalid URLs with Oracle ADF?

I'm working on a project where we use ADF for partial page rendering. The JARs we're using are: adf-faces-impl-10_1_3_0_4.jar adf-faces-api-10_1_3_0_4.jar So far I've determined that the af:document tag in the page generates a number of JavaScript includes but sometimes these are generated incorrectly. For example, we see these which...

WIA Document Handling Status returns 0 even though the ADF has pages loaded

I'm trying to scan from an ADF using VBA and the Windows Image Acquisition library (WIA). I am trying to check to see if there are pages loaded in the ADF so I know whether to scan another page. This function seems to work well in Windows 7 (my dev machine) but not in Windows XP (the production machines). I know MS made some changes t...

How to get old value from JSF/ADF validator?

I have a requirement to validate an JSF/ADF input field only if the value of that field changed by users. If the value on the page is the same as the value in the model, skip validation for that field. I am using JSF and Oracle ADF Faces, I know JSF life cycle and I can make my own converter or validator, but I can't find the old value ...

JSF/ADF/PPR can't refresh the page as expected

Hi, I am having issues with JSF/ADF/PPR on refreshing the page incorrectly. I have a selectManyCheckBox with 5 options in it, one of the option is 'All'. If users check that checkbox, I should check all the others. <h:panelGrid styleClass="myBox leftAligned" id="applyChangesBox"> <af:selectManyCheckbox id="changesCheckedBox"...

Specifiy classpath for maven

Quite new to maven here so let me explain first what I am trying to do: We have certain JAR files which will not be added to the repo. This is because they are specific to Oracle ADF and are already placed on our application server. There is only 1 version to be used for all apps at anyone time. In order to compile though, we need to ha...

WSRP Portlets in Oracle WebCenter: transforming task flows(ADF) in portlets

I am doing some research on the portlets offered by WebCenter, but I have some problems related with transferring parameters between them. My idea was to create 2 portlets: a department portlet where I can chose a departmentId which is sent as a parameter to the second portlet, employees, so I will have a table with the corresponding emp...

How to bind an ADF Table on button click

Coming from ASP.NET I'm having a hard time with basic ADF concepts. I need to bind a table on a button click, and for some reason I don't understand (I'm leaning towards page life cycle, which I guess is different from ASP.NET) it's not working. This is my ADF code: <af:commandButton text="#{viewcontrollerBundle.CMD_SEARCH}" id="c...

Using maven to generate an ear file for ADF...?

I am noticing that Oracle ADF has its own EAR structure. There is an adf folder created like so, inside the EAR, along with the WAR file and standard META-INF directory is this 'adf' directory: adf /com /companypackagehere bc4j.xcfg /META-INF adf-config.xml connections.xml Must I recreate this using file moves.....

ADF vs. EJB/Spring: Where should I invest my time?

I am a junior Java SE developer, planning to become a Java Standard Edition professional. Which technologies/frameworks will be the smartest thing for me to learn? I will invest a lot of time and energy on the technologies that I eventually choose and it will be the basis for my carreer. I need to choose carefully. I have one question i...

oracle adf or oracle forms

Hi all, What are the advantages of oracle forms over adf, and also disadvantages. Does some companies replaces oracle forms with adf and why? Regards ...

How to keep an Hibernate's Session open until the page is rendered

I'm having the following problem: I'm using Oracle ADF for the view and controller of my app. With OpenSessionInViewFilter, I intercept the request and open an Hibernate's Session, and it is closed as soon as the bean's method finishes. What I need is to keep the Session opened until the page is rendered, because in my JSP y use the ...

How to resolve java.lang.IllegalStateException?

We are using OC4J 10.1.3.5 and ADF. I have a popup form and when closing we got error below. I wonder what am I missing and how can I resolve it? Jun 15, 2010 8:26:49 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute SEVERE: java.lang.IllegalStateException: popView(): No view has been pushed. javax.faces.el.EvaluationExceptio...

Can rails automatically find DB constraints and place this into your Model...?

As an Oracle ADF developer I am familiar with being able to create an Entity (the rails equivalent would be a Model) that includes all of the DB constraints (PK, FK, unique, length, any non-trigger induced constraint). As a result, in ADF I can very easily create a field on the view that is based on an Entities attribute. For the sake o...

How can I use a treetable to show all rows in an Oracle SQL table?

I have this table: CREATE TABLE perarea ( id_area INT primary key, nombre VARCHAR2(200), id_areapadre INT references perarea(id_area) ); And this was added to access the data: My intention is to create a heirarchy showing areas and their subordinates in the treeview. Then when a user clicks a node, have...

ADF - Customize a <af:commandButton> width the property styleClass

I all, I'm new to the ADF language and after a long search and failed tries, I have to ask how can I change a button layout - background, border, ... - using the CSS and the property "styleClass" of the ADF? In my .jspx I have something like: <af:commandButton action="#{backing_test.echoAction}" id="echo1" text="Save 1" styleClass="co...