Open a new window while clicking on the command button

Hi,
Can I open a pdf report in a new window when adf command button is clicked?
I am using jdev11g
Thanks

Hi John,
I found the goButton's destination expression do not read value from any controls e.g.: Input Text.
Is there anyway to read some value, that input by user not in the db, on the screen?
e.g.: I have a Input Text for user to input a date to print the report. I've tried to binding the control in backingBean, but I get a null value from the goButton's destination function.
the jspx:
<af:inputText label="Search" id="it1"
                        value="#{backingBeanScope.backing_goUrl.it1Value}" autoSubmit="true"/>
<af:goButton text="goButton 1" id="gb1" targetFrame="_blank"
                       destination="#{backingBeanScope.backing_goUrl.searchURL}"/>in the backing bean:
public class GoUrl {
  private String it1Value;
  public String getIt1Value() {
    return it1Value;
  public void setIt1Value(String it1Value) {
    this.it1Value = it1Value;
  public String getSearchURL() {
    String s = getIt1Value();
    return "http://www.google.com/search?hl=zh-tw&q="+s; // the result of s is always null.
  }Cheers,
Samson Fu
Edited by: Samson Fu on Aug 31, 2010 1:46 PM

Similar Messages

  • When opening a new window, any clicks within the new window click through to the original window so you can't scroll or save from the new window.

    Anytime that a new window is opened (such as when sending an email message or opening a pdf) I am unable to click on the new window. I can't click send or click on the scroll bars of the new window. If I attempt to click on the window it clicks on whatever is behind the window instead. If the new window opens with a cursor within it then I am able to type or scroll through with keyboard arrows, but cannot click or use the mouse scroll buttons. I also cannot choose items from drop down menus with the mouse (even in the original window). I must use the keyboard arrows to select any menu options.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Nautilus doesn't open a new window when clicked

    For a while now, I have been experiencing an annoying issue.
    Whenever I open Nautilus either by clicking the icon in the drawer (example: http://i.imgur.com/uZc3n7S.png) or by hitting "Super" (the Windows key) and typing nautilus+enter, Nautilus doesn't create a new window anymore. Instead, it just shows "Files" in the top bar, as seen here: http://i.imgur.com/Ho2nJhv.png
    I can open a Nautilus window by clicking on the "Files" item in the top bar and clicking "New Window", as seen here: http://i.imgur.com/7IrWqvr.png
    Also, whenever my desktop is focused, the "Files" item is visible in the top bar. In the drawer, the Nautilus icon is always highlighted as well. This leads me to believe that GNOME thinks Nautilus is already open, while it is not.
    Note that I have enabled my desktop to be managed by Nautilus, so I can have icons on my desktop. I'm not sure, but if I recall correctly, this problem started ever since the one time I ran gnome-settings-daemon manually, to test if a certain bug still exists.
    Has anyone experienced a similar issue? How could I track down why this is happening?
    Last edited by Gerry (2014-02-12 20:59:18)

    Gnome-shell issue. You can disable desktop management as a temporary fix, but the next gnome-shell update will fix the problem.
    https://bbs.archlinux.org/viewtopic.php?id=175993
    https://bugzilla.gnome.org/show_bug.cgi?id=722510
    https://bugzilla.gnome.org/show_bug.cgi?id=722690

  • I get a message that says ff is already running but is not responding ,to open a new window, you must close the existing ff process or restart your system, how do i close the existing ff process?

    I have windows 7 on dell laptop. I am working on a Word Document and want to go to a diff window for some information. I click on the FF icon on my desktop and get a message that says...FF is already running but is not responding. To open a new window, you must close the existing ff process or restart your system..how do you close the existing ff process?
    == This happened ==
    Every time Firefox opened
    == I got my new dell laptop four weeks ago with window 7 installed

    See https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding

  • Finder opens a new window with tabs in the last closed window loaded automatically

    As the title says, I've found this happens more than a few times for some change. Maybe every time, I didn't count. Say, I closed a window with 3 tabs opened, then next time when I click finder to open a new window, I will find the 3 tabs loaded in the new window automatically. I am wondering if it is a new feature or bug. If it is not right, would anyone give me some suggestion to correct, if possible? Thanks.

    Yup. I think bring convenience or not is supposed to be the fundamental difference bugs and features.
    Convenience also comes with users' habit. I am sure I will get used to the new way as time goes by.

  • I am not able to open a new tab by clicking on the division sign

    I can't open a new tab by clicking on the division sign to the right of the current tab or by left clicking on the current tab and selecting "New Tab."

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option

    Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option...it seems like a lot of the options/buttons are non-pressable??

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbYLC/3.11.3.15590
    See:
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • In the previous version of Firefox you would open a new tab by clicking on the small "Open New Tab" button at the Right Hand Side of the Tabs. This button has now disappeared in my upgrade.

    I just installed Firefox 4. In the previous version you would open a new tab by clicking on the small "Open New Tab" button at the Right Hand Side of the Tabs. This button has now disappeared in my upgrade. Firefox help still says you can open a new Tab by using the "Open New Tab" Button so how do I get it back??

    I got it back by going to "customize toolbar" and hitting "restore default set"! Now there is a small tab next to my open tabs with a "+" on it.

  • 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

  • Opening a new window when clicking on object links

    Hi,
      I have installed business package for crm and configured the object links, but when i click on object links, it is opening a new window, but i want it to be opened in the same window form which that link was activated.
    could you please help me in this regard
    Thank you

    Hello Koduru,
    you should have a look at the work protect modus settings of the user.
    Regards
    Gregor

  • Open a new window, draw boxes in the window, and communicate between the two windows

    I'm going to research this, but figured I'd jump start here in case someone can give me a quick link or point me in the right direction on how to do this while I'm looking.  This is an area of Flex I haven't hit on yet.
    Basically I need to have my flex app (AIR Application) open a new window, allow the user to draw a box on that new window, and then pass the info of the box (X and Y, Width and Height) back to the main window.
    I've never done any of that and am going to try to find out how, but if someone could point me here before I find it online, that would help a great deal, kind of in a time crunch.... thanks.

    You can open the new window as a TitleWindow popup. You can pass info back to the main app using mx.core.Application.application.
    In main app:
    public var windowInfo:Object;
    In popup:
    import mx.core.Application.application;
    private var app:Object = mx.core.Application.application;
    app.windowInfo.x = this.x;
    app.windowInfo.y = this.y;
    app.windowInfo.otherOne = this.otherProp;
    Looking ahead, it is best to pass information between the main app and components using custom components. Below systemManager, popups and the main app are in different display lists, so add event listeners for custom events to systemManager. My Flex Cookbook post on custom events shows this:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=11246
    http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_12.html
    If this post answers your question or helps, please mark it as such.

  • Problem with openning a new window when click news tiltle link

    After create a news item using News form created by XML form builder, i try to click title link, It always opens a new window, what i want is keep it in same window when i click the title link, not open a new one. Is there anyone know how to do that? thanks

    Hi,
       I think its not possible in case of XML Form Builder. Bcoz,
    <b>Edit Form</b>:it is for authoring like creating News
    <b>Render list Form</b>:It is for Publishing the News
    <b>Show Form</b>:It is for showing the whole content of the News
    In XML Form Builder, by default when you create a new form these forms ie. Edit Form (You will design the Form here, only authorised person or the owner only view this).
    The Second Form(Render List Item) is the one will be shown to everyone with brief information.
    The Third Form(Show Form) is the one when you click on the News page, it will show you one more screen, there you can see the detailed description about the News.
    So, when you click on the Rendered List Item Title, it will open only in the separate window.
    Regards,
    Venkatesh. K

  • Hyperlink to open in new window on clicking via crystal client

    Hi,
    How to call hyperlink in new window via crystal client.
    I have main report. In that ,for two-three columns, I have made the hyperlink and I want that when user click on that column, it should open in new window.
    But I am unable to open the below link in new window.
    Hyperlink code :
    'http://epint1ent1.jpmorganchase.com/vps/docViewer?invoiceIndexKey='
    &columnname
    I am using crystal client XI R2.
    Please let me know any solution.
    Thanks in advance

    Vishal,
    In your Hyperlink add in the parameter for
    sWindow=New
    i.e. 'http://epint1ent1.jpmorganchase.com/vps/docViewer?sWindow=New&invoiceIndexKey='.....
    You obviously need to complete the Hyperlink fully.
    This should do the trick

  • Open a new window by clicking on a HTMBL tableview row

    Hello
    I want to navigate to another BSP page in a new window by clicking on a row in a HTMLB TABLEVIEW.
    I also want to pass value for a tableview table field for the selected row index.
    This field is not defined by a tableviewcolumn tag for the tableview in the layout
    I want to do this stateless.
    Is this possible ?
    Thanks and regards
    Christian

    hi Christian
    For this you need to do .......
    in the table tag populate this event
    <b>onRowSelection = "<OnSelect>"</b> this event.
    Now use a flag, let it be SHOW_POPUP.
    Now in the event handling capture the selection event of the table.
    IF EVENT->EVENT_NAME = 'tableView' AND
    EVENT->EVENT_SERVER_NAME = 'onSelect'.
    TV ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
    NAME = 'tableView'
    ID = '<tableID' ).
    IF TV IS NOT INITIAL.
    TABLE_EVENT = TV->DATA.
    ROWINDEX = TABLE_EVENT->ROW_INDEX.
    READ TABLE <Table Name> INDEX ROWINDEX into WA.
    Key = WA-<VALUE>.
    clear SHOW_POPUP.
    IF Key IS NOT INITIAL.
    SHOW_POPUP = 'X'.
    ENDIF.
    ENDIF.
    ENDIF.
    Now in the LayOut Page Write This Script In Between Form Tag in the begning only.
    <%
    if SHOW_POPUP EQ 'X'.
    %>
    <script>
    function call_help(name)
    var result = window.open(name,"helpWindow", "status=no, menubar=no width=730,height=550");
    result.moveTo(100,40);
    </script>
    <%
    endif.
    %>
    And in between <FORM> Tag Call This Function Like
    <script>
    call_help("<page Name.htm>?Key=<%= Key %>");
    </script>
    Do not use these code as u were using earlier
    onCellClick = "onCellClick"
    <htmlb:link id = "link"
    onClientClick = "return popitup('mat_move.do?key=11')">
    </htmlb:link>
    Do Remember to clear the SHOW_POPUP Flag on request of the page at each time.
    <b>What I am trying to do is , On click of the table control i will trigger a server event.
    i the server event i will set the flag SHOW_POPUP and navigate the data that is required on the popup window through navigate->setparameter().
    now when the layout will be refreshed it will check the SHOW_popup Flag. If it is set, it will define the javascript fuction, otherwise skip that code.</b>
    I think This will definitely help you , If you find any problem do revert back....

  • 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

Maybe you are looking for

  • ITunes on Windows but not iPad?

    Please can some help me?  I have music in my iTunes library which i can seen on my windows laptop.  However I can't see any of my music on my iPad or MacBook.  Any ideas please?

  • 6.0.1 update not working on ipad 2

    I have an iMac 27 and an iPad 2. I am trying to update to 6.0.1 and it keeps telling me that: 1. It can't because of unknown errors (3014) 2. When I try to update directly from my ipad, it tells me I am no longer connected to the internet. Any though

  • Why is variable scope so vexing?!  Argh!

    Dear Friends I used to think that if I declared a variable at the top of the first frame of my main timeline (and outside of any function bodies) that it would basically be considered "global" and could be accessed at any further frame in the main ti

  • HT203167 How can I get the original song instead of the demo?

    In the iTunes store I paid for a song, however the song didn't download but the demo did and I want the original song because I paid for the song not the demo.

  • CS 5.5+: am I just doing theming wrongly?

    Hi there Apologies for the long message - I wanted to be clear what I've tried and what my settings are! Any help you can provide is most appreciated. I've built a sample InDesign extension using Extension Builder 2.1 and ActionScript. Although I am