Webutil_File.Directory_Selection_Dialogue
Hi
I want to use this to enter a destination path for downloads.
The following code is on the 'Browse' button alongside the field in the FSF data block.
Although the File Browse Dialogue does open, I cannot get it to return the folder destination selected?
Am i missing something?
Declare
vDir Varchar2(250) ;
Begin
vDir := Webutil_File.DIRECTORY_SELECTION_DIALOG( NVL(:FSF.DESTINATION_PATH,'C:\'),
'Get Destination Folder') ;
message(vDir) ;
If vDir != Null then
:FSF.DESTINATION_PATH := vDir ;
End If ;
End;
If vDir != Null thenThat shoul read
If vDir is not null then
Gerald
Similar Messages
-
WEBUTIL_FILE.FILE_SELECTION_DIALOG
Hi,
Forms 10gR2
Client XP with IE
Webutil 1.0.6
I've got a problem with the function WEBUTIL_FILE.FILE_SELECTION_DIALOG : even if I specify a start directory like this :
v_file := webutil_file.file_selection_dialog (directory_name=>'c:\tmp', title=>'Open file');
the dialog box shows "My documents" files and not "c:\tmp" files.
Obviously, I've got the same problem with :
- FILE_OPEN_DIALOG
- FILE_SAVE_DIALOG
- CLIENT_GET_FILE_NAMEHello,
Quick and probably dumb answer : have you tested with the standard parameter passing ?
File_Selection_Dialog
'c:\tmp',
NULL,
'Title'
) ;Francois -
Webutil_file.copy_file slow in copying files
Hi All,
I've read about this problem previously and I'm finally suffering from it myself.
It took between 5 and 10 minutes to copy a 500k file between two network drives connected to my client. How slow is it going to be for the 100Mb files we will want to copy?
Has anyone found a solution? IS the only speedy alternative to use client_host and the copy command? I was hoping that the webutil_file.copy_file was a more elegant solution to the file copying process!!!
TIA
TonyHello Tony,
That would be fine if I wanted to transfer from the AS to the client.
But I want to transfer between two network drives on the client,
these drives are not visible to the AS at the moment.My understanding is that the functions are executed on the client and therefor the network drives have to be visible to the client and not to the AS.
But currently i'm working in the OC4J and my server and client are the same.
So it is not really tested.
Is the AS to client copy much faster than the copy_file on the client?
Why would that be? Is it access to network drives on the client that is slow?Yes it is faster. The procedures use different implementations. Files don't get divided in chunks when webutil_file_transfer.AS_to_Client is used.
Bernd -
Webutil_file.create_directory & client_host
HI,
*1.*
I want to create directories & files in my C:\tmp, but I want try to run from my form.
For example, I have a form. In my form, have a button 'Create File'. When I click that button, it will create a folder/file in my C:\tmp, not in AS. My OS pc is Win XP, AS is Unix, Oracle Forms [32 Bit] Version 9.0.2.12.2 (Production).
Is it possible to do that? Or it totally impossible? I've tried using client_host, host, & webutil_file.create_directory, but all failed.
When I use client_host & webutil_file.create_directory, error during compile.
identifier 'client_host' must be declared.
identifier webutil_file.create_directory' must be declared.
Or am I forgot something about the settings?
I know that:
HOST is executed on the App Server
CLIENT_HOST Is executed on the client
but I really don't know the concept how & where to apply. I'm really new to all these things.
*2.*
Lastly, my question: Is it allow me to create folder in AS? That means I need access privilege/rights to create,edit,delete files/folders or not ? Because when I try to create folder in AS using host command, it failed.
Is this problem related to rights on AS? The error appeared was +302000: non-ORACLE exception.+
Can anyone help or clarify to me?
Thanks,
Luthfi
Edited by: Luthfi on Sep 28, 2011 8:38 PM
Edited by: Luthfi on Sep 28, 2011 8:44 PM
Edited by: Luthfi on Sep 29, 2011 2:27 AM
Edited by: Luthfi on Sep 29, 2011 2:32 AM
Edited by: Luthfi on Sep 29, 2011 2:34 AMfor creating the files at the client side you have to use the
CLIENT_HOST('c:\windows\system32\cmd.exe /k "mkdir c:\temp\aa"');
the above command will create a directory in the c:\temp\aa
you have to configure the AS for pirvilleges for the creating of directories... -
Hi,
i am using WebUtil with Oracle Developer 10g(9.0.4)
i have got the problem
oracle.forms.webutil.file.FileFunctions bean not found
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
all configuration is very good ( formsweb.cfg, wenutill.pll...)
but i have got this problem
I am create a new form in C:\webutil_106 and webutil.olb and
webutil.pll in the same direction C:\webutil_106.
in FORMS_PATH IN REGISTARY
Code: [Select all] [Show/ hide]
( C:\webutil_106 )
in default.env
Code: [Select all] [Show/ hide]
( FORMS90_PATH=C:\Dev10g_old\forms90;C:\Dev10g_old\forms90\webutil; C:\webutil_106
WEBUTIL_CONFIG=C:\Dev10g_old\forms90\server\webutil.cfg
CLASSPATH= C:\Dev10g_old\forms90\java\jacob.jar;
C:\Dev10g_old\forms90\java\frmwebutil.jar;
C:\Dev10g_old\forms90\java\f90all.jar;
C:\Dev10g_old\jdk\jre\lib\rt.jar
in formsweb.cfg
Code: [Select all] [Show/ hide]
( archive_jini=f90all_jinit.jar;frmwebutil.jar;jacob.jar
archive=f90all.jar
and end of files
[webutil]
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=f90all_jinit.jar
WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
archive=frmwebutil.jar,f90all.jar
lookAndFeel=oracle
in webutil.cfg
Code: [Select all] [Show/ hide]
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
and I am using The URL:
Code: [Select all] [Show/ hide]
http://<LOCALHOST>:8889/forms90/f90servlet?CONFIG=WEBUTIL
I am creating the webutil user and grant dba and execute
the create_webutil_db.sql successfullyHi,
i am using WebUtil with Oracle Developer 10g(9.0.4)
i have got the problem
oracle.forms.webutil.file.FileFunctions bean not found
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
all configuration is very good ( formsweb.cfg, wenutill.pll...)
but i have got this problem
I am create a new form in C:\webutil_106 and webutil.olb and
webutil.pll in the same direction C:\webutil_106.
in FORMS_PATH IN REGISTARY
Code: [Select all] [Show/ hide]
( C:\webutil_106 )
in default.env
Code: [Select all] [Show/ hide]
( FORMS90_PATH=C:\Dev10g_old\forms90;C:\Dev10g_old\forms90\webutil; C:\webutil_106
WEBUTIL_CONFIG=C:\Dev10g_old\forms90\server\webutil.cfg
CLASSPATH= C:\Dev10g_old\forms90\java\jacob.jar;
C:\Dev10g_old\forms90\java\frmwebutil.jar;
C:\Dev10g_old\forms90\java\f90all.jar;
C:\Dev10g_old\jdk\jre\lib\rt.jar
in formsweb.cfg
Code: [Select all] [Show/ hide]
( archive_jini=f90all_jinit.jar;frmwebutil.jar;jacob.jar
archive=f90all.jar
and end of files
[webutil]
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=f90all_jinit.jar
WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
archive=frmwebutil.jar,f90all.jar
lookAndFeel=oracle
in webutil.cfg
Code: [Select all] [Show/ hide]
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
and I am using The URL:
Code: [Select all] [Show/ hide]
http://<LOCALHOST>:8889/forms90/f90servlet?CONFIG=WEBUTIL
I am creating the webutil user and grant dba and execute
the create_webutil_db.sql successfully -
WebUtil_File Function Typo
The defined function "webutil_file.get_file_separator" is actually misspelled in the software. To use it, you have to misspell it as "webutil_file.get_file_seperator". Will this be corrected in future versions?
Tis simply the Olde English spelling, however, yes this (and a couple of other typos that I will leave you to discover) has been corrected
-
Hi guys,
I have updated my AS and DS to 10.1.2.3 and downloaded Wbutil 1.6 update 10.
I configured all the .cfg files as mentioned in the documentation when I launch a test form with config=webutil and a webutil functionality in it then i am getting following error -
oracle.forms.webutil.file.FileFunctions bean not found.
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
Java console shows following -
java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/file/FileFunctions.class
java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/host/Host.class
java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/session/SessionFunctions.class
and so on..
Some how my java console too has stopped showing up after mistakingly clicked Hide Console.
So can any one help me to get out of this error.
Its sort of driving me crazy.
Thanks in advance.
Av.Hi Av, Can you let me know what you did to fix this issue? We are facing a serious issue with the same error and we can't get around it.
Thanks
Sam. -
hi am trying to run my form in development am geting this error oracle.forms.webutil.file.filefunctions bean not found webutil_file.file_selection_dialog_int will not work what could be the problem
yes i do have jacob.jar and frmwebutil.jar in my forms/java directory my java console message is
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\dmadima.PGWC
Proxy Configuration: Browser Proxy Configuration
JAR cache enabled
Location: C:\DevSuiteHome_1\forms\java
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://training1pc:8889/forms/java/frmall_jinit.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) -
WEBUTIL_FILE.FILE_OPEN_DIALOG
I've been trying to use this function such that it goes to the last directory used but I'm not having much luck. I tried using a global and ,in the example below, a variable but neither works. The variable has the correct directory when displayed using set_alert_text immediately before the call. Can anyone help?
Here's my code,
DECLARE
alert_button NUMBER;
l_directory PAYROLL_FILE_HEADER.FILENAME%TYPE;
BEGIN
l_directory := :GLOBAL.directory;
set_alert_text( 'PAYROLL_INTERFACE_ERROR_ALERT'
, l_directory
, alert_button);
:FILE_VALIDATION.INPUT_FILE_NAME := WEBUTIL_FILE.FILE_OPEN_DIALOG(l_directory, '', '|All files|*.*|', 'Select Payroll Data File');
:FILE_VALIDATION.File_Name := '';
:FILE_VALIDATION.File_Directory := '';
:FILE_VALIDATION.Number_Of_Records := '';
:FILE_VALIDATION.File_Details := '';
GO_ITEM('FILE_VALIDATION.CONFIRM_BUTTON');
SET_ITEM_PROPERTY('FILE_VALIDATION.CONFIRM_BUTTON', ENABLED, PROPERTY_TRUE);
END;I have also tried...
:block.rute := webutil_file.file_selection_dialog(directory_name => 'c:\',
file_name => null,
file_filter => 'Documentos pdf|*.pdf',
title => 'Seleccione Fichero',
dialog_type => open_file, --save_file
select_file => TRUE);
... without any success of the PDF showing after selecting the file and pressing Open button of the selection diaglog. -
WebUtil_File.File_Open_Dialog VERY SLOW with large amounts of files
Dear Friend,
We are using WebUtil_File.File_Open_Dialog on the client to allow for the selection of an image from a folder on the server, which contains around 2-3000 files.
It takes around 10-15 minutes to display the files within the folder. This is obviously unacceptable and I was wondering if anyone had come up with a viable solution to this problem, as i noticed similar issues had been posted in the past and no solution was suggested.
The function call for the above operation is: :control.fichier := WebUtil_File.File_Open_Dialog(:global.path||'images\bdsurvey\', '', '*.jpg |*.jpg| (All files)*.* |*.*|', 'Nom du fichier photo');
Many thanks,
JohnThis can be done by the following:
Tuning the file system - reducing/filtering unwanted files, defragmentation, FAT (NTFS might consume more time)
I am not sure whether you can do anything for this in AS.
Alternatively there are some java classes which may be used instead of web util. -
WebUtil_File.FIle_Selection_Dialog error in forms 10g release 2
when I click to butotn to select the file from the OS system by using client_get_file_name function this alert message.
The message;
!!!!oracle.forms.webutil.file. FileFunctions bean not found. WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not found.!!!!
I have written the following trigger in when button press
:txt1 :=client_get_file_name(null,null,null,null,opne_file,true);
plz can anybody send me the solution for thisthe frmwebutil.jar exists and when I check it from browser it works like
http://osname:8889/forms/java/frmwebutil.jar its works fine, or is there any other way to check plz send me and one more issue is when i check the webutil layout in the form its give oracle.forms.webuitl.ole class function does not implement in bean in the layout and then i try to import that classs from the import java classs it gvies error. I need it very urgently -
PROCEDURE P_MULTI_FILE IS
vFile WEBUTIL_FILE.FILE_LIST;
BEGIN
vFile := WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG ('C:\', '', 'FMB Files (*.fmb)|*.fmb|', NULL, OPEN_FILE, TRUE);
END;
I want to know how to interact with the results from WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG. Following through the debugger I can see that each file is stored as an extension of the return variable
i.e. vFile(1) C:\Temp\AUTH.fmb, vFile(2) C:\Temp\SRCE.fmb
How can I tell how many items the User has selected? I want to be able to insert these values into a multi record block on the form. Any help would be greatly appreciated....If anyone is interested I managed to figure it out:
DECLARE
vFile WEBUTIL_FILE.FILE_LIST;
i INTEGER := 1;
BEGIN
WHILE vFile(i) IS NOT NULL LOOP
:BLOCK.ITEM := vFile(i);
i := i+1;
CREATE_RECORD;
END LOOP;
EXCEPTION
WHEN no_data_found THEN
DELETE_RECORD;
END; -
Webutil_file.file_save_dialog
i use
webutil_file.file_save_dialog(null,fileName,null,'Save')
i save a document from db to client.
the fileName i read from the database.
when i open the file_save_dialog the fileName is displayed as default. but when i want to save it somewhere else by browsing the filesystem, the filename is lost.
whick means: when clicking a folder in the file_save_dialog the filename-field becomes the directory-name.
is this normal? how can i keep the filename in the filename-field in a file_save_dialog?This is actually an underlying bug in Java - it's fixed in Java 1.4 so when you go to that version you'll get it for free.
-
Using WEBUTIL_FILE.DIRECTORY_FILTERED_LIST
Does anyone know how to use using WEBUTIL_FILE.DIRECTORY_FILTERED_LIST?
I looked online and on this forum, and examplese don't exist. The Oracle web site defines what WEBUTIL_FILE.DIRECTORY_FILTERED_LIST is, but does not explain how to use it. What I need to know is how to create a cursor to read each file name one at a time in a loop. I've tried "WEBUTIL_FILE.DIRECTORY_FILTERED_LIST.next" and a bunch of other things but nothing is working.
Thanks!From the manuals:
WebUtil_File contains APIs to manipulate files and directories on the client and to display
file selection dialogs. The package contains a new type FILE_LIST, which is a PL/SQL
table (array) used to pass back multiple file names. This array can be accessed using
standard PL/SQL table techniques. e.g. Use <file_list>.COUNT to return the number of
elements and <file_list>(n) to retrieve a specific numbered element.Example:
FOR i IN 1..list.COUNT LOOP
-- do something with list(i)
END LOOP; -
Hi,
I just used webutil_file.file_open_dialog to select files. I noticed when I press the cancel button, webforms hangs. I have to close my webforms session with the taskmanager, while the cpu has gone to 99%
I encounter the same problem when using webutil_file.file_selection_dialog.
Am I doing something wrong or is this a bug?what was the code problem that you resolved - I am running into the exact same problem when using the webutil_file.file_open_dialog and I hit cancel it all hangs.
Maybe you are looking for
-
HELP! Illustrator CC Effect Stained glass issue
Hello. I'm relatively new to Illustrator. I'm designing a pair of shorts and have come across a problem. I'm using the stained glass effect to give the shorts a reptile look over a gradient green to black 90 degrees. When I select the stained glass e
-
By using one of the templates I have created my business card in ONE of the template slots. Now, how do I get my card to apply to the whole page? Note: I have gone to the site recommended in a previous post: http://www.freeforum101.com/iworktipsntric
-
What's the different about sa38 with or without variant?
dear all, What's the different about sa38 with or without variant? I don't have the idea. Best Regard!
-
Interupted music downloads - how can I get my songs back?
I didn't receive my purchase from the iTunes Store, so I emailed the iTunes help people. This is what they sent back: It looks like the music in question is still awaiting download. Please follow these steps to initiate the download: 1)From the Store
-
Groundbreaking Interface for Logic
Hi Folks, Check out this cutting edge interface that will surely make its way into our Logic studios eventually. Unreal and very exciting! Here is a video demonstration: Multi Touch Interface Dual 2GHz G5, Apogee Rosetta 800, RME 9652, Focusrite Red