ADF Mobile : Taming amx-outputText css

Now Oracle has to do something with this , styleClass on amx-outputText does not really work as it supposed to do.

Basically to apply custom css to any object

<amx:outputText value="#{row.firstName}" id="ot2" styleClass="row-title"/>

we can simple put styleClass, but this time it does not really work on outputText. To access it you have to do like this

.amx-outputText.row-title {

 font-size: 14px;
}

iOS Simulator Screen shot May 2, 2013 3.03.23 PM

ADF Mobile iPhone : Taming the ADF Table

Have you seen G+ app on iPhone ..

Screen Shot 2013-04-29 at 10.44.31 AM

You can use your own css skin file, if you want

<?xml version="1.0" encoding="UTF-8" ?>
<amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
 xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
 <amx:panelPage id="pp1" inlineStyle="background-color:rgb(245,245,245)">
 <amx:tableLayout id="tl1" width="100%" >
 <amx:rowLayout id="rl1">
 <amx:cellFormat id="cf1" inlineStyle="padding:10px;">
 <amx:tableLayout id="tl2" inlineStyle="border:1px solid rgb(211,211,211);background-color:white">
 <amx:rowLayout id="rl2">
 <amx:cellFormat id="cf2" inlineStyle="padding:10px">
 <amx:outputText value="Free iphone toolbar icons" id="ot1" inlineStyle="font-size:20px;color:rgb(138,138,138)"/>
 </amx:cellFormat>
 </amx:rowLayout>
 <amx:rowLayout id="rl4">
 <amx:cellFormat id="cf4" inlineStyle="padding:10px">
 <amx:outputText value="353 Responses" id="ot3" inlineStyle="font-size:10px;color:rgb(138,138,138)"/>
 </amx:cellFormat>
 </amx:rowLayout>
 <amx:rowLayout id="rl3">
 <amx:cellFormat id="cf3" inlineStyle="padding:10px">
 <amx:outputText value="Lately we’ve been getting more involved in developing iPhone apps for our clients. iPhone apps have their own size and UI standards, so we decided to speed things up for you by sharing some clean and simple iPhone toolbar icons. Feel free to download this 160-piece set, and use it in on your own projects. If you decide to download or use them, please drop a link to this blog post. Thanks!" id="ot2" inlineStyle="font-size:12px;color:rgb(138,138,138)"/>
 </amx:cellFormat>
 </amx:rowLayout>
 <amx:rowLayout id="rl5">
 <amx:cellFormat id="cf5" inlineStyle="padding:10px">
 <amx:tableLayout id="tl3">
 <amx:rowLayout id="rl6">
 <amx:cellFormat id="cf6" inlineStyle="padding:5px;">
 <amx:image id="i1" source="/images/lookalike/01-refresh.png" inlineStyle="width:12px"/>
 </amx:cellFormat>
 <amx:cellFormat id="cf7" inlineStyle="padding:5px;">
 <amx:image id="i2" source="/images/lookalike/05-shuffle.png" inlineStyle="width:12px"/>
 </amx:cellFormat>
 <amx:cellFormat id="cf8" inlineStyle="padding:5px;">
 <!--
 <amx:commandButton text="Invite People" id="cb1" inlineStyle="background-color:white;font-size:11px"/>

 <amx:tableLayout id="tl4" inlineStyle="border:1px solid rgb(211,211,211);border-radius:4px" >
 <amx:rowLayout id="rl7">
 <amx:cellFormat id="cf9" inlineStyle="padding:2px;padding-left:5px;padding-right:5px">

 </amx:cellFormat>
 </amx:rowLayout>
 </amx:tableLayout>
 -->
 </amx:cellFormat>
 </amx:rowLayout>
 </amx:tableLayout>
 </amx:cellFormat>
 </amx:rowLayout>
 </amx:tableLayout>
 </amx:cellFormat>
 </amx:rowLayout>
 </amx:tableLayout>
 </amx:panelPage>
</amx:view>

Oracle Enterprise Repository 11G: Successful install in WinXP 32 Bit

I know some topics are not well covered here, but i will put my effort on that.

Refer to matter above, once you have successfully installed OER11.1.1.6 , you might get ERROR something called “Cannot deploy oer missing methods”

the fastest solution is to copy all jar from the Oracle DB installed folder C:\Oracle\Database\product\11.2.0\dbhome_1\jdbc\lib to oer-app lib folder C:\Oracle\Middleware\user_projects\applications\OSB_domain_1\applications\oer_11.1.1.6.0\oer-app\WEB-INF\lib

My Setup was

  • ofm_oer_generic_11.1.1.6.0_disk1_1of1.zip which contains OER111160_generic.jar
  • win32_11gR2_database for database
  • oepe-wls-indigo-installer-11.1.1.8.0.201110211138-10.3.6-win32.exe for weblogic

Oracle Service Bus : Installation Guidelines on Windows XP 32Bit ( Under Construction )

PreRequisites Installer

  1. Oracle WebLogic Server 11gR1 (10.3.6) + Coherence + OEPE = oepe-wls-indigo-installer-11.1.1.8.0.201110211138-10.3.6-win32.exe
  2. Oracle Service Bus = ofm_osb_generic_11.1.1.6.0_disk1_1of1.zip
  3. Oracle Database 11G = win32_11gR2_database_1of2.zip and win32_11gR2_database_2of2.zip

Minimum Hardware / VirtualBox instance Setup

  • at least 3G Ram
  • 30Gb HDD

Results

  1. A single WebLogic domain with 1 Admin Server and a Managed Server
  2. Admin Server runs on port 7001
  3. OSB which will be the managed server runs on 8011

Im going to install it on VirtualBox where the host is Mac OS X 10.7.5 and the guest is Windows XP SP2. Based on above downloaded software, we are running the development environment on Windows XP 32-Bit. This is a CLEAN and FRESH windows installation with no JDK Install. I only installed winrar and crimson-editor

Pre-Setup

  • prepare the Windows XP to run on Virtual Box
  • prepare all software on downloaded in Windows XP. It is recommended to to unzip the software in Mac. Place it all in Windows XP
  • All downloaded software in 1 folder

    All downloaded software in 1 folder

Installing Oracle Database 11GR2

  • Create a folder call OracleDatabase11GR2
  • using the winrar, unzip win32_11gR2_database_1of2.zip and win32_11gR2_database_2of2.zip into OracleDatabase11GR2
  • Go to OracleDatabase11GR2/database/
  • Click setup.exe
  • 2
  • Continue installation until reached this page
  • 1314
  • Your Enterprise Manager Database Control web can be accessed at http://localhost:1158/em
  • Click close to exit the installation

Installing Oracle WebLogic 10.3.6 bundled with jdk6 and Eclipse

  • Double click oepe-wls-indigo-installer-11.1.1.8.0.201110211138-10.3.6-win32.exe to run
  • 15
  • hjhj

VirtualBox: Expand the Oracle PreBuilt VM HD partition in Mac OSX

Oracle has provide sets of Prebuilt VM for developers can try. For this purpose, i have downloaded the smallest Prebuilt VM “Database App Development that contains Oracle 11gR2 and it runs on Oracle Linux. By default, this Prebuilt VM comes with 2 of 12G hdd settings. the /home/ already occupies 7.5G which we cannot extend our database for future development environment, like having Webcenter Suit on that Prebuilt VM.

The Prebuilt VM file would be Oracle_Developer_Day.ova

The software that use to expand the partition in LINUX is GParted ,gparted-live-0.14.1-6-i486.iso

The application for expanding the storage in VirtualBox is VBoxManage and the command involved are clonehd and modifyhd

The original storage for the Oracle_Developer_Day.ova are Oracle_Developer_Day-disk2.vmdk and Oracle_Developer_Day-disk1.vmdk , depends on your machine. Im going to expand the /home/ which located in Oracle_Developer_Day-disk2.vmdk

Once imported into VirtualBox , jump straight to expand the storage. Since im using MAC , the exact location of VirtualBox ( if you have moved it to Application folder) is /Applications/VirtualBox.app/Contents/MacOS/

The resizehd value is in Mb , since im going to expand to around 30Gb , the value should be like or around 30720

Clone the original vmdk to VDI , since we can only resize VDI file

/Applications/VirtualBox.app/Contents/MacOS/VBoxManage clonehd “<full path>/Oracle_Developer_Day-disk2.vmdk” “/<fullpath>/disk2-clone.vdi” –format vdi

/Applications/VirtualBox.app/Contents/MacOS/VBoxManage modifyhd “/<fullpath>/disk2-clone.vdi” –resize 30720

/Applications/VirtualBox.app/Contents/MacOS/VBoxManage clonehd “/<fullpath>/disk2-clone.vdi” “/<fullpath>/Oracle_Developer_Day-disk2-resized.vmdk” –format vmdk

Now at the VirtualBox , remove the existing storage Oracle_Developer_Day-disk2.vmdk and add this Oracle_Developer_Day-disk2-resized.vmdk

Now load the GParted iso gparted-live-0.14.1-6-i486.iso into the VirtualBox. Start the machine and choose the boot option to CD. Now you can expand the storage using GParted which i will not explain that .