Opening window with display_items

Hi,
I need to show some messages (validation errors) on the press of a button. For this, i have created a document window and a content canvas containing only 1 display item. Before opening the window, i populate the display item with the message i want to display.
But the window dosent open when i press the button.
The code in the WHEN-BUTTON-PRESSED trigger is
:CONTROL.SKETCH_VAL_MSG := l_message ; APP_CUSTOM.OPEN_WINDOW('SKETCH_VAL');
I think that we should move the focus to some item on the canvas. But in this case the only item is a display item and i cannot use go_item(). Is there any workaround for this? Is this approach correct?
Please suggest
Thanks,
Ashish

Hi,
Thanks for your prompt reply. I tried to create a dummy text item and shift the focus to it, but dosent work.
So, changed the display_item to multi-line text_item with insert,update, and query property set to No.
Thanks for all your help!
Ashish

Similar Messages

  • How to close open windows with ios7, How to close open windows with ios7

    How to close open windows with ios7, How to close open windows with ios7?

    Guess they thought we needed more exercise so now we have to swip them to close.....miss iOS6. My eyes are blurry now after looking at my phone, and my arms are tired from swipping lol

  • Opening windows with JavaScript

    I am reasonably happy with my feedback screen, but after a
    visitor sends a
    message I would like to close it, and then pop up a smaller
    "Thank you" window
    for a few seconds.
    After a lot of messing around, I have more or less got this
    working (and have a
    slightly better understanding of JavaScript), but have a
    number of questions.
    1. What is the difference between MM_openBrWindow() and
    open.window()? They
    appear to do the same thing, and to take the same parameters.
    2. If I open the new feedback window, using either of the
    above, and then use
    open.window to open the Thank you window from the feedback
    window, it appears to
    use the same parameters as the previous window, regardless of
    what I specify.
    Is there a way around this?
    3 The alternative to this would be to put code in the
    originating window which
    popped up the feedback window, and then popped up the Thank
    you window when the
    feedback window closed. Can I have the first window return a
    result, and then
    pass it on to the second window, and how would I access it in
    the second window?
    Clancy

    > This works with the local copy, but not with the remote
    copy. I replaced
    > the
    > relative URL with the absolute URL, so that it opened
    the remote copy,
    > even if
    > it had been loaded from my computer, and the local copy
    still worked.
    > However,
    > when I modified index.php to open the remote copy of
    Xcl_qry.php, the
    > Thank you
    > window did not open.
    Make a simple test. You will find that either of these
    methods works.
    Something else is coloring your interpretation here.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Clancy" <[email protected]> wrote in message
    news:[email protected]...
    > "Murray *ACE*" <[email protected]>
    wrote:
    >
    >>Show us the respective markup in either case, please.
    >>
    >>If you look at the OBW function, you'll see that it's
    just calling the
    >>window.open() function -
    >>
    >>function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    >> window.open(theURL,winName,features);
    >>}
    >>
    >>so you should get the same behavior with either.
    >
    > SHOULD being the operative word. As I have noted
    elsewhere, I found the
    > version
    > which I thought I had working operates correctly if I
    run the local copy,
    > but
    > not if I run the remote copy.
    >
    > The sequence of events is as follows.
    >
    > Index.php has a 'Comments' link, with the following
    code:
    >
    > <img src="Images/Xclqry.jpg" alt="Comments and
    queries" width="60"
    > height="24"
    >
    border="0"onclick="MM_openBrWindow('Xcl_qry.php','Xclqrywindow','width=800,
    > height=600,menubar=yes')" >
    >
    > This loads the feedback form Xcl_qry.php. This is based
    on David's
    > feedback
    > form. When this is loaded it checks if data has been
    entered. If so, it
    > processes it and, if valid, tries to e-mail it. If this
    is successful it
    > should
    > open the 'Thank you' window, and then close. The code
    used for this is:
    >
    > <script
    >
    type="text/javascript">window.open('Thanks.php','Thankswindow','width=400,height=200');</ script>
    >
    > This works with the local copy, but not with the remote
    copy. I replaced
    > the
    > relative URL with the absolute URL, so that it opened
    the remote copy,
    > even if
    > it had been loaded from my computer, and the local copy
    still worked.
    > However,
    > when I modified index.php to open the remote copy of
    Xcl_qry.php, the
    > Thank you
    > window did not open.
    >
    > I then modified the open commands to ask for a menu bar,
    so that I could
    > examine
    > the code actually loaded to my PC (on the last pass),
    and altered
    > Xcl_qry.php so
    > that it remained open. I then ran each version, and
    saved the code. When
    > I
    > compare the two versions they were identical, except
    that the remote
    > version had
    > an additional line on the end:
    >
    > <script
    language='javascript'>postamble();</script>
    >
    > I put this on to the local copy, so the two files as
    loaded were
    > identical, but
    > this made no difference.
    >
    > So the current state of play is that the local copy of
    Xcl_qry.php will
    > open
    > either the local or remote copy of Thanks.php, but the
    remote copy of
    > Xcl_qry.php will not open the remote copy of Thanks.php,
    even though the
    > code
    > actually loaded onto my PC is identical. I have not
    checked if it will
    > open the
    > local copy as this does not seem very relevant.
    >
    >
    http://www.corybas.com/
    > Clancy

  • Firefox opens window with tabs leading to garbled links

    Almost every time I go to a site, firefox opens a new window with numerous tabs trying to access garbled links. The first tab looks like this: http://i56.tinypic.com/2nkuo9k.jpg.
    Anti-virus programs found nothing, and re-installing firefox didn't fix it.

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    <br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    See also:
    *http://kb.mozillazine.org/Resetting_preferences

  • HT6114 unable to open windows with bootcamp

    I have been using windows 7 in boot camp since two days I am trying to open windows but unable to open in windows.

    How is Windows installed?
    If you installed Windows using Boot Camp Assistant you don't "open" Windows you boot into Windows.
    If ypou installed Windows in a virtual machine you must start the virtual machine before turning on Windows from within the virtual machine.

  • Activate open windows with mouse rollover?

    Hello.
    Is there a third party utility or OS X setting that allows an open window to be activated simply by hovering the mouse over it, rather than having to click on the window?
    (There is something like this in the Windows world, called TXMouse, or True X Mouse.)
    Thanks,
    Avi

    This happens quite a bit on the recently released beta's of Solaris Express and I would guess OpenSolaris as well. There was a thread on OpenSolaris.org that Jurgen Keil posted that disables some aspects of the CPU that on my system at least alleviated the issues.
    I've not seen any reports on it from Solaris 10 so it might be unrelated. Which version of Solaris specifically are you using?
    alan

  • How to hide open windows with one swipe so i can see my desktop clear, as it was in snow leopard?

    Hi, this was one very handy feature which I can not find now in Lion and kinda frustraits me. When I wanted to go strait to a clear desktop to open a folder, while being on another window, I had to swipe three fingers up (I think). Now trying swipe up, down, whatever, I got different showing of all opened windows, the one which says desktop though when clicking on it, brings the current window. Is it me or Lion is missing that? thanx

    Hello,
    Apple employees do not read very often the messages here.
    The only (and official) way is to send a suggestion via this page :
    http://www.apple.com/feedback/macosx.html

  • Is it possible to open window with FPM embedded multiple times in a dialog?

    Hi,
    Is it possible to open a web dynpro window whose view embeds the FPM_GAF_COMPONENTu2019s FPM_WINDOW multiple times in dialog window?
    I have a web dynpro component WDC1 which use FPM_GAF_COMPONENT and provide the component configuration for FPM.
    Thereu2019s a WINDOW1 (with View1) in WDC1 which has a view container and the FPM_GAF_COMPONENTu2019s FPM_WINDOW is embedded.
    I have a button in WDC1 which create a new dialog window by calling if_wd_window_manager->CREATE_WINDOW as code below.
          lo_window = lo_window_manager->CREATE_WINDOW(
              MODAL                = ABAP_TRUE
              WINDOW_NAME          = 'WINDOW1'
              TITLE                = 'Test opening FPM multiple times'
              CLOSE_BUTTON         = ABAP_TRUE
    *          BUTTON_KIND          =
    *          MESSAGE_TYPE         = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
    *          CLOSE_IN_ANY_CASE    = ABAP_TRUE
    *          MESSAGE_DISPLAY_MODE =
    *          DEFAULT_BUTTON       =
              IS_RESIZABLE         = ABAP_TRUE
    It works for the first time when I click the button, a dialog window opens with my FPM GAF stuff.
    But when I click the button the second time after closing the dialog window, it generates a dump with error message saying u201CComponent Usage Group MESSAGE_AREA_USAGES Already Existsu201D.
    In ST22, the dump was generated in WDDOINIT of view u201CMAINu201D on FPM_GAF_COMPONENT which looks to me like the message manager is already created in the first time.
      lr_component = wd_comp_controller->wd_get_api( ).
      lr_usage_group = lr_component->create_cmp_usage_group(
                           name            = 'MESSAGE_AREA_USAGES'
                           used_component  = 'FPM_MESSAGE_MANAGER' ).
      wd_this->mo_message_area_usage = lr_usage_group->add_component_usage( 'MESSAGE_AREA_USAGE' ).
      wd_this->mo_message_area_usage->create_component( 'FPM_MESSAGE_MANAGER' ).
    I tried to remove the component usage of FPM in my WDC1 or delete  the component directly, hoping that this will clear the memory , but doesnu2019t work, only bring more different dumps  which make this look like a wrong direction as I am interfering the lifecycle of FPM itself.
    Can anyone share some ideas here? Thanks in advance.
    Best regards,
    Beiyang
    P.S. The FPM GAF works fine when I open the window in new browser (by calling if_wd_window_manager->create_external_window).

    Hi ,
    Currently I am facing same problem could you please let me know how you resolved your issue.
    Thanks in advance.

  • I used to work on few open windows with a number of open tags, for some reason firefox stopped opening new window, any reason why?

    I have been using firefox for a while. I usually work on a number of windows (sometimes up to 8) with 8 - 10 tags in each. I was using a trial version of Nero and was triggered for an upgrade which i stopped half way through. I dont know if this has caused this problem. Now I cannot open any link in a new window. It will only open in a new tag of the same window.
    == This happened ==
    Not sure how often
    == when i stopped an upgrade from Nero

    -> IF you use Privacy Cleanup softwares like CCleaner, DON'T SELECT FIREFOX IN ITS SETTINGS. These softwares can be responsible for Deleting your Firefox Settings.
    Perform the suggestions mentioned in the following articles:
    * Make sure you are using the '''"Remember History"''' setting as described in this article -> [[Settings for privacy, browsing history and do-not-track]]
    * [[Restore previous session - Configure when Firefox shows your most recent tabs and windows]]
    Check and tell if its working.

  • X11 is opening windows with the title bar under the menu bar

    Hi, I've just upgraded to Leopard and I use X11 at work to log into a Sun and run Cadence. Some of the windows open with their title bar under the menu bar at the top of the screen making it impossible to move or resize the windows. Is there a way to make it open the windows slightly farther down or is this a bug in X11 that will be fixed soon? Previously with Tiger, I never had this problem.

    Great I switched to it shortly after upgrading to 10.5 and as far as what to stick with, i'm not quite sure, but my understanding it's the same open source stuff apple uses and I believe some of the fixes are intended to be used in the future updates, but maybe the xquartz site could fill you in a bit more.

  • Prevent user to open window with same session

    Hi all,
    I have a requirement to prevent user from opening a new window of same session, either by right click, middle click or any other method.
    Can anyone tell me how can i use session state to find that new window of same session is opened, and if yes, i can give an alert message that 'Only one window is allowed at a atime for a user'. Thanks alot.
    With Regards,
    Sunil Bhatia
    Oracle APEX

    You can enable the checksum feature in the Application Security attributes to prevent users.That would be closest you can acheive towards your requirement.
    <li>However you try and prevent users from creating a new page, they can always use their browser features to duplicate a page ,and this works even with a checksum in the URL
    For example in firefox, place your cursor in the URL bar and press {CTRL} + {ENTER} , it duplicates a page.
    <li>Now, assuming that they did this, how do you identify which page is valid, For apex either page sents a request only and it doesn't know what happens at the client side. Remember apex session details are stored at the server side only.

  • Open Window with Javascript

    Good Morning All,
    I am trying to open use a button in captivate to launch
    another .swf movie and am having no luck. I have reviewed all of
    the posts here in the forums, but I still cannot seem to get it to
    work. So, I apologize for posting this again!
    Here's and overview:
    I am creating a several Captivate projects that will be
    hosted online. I am publishing to Flash. One project provides an
    overview and serves as a "launching" point for the other projects.
    So, I want to be able to open a new, "chromeless" browser
    window set to the specific size for the project when I click a
    button that will open another project which I have published to
    Flash.
    Any help would be greatly appreciated!
    Aaron

    Thanks for your help Frank. I can get the window to pop-up
    can open the other file, but there is just one snag. When I click
    on the link, the original window goes blank and I would like it to
    keep the stay at the point in the presentation where the user left.
    Is there any way to keep the original project from going
    blank? (The Flash file disappears and [OBJECT] appears on the blank
    browser window.)

  • PLease Help !Jsp Session expired when open Window with "_blank" atributte

    PLease please Help me!
    Hi ,
    I have a problem
    First , all my pages when load evaluate if session exists .
    If not exists session
    this page redirect other page (page_expired.jsp)
    this works correctly ... but
    when page01.jsp open page02.jsp from :
    <form action='page02.jsp' target ="_self"> - >works correctly (load on the same page ..)
    but when :
    <form action='page02.jsp' target ="_blank"> -> this redirect page_expired.jsp
    why this ??
    Sometimes work and Sometimes not work...
    but now it does not work
    Excuse my english not is goog...
    Greetings From Lima - Peru

    Hi
    This problem ocurred when testing on my server of testing(this is in my office) ,
    but when test in the server machine of my house this work!!! great! ,
    not appear session expired.!!
    this theme of configuration ??
    if is ths ?
    what configure ?
    Please Help Me .
    I am using EASERVER 5.2 with JSP
    Bye! Greetings From Lima Per�

  • Can't open windows with lilo

    Arch 0.7 (Wombat) 2.6.14.3
    #sfdisk --list
    Disk /dev/hda: 6296 silindir, 16 kafa, 63 sektör/iz
    birimler = 516096 baytlık silindir, 1024 baytlık blok, 0'den başlayarak
    silindir blok
    Aygıt Önykl Balangıç Bitiş sayısı sayısı
    /dev/hda1 * 0+ 65 66- 33263+ 83 Linux
    /dev/hda2 66 586 521 262584 82 Linux swap / Solaris
    /dev/hda3 587 6295 5709 2877336 83 Linux
    /dev/hda4 0 - 0 0 0 Boş
    Disk /dev/hdc: 9733 silindir, 255 kafa, 63 sektör/iz
    birimler = 8225280 baytlık silindir, 1024 baytlık blok, 0'den başlayarak
    silindir blok
    Aygıt Önykl Balangıç Bitiş sayısı sayısı
    /dev/hdc1 * 0+ 1416 1417- 11382021 c W95 FAT32 (LBA)
    /dev/hdc2 1417 9731 8315 66790237+ f W95 Ext'd (LBA)
    başlangıç: (sld,kafa,sekt) (1023,254,63) gerekirken (1023,0,1) b ulundu
    /dev/hdc3 0 - 0 0 0 Boş
    /dev/hdc4 0 - 0 0 0 Boş
    /dev/hdc5 1417+ 9731 8315- 66790206 7 HPFS/NTFS
    başlangıç: (sld,kafa,sekt) (1023,254,63) gerekirken (1023,1,1) b ulundu
    # cat /etc/lilo.conf
    # /etc/lilo.conf
    boot=/dev/hda
    # This line often fixes L40 errors on bootup
    # disk=/dev/discs/disc0/disc bios=0x80
    default=arch
    timeout=30
    lba32
    prompt
    image=/boot/vmlinuz26
    label=arch
    root=/dev/hda3
    read-only
    vga=773
    other=/dev/hdc1
    optional
    label=Windows
    table=/dev/hdc
    # End of file
    # pacman -Q lilo
    lilo 22.7.1-1
    When i select windows, it tells  just "Loading windows" and then nothing...

    loader = "chainloader +1"   <--- doesn't work
    i've tried all combinations.
    like without table. without optional. /dev/discs/disc1/part1 (/dev/hdc1)   
    Still nothing

  • Right Click used to open window with "create..." new version in it

    I used to be able to set the "import setting" in preferences and then just right click to change any selection to that new version. Now the setting change is no longer available when I right click on a selected file.
    Something happened...but I have NO IDEA what!!!

    jaygreenman wrote:
    Something happened...but I have NO IDEA what!!!
    Progress, or at least a revision. The current iTunes no longer includes the convert option in the contextual menu. You have to use the Advanced Menu to do conversions. As you noticed, not all changes appeal to everyone, and you can submit your feedback here: http://www.apple.com/feedback/itunesapp.html

Maybe you are looking for