We get a lot of questions at Oracle Support about the dialogs not opening in a separate, dialog window in JDeveloper 11g. For example, suppose you specified the following: faces-config.xml <?xml version="1.0" encoding="windows-1252"?><faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"> <application> <default-render-kit-id>oracle.adf.rich</default-render-kit-id> </application> <navigation-rule> <navigation-case> <from-outcome>dialog:popup</from-outcome> <to-view-id>/popup.jspx</to-view-id> </navigation-case> </navigation-rule></faces-config> yourMainPage.jspx <?xml version='1.0' encoding='windows-1252'?><jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"> <jsp:directive.page contentType="text/html;charset=windows-1252"/> <f:view> <af:document> <af:form> <af:commandButton useWindow="true" action="dialog:popup" text="Open Popup"/> </af:form> </af:document> </f:view></jsp:root> Note the following properties: useWindow="true" action="dialog:popup" that...
As you can read in the "Oracle JDeveloper 10.1.3.3.0 Installation Guide", the browsers that are supported in the current release of JDeveloper are:IE 5.5IE 6.0 (XP only)Netscape 7.2Mozilla 1.7Firefox 1.0.4Firefox 1.5Firefox 2.0Safari 2.0We are regularly contacted at Oracle Support about...
This question comes regularly at Oracle Support and in the forums.You want to show (render) and hide an ADF Faces component dynamically on your page, depending on the value of another component.Suppose f.ex. a Radio Group with 2 buttons "Show"...
SymptomSuppose you published an Application Module method as a client method, f.ex.: public void yourMethod() { System.out.println("Hello World");}You created an ADF Faces page and included the following in your page definition (<yourPage>PageDef.xml): ... <executables> ... <invokeAction Binds="yourMethod" id="executeYourMethodAction" RefreshCondition="${!adfFacesContext.postback}"/> ... </executables> <bindings>... <methodAction id="yourMethod" InstanceName="AppModuleDataControl.dataProvider" DataControl="AppModuleDataControl" MethodName="yourMethod" RequiresUpdateModel="true" Action="999" IsViewObjectMethod="false"/> </bindings></pageDefinition>The...
When your ADF Faces page includes a component with the property autoSubmit set to true, you get the following error:JBO-27014: Field <fieldName> in <AppModule>.<ViewObject> is mandatory for a component with the property immediate set to true.This happens f.ex. when you...
A regular request from former Oracle Forms and Designers developers is how to program lookup fields.Suppose f.ex. a page displaying an Employee (SCOTT.EMP), including a field Deptno that automatically refreshes a field Dname when updated:This can be done declaratively in...
It's already a while I put this sample in my Sample Applications page, but I see I never announced it on my Blog.I created Sample 5 including a page with a table and an af:tableSelectMany component. You can select several...
Jose asks in the OTN Forum how to set the first day of the week in the <af:SelectInputDate> component. For example, suppose that you set up the preferred language of your Browser to French/Belgium [fr-be].The calendar will show the following...
In a previous post, I blogged about some ADF Faces Pages that didn't render correctly - see "ADF Faces Pages under WEB-INF Directory Do Not Render Correctly in 10.1.3.1".I also had another customer reporting the problem, though the pages were...
Mauro reports the following problem on the OTN Forum:Running the application from "Introduction to ADF Faces/Trinidad Using JDeveloper" on OTN, migrated from JDeveloper 10.1.3.1.0 to JDeveloper 10.1.3.2.0 fails with the following error:500 Internal Server Errorjava.lang.NoSuchMethodError: oracle.adf.view.faces.context.AdfFacesContextFactory.createContext (Loracle/adf/view/faces/webapp/wrapper/ContextWrapper;Loracle/adf/view/faces/webapp/wrapper/RequestWrapper;)Loracle/adf/view/faces/context/AdfFacesContext; at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.startFilter(AdfFacesFilterHelperImpl.java:112) at...
A customer contacted me with the following problem:he created an ADF Faces page where the end-users can enter a query criterion, say a Department Number, and display the Employees from this Department in a Read-Only Table. The application works fine.However,...
Some readers of the "Oracle JDeveloper 10g for Forms & PL/SQL Developers" informed me they had some problems with the Hands-on Practice of Chapter 11: Create the Home Page and Menus, section III. Create a Template.At page 344, under Add...
I already blogged on problems after migration to JDeveloper 10.1.3.1 Production.Jan Vervecken reports other issues on OTN: "10.1.3.1 : Skip navigation elements to page contents"The problemADF Faces pages including an af:panelPage component.and migrated from JDeveloper 10.1.3.1 Developer's Preview (Build 3914)...
As explained in my previous post "JDeveloper 10.1.3.1 Production", there are known problems with the migration of ADF Faces applications to JDeveloper 10.1.3.1 Production. My initial testings were done with a migration from JDeveloper 10.1.3.0 to JDeveloper 10.1.3.1 Production. The...
The <af:resetButton> component: doesn't empty the fields after a Form was submitted.Instead, it reverts them to their values right after the last Form submission.If you want to empty the values in the Form elements, you have to use JavaScript. Suppose...
Frank explains how to submit a form with the Enter key on his blog.He works with the standard JSF h:form component and creates JavaScript code to handle the Enter key. Another solution, that doesn't require Javascript coding, is to use...
If you use an RSS reader, you can subscribe to a feed of all future entries tagged 'Faces'.