How to install Oracle XE database

Requirement – To give training on ADF, I need to install Oracle XE database.so i will let you how to do it.

Solution-
Open oracle site.When you download the software from Oracle, you’ll need an account and you’ll need to accept.This is valid for all 32 bit machine.

After accepting the license agreement you can download the software.you’ll need to explode the zip file and write it to a directory. When you write it to a directory, it looks like the following and you double click on the setup.msi file.

You should see this console when you launch Get Started or manually type http://localhost:8080/apex.

happy coding with Vinay in Techartifact.

Real World ADF Design & Architecture Principles session

I was not able to blog for last few days.I was attending 5 days intensive training By Chris Muir and Frank Nimphuis (Oracle ADF Product manager) in Munich.Beside this meeting with more ADF geeks is really fun like Andreas and Ulrich.

Below pics are of Session including me.

They talk about each topic on ADF from Design and architecture point.From Reusable task flow to Data Control Frame.
Best way to deploy ADF applications.Different architecture of ADF applications.Various option of build and different tools with ADF.Following other topic in session

– Integration of Service
– PL/SQL in ADF
– Project Dependinces
– ADF Security
– MDS and Customization
– Task Flow communication
– Error handling and logging
– Etc etc….

A Worth Spending session with Chris and Frank

convert af:inputText to upperCase,lowerCase,capitalize in Oracle ADF

Requirement- We need to show value in input text into uppercase,lower or capitalize.There is a way to do this by setting contentStyle of the input text.

For UpperCase- <af:inputText label="name" id="it1" contentStyle="text-transform:uppercase;"/>



For LowerCase- <af:inputText label="name" id="it1" contentStyle="text-transform:lowercase;"/>


For InitCap-  <af:inputText label="name" id="it1" contentStyle="text-transform:capitalize;"/>

Note: – This is only used in displaying.When you commit, it will save as what user entered in the input text.

Using Java script –

<af:resource type="javascript">
  function changeToUpper(event) {
      var inputComp = event.getCurrentTarget();
      inputComp.setValue(inputComp.getSubmittedValue().toUpperCase());
  }
</af:resource>

<af:inputText value="#{bindings.EmpName.inputValue}"
    label="#{bindings.EmpName.hints.label}"
    columns="#{bindings.EmpName.hints.displayWidth}"
    shortDesc="#{bindings.EmpName.hints.tooltip}" id="it2"
    clientComponent="true">
 <f:validator binding="#{bindings.EmpName.validator}"/>
 <af:clientListener type="keyUp" method="changeToUpper"/>
</af:inputText>

It will trigger the javascript function which will fetch value of inputText and set to upper case.

Another way of doing this.Override voImpl method like below

public void setEmpName(String value) {
setAttributeInternal(EmpName, value.toUpperCase());
}

Happy coding with Vinay in Techartifact….. 🙂