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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Open Multiple Urls (based on selection in a table)

olonaMar 10 2016 — edited Mar 11 2016

Using JDeveloper 12.1.3

I want to open up multiple URLs based on a selection in a (multiselect) ADF-table

I am looping over the selection, creating a URL and the calling openUrl (url) as shown below

    private void openUrl(String url) {

        try {

            System.out.println(url);

            FacesContext.getCurrentInstance().getExternalContext().redirect(url);           

        } catch (Exception e) {

            System.out.println(e.getStackTrace());

        }

    }

This will result in an error or only opening one of the links.

This post has been answered by Timo Hahn on Mar 10 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2016
Added on Mar 10 2016
5 comments
1,135 views