An ADF library differs from standard JARs in that the ADF library includes additional metadata files and constructs required for ADF application development.
http://one-size-doesnt-fit-all.blogspot.ca/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
Tuesday, May 24, 2016
Wednesday, April 20, 2016
ADF sql wrapping and setNestedSelectForFullSql
FAQ #12 - How to disable query "wrapping" for expert mode queries in ADF 11g
http://jdeveloperfaq.blogspot.ca/2010/02/faq-12-how-to-disable-query-wrapping.html@Override
protected void create() {
super.create();
setNestedSelectForFullSql(false);
}
Friday, January 22, 2016
ADF : Filter View Object Rows
http://mahmoudoracle.blogspot.ca/2012/08/adf-filter-rows.html
1- Filter ViewObject
//Get ViewObjectImpl object
ViewObjectImpl vo = getDeptVO();
//Filter using specific attribute value
Row[] filteredRows = vo.getFilteredRows("AttributeName", "AttributeValue");
//Filter using RowQualifier Class
//Use RowQualifier if you have more than one condition in filtering rows
RowQualifier rowQualifier = new RowQualifier(vo);
rowQualifier.setWhereClause("AttributeName=AttributeValue");
filteredRows = vo.getFilteredRows(rowQualifier);
2- Filter RowSetIterator
//Get ViewObjectImpl object
ViewObjectImpl vo = getAllAdvisorView();
//Get RowSetIteratorImpl object
RowSetIterator rsIterator=vo.createRowSetIterator(null);
//Filter using specific attribute value
Row[] filteredRowsRSI = rsIterator.getFilteredRows("AttributeName", "AttributeValue");
Monday, November 16, 2015
Remove the close icon from task flow opened in dialog
How-to remove the close icon from task flows opened in dialogs
https://blogs.oracle.com/jdevotnharvest/entry/how-to_remove_the_close_icon_from_task_flows_opened_in_dialogs_11114Wednesday, October 14, 2015
Create a new row programmitically
Several ways to create new row:
createrow() or createAndIntRow()
http://mahmoudoracle.blogspot.ca/2012/03/insert-rows-in-adf-view-object.html
control the insert location in table
https://mjabr.wordpress.com/2011/07/02/how-to-control-the-location-of-the-new-row-in-aftable/
createrow() or createAndIntRow()
http://mahmoudoracle.blogspot.ca/2012/03/insert-rows-in-adf-view-object.html
control the insert location in table
https://mjabr.wordpress.com/2011/07/02/how-to-control-the-location-of-the-new-row-in-aftable/
Thursday, September 24, 2015
ADF action binding with Generics
ADF binding does not support Generics See below,
https://community.oracle.com/message/4304798
For example, in AM you have List<Long> getListCount() {}, you will get following exception.
Go to binding source, change following
Exception
https://community.oracle.com/message/4304798
For example, in AM you have List<Long> getListCount() {}, you will get following exception.
Go to binding source, change following
<NamedData NDName="testList" NDType="java.util.List<java.lang.Long>"/>
to<NamedData NDName="testList" NDType="java.util.List"/>
Exception
oracle.jbo.InvalidOperException: JBO-25221: Method TestAppModuleDataControl.dataProvider.doSomethingWithList() not supported
at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:491)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
Friday, September 18, 2015
Page jsff not a source file warning
Warning: java.lang.IllegalArgumentException: The file file:<directory listed here>\DepartmentsView.jsff is not a source file
https://blogs.oracle.com/jdevotnharvest/entry/warning_java_lang_illegalargumentexception_the
https://blogs.oracle.com/jdevotnharvest/entry/warning_java_lang_illegalargumentexception_the
<!--
* WORK AROUND
* randomly, when editing files, compilation fails with an illegal argument exception
* java.lang.IllegalArgumentException: The file <file name> .jsff is not a source file
* To avoid this error, which initially has been reported as bug 12732652 for Facelets
* I added the jsp-property-group entry below
-->
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsff</url-pattern>
<is-xml>true</is-xml>
</jsp-property-group>
</jsp-config>
<!--
* END WORK AROUND
-->
Subscribe to:
Posts (Atom)