Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to download excel template from an ADF application on button click?

Paul SusantoSep 24 2018 — edited Sep 28 2018

Hi,

JDeveloepr Version: Studio Edition Version 12.2.1.2.0

Requirement: I have a sample.jspx page. On that sample.jspx page I have two af:button named Download Template 1 and Download Template 2. Now on click of any one of these button it should download and excel file with some predefined structures. In case I have clicked Download Template 1  it should download the Template1.xlsx. And in case I have clicked Download Template 2  it should download the Template2.xlsx.

Now the question is where should I store these two templates: Template1 and Template2. I am thinking of including both these templates in the ADF application itself.

Any help of what will be the best way and how to achieve that will be appreciated.

Thanks & Regards,

Susanto Paul

This post has been answered by Timo Hahn on Sep 25 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2018
Added on Sep 24 2018
13 comments
1,171 views