Reg: To open a Browse Window Using Form Builder

Dear All,
I am trying to open a browse window using form builder.I am using forms 10g.
I have user the following code.
Declare
l_file_name Varchar2(383);
Begin
l_file_name := webutil_file.file_open_dialog( );
If
  l_file_name Is Not Null
Then
  If
    :images.Rowid Is Not Null
  Then
    create_record;
  End If;
  client_image.read_image_file ( l_file_name, Substr ( l_file_name, Instr ( l_file_name , -1 ) ), 'images.images' );--block.item
End If;
End;I have attached the webutil.pll in attached library.
It shows an error" WEBUTIL Object group not attached to this form".
Can any one help me how to attach that object group.
Thankx in advance.
Cheers,
Jai.

write this in your 'Browse' Button's , when_button_pressed trigger
DECLARE
  filename VARCHAR2(500);
BEGIN
  filename:=GET_FILE_NAME(' ',NULL,NULL,'Choose any directory.',OPEN_FILE,TRUE);
  :txtbx3:=filename;  -- Here you will assign to you form's field.
END;Edited by: Tuts009 on May 10, 2010 5:00 AM

Similar Messages

  • How i can open a browser windows using a button in jsf ?

    Hi
    Thank you for reading my post
    how i can open a browser windows using a button in jsf ?
    for example if i want to open a window which will show http://www.mywebsite.com?name=TestName&family=TestFamily
    and before opening the window i need to set those two variables.
    can some one help me with a solution ?
    thank you

    Hi Legolas,
    Please refer to the answer provided by Chris in the EA forums.
    Cheers
    Giri

  • Suddenly after running Firefox for years, I cannot open multiple browser windows using Windows XP.

    I have always been able to open more than one browser windows, so I can have my email minimized while doing other tasks on one or more other browsing pages. All of a sudden, I can only open one browsing page. When I try to open a second, I get the red circle with a diagonal slash through it stopping me.
    Can anyone help me?

    Hi,
    The path to the profile would usually be '''My Computer''' > '''?:\Documents and Settings\yourusername\Application Data\Mozilla\Firefox\Profiles\***.default''', if there are no other profiles. If there is another profile, it would be that instead of ***.default. You may have to enable hidden files and folders.
    Please see [http://kb.mozillazine.org/Profile_folder_-_Firefox#Windows this.]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

  • Any way to open new browser window without using image maps?

    Is there any way to open new browser window without using image maps? My code works fine in Firefox, but not in IE. There are 2 problems in IE: 1st is that the thumbnail images move up within their own borders & 2nd that when you click on an image it does open up a new browser window, but also redirects to the index page (in this case it's just a placeholder index page - the new one I've called index_new.html for the time being).
    Here is the link:
    http://www.susieharperdesigns.com/gallery_beads.html
    Any help is greatly appreciated.

    Your missing a value on the HREF.  In your code you have this:
    <area shape="rect" coords="-24,-9,106,144" href=" " onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    and it should be this:
    <area shape="rect" coords="-24,-9,106,144" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    If you fix the code on all your beads, it should work.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Opening a browser window

    My issue is as follows:
    Our application consists of images and forms. We display the image in an image viewer, on left half of the screen and the form on the right half.
    When we display the image in a browser using web.show_document the image gets displayed fine but the focus remains on the newly opened browser window. The user has to click into the form to start entering information from the image into the form, losing valuable time in a high volume processing environment.
    Is there a way other than using web.show_document (foreign functions/Java/any other technology) that will allow me to open a browser window from the form and then send the control back to the form?
    Thanks
    SP

    Hi,
    check this one
    WEB.SHOW_DOCUMENT
    Frank

  • Using Firefox 5 in Windows 7, once I have Firefox open, I can no longer open a new window using the start button. How do I fix?

    As I stated, I have Windows 7 on my laptop and have installed Firefox 5. I sometimes like to have multiple windows of the browser open. But, unlike any previous version of Firefox, now when I have the browser open, when I try to open a new window using the Start menu, it will not open one. I have to use Ctrl+N. Why did this change?
    This may seem insignificant but it really hampers my work flow. For one, with other applications, Shift+N is what opens a new window. For two, I've been doing with with my browsers for years now and it's like second nature for me - having to remember that in Firefox it's Ctrl+N is a pain in my tuccus.
    Firefox is my go to browser and I would like it to stay that way. Please find the solution for me! I have tried looking using Tools, Options, as well as looking at my start menu and taskbar options, and no dice.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions 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.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How to open new browser window on click of command button

    Hi,
    We have a requirement to open an image in new window when a command button is clicked. Is there any sample explaining how to do that?
    Thanks in Advance,
    Pradeep

    Hi,
    I have to load an applet viewer in the new browser window. I have URL to the PDF.
    I ma able to load the applet viewer in new browser window using javascript. But I have to load the new PDF if the same window in already opened.
    The issue here is , i am loosing the window handle if the parent page is refreshed. I want to store the window handle in session scope variable and use the same.
    How do i update the session scope variable using javascript?
    Thanks and Regards,
    Pradeep

  • Opening new browser window

    Hi,
    this piece of code use to work for opening a new browser, but now it has problem in opening browser window. There is no exception thrown, can anyone has suggestion whats wrong in this. I am using JRE1.3. I have a feeling that something is conflicting with IE (I tried on 5.0,5.5,6.0)
    thanks
    Syed
    try
    URL url = new URL(urlString);
    applet.getAppletContext().showDocument(url, "_blank");
    } // End of Try
    catch(MalformedURLException e)
    logs("Exception in opening new browser window: " + e);
    } // End of Catch

    Same here.
    Worked fine under IE5.x to IE6, JRE 1.3.x to 1.4. OS used were W2k and WinXP, no prob here.
    Now on some PCs the windows don't pop up anymore. No exception, no indicator of what's going wrong.
    Any hints?
    J�rgen

  • When I print from Gmail, I can't return to my e-mail and have to open another browser window. The back button become inactive.

    While using Gmail, when I print e-mail I can't return to my inbox or any other Gmail option. I am left "stuck" at the print window and have to open another browser window each time and go back into e-mail. Usually, I am still logged in after doing this, but sometimes I have to login to e-mail again. Thanks.

    How are you trying to change it ?
    You should be able to log out of an account by clicking on it at the top left of the store's pages on your computer's iTunes, or via the Store > Sign Out menu option (if you are using a PC and the drop-down menus aren't showing at the top of iTunes then control-B should get them to show). You can then sign in with your own account (the Store > Sign Out menu option should change to a Sign In option) - does that work ?

  • Safari 5.1 -- 'Open at Login' not opening a browser window?

    I have Safari set to open at login (right-click Safari in the Dock > Options > Open at Login). When I reach my desktop, the Safari icon in the Dock bounces and the spotlight lights up as expected, but Safari does not open a browser window -- I have to click the Safari icon or click File > New Window to see a window.
    I've used Open at Login with Firefox and Mail and have never experienced this issue; the application window always opens. I've also tried disabling Safari's extensions and resetting Safari's settings (Safari > Reset Safari) with no luck.
    I know I can probably trick Safari by adding a shortcut to my homepage to the Dock and have that open at login, but I would like to resolve this if I can. Any ideas?

    I found this discussion about three or four months ago. I was having the same problem with Safari not opening, along with my other login items.
    The tip posted by Linc on Oct 3, 2011 9:22 AM, resolved the issue.
    Thanks Linc!
    HOWEVER... Today, all of the sudden... Out of out of the blue... I have the same problem, again!?
    I tried removing, then re-adding, the URL file from the log in items, automatic open list.
    It did not work?
    Does anybody have any ideas/solutions regarding this issue? This is becoming VERY aggravating!

  • Opening a browser window with Java

    Is there a way I can open a Browser Window (with a specific html document) from Java? Thanks.

    Use Runtime.exec(cmd) with the following command:
    Under Windows 9x:
       command.com /C" start "urltofile.html"Under other Windows:
       cmd.exe /C [start] "urltofile.html"  (start is needed when url begins with 'http://")

  • Open a browser window from flash actionscript 2 in safari or firefox

    I am having a problem. I found the actionscript 2 code to open a browser window, but it is not working in Safari, or Firefox. I found an old action script 1 file version 5 for the flash player that works just fine, but I am using 8 and actionscript 2 so that doesn't work for me.
    Any body have any idea how I can do this?

    if you're testing locally, use:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l

  • Opening a Browser Window on event

    Upon a Hyperlink listener event I wish to open a browser window. Is there a system calll to do this? I would like to open the default browser, whether it is IE or Netscape. Any suggestions or hints?

    below works:
    import java.io.IOException;
    /** * A simple, static class to display a URL in the system browser.
    * * Under Unix, the system browser is hard-coded to be 'netscape'.
    * Netscape must be in your PATH for this to work. This has been
    * tested with the following platforms: AIX, HP-UX and Solaris. *
    * Under Windows, this will bring up the default browser under windows,
    * usually either Netscape or Microsoft IE. The default browser is * de
    termined by the OS. This has been tested under Windows 95/98/NT. * * Examp
    les: * BrowserControl.displayURL("http://www.javaworld.com") *
    BrowserControl.displayURL("file://c:\\docs\\index.html") *
    BrowserContorl.displayURL("file:///user/joe/index.html");
    * * Note - you must include the url type -- either "http://" or "file://". * */
    public class BrowserControl{
    // Used to identify the windows platform.     
    private static final String WIN_ID = "Windows";
    // The default system browser under windows.
    private static final String WIN_PATH = "rundll32";
    // The flag to display a url.     
    private static final String WIN_FLAG = "url.dll,FileProtocolHandler";
    // The default browser under unix.     
    private static final String UNIX_PATH = "netscape";     
    // The flag to display a url.     
    private static final String UNIX_FLAG = "-remote openURL";     
    *     * Display a file in the system browser. If you want to display a     
    * file, you must include the absolute path name.     
    *     * @param url the file's url (the url must start with either "http://"     
    * or     * "file://").     */     
    public static void displayURL(String url)     {     
    boolean windows = isWindowsPlatform();     
    String cmd = null;          
    try {          
    if (windows) {     
    // cmd = 'rundll32 url.dll,FileProtocolHandler http://...'
    cmd = WIN_PATH + " " + WIN_FLAG + " " + url;     
    Process p = Runtime.getRuntime().exec(cmd);     
    }               else {          
    // Under Unix, Netscape has to be running for the "-remote"     
    // command to work. So, we try sending the command and
    // check for an exit value. If the exit command is 0,
    // it worked, otherwise we need to start the browser.
    // cmd = 'netscape -remote openURL(http://www.javaworld.com)'
    cmd = UNIX_PATH + " " + UNIX_FLAG + "(" + url + ")";     
    Process p = Runtime.getRuntime().exec(cmd);     
    try {                    
    // wait for exit code -- if it's 0, command worked,          
    // otherwise we need to start the browser up.
    int exitCode = p.waitFor();               
    if (exitCode != 0) {               
    // Command failed, start up the browser     
    // cmd = 'netscape http://www.javaworld.com'     
    cmd = UNIX_PATH + " " + url;          
    p = Runtime.getRuntime().exec(cmd);     
    catch(InterruptedException x) {          
    System.err.println("Error bringing up browser, cmd='" + cmd + "'");     
    System.err.println("Caught: " + x);                    }
    }          }          catch(IOException x) {          
    // couldn't exec browser          
    System.err.println("Could not invoke browser, command=" + cmd);     
    System.err.println("Caught: " + x);          }     }
    /**     * Try to determine whether this application is running under Windows     
    * or some other platform by examing the "os.name" property.     *
    * @return true if this application is running under a Windows OS     */
    public static boolean isWindowsPlatform()     {     
    String os = System.getProperty("os.name");     
    if ( os != null && os.startsWith(WIN_ID))          
    return true;          else               
    return false;               }     
    /**     * Simple example.     */     
    public static void main(String[] args)     {
    BrowserControl.displayURL("http://www.javaworld.com");     }}

  • Opening modal browser windows

    I have a question concerning opening modal browser windows.
    The UIX framework provides a javascript function called "openWindow". E.g. the ui:dateField uses this function to open it's separate browser window.
    The good thing using this function is, that the opener browser window gets shadowed and isn't accessible anymore.
    Therefore I also want to use this function to open my own modal windows. The problem here is that any postback in the modal window enables the opener window again.
    Interesting point is, that the date picker for a ui:dateFields also performs postbacks but the opener window stays shadowed.
    How can I perform postbacks in my own modal window and keep the opener window disabled?
    How does it work when using the date picker?

    Christian -
    I can provide some background about how the modal date picker window deals with this issue - and I think that you can use the same technique...
    The UIX body component has a built-in unload handler that gets called when the page is unloaded - for example, when you post data in your modal window. The unload handler will check to see if the page is a modal child of its parent window - and if so, will re-enable the parent window (the assumption here is that once the page has been unloaded, the modal child will be hidden).
    The solution that UIX uses for the date picker window is to place the contents of the child window inside of a frame set. The actual contents of the window are embedded inside of a frame inside of the frame set. That way, when you navigate inside of the child window, the body's built-in unload handler is still called - but, it no longer enables the parent window, since the body is no longer a child of the parent window - but is a child of the frame set.
    I think that you can implement a similar solution by embedding your modal window contents inside of a UIX frameBorderLayout component.
    Andy

  • Director opens 2 browser windows when link clicked

    Has anyone ever had this issue come up?
    Using director 8, I set up a link in a project using the goto
    netpage command, and in the exe file, when the link is clicked it
    opens 2 browser windows. Any ideas why?
    Any help would be great.
    Thanks
    Sean

    No. I looked at all my script and behaviors first. I figured
    that's what i did, but i didn't.
    I may actually be cursed by adobe. It worked fine when it was
    just macromedia.
    Thanks
    Sean

Maybe you are looking for

  • Can I re-convert dng files to psd files (or another format that can be used in Adobe Touch)?

    I am using LR 4.1, CS6, on a PC running Windows 7.  Creative Cloud will accept dng's, but Adobe Touch will not.  I'd hate to have to re-save lots of photos one at a time.  (I'm not generally all that happy with dng format--it makes some files unreada

  • Document is not cretaed but test  run is successful.

    Hello this is the my problem. While runninf AFAB test run is successful but no document is getting posted. Data : Dep key assigned ZEIN Cal Methods Assigned : Base Method 014 Period Control 01 Multilevel ZEI(4.75% of Dep) Asset Values is there even t

  • Group by colum wise data in adobe form

    Hi,   I have a requirement to print data in adobe form thru webdynpro for abap. example; i have a table data getting from webdynpro like below. date               empno   activity. 11-11-2008     p101       x1. 11-11-2008     p101       x2. 11-11-200

  • Keybord input problem?

    Hi everyone,I'm using MacBook Air taken from USA.And I installed Windows 8 by BootCamp but the problem is ; for example in OS X : my language chracter is "opiton s which equals "ş" but in Windows 8 when I pressed option+s nothing happens.I'm waiting

  • ORA-12546: TNS:permission denied

    Hi Friends, I have just downloaded Oracle 11.2 XE on my Windows 8.1 X64. I have run the setup.exe and completed the installation. Now, when I tried connecting to the db in SQL command line, I am getting the following error: ORA-12546: TNS:permission