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!

ADF: TreeTable and <af:fileDownloadActionListener/> issue

Moe_ADF_541Jul 28 2017 — edited Aug 1 2017

Dear experts,

I'm facing an issue in downloading a file using the <af:fileDownloadActionListener/>. I intend to have a simple content management system. I have the following project setup:

- Two database tables, FOLDERS and FILES.

- In my ADF application, I created the corresponing business components.

- I have setup my taskflow such that I can get the folder directory, and the files contained.

pastedImage_0.png

- Note that the files are stored as BLOB in table FILES. I click on a file name, and then I click on the download button above.

- The download button is simple and af:button with the af:fileDownloadListener component:

pastedImage_2.png

- The download listener method is:

pastedImage_1.png

- When I click on download, the file is successfully downloaded. However If I expand a treetable node, and then click on the same button, everything on the page freezes (cannot click any component on the screen) and the download method isn't even triggered.

- On the log there are no errors, but sometime I get in the log: Circular dependency detected in style af|dvt-timeline. I have searched the documentation and did not understand a thing about this, or whether this is the actual cause of the issue.

Any help / advice is greatly appreciated

Thankful and appreciative,

Best Regards,

JDeveloper 12.2.1.2

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2017
Added on Jul 28 2017
18 comments
964 views