This discussion is archived
1 Reply Latest reply: Feb 25, 2013 12:53 AM by fac586 RSS

File Browse Refill in wizard

Willeja Newbie
Currently Being Moderated
Hi All,

We're doing a wizard kind of thing where users can register for an account. In one of the steps they need to upload a diploma through a file browse item. We upload them to the wwv_flow_files, copy it to an apex_collection and delete it from the wwv_flow_files. After uploading, they continue the wizard. When they push a previous button, they are returning to the page where they can upload the diploma. Everything on that page is still entered, but the file browse item is empty.
How can we refill the item with the diploma file they selected before?

We can have a workaround to show the diploma from the collection, but the business wants to see it in the file browse item.

We are using Application Express 4.0.2.00.07.

Anyone?

Regards,

Jan
  • 1. Re: File Browse Refill in wizard
    fac586 Guru
    Currently Being Moderated
    Willeja wrote:
    Hi All,

    We're doing a wizard kind of thing where users can register for an account. In one of the steps they need to upload a diploma through a file browse item. We upload them to the wwv_flow_files, copy it to an apex_collection and delete it from the wwv_flow_files. After uploading, they continue the wizard. When they push a previous button, they are returning to the page where they can upload the diploma. Everything on that page is still entered, but the file browse item is empty.
    How can we refill the item with the diploma file they selected before?
    You can't. As required by the HTML specification, for security reasons APEX will not render a value in a file browse item on page show. It is not possible to re-render the value.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points