Re: [qooxdoo-devel] PNG images via RPC

2009-02-27 Thread Farid Elyahyaoui
simple, use: img = new qx.ui.basic.Image; img.setSource("http://bla.com/images/img1.png";) On Fri, Feb 27, 2009 at 3:14 AM, turicum wrote: > > Dear Qooxdooxers, > > I need some help with placing a chart in qooxdoo: > > I generate images on the server side (python + matplotlib) and get them via

Re: [qooxdoo-devel] how to add dialog buttons to colorselector

2009-02-17 Thread Farid Elyahyaoui
M, Christian Schmidt < schmidt.christ...@1und1.de> wrote: > Hi Farid, > > I don't know which dialogbuttons do you add to the ColorSelector. But if > I understood your problem correctly, then create a own class, which > extends from the ColorSelector. > The new class must ove

[qooxdoo-devel] how to add dialog buttons to colorselector

2009-02-16 Thread Farid Elyahyaoui
0.8 to 0.8.1 Is there a way I can add the buttons in my application code when a new colorselector is added to my application? Is getChildControl needed in any way? Thanks, Farid -- Open Source Business Conference (OSBC

Re: [qooxdoo-devel] Help on qx.io.remote.Request - I am lost!

2009-02-16 Thread Farid Elyahyaoui
t; Can someone confirm that this is a working example on someones elses > machine? Because I think that this might be a configuration issue. > By the way I get the timeout event, so this works. > > @Farid: I have not setup anything special for my php Backend. Do I need the > RPC ba

Re: [qooxdoo-devel] Help on qx.io.remote.Request - I am lost!

2009-02-16 Thread Farid Elyahyaoui
the wheel by writing my own php service files from scratch. Farid On Mon, Feb 16, 2009 at 8:10 AM, -Steffen- wrote: > > Hello everybody, > > I am trying now for weeks to get this code to work. All I want is send a > request to the server in JSON and sent a reply back. But everythi

Re: [qooxdoo-devel] change content of a iframe

2009-02-16 Thread Farid Elyahyaoui
you need to add a member 'iframe1' first. this code should work: /* #asset(iframetest/*) */ qx.Class.define("iframetest.Application", { extend :

Re: [qooxdoo-devel] Decorator wanted: Google Buttons

2009-02-10 Thread Farid Elyahyaoui
I agree with sebastian. lighter colors look nicer (I know this is a matter of taste). btw: thanks Matthew for your work. On Tue, Feb 10, 2009 at 1:18 PM, Sebastian Werner wrote: > I prefer the two pixel variant, but I would use softer/lighter colors > like seen in the original Google buttons. Wh

Re: [qooxdoo-devel] "backgroundImage" property gone in 0.8?

2009-01-21 Thread Farid Elyahyaoui
thanks jonathan, In an earlier reply to marco and others I explained that i have fixed it. The trick is indeed in using a decorator. It looks fine now with just two lines of code. On Wed, Jan 21, 2009 at 6:25 PM, Jonathan Weiß wrote: > Sorry, the links seem to be changed by my e-mail programm.

Re: [qooxdoo-devel] "backgroundImage" property gone in 0.8?

2009-01-21 Thread Farid Elyahyaoui
age("myapp/image/blockbg.png"); resultView.setDecorator(deco); 2 extra lines. I can live with that. thanks again. ( I really like qooxdoo) Farid On Wed, Jan 21, 2009 at 1:56 PM, Roman Schmid wrote: > Hi Farid > > Hmm, strange. My mails seem to appear on the list wit

Re: [qooxdoo-devel] "backgroundImage" property gone in 0.8?

2009-01-21 Thread Farid Elyahyaoui
ethod to set the backgroundimage? to the core team: do you have any suggestions about this? Farid On Wed, Jan 21, 2009 at 12:40 PM, Marco Vecchi wrote: > Farid hello, > I set to the background image, I went to define a new class (Vek) decorator > in the file > "web/qx08sdk/fra

Re: [qooxdoo-devel] "backgroundImage" property gone in 0.8?

2009-01-21 Thread Farid Elyahyaoui
image to distinguish it from the rest of the GUI. Farid On Wed, Jan 21, 2009 at 12:03 PM, Marco Vecchi wrote: > You pass directly when create the object. > as in this example in a api reference of qooxdoo > > var image = new > qx.ui.basic.Image("icon/32/actions/for

[qooxdoo-devel] "backgroundImage" property gone in 0.8?

2009-01-21 Thread Farid Elyahyaoui
no member "setBackgroundImage". in 0.7 this code worked fine. I can't find it in the online 0.8 api reference on qooxdoo.org either. How can I set the background image of a qx.ui.basic.Image widget in qx 0.8.1? Farid -

Re: [qooxdoo-devel] TabView Problem

2009-01-20 Thread Farid Elyahyaoui
did you use an automatic translation tool? I don't understand what you write. On Mon, Jan 19, 2009 at 7:12 PM, Marco Vecchi wrote: > Hi all developer :), > I have a tabView which is created in an aside, this is tabview added > function chimante through win1.add (this__tabView ();). The strange

Re: [qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-08 Thread Farid Elyahyaoui
wow. I'm famous now ;-) good job Alex. this is more readable than the initial code. Just one thing: it sends the request everytime you do a mouseover, right? BTW: I noticed lately that the number of posts in this mailinglist is increasing fast. Seems like qooxdoo is really picking up. Farid

Re: [qooxdoo-devel] Best way to build Forms?

2009-01-07 Thread Farid Elyahyaoui
i have a form class which contains a private array of all fields. the array has two columns: one with a name-identifier and one that points to the actual field widget. the form class has a method addField which adds a field of the desired type (textfield, togglebutton, etc.). It takes as input: the

Re: [qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-07 Thread Farid Elyahyaoui
here it is ('this' in the next code is a widget that extends a HBox widget): this._help = new qx.ui.basic.Image("qx/icon/Oxygen/16/actions/help-contents.png"); this.add(this._help); var myTT = new qx.ui.tooltip.ToolTip('the initial html code'); myTT.setRich( true );

Re: [qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-06 Thread Farid Elyahyaoui
excellent suggestion. I have tried it out and it works as promised. I'm using a 'mouseover' event to do a "one time request" and set the tooltip contents. thanks guys, Farid On Tue, Jan 6, 2009 at 3:51 PM, Ralf Nieuwenhuijsen wrote: > I would suggest that as well.

Re: [qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-06 Thread Farid Elyahyaoui
thank you for your answer. the Iframe is too cumbersome for me because of the reasons you mention: sizing. the size of the html content varies so much that there is no reasonable fixed size to set. On Tue, Jan 6, 2009 at 12:11 PM, Matthew Gregory wrote: > Hi Farid, > You could embed an

Re: [qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-06 Thread Farid Elyahyaoui
l html file that can be accessed with a normal browser on http://mysite.com/manual/gettingstarted.html) would be loaded using a request when the widget is hovered. thanks in advance Farid On Tue, Jan 6, 2009 at 11:25 AM, Ralf Nieuwenhuijsen wrote: > You can display HTML in a tool

Re: [qooxdoo-devel] Migration to 0.8.1

2009-01-06 Thread Farid Elyahyaoui
I created a new 0.8.1 application and copied everything from my old 0.8 directory to the new 0.8.1 application. that was it. no changes needed in my case. On Tue, Jan 6, 2009 at 11:05 AM, Andréas Kühne wrote: > > Hi, > > I have an application that runs in 0.8 at the moment. How do I migrate it to

[qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-06 Thread Farid Elyahyaoui
uld I use rpc to get the html? How would I convert this html to display it in a widget? Any suggestions anybody? How would you add contextual help to your application? All ideas and alternatives are welcome. Farid PS: it's a joy to work with qooxdoo. Love it. I am even thinking about cre

Re: [qooxdoo-devel] try to add a button and a window

2009-01-02 Thread Farid Elyahyaoui
Hi, you can find my reply below: On Fri, Jan 2, 2009 at 12:55 AM, Christophe LE CAM wrote: > Hello, > > I'm new to qooxdoo and find this project really interesting (and the code > fast). I just started to build a new application and test it. Fine, I can see > the hello button. > > For informat

Re: [qooxdoo-devel] scroll bars around application

2008-12-18 Thread Farid Elyahyaoui
}); this._mainvb= new qx.ui.container.Composite(new qx.ui.layout.VBox(5)); this._mainvb.setBackgroundColor("#FF"); scrollContainer.add(this._mainvb); Thanks all for helping me out. Farid On Thu, Dec 18, 2008 at 2:25 PM, Christian Schmidt wrote: > Hi Farid, > > yes,

Re: [qooxdoo-devel] scroll bars around application

2008-12-18 Thread Farid Elyahyaoui
vas layout!: Called assert with 'false'' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no] On Thu, Dec 18, 2008 at 11:22 AM, Gaurav Jauhri wrote: > Hi Farid, > > Farid Elya

[qooxdoo-devel] scroll bars around application

2008-12-18 Thread Farid Elyahyaoui
which is too small. What other suggestions are there to add scrollbars around my VBox so that the user can scroll to the parts outside of the browser window? Thanks in advance for all your help. Farid -- SF.Net email is S

Re: [qooxdoo-devel] qx.ui.basic.Image setSource does not work with full URL

2008-12-16 Thread Farid Elyahyaoui
and indeed it is a browser thingy. If I use firefox 2.0 then everything looks fine. is this known behaviour? On Tue, Dec 16, 2008 at 12:09 PM, Farid Elyahyaoui wrote: > hmm, I think it has to do with the browser. I'm using firefox 1.5 on > linux and if I run the Image demo then I d

Re: [qooxdoo-devel] qx.ui.basic.Image setSource does not work with full URL

2008-12-16 Thread Farid Elyahyaoui
hmm, I think it has to do with the browser. I'm using firefox 1.5 on linux and if I run the Image demo then I don't get to see the qooxdoo logo. I will try to run it on a different browser. will keep you updated. Farid On Mon, Dec 15, 2008 at 4:32 PM, Fabian Jakobs wrote: > Far

Re: [qooxdoo-devel] qx.ui.basic.Image setSource does not work with full URL

2008-12-15 Thread Farid Elyahyaoui
Hi, thanks for the answer. do you mean that using setSource with a full url without using #asset should work? but if I use the image widget and try setting the image source to some url starting with "http://"; I don't get to see anything. (see my first post on this subject) Is thi

Re: [qooxdoo-devel] qx.ui.basic.Image setSource does not work with full URL

2008-12-15 Thread Farid Elyahyaoui
tatement during compile time. right? Is there a nicer way to display a (complete) image which is not known during application generation? in 0.7 it was so easy. Can I emulate this behaviour (from 0.7) someway? thanks for all the effort. Farid On Mon, Dec 15, 2008 at 11:15 AM, Alexander Back wr

Re: [qooxdoo-devel] qx.ui.basic.Image setSource does not work with full URL

2008-12-15 Thread Farid Elyahyaoui
aaand . yes! it works. Thanks for the help alexander. one question though: the height and width of the html widget is kind of arbitrary. I use an " for the html content but the size of the widget is not adapted to the size of the image. How can I force it to the same size? Farid O

[qooxdoo-devel] qx.ui.basic.Image setSource does not work with full URL

2008-12-12 Thread Farid Elyahyaoui
use if I replace it with "myapp/test.png" it works fine. In 0.7 the full URL however worked fine. How can I set an image to an url with "http://..."; in it? thanks in advance, Farid -- SF.Net email is

Re: [qooxdoo-devel] debugging php json backend

2008-07-08 Thread farid
handled correctly and all the variables (like $serviceComponents) contain valid values. It still doesn't set the juser correctly but I have to find that out with the help of the Joomla community. One question though still stands: what do you guys (no girls?;-) use to debug the php backend?

Re: [qooxdoo-devel] debugging php json backend

2008-07-07 Thread farid
th . ".php") === false) after this line all variables defined before this line are not known anymore. Even fake variables with long unique names. Does this sound familiar to anyone? it probably has to do with the variable scope in combination with the 'include' statement. Please

Re: [qooxdoo-devel] debugging php json backend

2008-07-07 Thread farid
dy defined: $serviceComponents = explode(".", $jsonInput->service); what could be the cause that on line 378 $serviceComponents is not known? as said this only happens if I include the framework.php file. Farid farid schreef: > Hi y'all, > > I'm steadily forwarding wit

[qooxdoo-devel] debugging php json backend

2008-07-06 Thread farid
written to the error log files? -why does it work in the last example but not in the qooxdoo php backend? -Any people out there that have a way to use the php backend and get proper error messaging? -How do you guys/girls debug your php backend? -Did anybody use qooxdoo php backend with the Joomla fra

Re: [qooxdoo-devel] QxImage setSource

2006-08-01 Thread Farid Elyahyaoui
" > > CC: > Onderwerp : Re: [qooxdoo-devel] QxImage setSource > > Farid Elyahyaoui schrieb: > > thanks for you reply! > > It doesn't matter whether I reuse one QxImage or create a new one for each > > setSource(). > > I noticed that clearing my

Re: [qooxdoo-devel] QxImage setSource

2006-07-31 Thread Farid Elyahyaoui
> It works fine in my project. if the img of /path/to/my/image.png has been > modified maybe you can create a new QxImage object. > and you can enable the debug to see if there is something wrong. > > 2006/7/26, Farid Elyahyaoui <[EMAIL PROTECTED]>: > > > > anyb

Re: [qooxdoo-devel] QxImage setSource

2006-07-29 Thread Farid Elyahyaoui
anybody has a solution for this? > Datum: 20/07/06 09:16 AM > Van: "Farid Elyahyaoui" <[EMAIL PROTECTED]> > Aan: qooxdoo-devel@lists.sourceforge.net > CC: > Onderwerp : [qooxdoo-devel] QxImage setSource > > I try to create a qximage to display a generated

[qooxdoo-devel] image not changing after setSource()

2006-07-28 Thread Farid Elyahyaoui
.png"); I still get the (old) unchanged version displayed in my browser. Could this be caused by the image preloader/chaching of qooxdoo? If yes: how can I force an update in the qximage so that the latest file is displayed? if no: what is causing this behaviour?

Re: [qooxdoo-devel] QxImage setSource

2006-07-28 Thread Farid Elyahyaoui
anybody have a solution for this problem? I would appreciate it. > Datum: 20/07/06 09:16 AM > Van: "Farid Elyahyaoui" <[EMAIL PROTECTED]> > Aan: qooxdoo-devel@lists.sourceforge.net > CC: > Onderwerp : [qooxdoo-devel] QxImage setSource > > I try to create a

[qooxdoo-devel] Fw:Re: QxImage setSource

2006-07-28 Thread Farid Elyahyaoui
anybody have a solution for this problem? I would appreciate it. > > > Datum: 20/07/06 09:16 AM > > Van: "Farid Elyahyaoui" <[EMAIL PROTECTED]> > > Aan: qooxdoo-devel@lists.sourceforge.net > > CC: > > Onderwerp : [qooxdoo-devel] QxImag

Re: [qooxdoo-devel] QxImage setSource

2006-07-27 Thread Farid Elyahyaoui
anybody have a solution for this problem? I would appreciate it. > > > Datum: 20/07/06 09:16 AM > > > Van: "Farid Elyahyaoui" <[EMAIL PROTECTED]> > > > Aan: qooxdoo-devel@lists.sourceforge.net > > > CC: > > > Onderwerp : [qo

[qooxdoo-devel] QxImage setSource

2006-07-20 Thread Farid Elyahyaoui
owser. Could this be caused by the image preloader/chaching of qooxdoo? If yes: how can I force an update in the qximage so that the latest file is displayed? if no: what is causing this behaviour? Thanx in advance. Farid - Tak

[qooxdoo-devel] how to get selected color from qxcolorselector?

2006-03-24 Thread Farid Elyahyaoui
is? I tried browsing throught the source code but it seems the OK button is private. How to apply an action to it. thanx in advance. Farid