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.

Wednesday, 26 February 2014

richdemo.css

/* Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. */
.TestRichPanelBorder {
  position: absolute;
  top: 50px;
  left: 10px;
  width: 500px;
  height: 400px;
  border-top:1px silver solid;
  border-bottom:1px silver solid;
  background-color:blue;
  cursor: default;
  font-size:11px;
  font-family: Tahoma, Verdana, Helvetica, sans-serif;
}
.TestRichOutputTextNorth {
  border: 1px Black solid;
  margin-right: 5px;
  background-color:Yellow;
}
.TestRichOutputTextSouth {
  border: 1px Black solid;
  margin: 5px;
  padding: 5px;
  background-color:Yellow;
}
.TestRichOutputText {
  border: 1px Black solid;
  margin-right: 5px;
  padding-left: 3px;
  background-color:Yellow;
}

.TestWatermark {
  background-image: url('/images/watermark.png');
}

.DemoRichPanelBorder {
  border-top:1px silver solid;
  border-bottom:1px silver solid;
  background-color:scrollbar;
  cursor:default;
  font-size:11px;
  font-family: Tahoma, Verdana, Helvetica, sans-serif;
}

.DemoCurrentLocation {
  margin:3px 3px 3px 3px;
}

.DemoPathDisplay {

  border:1px gray solid;
  background-color:white;
  padding: 1px 1px 1px 1px;
}

.DemoFileIcon:ltr {
  margin-right: 2px;
  vertical-align: middle;
}
.DemoFileIcon:rtl {
  margin-left: 2px;
  vertical-align: middle;
}

af|panelResizeNotify {
  background-color:#dddddd;
  border:2px #999999 solid;
  padding: 5px;
  margin:5px;
  font-family: Tahoma;
  font-size: 8pt;
}

af|panelAddScript {
  background-color:#dddddd;
  border:2px #999999 solid;
  padding: 5px;
  margin:5px;
  font-family: Tahoma;
  font-size: 8pt;
}

/* The following 'AttributeDeprecated' classes are used in the component attribute editor. */
af|inputText.AttributeDeprecated af|inputText::label {
  text-decoration:line-through;
}
af|selectBooleanCheckbox.AttributeDeprecated af|selectBooleanCheckbox::label {
  text-decoration:line-through;
}
/*  bug 12630300 - workaround for MS SR111072584108293 */
@agent ie and (version:9) {
  .AFDialog {
    -tr-enable-ie-rtl-toggle: true;
  }
}

Thursday, 6 February 2014

8 Organizing Content on Web Pages (OFM_ADF_WUI_DG_11.1.1.6)

http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_orgpage.htm#CDEHDJEA
8.6 Arranging Content in Forms.
Right-Aligned Labels and Left-Aligned Fields in a Form.
Labels Above Fields in a Form.
8.6.1 How to Use the panelFormLayout Component.
setting no of columns and rows.
setting Label width and Field Width.
Insert the desired child components.
when to use non-input components?
when to use panelLabelAndMessage component in panelFormLayout.
when to use the group component  in panelFormLayout.
when to use footer facet in panelFormLayout.
8.6.2What You May Need to Know About Using the group Component with the panelFormLayout Component.
panelGroupLayout Inside a Group Component WITH  layout="horizontal".
panelGroupLayout Inside a Group Component WITH  layout="vertical".
footer Facet in panelFormLayout with One Root group Component.