Friday, 14 March 2014

Frequency Asked Questions in adf

1 How to ritsrict the no of rows in table?

using fetchSize attribute of table
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_table.html

2 how to display a message if no rows in a table?

using emptyTextattribute of table
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_table.html

3 If i create entity object and view object on table and i am working on entity object and view object in my application , but after 2 or 3 days someone added a new column in database table.  how should i get that column in to my entity object and view object?

Edit Entity Object -> click on Attributes Section -> click on 'Add From Table' button on right corner
->select columns from Available section to Selected section.

Edit View Object -> click on   drop down '+' icon -> select 'Add Attribute From Entity'
-> select desire Attributes from Available section to Selected section.
click ok

4 how to implements drag  and drop functionalities in adf ?
using dragSource and dropTarget components in adf










Thursday, 13 March 2014

Oracle Diagnostic Log Analyzer (ODL)

java options

-Djbo.debugoutput=console -Djbo.logging.show.function=true -Djbo.logging.show.timing=true

Saturday, 1 March 2014

coding guidelines for adf jdevelopers

In managed bean avoid to use primitive types binding with components in pages.