Tuesday, June 28, 2016
Tuesday, June 21, 2016
Iterate over the rows ADF
import oracle.jbo.Row;
//interface
public String iterateRows(){
DCIteratorBinding itr =
ADFUtils.findIterator("ExampleVO1Iterator");
Row[] rows = (Row[]) itr.getAllRowsInRange();
String retval = "false";
for (int i = 0; i < rows.length; i++) {
System.out.println("inside
Iterator loop: value of Attribute is ****** "+rows[i].getAttribute("AttributeName"));
if
(rows[i].getAttribute("AttributeName").equals("OUT_LINE"))
{
retval = "true";
}
}
return
retval;
}
Delete Default Domain of Intergrated Weblogic Server ADF JDeveloper
C:\Users\vsadhu\AppData\Roaming\JDeveloper
Labels:
ADF,
Appdata,
default domain,
delete,
integrated Weblogic server,
roaming,
WLS
Monday, June 20, 2016
Deploy ADF application as lib (adflib jar) to WLS; & Refer an ADF lib in an ADF application (ear)
adfJar App;
- Create MANIFEST.MF file; define the properties of the lib here (SampleApp->SampleUI->/src->/META-INF->/create a file MANIFEST.MF)
- Deploy UI project as adflib jar to WLS
EAR app:
- Create a weblogic.xml descriptor file and provide the referring 'lib' name(SampleApp\SampleUI\public_html\WEB-INF\(weblogic.xml))
- Make sure lib is not being deployed by default from the EAR application
Imp;
Make sure the lib is depolyed first before deplloyiong the main app (ear)
ref: andrejusb.blogspot.com;rohanwalia.blogspot.sg
Wednesday, June 15, 2016
Export to Excel Java
http://thinktibits.blogspot.com/2012/12/Excel-Multiple-Conditional-Formatting-Rules-Java-POI-Example-Program.html
https://examples.javacodegeeks.com/core-java/writeread-excel-files-in-java-example/
http://thinktibits.blogspot.com/2014/08/apache-poi-freeze-pane-excel-java.html
https://examples.javacodegeeks.com/core-java/writeread-excel-files-in-java-example/
http://thinktibits.blogspot.com/2014/08/apache-poi-freeze-pane-excel-java.html
ADF:
https://drive.google.com/file/d/1m1bvkrEF4qOr9ZCn1UVMaK1HLyWqorwR/view?usp=sharing
Labels:
custom file,
export to excel,
filedownloadlistener,
java
Monday, June 6, 2016
Groovy Expression to get SUM of a column in View Object Attribute ADF
Don't forget to create a ***'View Accessor' to itself and use sum keyword and attribute name in "in double quotes" ("Attribute Name") in the expression field of the transient attribute
Labels:
ADF,
groovy expression,
sum,
total,
transient attribute,
view object
Saturday, June 4, 2016
Use standalone adf jar to Weblogic Server ADF Shared Library
http://rohanwalia.blogspot.sg/2015/02/adf-shared-library-deploy-adf-library.html
Use SharedLibrary in an ADF Application
https://drive.google.com/drive/folders/0Bx_TOu5KSyYrNnVoY25lVDFlMnM?usp=sharing
Use SharedLibrary in an ADF Application
https://drive.google.com/drive/folders/0Bx_TOu5KSyYrNnVoY25lVDFlMnM?usp=sharing
Labels:
adfjar,
dependent jars,
deploy,
jdeveloper 12.1.3,
shared library,
sharedlib,
weblogic,
weblogic.xml
Thursday, June 2, 2016
Subscribe to:
Posts (Atom)