List-Items (Type=URL) - how to open in New Window

I use a List for deliver information in a region.
The list consist of some URLs.
I would like to open a new Window (not use the active Window), if one element was clicked.
With html-text-region I could user "target=...", but this is not usable in the List entries, it should be a simple URL.
Have we any attributes for such a behavior?

Lutz,
You can achieve what you want in a list template. For example the sample application uses the following fragment in the Standard Unordered List template:
<li>#TEXT#</li>
Simple change that to
<li><a target="new" href="#LINK#" style="font-weight:bold;" class="list">#TEXT#</a></li>
or something similar.
Sergio

Similar Messages

  • Portal 10.1.4 seeded Page link Item type - Getting it to open in new window

    I've been working on creating a new portal and am having some difficulty with Page Links. I am using version 10.1.4 out of the box. When I create a page link to another page and click on it, the page always takes over the current window.
    Under normal items, you can select the option to display item in new browser window. I do not see this option when using a Page Link.
    My questions are :
    Is this option to display somewhere else vs. Page Properties?
    Has anyone created a custom item type to achieve this function?
    Thanks in advance.

    Hi,
    Something you could try is changing the way the item is displayed using a HTML Content Layout, this is a great feature of portal 10.1.4 and allows you to customise the region where the items are displayed.
    Try this:
    1) Create a new HTML Template
    2) Select HTML Content Layout from the list
    3) insert this code:
    <oracle>
    if '#ITEM.TYPE#' in ('baseportletinstance', 'portlet_instance') then
    htp.p('#ITEM.PORTLETCONTENT#');
    else
    htp.p('#ITEM.TITLE#');
    end if;
    </oracle>
    4) go to your page and edit your region properties
    5) On the attributes tab chose the Html template you created.
    the items should be displayed now as links that open in a new browser window.
    Hope this helps..
    Regards,
    Juan

  • How to open a new window from the login window?

    hi,
    can someone tell me how to open a new window from an existing window, here by window i mean frame. The case is i hv two java files - oracle.java and FDoptions.java. The first frame is in the Login.java. The oracle.java file has a button "Login", when it is clicked, i want to open the next frame which is in the file FDoptions.java. Can some one help me with this? I m giving the code below -
    oracle.java
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    * The application's main frame.
    public class oracle {
        private JFrame frame;
        private JPanel logInPanel;
        private JButton clearButton;
        private JButton logInButton;
        private JButton newuserButton;
        private JButton forgotpasswordButton;
        private JTextField userNameTextField;
        private JPasswordField passwordTextField;
        public oracle() {
            initComponents();
        private final void initComponents() {
            JLabel userNameLabel = new JLabel("User name: ");
            JLabel passwordLabel = new JLabel("Password: ");
            userNameTextField = new JTextField();
            passwordTextField = new JPasswordField();
            JPanel userInputPanel = new JPanel(new GridLayout(2, 2, 5, 5));
            userInputPanel.setBorder(BorderFactory.createEmptyBorder(10, 20, 10, 20));
            userInputPanel.add(userNameLabel);
            userInputPanel.add(userNameTextField);
            userInputPanel.add(passwordLabel);
            userInputPanel.add(passwordTextField);
            logInButton = new JButton(new LogInAction());
            clearButton = new JButton(new ClearAction());
            newuserButton = new JButton(new NewUserAction());
            forgotpasswordButton = new JButton(new ForgotPassword());
            JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            JPanel buttonPanel1 = new JPanel(new FlowLayout(FlowLayout.RIGHT));
            buttonPanel.add(logInButton);
            buttonPanel.add(clearButton);
            buttonPanel1.add(newuserButton);
            buttonPanel1.add(forgotpasswordButton);
            logInPanel = new JPanel(new BorderLayout());
            logInPanel.add(userInputPanel, BorderLayout.NORTH);
            logInPanel.add(buttonPanel, BorderLayout.CENTER);
            logInPanel.add(buttonPanel1,BorderLayout.SOUTH);
            frame = new JFrame("FD Tracker");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(500, 500);
            frame.setContentPane(logInPanel);
            frame.pack();
            frame.setVisible(true);
        private void performLogIn() {
            // Log in the user
            System.out.println("Username: " + userNameTextField.getText());
            char[] password = passwordTextField.getPassword();
            System.out.print("Password: ");
            for(char c : password) {
                System.out.print(c);
            System.out.println();
        private void performClear() {
            // Clear the panel
            System.out.println("Clearing the panel");
            userNameTextField.setText("");
            passwordTextField.setText("");
        private final class LogInAction extends AbstractAction {
            public LogInAction() {
                super("Log in");
            @Override
            public void actionPerformed(ActionEvent e) {
                performLogIn();
        private final class ClearAction extends AbstractAction {
            public ClearAction() {
                super("Clear");
            @Override
            public void actionPerformed(ActionEvent e) {
                performClear();
        private final class NewUserAction extends AbstractAction{
             public NewUserAction(){
                 super("New User");
             @Override
             public void actionPerformed(ActionEvent e){
                 JFrame newuser = new JFrame("NewUser");
        private final class ForgotPassword extends AbstractAction{
            public ForgotPassword(){
                super("Forgot Password");
            @Override
            public void actionPerformed(ActionEvent e){
                JFrame forgotpassword = new JFrame("Forgot Password");
        public static void main(String args[]) {
            new oracle();
         FDoptions.java
    import java.awt.FlowLayout;
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class Fdoptions{
        private JFrame fdoptions;
        private JPanel fdoptpanel;
        private JButton enterfdbutton;
        private JButton viewfdbutton;
        public Fdoptions() {
            initComponents();
        private final void initComponents(){
            fdoptpanel = new JPanel(new BorderLayout());
            fdoptpanel.setBorder(BorderFactory.createEmptyBorder(80,50,80,50));
            enterfdbutton = new JButton(new EnterFDAction());
            viewfdbutton = new JButton(new ViewFDAction());
           JPanel enterbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
           JPanel viewbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            enterbuttonpanel.add(enterfdbutton);
            viewbuttonpanel.add(viewfdbutton);
            fdoptpanel.add(enterbuttonpanel,BorderLayout.NORTH);
            fdoptpanel.add(viewbuttonpanel,BorderLayout.SOUTH);
            fdoptions = new JFrame("FD Options");
            fdoptions.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            fdoptions.setSize(1000,1000);
            fdoptions.setContentPane(fdoptpanel);
            fdoptions.pack();
            fdoptions.setVisible(true);
        private void performEnter(){
        private void performView(){
        private final class EnterFDAction extends AbstractAction{
            public EnterFDAction(){
                super("Enter new FD");
            public void actionPerformed(ActionEvent e){
                performEnter();
        private final class ViewFDAction extends AbstractAction{
            public ViewFDAction(){
                super("View an existing FD");
            public void actionPerformed(ActionEvent e){
                performView();
        public static void main(String args[]){
            new Fdoptions();
    }

    nice day,
    these lines..., despite the fact that this example is about something else, shows you two ways
    1/ modal JDialog
    2/ two JFrame
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * Parent Modal Dialog. When in modal mode, this dialog
    * will block inputs to the "parent Window" but will
    * allow events to other components
    * @see javax.swing.JDialog
    public class PMDialog extends JDialog {
        private static final long serialVersionUID = 1L;
        protected boolean modal = false;
        private WindowAdapter parentWindowListener;
        private Window owner;
        private JFrame blockedFrame = new JFrame("No blocked frame");
        private JFrame noBlockedFrame = new JFrame("Blocked Frame");
        public PMDialog() {
            noBlockedFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            noBlockedFrame.getContentPane().add(new JButton(new AbstractAction("Test button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    System.out.println("Non blocked button pushed");
                    blockedFrame.setVisible(true);
                    noBlockedFrame.setVisible(false);
            noBlockedFrame.setSize(200, 200);
            noBlockedFrame.setVisible(true);
            blockedFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
            blockedFrame.getContentPane().add(new JButton(new AbstractAction("Test Button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    final PMDialog pmd = new PMDialog(blockedFrame, "Partial Modal Dialog", true);
                    pmd.setSize(200, 100);
                    pmd.setLocationRelativeTo(blockedFrame);
                    pmd.getContentPane().add(new JButton(new AbstractAction("Test button") {
                        private static final long serialVersionUID = 1L;
                        @Override
                        public void actionPerformed(ActionEvent evt) {
                            System.out.println("Blocked button pushed");
                            pmd.setVisible(false);
                            blockedFrame.setVisible(false);
                            noBlockedFrame.setVisible(true);
                    pmd.setVisible(true);
                    System.out.println("Returned from Dialog");
            blockedFrame.setSize(200, 200);
            blockedFrame.setLocation(300, 0);
            blockedFrame.setVisible(false);
        public PMDialog(Dialog parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        public PMDialog(Frame parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        private void initDialog(Window parent, String title, boolean isModal) {
            owner = parent;
            modal = isModal;
            parentWindowListener = new WindowAdapter() {
                @Override
                public void windowActivated(WindowEvent e) {
                    if (isVisible()) {
                        System.out.println("Dialog.getFocusBack()");
                        getFocusBack();
        private void getFocusBack() {
            Toolkit.getDefaultToolkit().beep();
            super.setVisible(false);
            super.pack();
            super.setLocationRelativeTo(owner);
            super.setVisible(true);
            //super.toFront();
        @Override
        public void dispose() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.dispose();
        @Override
        @SuppressWarnings("deprecation")
        public void hide() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.hide();
        @Override
        public void setVisible(boolean visible) {
            boolean blockParent = (visible && modal);
            owner.setEnabled(!blockParent);
            owner.setFocusableWindowState(!blockParent);
            super.setVisible(visible);
            if (blockParent) {
                System.out.println("Adding listener to parent ...");
                owner.addWindowListener(parentWindowListener);
                try {
                    if (SwingUtilities.isEventDispatchThread()) {
                        System.out.println("EventDispatchThread");
                        EventQueue theQueue = getToolkit().getSystemEventQueue();
                        while (isVisible()) {
                            AWTEvent event = theQueue.getNextEvent();
                            Object src = event.getSource();
                            if (event instanceof ActiveEvent) {
                                ((ActiveEvent) event).dispatch();
                            } else if (src instanceof Component) {
                                ((Component) src).dispatchEvent(event);
                    } else {
                        System.out.println("OUTSIDE EventDispatchThread");
                        synchronized (getTreeLock()) {
                            while (isVisible()) {
                                try {
                                    getTreeLock().wait();
                                } catch (InterruptedException e) {
                                    break;
                } catch (Exception ex) {
                    ex.printStackTrace();
                    System.out.println("Error from EDT ... : " + ex);
            } else {
                System.out.println("Removing listener from parent ...");
                owner.removeWindowListener(parentWindowListener);
                owner.setEnabled(true);
                owner.setFocusableWindowState(true);
        @Override
        public void setModal(boolean modal) {
            this.modal = modal;
        public static void main(String args[]) {
            new PMDialog();
    }

  • How to open a new window on click of a button, for printing stuffs in adf

    Hi ADF Experts,
    Jdeveloper 11.1.1.7.0 version.
    I am having a Print Button. On click of this I want to open a new window? how is it possible. Note it should not be a popup or panelwindow.
    Please suggest.
    Thanks,
    Roy

    Check out Frank's article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf which come with a sample at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501393.zip
    Timo

  • How to open a new window by clicking the string in the text field ?

    Hi
    is it possible to do this ?
    Some string value is retrieved from database and it is placed in the text field. [ done with this part ]
    i have to provide link to that string to open a new window. [ yet to do ]
    Please help me in this.
    Note : if this is not possible , give me some other idea to do this.
    -Arun

    whether this is useful ?
    I am using string field here.
    public StringField(java.lang.String name,
    java.lang.Object listener,
    java.lang.String callback,
    java.lang.String value)Constructs a StringField
    Parameters:
    name - Name of field
    listener - Listener to update
    callback - Callback of listener
    value - Value of field
    -Arun

  • How to Open a New window from a List region Link, Please help

    I am trying to get a new full window( Not popup window) open from a list region link. The list region entry is an Image. I get the new page open, but it is not in new window, it is in the same window.
    I know I have to give the target = "_blank" somewhere. But In List region, I dont know where to add this.
    Please help
    George

    Yes, you are right Arun. That is more elegant way of
    doing it. Keep it up. thankx..
    Btw, why do you hate javascripts? Can you imagine the
    internet world without javascript (or ant scripting
    language)?yep i agree... but i try my best to avoid scripts.. as i had been workin around some japanese technologies... and there are three major mobile market players there... who has their own content type and all those devices never support javascript..
    more over i donno that... in all 3 yrs i have never used that ;-))

  • Link to URL - How to Open a New Tab

    I have created some PDF's in Adobe Acrobat and I am hosting them on my website. So for example here is one: <possible spam link removed - kglad>
    I have created links to URL's using the Link Properties tool, Actions tab. However it will only open the URL in the same tab.
    Is it possible to have the URL's open in a new tab?
    Hope someone can help.
    Heath

    You need to use the target="_blank" attribute to make links open in a new window or tab. Where the link actually opens is up to the browser settings. So if you have Tools > Internet Options > Tabbed Browsing Settings > "Always open pop-ups in new tabs" selected, a target="_blank" link will open in a new tab. Note that this type of link will open in a new window by default on most browsers.

  • How to open a new window from submit button &dialog page in current window?

    We have a requirement, wherein we have a OAF search page for PO lines with search criteria, Go button to search ,result region (table layout) and a submit button(Create new expedite).
    1. Now user can select some lines from result region and click on Submit button.
    2. On click of submit button we need to pop up a window or may be a dialog page asking that " Do you want open supplier web link portal or not?".
    3. If user clicks yes(in Dialog page) then first fetch the URL from a look up maintained in Oracle EBS on the basis of supplier of the lines selected and then open that URL in a new window and side by side we need to open a dialog page in search page asking "whether user has updated the expedite info in supplier portal or not?". On basis of this we need to updated some count in custom tables.
    So in step 3 i am facing problem, that how to open an URL in a new window through a submit button and side by side want to open a dialog page in the current window also.
    Hope a quick response from you all.
    Note:- To open a custom page we can have a link or button(button of type button and not submit button) on base page with destination url property as following javascript:
    javascript:var a = window.open('OA.jsp?page=/XXX/oracle/apps/xxx/......&retainAM=Y', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    So the question is how to do the same for submit button on OAF page???

    Antriksh,
    You just need to attach a submit action in button bean and not submit button bean, based on the output of confirm type of alert in javascript.
    Here is code u need to put in destination url of the button:
    //replace <confirm message> by message you want to show.
    javascript:input=confirm('<confirm message>');if(input==true){submitForm('DefaultFormName',0,{XXX:' abc'});}" Now in the process request of the base page CO, u can get parametre 'XXX' from the pagecontext....so
    if((("abc").equals(pageContext.getParameter("XXX"))))
    {/// custom LOGIC }
    The same i have replied in your mail. I hope this resolves the issue.
    --Mukul

  • How to open a new window that's not a page

    can you create a hyperlink, let's say from a photo of a person, that opens in a seperate window which is not another page?
    if that's not possible, can you create the same hyperlink, and have it open as a new page, but not have the page listed as it's own button.  meaning it is invisible unless you navigate from the page with the photo/hyperlink?

    You can do both...
    http://www.iwebformusicians.com/Website-Photos/Image-New-Page.html
    http://www.iwebformusicians.com/Website-Photos/Image-New-Window.html
    ... and the rollover....
    http://www.iwebformusicians.com/Website-Photos/Rollover-Image.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • How to open a new window with no Portal Header and Portal Navigation bar

    Hi,
    I am working with the EPCM.doNavigate() method and passing the value "1" for the mode parameter in order to open it in a seperate window without the Portal header.
    For some reason, the Portal header is still seen in the new window.
    Do anyone know the reason?
    Thanks,
    Aviad
    int openType = 1;
    "EPCM.doNavigate(\""Url"\", "openType"); \n"

    Hi Aviad,
    Try out the command
    EPCM.doNavigate(\""Url"\", "openType",'toolbar=no','status=no','menubar=no');
    <b>Put opentype=1</b>
    I think it will work
    Thanx & Regards
    Anish

  • Link to URL -- pdf should open in new window - Error

    Hi experts,
    I have a Web Dynpro Application with an ALV and a link to url in one column. The code is ok. It works fine. When I click on the URL a new browser window opens with the correct URL, but I get an Error --> "The requested URL could not be retrieved".
    It should be a pdf. But Acrobat Reader does not open. If I put the URL in Firefox Browser, it works perfect. Acrobat Reader opens and shows the pdf.
    The same happens when I use Windows 2000 System with Internet Explorer version 6.0.2800.1106.
    I have normally Windows XP with Internet Explorer version 6.0.2900.2180 with sp2.
    What can that be? On both computers I have the same version of Acrobat Reader with the same configuration.
    Had someone of you this problem, too? Who can help?
    Thanks a lot.
    Best regards,
    Ingmar

    I answered it myself. I had to look that for the called server no proxyserver will be used...

  • Open a new window when you click on a button

    Hi all,
    I'm a newbie on BPS and web interface on BPS. I have a problem on how to open a new window.
    I explain:
    We have a page with a button which call a function. We want to change this button in the way when you ckick it, a new window appears and present a page with two buttons which call each a function(this page is already created thanks to bps_wb).
    The problem is : how to modify the button in the way it opens a new window with in parameter the page.
    Thanks by advance.
    Best regards,
    Nicolas

    Hi Nicolas,
    I don't know about a pop-up, but if you are trying to open a page (page 2) in a new window (internet explorer window), then do the following:
    Instead of using a navigate pushbutton, use a hyperlink component.
    In the URL selection option insert the URL (web address) of page 2. You can find the URL by going to SE80, in the repository browser select "BSP Application" and "THE TECHNICAL NAME OF YOUR BPS". Open your BSP and go to the folder "pages with flow logic" and find your "page 2". Double click on your page and then select the "properties" tab and navigate to the bottom where you will see the pages URL.
    Insert this URL address into your hyperlink component back in the Web Interface Builder.
    Leave the Target selection as parent. Make sure your internet explorer enhanced options are set to "not reuse the same window" under the browser options.
    Good luck.
    Rael

  • Open a new window in BSP by backend?

    Hello,
        In BSP I have a problem that how to open a new window in backend not by Javascript 'window.open(**.htm);' . If you have done it ,please tell me . Thank you very much .
        For example,I open a new window that not exist at first in page .
    Message was edited by:
            rongrong wang

    Hi Rongrong,
    the only other way I can think of is by using a link with target="_blank". There always needs to be an action/trigger on the frontend opening a new window, you cannot force it from the backend as there is no push mechanism within http, meaning once the response is processed and sent out to the requestor you don't have any link to the frontend any more by which you could push data from the backend to the frontend. Session information for http is always kept either in cookies or in specially mangled URL's and not by the protocol.
    Hope that helps.
    Best Regards
    Michael

  • How to Open Multiple New Browsers for URL from Portal

    I have a URL item that, when selected, opens a new browser (A) - as it should.
    But while that one is open, if a user clicks on a different URL on the portal page, then browser A is used rather than a NEW browser(B) being opened.
    Is there a way to set these URL's up so that they can both open a new browser at the same time?

    A form is a class object.  Each window would be a new instance of the form.  You can either add a parameter list to the constructor of the form, call a method to set the properties of the form, or make the properties public.
    You don't need to open a new window.  The form class creates a new window when you call the form constructor.
    jdweng

  • Use a list item to open a new window with a web address

    Hi
    I would like to create a list entry which opens a new windows and directs that window to a specific website. I have tried creating the list entry and it works except it is redirecting to the web site in the current window.
    at the moment in the list entry options under "Target" I have the following
    Target typ: URL
    URl: http://www.somewhere.com
    Many thanks for your help.

    Yes there is. You will need to write your own javascript function using window.open(), which has lots of parameters that control size, scroll bar, menus etc. Do not be tempted to put window.open directly into the URL because it causes problems.
    Do a Google on javascript window.open and you should get all the info you need.
    Another approach is to do a[b] file > save as in apex and then examine the JS files that are downloaded. You can call any of these javascript functions from apex and a number of them open windows in one form or another.
    I can knock something together for you if you struggle.
    Simon

Maybe you are looking for

  • Unable to run postclone script in Web tier

    Hi guys, I am trying to clone an existing Oracle Ebsuiness Suite 12.1.3 environment. Now I am trying to execute command: perl adcfgclone.pl appsTier in the Web tier node, but I am getting next error message: Executing script in InstantiateFile: /oram

  • Cannot boot into Arch using Gummiboot and Intel fake RAID

    This is my first time installing Arch Linux in a few years. The installation seemed to go fine, but I can't boot into it. At this point, when I try to boot into it this is my console output: http://pastie.org/9389435 First of all, what confuses me ab

  • Execute Unix command on login

    Hello, is it possible to execute a unix command on user login? I want that every time a user login on a mac at my company, a unix command be executed. Is this case, this is the command: defaults write com.apple.mail NSPreferredMailCharset "UTF-8" thk

  • Adobe AIR installation fails

    Scenario Attempting to install the Adobe AIR runtime (or any AIR apps requiring it) on Snow Leopard (possibly earlier versions of OS X also). Symptom AIR installation will hang prior to completion on primary user account, however, AIR will successful

  • Deserialization error after call to web service finishes

    Hello everyone We have a conversational web service that can't seem to get past the start phase. I am getting the following error from the test client after the web service start method completes: could not deserialize the request scoped attribute wi