Open new window from label link

Hello,
I have a table with url-s adresses.
I want to build a report region with a link to open a new window for each line from table.
I made that following code:
select ''||DESCRIPTION||''
from     url_table
It's not working.
I am a beginner.
Thanks you.

Hi,
Use this SQL:
select '--< '||DESCRIPTION||'' as "DESCRIPTION" from     url_table
Remove --< from SQL Query
and in report attribute for DESCRIPTION column:
Display As: Standard Report Column
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1

Similar Messages

  • How can I open new window from a link in another window?

    Hello everyone!
    Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data will then be displayed in the child window. I don't how to open a new window with the data retrieve (thru the servlet) displayed in it. I'm using model 2 architecture (Servlet-JSP).
    Thank you in advance and more power!
    nicoleangelisdaddy
    [email protected]

    Or you can use something like this,
    Click and in your test()
    <script language="javascript">function test()
          document.form_name.target="_blank";
          document.form_name.action="/test/servlet/LoginServlet";
          document.form_name.method="post"
          document.form_name.submit();
    }</script>
    Here "/test" is your application context path.
    If you want to open the link in the named window then use,
    document.form_name.target="your_own_name";

  • Firefox 29.0 opens new windows from clicking links that are in a smaller window, should open as maximized window. How to change?

    How do I click a link on a web page, and not have to maximize the window every time? Firefox 29 seemed to add this additional click annoyance and I can't see how to change that. I do not want full screen mode which is what Firefox calls it when it removes an additional row of menu items. I mean maximizing the window so I don't have to do it each time! Please tell me how to change the settings and restore this normal feature.

    Go to
    About:Config
    Change
    browser.link.open_newwindow
    value from 2 to 1
    Works for me now. Every new window is max size

  • Opening new window from separate class

    Hello. I am currently writing a program that should be able to open a new window.
    Upon clicking a button in the first window, a second window should open up.
    The second window has to contain it's own buttons and methods, and upon
    clicking the button in the first window, it should close.
    So far I am only interested in making the button, and making the second class
    that will open when I click it. So far I've tried doing this in many different ways,
    but no matter what I do something either goes wrong, or it behaves weirdly.
    Class1: Contains the button that opens the second window
    /* Imports */
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class SecondWindowExample extends JFrame implements ActionListener {
        /* Initialization */
        private JButton xPress;
        /* My main method */
        public static void main (String[] Args) {
            SecondWindowExample frame = new SecondWindowExample();
            frame.setSize(200,120);
            frame.createGUI();
            frame.setVisible(true);
        /* The interface */
        private void createGUI() {
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            Container window = getContentPane();
            window.setLayout(new FlowLayout());
            /* Button to open new window */
            xPress = new JButton("Press me");
            window.add(xPress);
            xPress.addActionListener(this);
        /* The actionPerformed for my actionlisteners
         * This only works when you press the button with your mouse */
        public void actionPerformed(ActionEvent e) {
            Object source = e.getSource();
            if (source == xPress) {
                /* Code to open and close second window */
    }Class2: Contains the second window to be opened by the first class
    It has to be able to contain it's own buttons and components
    import java.awt.*;
    import javax.swing.*;
    public class calcFunctions extends JFrame {
    public calcFunctions(){
            createNewGUI();
            setVisible(false);
            setTitle("Functions");
            setSize(300, 300);
            setLocation(200, 200);
            setResizable(false);
          private void createNewGUI() {
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            Container window = getContentPane();
            window.setLayout(new FlowLayout());
    }Thanks in advance, any help is greatly appreciated.
    Sincerely, Ulverbeast

    I would make the second "window" a JPanel (or better a class that is able to create a JPanel), and display it in a modal JDialog. For e.g.,
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    public class SecondWindowExampleB extends JFrame implements ActionListener {
      /* Initialization */
      private JButton xPress;
      private JTextField sumField = new JTextField(10);
      /* My main method */
      public static void main(String[] Args) {
        SecondWindowExampleB frame = new SecondWindowExampleB();
        frame.setSize(200, 120);
        frame.createGUI();
        frame.setVisible(true);
      /* The interface */
      private void createGUI() {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        Container window = getContentPane();
        window.setLayout(new FlowLayout());
        /* Button to open new window */
        xPress = new JButton("Press me");
        window.add(xPress);
        xPress.addActionListener(this);
        sumField.setEditable(false);
        window.add(sumField);
      public void actionPerformed(ActionEvent e) {
        Object source = e.getSource();
        CalcSumPanel calcSumPanel = new CalcSumPanel();
        JDialog dialog = new JDialog(this, "Calculate Sum", true);
        dialog.getContentPane().add(calcSumPanel);
        dialog.pack();
        dialog.setLocationRelativeTo(null);
        if (source == xPress) {
          sumField.setText("");
          dialog.setVisible(true);
          double sum = calcSumPanel.getSum();
          if (Double.compare(sum, Double.NaN) != 0) {
            sumField.setText(String.format("%.4f", sum));
    import java.awt.Window;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    class CalcSumPanel extends JPanel {
      private JTextField field1 = new JTextField(10);
      private JTextField field2 = new JTextField(10);
      private double sum = Double.NaN;
      public CalcSumPanel() {
        JButton calcSumBtn = new JButton("Calculate Sum");
        calcSumBtn.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent arg0) {
            calcSumActionPerformed();
        add(field1);
        add(field2);
        add(calcSumBtn);
      private void calcSumActionPerformed() {
        try {
          double d1 = Double.parseDouble(field1.getText());
          double d2 = Double.parseDouble(field2.getText());
          sum = d1 + d2;
        } catch (NumberFormatException e) {
          sum = Double.NaN;
          JOptionPane.showMessageDialog(this, "Non-numeric data entered", "Input Error",
              JOptionPane.ERROR_MESSAGE);
          field1.setText("");
          field2.setText("");
        Window win = SwingUtilities.getWindowAncestor(this);
        win.dispose();
      public double getSum() {
        return sum;
    }

  • Opens new window from link rather than new tab

    I had Firefox set to open links in the same window. It has started opening them in a new window.

    see [[Reset Firefox – easily fix most problems|Reset Firefox – easily fix most problems]]
    [[Firefox does not work - Common fixes to get you back up and running|Firefox does not work - Common fixes to get you back up and running]]

  • Safari won't open new pages from Google links

    I'm a bit confused - I'm using Safari on my iMac and MacBook, both with OS 10.4.10, and want to open google links in new pages. This works fine on the MacBook, but not the iMac, even though I've checked the box "Open links from applications in a new window".
    Do you think I need to reset Safari in some way?
    Many thanks
    Chris

    ...want to open google links in new pages. This works fine on the MacBook, but not the iMac, even though I've checked the box "Open links from applications in a new window".
    That preference setting refers to opening links from other applications in a new window. For example, if you click on a link in a Word file displayed by Microsoft Word, or in an email displayed in the program Mail, the link will open in a new window in Safari.
    To see the shortcuts for opening a link from a web page (e.g. Google) in a new window, go to Safari > Preferences, click on the Tabs section, and read the Command-key shortcuts listed at the bottom of the window. Exactly what those shortcuts are depends on your settings in the checkboxes above. (To see the difference, change some of the settings in the checkboxes and watch the shortcuts below change.)
    I'm not sure what the difference is between the settings on your two Macs. I'd go over the preference settings to get an idea of why they're behaving differently.

  • Opening new window from applet does not pass session

    I have an applet which has a function where it opens some jsp pages in a new window. The jsp page checks for a session variable to very the user is logged in and some other variables that are required on the page. My problem is in IE 6/7 the new window does not have the session variables from the parent window.
    I'm using
    context.showDocument(new URL(host + "?" + params.toString()), "_blank");
    to open the new windows.
    How can I open a jsp age in a new window while carrying over the session variables from the parent/applet window?
    Thanks for any assistance!

    We experienced the same thing with Java 6 Update 18 on IE 7. As for IE 8, if the user is a local administrator, then the session is kept in the new browser windows opened via showDocument. Check out the following URL for related discussions:
    http://stackoverflow.com/questions/1324181/ie8-losing-session-cookies-in-popup-windows
    Our clients are forced to roll back to Java 6 Update 17. Firefox works fine.

  • Opening new window from a pdf using Formcalc and gotourl

    Hello,
    I am trying to open a new browser window using Formcalc and gotourl.  We are using Livecycle Designer ES2 9.0
    Previous versions of Designer had an extra parameter at the end such as :      
         xfa.host.gotoURL(<url>, 1)  or  xfa.host.gotoURL(<url>, 0)
    But in 9.0 the second parameter is removed , so I'm left only with
         xfa.host.gotoURL(<url>)  and this replaces my form rather than opening a new window.
    Our company restricts the use of Javascript with Adobe so I am left with Formcalc to accomplish what I need.
    Does anyone know why the second parameter was removed in 9.0  and/or if there is a way to accomplish what
    I need in 9.0 without using Javascript?
    Thanks,
    Norm.

    Hi,
    if you cannot use JavaScript because it is deactivated, then FormCalc won't work also.
    I don't know why the 2nd optional parameter has been removed. Here is an explaination of it.
    http://help.adobe.com/en_US/livecycle/8.2/lcdesigner_scripting_reference.pdf#page=382

  • Open new window from standard tab

    I searched the forum for my question but didn't have any success.  Sorry if this question was already been discussed.
    Is there a way to open a new browser window when you click on a standard tab?  My client wants a separate window to open when you click on a standard tab, similar to a pop-up window.  I'm sure this has been done but I don't see a way to do it directly.  Basically I need to go to a new page in the application and include "target=_blank" in the link for the tab.
    I am using APEX 4.2.1
    Thanks in advance,
    John F

    This is not a standard functionality of the tabs. Since tabs do an apex.submit('TAB_NAME') you will have replace that code with your own (with jQuery for example) to make this happen.
    Perhaps a better approach is to use a list for your tabs.  Many people (myself included) we replace the APEX tabs with a list. Once you do this, your requirement becomes trivial because you can navigate to any page or URL and control the attributes of the link.
    The technique is not hard at all and the tabs will look identical as the standard tabs (or you can make them look different of course).
    This is an excellent presentation on how to do this *:
    https://www.enkitec.com/about/presentations/alt_tab
    Now...I would be remiss if I didn't say... this is an absolutely terrible idea from a UI stand point. I would strongly suggest using a Nav Bar element for this, for example.  Or some link somewhere else, use the Global Page (a.k.a. Page 0) to display it everywhere.
    Thanks
    -Jorge
    http://rimblas.com/blog/
    * Disclaimer: I do work for Enkitec, but the solution is very popular.

  • Firefox won't open new tab, have to open new window for any link.

    New tab won't open both when attempting to do it by clicking on "cross" in the tabbar or from File >> new tab.
    Thanks

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How stop FF31 from opening new window? I want to open all links in new tab at top of page.

    I think the following, quote below, from the help page is my problem.
    I have this one website I use that when I click on a link within the website it is opening a new window with the tab at the bottom. Also, when this happens, I am losing the orange FireFox rectangle, bookmarks and navigation options. How can I set FF31 so that the link opens in a new tab and I keep all my options? I am using Classic Theme Restorer 1.2.3. I also notice that in the new window I lose the ability to use some of the addons.
    I have two laptops and both are running FF31 and W7. One of them is working perfectly and the other is having this problem. As far as I can tell they are both set up the same. The only difference is that when I upgraded to FF31 they both had difference older versions of FireFox. I also read in the help forum that maybe I need to go back to FireFox 28 to accomplish what I am trying to accomplish.
    I noticed that when I go under about:config that the version of FF that is not working has fewer available options versus the version that is working. An example would be that the working version has "browser.tabs.onTop" where on the other laptop this is missing.
    >>>Open new windows in a new tab instead: This option controls whether links from other applications or from web pages which request to open them in new windows are opened in a new window or a new tab in the most recent window.
    Note: If you have chosen to open pages in new tabs, Firefox will ignore this option and will open a new window from a link if the page author specified that the new window should have a specific size, because some pages can only be displayed correctly at a specific size.<<<
    Thank you in advance for any help,
    yeto

    You can override how links are opened via the browser.link.open_newwindow.override pref.
    *http://kb.mozillazine.org/browser.link.open_newwindow
    *1: current tab; 2:new window; 3:new tab;
    Use this for links opened via JavaScript.
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction
    See also:
    *http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features

  • Opening new window on button click from pdf without loosing session

    Hi,
    In my Java web applicaion on click of a link, we are opening a new window in which we are displaying a pdf. There are 5 buttons on this pdf.
    On clicking of this button again we are opening a application link in new window. But in this window we are not gettting our session, which is there in first two window.
    For opening new window from pdf button click we are using
    var dynamicUrl3 = myappurl;
    app.launchURL(dynamicUrl, true); 
    How can i open new window with the same sesion from the pdf button.
    Please help for the same.
    Thanks,
    Abhijit Mohite.

    Yes, with target="_blank" in a link or a form.Thanks for ur valuable suggestion. I changed the button to link.
    Its working fine now without JavaScript.
    Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
    Is this possible? Please give me an idea to do this.
    Thanks.

  • How to open new window and generate oracle report from apex

    Hi,
    I had created an application that generates PDF files using Oracle Reports, following this Guide.
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    And I followed 'Advanced Technique', so that users can't generate PDF file by changing URL and parameters. This is done for security reasons.
    But in this tutorial, when 'Go' button is pressed, the PDF file is displayed on the same window of apex application. If so, user might close the window by mistake. In order to avoid this, another window have to be opened.
    So, I put this code in the BRANCH - URL Target. (Note that this is not in Optional URL Redirect in the button property, but the branch which is called by the button.)
    javascript:popupURL('&REPORTS_URL.quotation&P2100_REP_JOB_ID.')
    But if the button is pressed, I get this error.
    ERR-1777: Page 2100 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    If I put the code 'javascritpt ....' in the Optional URL Redirect, another window opens successfully, but the Process to generate report job is not executed.
    Does anyone know how to open new window from the Branch in this case?

    G'day Shohei,
    Try putting your javascript into your plsql process using the htp.p(); procedure.
    For example, something along these lines should do it:
    BEGIN
    -- Your other process code goes here...
    htp.p('<script type="javascript/text">');
    htp.p('popupURL("&REPORTS_URL.quotation&P2100_REP_JOB_ID.")');
    htp.p('</script>');
    END;
    What happens is the javascript is browser based whereas your plsql process is server based and so if you put the javascript into your button item Optional URL Redirect it is executed prior to getting to the page plsql process and therefore it will never execute the process. When you have it in your branch which normally follows the processes, control has been handed to the server and the javascript cannot be executed and so your page throws the error "Page 2100 provided no page to branch to"... By "seeding" the plsql process with the embedded javascript in the htp.p() procedure you can achieve the desired result. You could also have it as a separate process also as long as it is sequenced correctly to follow your other process.
    HTH
    Cheers,
    Mike

  • I seemed to have picked up malware that opens new windows with advertising.

    How do I stop malware which opens new windows with advertising links,  I use a mac mini with Yosemite OS X 10.10

    Seee:
    Adwaremedic: Removes all known adware from your Mac

  • Issue when opening new windows using JSF CommandLink

    Hi,
    I'm opening this thread to follow up on a topic posted on the old Sun Developer Forum: http://forums.sun.com/thread.jspa?threadID=5435239 . That post was never answered and I am having the same problem.
    To summarize (and I'll quote from the original post):
    "I am having an issue where when I open a page in a new window from a link in my primary window any button or link clicked on the primary window after that opens a new window."
    "Any other actions on the primary page should keep navigation within the primary window. This issue does not start occurring until after the desired new window is opened the first time."
    Anyone has run into this problem and found a solution?
    Marc

    This is the command link code that, once this gets called, anything else on the page will open this window again:
    <h:commandLink immediate="true" styleClass="commandLink" target="_blank" style="text-decoration:none"
                id="pdfLink action="#{Bean.method}">
         <hx:graphicImageEx id="imageEx2" styleClass="graphicImageEx" value="../images/pdfButton.gif">
         </hx:graphicImageEx>
    </h:commandLink>

Maybe you are looking for

  • Can't write in Pages 09 documents with Mavericks

    So I accidentally upgraded to Pages 5 on my ipad so then I had to install Mavericks and Pages 5 on my MacBook too (to allow syncing). Now Pages 5 is a complete disaster. It screws up all the lay-outs I created in 09 and doesn't allow me to create new

  • TS1398 After upgrade to iOS 6 i am not able to use wifi.

    Connected, but no wifi traffic (at home). After upgrade to iOS 6 i am not able to use wifi. I am connected to my home wifi but no trafic is coming through (safari, skype, twitter, app store). I have even tried recovery of my iPhone 4S using iTunes as

  • Not just another file sharing thread......

    Running a forum search gives me a plethora of file sharing threads. Most of these threads are a one answer type of question or a simple "Preferences>Sharing>File Sharing type of answer. I am no expert here, I learn something every time I visit, but I

  • Can't drag mp3 into GB '08

    Whenever I mention this, I seem to get answers from folks who can't understand why I'm having this problem, but I am unable to import mp3 files into GB '08, just the same issue I had with GB '06. I drag the file, I drop it, I see that striped progres

  • In House Bank

    Hello, every one i want to In House Bank Details