Hi Dietrich,

 

there is a little thing that should be changed in your widget.

 

The UploadForm.js initializes the property "height" but not the "width" when 
the constructor is called.

In the current version I have problems when putting your upload-widget into a 
horizontalBoxLayout.

Every other widget, which is also placed into this horizontalBoxLayout, is 
displayed above the upload-widget.

 

So it would be nice if you could put the following code this into your 
UploadForm.js to prevent this issue.

 

.

.

.

    this.initHeight(); //this exists already

    this.initWidth(); //new

 

.

.

.

height:           //this exists already

    {

      refine : true,

      init   : "auto"

    },

    

    width:              //new

    {

            refine : true,

            init   : "auto"

    },

 

 

Thanks

Tobias

 

 

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dietrich 
Streifert
Gesendet: Freitag, 25. Januar 2008 11:13
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] upload-widget

 



Tobias Koller (GERMO GmbH) schrieb: 

but how is it possible to programmatically open the "upload-window"?

I thought it will only appear by clicking the standard-browser-upload-button ;)

You click "through" the qooxdoo button onto the original button. So in fact the 
standard upload file button "is" clicked and the qooxdoo button is styled "as 
if" it has been clicked.






 

Tobias

 

 

 

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dietrich 
Streifert
Gesendet: Freitag, 25. Januar 2008 10:55
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] upload-widget

 



Tobias Koller (GERMO GmbH) schrieb: 

Hi Dietrich,

 

your widget works very good! Thanks again.

You're welcome. Vote for it to become part of the standard distro.




I never knew that it's possible to change de default "Browser-Upload-Button" ;)

In fact you can't change the default browser button. The UploadButton is an 
extra widget which puts the internal input type=file tag out of screen and 
overlays it with a standard qooxdoo button which then is themable including the 
icon of the button.




 

Tobias

 

 

 

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dietrich 
Streifert
Gesendet: Freitag, 25. Januar 2008 09:51
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] upload-widget

 

Hi Tobias,

yes there is one in the qooxdoo-contrib repository:

http://qooxdoo-contrib.svn.sourceforge.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/UploadWidget/


which I'm using currently in my project (well I wrote the widget). Don't know 
about others.

Give it a try.

It is also mentioned on Frederics page just under the download link.


Tobias Koller (GERMO GmbH) schrieb: 

Hi list,

 

i want to use a upload-widget. 

I tried this one and it works fine

http://frederic.fournaise.free.fr/qooxdoo-file-upload-widget.php

 

is there another official upload-widget?

 

Thanks

Tobias

 

 
 
 


________________________________



 
 
  
 
 
  
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
 
 
 


________________________________



 
 
  
 
 
  
 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
  







-- 
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
 
 
 
 


________________________________



 
 
  
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
 
 


________________________________



 
 
  
 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
  






-- 
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
 
 
 


________________________________



 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
 


________________________________



 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
  





-- 
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
 
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to