Hi All, File upload in Oracle ADF is done with af:inputFile component. To implement file upload functionality, follow the below steps: 1. add af:inputFile component to the form. 2. set usesUpload property of the af:form element to true. 3. create binding of inputFile and its valueChangeListener in managed bean. 4. write code to implement file […]

Problem- If you have any issue in GIT bas and you getting error like There is no script engine for file extension .vbs Solutions – You need to re-associating the vbs files. Follow this cmd–>Run as Administrator –> now type the following command and press enter assoc .vbs=VBSFile

Requirement – To increase the maximum file upload size in WebCenter Spaces Implementation – In my spaces application, we are not able to upload file size more than 2 MB. Requirement to upload upto 20MB. WebCenter Spaces PS4 should be setup to allow uploads up to 2Gb.After digging a littler found this Those are the […]

File upload in oracle adf mobile from Vinay Kumar

Requirment- How to upload a file in ADF mobile Solution- ADF Mobile carries with it a similar set of declarative components, but what is missing is an easy way to upload a local file from the mobile device to a remote server. In ADF Faces one would use the component but there is no equivalent […]

Requirement – Setting styles on excel cells Solutions– You can set FONT,Color, Bold etc.Use cell.setCellStyle(style) method. Following is code for setting styles You can also set the background color for the rows as well in sheet Setting Formula in Excel – For evaluating formula you can use – evaluateFormulaCell(Cell cell) will check to see if […]

Requirment – How to write an excel file in Java Solutions– Well Apache POI is answer.This API will help you a lot.you have to download and add the POI JAR file to your project’s class path. The Apache POI JAR file can be found http://poi.apache.org/download.html Following is code – Happy coding with Vinay in techartifact

Requirment – How to read an excel file in Java Solutions– Well Apache POI is answer.This API will help you a lot.you have to download and add the POI JAR file to your project’s class path. The Apache POI JAR file can be found http://poi.apache.org/download.html Please note HSSF (Horrible SpreadSheet Format) – reads and writes […]

Requirement:Generate excel file using open source “Apache POI” to generate excel spreadsheets from my ADF application. Advantage of using POI over default export collectionListener of ADF – 1. Using Apache POI, you can not only export excels but also can read excel files (.xls or .xlsx) from local machines and upload them to ADF applications […]

Here’s the quickest way of exporting table data into Excel File : 1) Create Model using Business Components and refresh Data Controls. 2) Create a standard and JSF page and drag-drop the control the data control to create a ADF table. Name the ID of the table as t1. 3) Create a Command Button and […]