Showing posts with label jdeveloper. Show all posts
Showing posts with label jdeveloper. Show all posts

Tuesday, August 23, 2011

SHOW UNSAVED ROW HIGHLIGHTED


Introduction :
This post to describe how to show a unsaved row of a table. There is a property of an entity which is entity state. This entity can be in 4 states:
  1. New
  2. Modified
  3. Unmodified
  4. Initialized

How to do it :
just copy the following code and paste in to inline style of column of table. This will highlight newly created row.

#{row.row.entities[0].entityState == 0? 'background-color:#ff9c31;':''}

To highlight modified row compare entity state to 2

0 for new unsaved row
1 for unmodified row
2 for modified unsaved row
-1 for initialized row

for showing unsaved rows whether modified or a new place both condition together. 

#{row.row.entities[0].entityState == 2||row.row.entities[0].entityState == 0?'background-color:#ff9c31;':''}




Friday, June 10, 2011

Jdeveloper 11g release 2 , with lots of new features


Oracle released a new version of Jdeveloper 11g, containing lots off new features and even rapid development of application. These new features take jdeveloper to another level and now can be compared with other J2EE IDE such as java bean and eclipse.


Main features of new jdeveloper are:

  • Hot deployment: There is no need now to run application after any change in application files. Now just save the changed file and refresh the page.
  • Skin Editor: This new editor for skin is very use full to create css for application. It made it easy to select different properties of a component and change their attributes.

You can also get installation guides for this new release and for new skin editor in this link : http://www.oracle.com/technetwork/developer-tools/jdev/documentation/index.html

Check for the related documents: http://download.oracle.com/docs/cd/E16162_01/index.htm