Menu
Date

June 2013

Error: Page template name already used in library

I have created a page template with name “PageTemplate.jspx” in JDeveloper for my application, but I deleted the file later. Again when I tried to create a page template with the same name “PageTemplate.jspx”  in the application then I got the below validation error “Page template name already used in library”.     Even if we delete the file from…

Changing End point address of web service in ADF

  Below code explains how to change the web service end point through program.  ServiceRequestService serviceRequestService = new ServiceRequestService(); ServiceRequestPortType serviceRequestPortType = serviceRequestService.getServiceRequestPortType();  BindingProvider bp = (BindingProvider)serviceRequestPortType;            bp.getRequestContext().put( BindingProvider.ENDPOINT_ADDRESS_PROPERTY, “http://localhost:9950/soa-infra/services/default/sr_v2/ServiceRequest.service”);  Here is the explanation for this code. Get port object of the web service Type cast the port object to BindingProvider object  BindingProvider class provides a member method getRequestContext() which…

Using HTTP Analyzer in JDeveloper

JDeveloper provides a tool called “Http Analyzer “ which is very useful when we are using web service in our application and if we want to see what input request, the application is being sent to server via web service. To start using the “Http Analyzer”, please do the below steps. Go to Tools menu of JDeveloper and select Http…

Defining default action to button in ADF

ADF By Jun 21, 2013 No Comments

There are many cases where user wants to submit a page or form on press of “Enter”  key. ADF provides a direct solution to this. af:form or af:subform has a property called defaultCommand. If we give button id as its value then on press of enter key, the given button will be executed. Example: <af:subform defaultCommand=”cb1″ id=”s2″> <af:panelFormLayout id=”pfl1″>       …

ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)

When I was deploying my ADF application to EAR file from JDeveloper, got the below error. ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException) To solve this issue, I have done below steps. Go to application properties (not project properties) Go to deployment Select the deployment profile and click on Edit Go to “Application Assembly” Select…

java.lang.NoClassDefFoundError: oracle/adf/model/RegionBinding

I have deployed ADF application in weblogic but while accessing the app, I got the error. Error 500–Internal Server Error java.lang.NoClassDefFoundError: oracle/adf/model/RegionBinding To solve this, deploy the application as an EAR instead of web application. After done this, I could able to access the app properly without any issues.

Invoking javascript method from an ADF component

This post is to show how we can invoke a java script method from an ADF component like af:goLink Write a javascript. We can also use external javascript file but in this example I am writing a small javascript method using af:resource. Below is my java script method. <af:resource type=”javascript”>  function sayHello() { alert(“Welcome to Hello World”);}  </af:resource> Create a…

Webcenter Portal Display issues in lower versions of IE

I have a portal application developed in JDev 1.6. While running the application, it supposed to be  displayed full of the browser and it is in Firefox, Chrome and even in IE (version greater than 8). But  I have a requirement to use this in IE7. When I run this app in IE7, the app is displaying in one third …

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.