Saturday, June 9, 2012

Increase LOV size in Oracle ADF JDeveloper

Some Time we need to increase the LOV (List of Values) Size in Oracle ADF form. So to Increase its size

1) Click On the LOV
2) Go To properties
3) Then go to "Content Style" Property
4) write "width:190px" in it and then save the Project.
5) Now the Size of LOV will Increase


Friday, June 8, 2012

Transient Attribute in Oracle ADF 11g

We Know That attributes in entity objects comes from underlying database tables. But some time we want an attribute for showing some results or multiplication or addition or something else for two attributes. But we have not any attribute in our database. So how we can perform this types of tasks.

We can use a Transient Attribute for this purpose. Transient Attribute has no link to database it just use to show some informations i.e total salary etc.We can use groovy and java language to assign values to this attribute.
  To create a Transient Attribute;
1) Go to Your entity Object and Open it.
2) Go to Attributes tab.
3) Click on Green Plus button and select "add new attribute"
4) Give the name of attribute and then from detail tab select "Transient" and then set its data types
accordingly.