Monday 25 April 2016

Use of Masonry Layout in Oracle ADF

This blog we will see how to use masonary component in oracle ADF.

This af:masonryLayout component was introduced in Oracle ADF 12.2.1. This component has responsive UI. To view this component in desktop, mobile, tablet or any other device automatically the screen will adjust.
This layout is very useful for dashboard type of pages. To implement the same component I followed the below steps.

1. Created a simple page and added 5 panel group layouts
2. All panel grout layouts surrounded by a af:masonryLayout component.
3. Applied the style class AFMasonryTileSize2x1in all the panel group layout (you can apply the style class as per your requirement). 
Note:-The format of AFMasonryTileSize1x1 with support for 1x2,1x3,2x1,2x2,3x1,3x2 only.
4. To decorate the panel group layout created a style class like the below


.tileStyle{
background-color:#999966;
border: black;
border-width: 2px;
}


Now everything done you can run your application and now resize the browser automatically the screen will display as per the screen size. The below is the browser screen formats 
Desktop View:-


Mobile View:-


Thanks..


Sunday 24 April 2016

How to change the domain path of integrated web logic server

This blog we will see how to change the domain path of integrated weblogic server while working in jDeveloper.
While working with Oracle jDeveloper the default path of domain will be in C drive inside appdata folder, but sometimes C drive will be full and we need to create the domain in other drives.

To create the domain in other driver we need to follow the below steps
1. Right click on My Computer and select properties
2. Now you can create a system variable or user variable.
3. Click on New and give the variable name as “JDEV_USER_HOME” and mention the path where you want to create domain.
4. Now start your jDeveoper and start the integrated weblogic server and the domain will create the mentioned path.

Thanks..