ADF Popup ContentDelivery attribute – ADF Tips

In Adf application we normally used popup.We have one of the property and attribute of popup is contentDelivery .
ContentDelivery attribute of an af:popup component controls the popup initialization time and how does the data get refreshed within the popup. The default content delivery is lazy. This means the content of the popup is not delivered to the client until shown the first time

Good ADF developer should know , when to use what-

immediate — The popup component is added inline within the page when the page is loaded. It does not matter if you do or do not display it, the popup component will always be loaded.

ContentDelivery should be set to immediate if and only if you are absolutely sure that the popup will be invoked at least once. Otherwise you should use the other two values.

Example: If you use a logout logic that needs confirmation than the confirmation popup should be set to immediate.

lazy — The popup component will be loaded (and cached) only when is called for the first time. If you do not explicitly set the ContentDelivery attribute when creating the popup it will implicitly be set to lazy.

This value should be used when dealing with static information(that does not change): warning messages, information messages and so on.

lazyUncached — The popup component will be loaded(but not cached) only when is invoked for the first time; and every time the popup is called it will be reloaded.

This value should be used when dealing with dynamic data.

Install Oracle XE in windows 64 bit machine – workaround

I got this problem when i got my new machine of windows 8 64 bit machine.Oracle say ,it will not work in 64 bit. 🙁

what! i can use jdev in my new machine.Oh no.But i found solution on net and thought of sharing you all.

When you install oracle xe in 64 bit .you can.when you installing , you will get weird error. like

This is failed to happen because was that the installer didn’t write a Registry Key’s Data value. You can add the missing registry key’s Data value, and then click OK on the Error dialog box to continue the installation.

What is that? Installer is not able to instantiate at specified location.I went to that location file is there.

You need to add the message value from your Error dialog as Data value of the Name entry 1, like this screenshot shows:

Thats it.

you need to edit the registry.now how to open registry –

windows 7 – go to run and type regedit.

windows 8-

1 .If you are on the Windows 8 desktop, point the cursor at the lower right corner of the screen. Click the “Search” option as soon as it pops up on the left-side of the screen. If you are on the Metro UI Start Screen, point the cursor at the lower left corner of the screen and click the right mouse button. Now select the “Search” option on the context menu.

2. When you perform either of the above actions, Windows 8 will load the “Apps” screen. Type “regedit” into the search bar located on the right side of the “Apps” screen.

3. Click the “regedit” search result on the left side of the “Apps” screen. If you see a UAC dialog box, click “Yes” to open the Windows 8 Registry Editor.
if you open regedit then follow the screen shot

Click on the arrow symbol to the left of the HKEY_CLASSES_ROOT node to expand the node tree. Scroll down until you find the Installer node and click the arrow symbol to expand the node tree another level. Repeat the process for the Product, Product Key Value, and SourceList nodes, as displayed below.

Click on the Media node, which is a leaf node in the Registry tree. Click on the Name 1 and then click the Edit menu option. Within the drop down menu, click on the Modify… option to edit the Data value.

then change to

change the value to C:\Users\vinay\AppData\Local\Temp\{CCCB869D-AD3F-4CF2-B000-EDFA5B620D10}\

done… now you can work on Oracle XE on windows 64 bit machine.May be oracle will support 64 bit in 12 c. till that time enjoy

Happy coding with Vinay Kumar in Techartifact.

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.