Hi Randy,

    FileDialog takes as argument a java.awt.Frame, that coincides with a
windows Dialog box, not a web Frame.

I'm not sure, so if someones disagree,
please correct my explanation, but I think a code that uses this class
can be runned only as a java application.

If you need to parse the file you select, maybe it would be easier to
upload the file to the server and read there (using
WOFileUpload)
Otherwise you can use javascript to open a dialog box on client side,
to choose a file (I'm
not an expert of javascript, but I think there's a call you can use)

I hope this can help you,

2006/12/7, Randy Knolle <[EMAIL PROTECTED]>:

Hi Daniele,

I'm using a java class called FileDialog which takes a
Frame object in its constructor method. It takes the
Frame object so that the FileDialog object can hover
above the page from which it was called.

I need to place the java Frame instance in my page in
order for the FileDialog modal window to appear above
my page.

Randy.

--- Daniele Corti <[EMAIL PROTECTED]> wrote:

> Hi Randy,
>    I'm sorry, but I really don't undestand what are
> you doing:
> do you want to make the client site to open a Frame?
>
> If it's this, well, I don't think you can do
> something like this, not
> without a software installed on client side.
>
> Maybe, I haven't undestand your application, please
> give more info.
>
> Daniele
>
> 2006/12/5, Randy Knolle <[EMAIL PROTECTED]>:
> >
> > I am using FileDialog which allows the user to
> select
> > a file in the filesystem, but it requires a java
> Frame
> > object so that it knows where to position the
> modal
> > window.
> >
> > The question is, how do I use a java Frame in my
> app
> > instead of a WOFrame?
> >
> > Currently, I pass in a frame object to the
> FileDialog
> > constructor method which doesn't appear within my
> app.
> > The problem is, the second time the user access
> the
> > dialog box from my app the box doesn't open, but
> > instead, appear in the menu bar and "blinks",
> alerting
> > the user to open it.
> >
> > I am supposing that, if the java Frame object
> appeared
> > somewhere in my app, the modal box will display
> above
> > the app.
> >
> > Thanks,
> >
> > Randy.
> >
> >
> >
> >
> >
> >
> >
>

____________________________________________________________________________________
> > Any questions? Get answers on any topic at
> www.Answers.yahoo.com.  Try it
> > now.
> > _______________________________________________
> > Do not post admin requests to the list. They will
> be ignored.
> > Webobjects-dev mailing list
> ([email protected])
> > Help/Unsubscribe/Update your Subscription:
> >
>
http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com
> >
> > This email sent to [EMAIL PROTECTED]
> >
>
>
>
> --
> Daniele Corti
> AIM: S0CR4TE5
> Messenger: [EMAIL PROTECTED]
>





____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to