input type="file"

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

input type="file"

Postby tom » Thu Jan 14, 2010 8:03 am

Hi

I want to upload a file with a form.
I am using <input type="file"> however in CEF the open box does not come up. Any ideas on a solution for this?


Many Thanks

Tom
tom
Techie
 
Posts: 12
Joined: Thu Nov 05, 2009 10:05 am

Re: input type="file"

Postby tom » Mon Jan 18, 2010 7:09 am

We managed to fix this and now we have patch for it.

If anyone wants it please let me know.


Tom
tom
Techie
 
Posts: 12
Joined: Thu Nov 05, 2009 10:05 am

Re: input type="file"

Postby pabloko » Mon Jan 18, 2010 8:16 am

I'm very pleased if you share the patch
pabloko
Techie
 
Posts: 15
Joined: Wed Dec 23, 2009 6:38 am

Re: input type="file"

Postby magreenblatt » Mon Jan 18, 2010 9:16 am

Hi Tom,

Please create an issue in the CEF issue tracker and attach your patch so that your fix can be included in the next revision of CEF.

Regards,
Marshall
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: input type="file"

Postby tom » Tue Jan 19, 2010 12:37 pm

Please see the follow page for the patch

http://code.google.com/p/chromiumembedd ... tail?id=69

Hope this Help

Tom
tom
Techie
 
Posts: 12
Joined: Thu Nov 05, 2009 10:05 am

Re: input type="file"

Postby magreenblatt » Wed Jan 20, 2010 9:22 am

Thanks Tom.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: input type="file"

Postby kelvin » Mon Apr 12, 2010 4:00 am

Sorry for bringing this up, but I have some trouble in triggering the file selector.

What I have done is:
1. Download the recent cef_binary_r77_VS2005.zip.
2. Uncompress it and run build/Release/cefclient.exe
3. Open an HTML that resembles the following:
Code: Select all
<!DOCTYPE html>
<html>
<head>
<title>Upload Test</title>
</head>
<body>
<form name="uploader" enctype="application/x-www-form-urlencoded" method="POST" action="index.html">
<input type="file" name="content" />
<input type="submit" value="Submit" />
</form>
</body>
</html>


This has been tested and reproduced on a Windows XP SP3 PC.

May I kindly know if anyone has a similar issue?
kelvin
Newbie
 
Posts: 2
Joined: Mon Apr 12, 2010 3:33 am

Re: input type="file"

Postby magreenblatt » Mon Apr 12, 2010 8:48 am

Sorry for bringing this up, but I have some trouble in triggering the file selector.

Thanks for the report. This issue has been fixed in revision 78.

Regards,
Marshall
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: input type="file"

Postby kelvin » Mon Apr 12, 2010 11:37 pm

magreenblatt wrote:
Sorry for bringing this up, but I have some trouble in triggering the file selector.

Thanks for the report. This issue has been fixed in revision 78.

Regards,
Marshall


I've updated our production code to r78 and the problem is fixed.
Thank you for your swift response!
kelvin
Newbie
 
Posts: 2
Joined: Mon Apr 12, 2010 3:33 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 19 guests