[qooxdoo-devel] Re-2: Remote.Request Problem

2009-08-10 Thread Daniel Hirtzbruch
Good Morning Jim & thanks for your reply. The only value the backend script returns is json_encode(true) or json_encode(false) in PHP at this moment. I already reduced it to a minimum of data to find the error. What I'm wondering about is how can the request fire the "completed" event and after

Re: [qooxdoo-devel] Remote.Request Problem

2009-08-10 Thread Jim Hunter
What often happens is, when your request gives you the data and you try to do something with it, if you get an error while trying to manipulate the returned data, no error is displayed and the function simply exits. This caused the request to continue to wait for the function to finish properly whi

Re: [qooxdoo-devel] Remote.Request Problem

2009-08-10 Thread Daniel Hirtzbruch
Hello Thomas, thanks for your reply. Maybe I wasn't so clearly with my description, in the meantime I cleared out some things. I got a login window with username / password and a login button. That one is executed when the user is trying to login. The POST request is only started after validat

Re: [qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Gene Amtower
Stop it! I'm the student here! No bowing! On Mon, 2009-08-10 at 12:30 -0700, Jim Hunter wrote: > I too bow down... I did miss that one. > > Jim > > On Mon, Aug 10, 2009 at 11:55 AM, Gene Amtower > wrote: > > I was trained by some of the best! You just keep drilling > that

Re: [qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Jim Hunter
I too bow down... I did miss that one. Jim On Mon, Aug 10, 2009 at 11:55 AM, Gene Amtower wrote: > I was trained by some of the best! You just keep drilling that > asynchronous paradigm into my head! > >Gene :-) > > > On Mon, 2009-08-10 at 14:51 -0400, Derrell Lipman wrote: > > On Mon, A

Re: [qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Gene Amtower
I was trained by some of the best! You just keep drilling that asynchronous paradigm into my head! Gene :-) On Mon, 2009-08-10 at 14:51 -0400, Derrell Lipman wrote: > On Mon, Aug 10, 2009 at 14:44, Gene Amtower > wrote: > > OK, Derrell and Jim, I thought I'd give you guys first cr

Re: [qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Derrell Lipman
On Mon, Aug 10, 2009 at 14:44, Gene Amtower wrote: > OK, Derrell and Jim, I thought I'd give you guys first crack at this, but > while you both hit upon the variable scope issue, you both failed to mention > that this is also a problem of asynchronism, in addition to that basic > variable scopin

Re: [qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Gene Amtower
OK, Derrell and Jim, I thought I'd give you guys first crack at this, but while you both hit upon the variable scope issue, you both failed to mention that this is also a problem of asynchronism, in addition to that basic variable scoping issue! Ingrid, as is common in learning to deal with asynch

Re: [qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Jim Hunter
This is not a qooxdoo issue, it's a simple JavaScript scoping issue. Read up on JavaScript scoping and you will see that you are creating the var customerid inside the listener. What this means is that once you leave the scope of the listener function, that variable get destroyed. You need to creat

Re: [qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Derrell Lipman
On Mon, Aug 10, 2009 at 14:15, Ingrid Lohmann wrote: > Hi all, > > I'd like to write a login procedure. According to what a user puts in input > boxes(__tpassword,__tuser) > a qx.io.remote.Request is generated. If the login data is correct, the > request should return > the customerid of the user

[qooxdoo-devel] Problems with reading out of data base

2009-08-10 Thread Ingrid Lohmann
Hi all, I'd like to write a login procedure. According to what a user puts in input boxes(__tpassword,__tuser) a qx.io.remote.Request is generated. If the login data is correct, the request should return the customerid of the user, but here the prob starts. The customerid in line 13 is differen

Re: [qooxdoo-devel] Grid layout and row count?

2009-08-10 Thread Derrell Lipman
On Mon, Aug 10, 2009 at 14:04, Elsner, Robert wrote: > Is there no way to retrive the current row count using the grid layout? > > I am trying to update a grid of widgets created based on a JSON RPC > call. The data in question is a dynamic list of connections to RabbitMQ > AMQP broker, so I cann

[qooxdoo-devel] Grid layout and row count?

2009-08-10 Thread Elsner, Robert
Is there no way to retrive the current row count using the grid layout? I am trying to update a grid of widgets created based on a JSON RPC call. The data in question is a dynamic list of connections to RabbitMQ AMQP broker, so I cannot pre-create this grid of a known size. However, I don't want

Re: [qooxdoo-devel] Appearance question

2009-08-10 Thread Jim Hunter
No, I do all my development directly into the compiled file, unless I am in need of a core class that isn't loaded and even then I am apt to copy that class file in manually). I included the class file you see in my main file right above where it was first used. If that was not enough to get it inc

Re: [qooxdoo-devel] forEach broken on IE

2009-08-10 Thread thron7
> > forEach() called on a qx.bom.Collection (which inherit BaseArray, so > it should work) is broken on IE on 0.8.2. > > Are you aware of the problem, is it already fixed in trunk maybe? Hi J-N, indeed, it's fixed in trunk, see http://bugzilla.qooxdoo.org/show_bug.cgi?id=2207 (you can always ch

Re: [qooxdoo-devel] [PATCH] Fix some typos in API documentation/comments and code

2009-08-10 Thread Andreas Ecker
Hi Nick! > thanks, great. Andreas is working on applying your patch, and will > surely give some feedback in a separate post. Thanks a lot for your excellent contribution!! All your changes have been applied according to the following bug: http://bugzilla.qooxdoo.org/show_bug.cgi?id=2669 Keep o

Re: [qooxdoo-devel] A Tool Tip for TreeVirtual

2009-08-10 Thread Derrell Lipman
On Mon, Aug 10, 2009 at 11:26, thron7 wrote: > > > > > > Ok. For example, you could extend SimpleTreeDataCellRenderer. Your > > subclass could override the the method _addExtraContentBeforeIcon with > > something like this: > > > > ... > > Ah, right, now I get it. Do you think you could document

Re: [qooxdoo-devel] A Tool Tip for TreeVirtual

2009-08-10 Thread thron7
> > Ok. For example, you could extend SimpleTreeDataCellRenderer. Your > subclass could override the the method _addExtraContentBeforeIcon with > something like this: > > ... Ah, right, now I get it. Do you think you could document this somewhere (API, wiki)?! T. ---

[qooxdoo-devel] forEach broken on IE

2009-08-10 Thread Jean-Noël Rivasseau
Hello list, forEach() called on a qx.bom.Collection (which inherit BaseArray, so it should work) is broken on IE on 0.8.2. Are you aware of the problem, is it already fixed in trunk maybe? -- Jean-Noël Rivasseau -- Let

Re: [qooxdoo-devel] A Tool Tip for TreeVirtual

2009-08-10 Thread Derrell Lipman
On Mon, Aug 10, 2009 at 10:56, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > On Mon, Aug 10, 2009 at 10:44, thron7 wrote: > >> >> > The feature was put there for when adding one's own images. The map >> > member should be documented, and the class should possibly be extended >> > t

Re: [qooxdoo-devel] A Tool Tip for TreeVirtual

2009-08-10 Thread Derrell Lipman
On Mon, Aug 10, 2009 at 10:44, thron7 wrote: > > > The feature was put there for when adding one's own images. The map > > member should be documented, and the class should possibly be extended > > to allow the standard images in the tree to have tooltips. > > Additionally, a nice enhancement mig

Re: [qooxdoo-devel] A Tool Tip for TreeVirtual

2009-08-10 Thread thron7
> The feature was put there for when adding one's own images. The map > member should be documented, and the class should possibly be extended > to allow the standard images in the tree to have tooltips. > Additionally, a nice enhancement might be a tooltip for a row (all > columns) or at leas

Re: [qooxdoo-devel] Hello World (newbie)

2009-08-10 Thread thron7
> I've also had good luck using the source versions with Google's Chrome > browser, but my requests are backed by yaws so YMMV. > You're using Yaws, cool... T. -- Let Crystal Reports handle the reporting - Free Cryst

Re: [qooxdoo-devel] Remote.Request Problem

2009-08-10 Thread thron7
> When the user now tries logging in, several requests are opened, how do you know? > but although they should be closed when returning the requested data (false > / true) or firing one of the above events they do not seem to be really > closed. When I don't do anything after having tried to

Re: [qooxdoo-devel] [PATCH] Fix some typos in API documentation/comments and code

2009-08-10 Thread thron7
Hi Nick, thanks, great. Andreas is working on applying your patch, and will surely give some feedback in a separate post. T. Nick Glencross wrote: > Hello, > > I'd like to submit the following patch for your consideration which > fixes a significant number of typos in the qooxdoo code. All the

Re: [qooxdoo-devel] Hello World (newbie)

2009-08-10 Thread Elsner, Robert
I've also had good luck using the source versions with Google's Chrome browser, but my requests are backed by yaws so YMMV. Rob -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simpl

Re: [qooxdoo-devel] Problem in generation of RPC(Java)

2009-08-10 Thread thron7
> I am newbie to qooxdoo. I had downloaded qooxdoo 0.8.2 and tried to > generate a web application. For that I tried to generate RPC as instructed > in the following link http://qooxdoo.org/documentation/0.8/rpc_java. But I > cant find the front end and backend folder as specified in the

Re: [qooxdoo-devel] A Tool Tip for TreeVirtual

2009-08-10 Thread Derrell Lipman
On Mon, Aug 10, 2009 at 08:48, thron7 wrote: > > > > > The only provision that TreeVirtual has, out of the box, for tooltips > > is for images (icons). It's possible to specify a tooltip that will > > display when hovering over various icons, > > Yes, but how would you activate that? > qx.ui.tree

Re: [qooxdoo-devel] Simon's WindowManager?

2009-08-10 Thread thron7
Hi Rob, I have forwarded your mail to Simon and asked him to respond to you directly. Please get back to the list if he doesn'g get back to you in due time. T. Elsner, Robert wrote: > > Have there been any updates to his window manager for the 0.7 series > qooxdoo? > > What I'd like to do is

Re: [qooxdoo-devel] image maps in custom widgets

2009-08-10 Thread Derrell Lipman
On Sun, Aug 9, 2009 at 16:02, Emile Bassil wrote: > Hi All, > > I am developing an application that generates an image on a server and > stores it in a Java Servlet session. > The client side widget receives an img tag with the src pointing back to a > servlet that serves the session stored imag

Re: [qooxdoo-devel] image maps in custom widgets

2009-08-10 Thread thron7
> I want to be able to send the clicks on those regions back to the > qooxdoo widget object. Emile, here is a general outline how I would address it: * I assume you have the image from the servlet inside a qooxdoo image widget (qx.ui.basic.Image). * Register a click event listener

Re: [qooxdoo-devel] A Tool Tip for TreeVirtual

2009-08-10 Thread thron7
> > The only provision that TreeVirtual has, out of the box, for tooltips > is for images (icons). It's possible to specify a tooltip that will > display when hovering over various icons, Yes, but how would you activate that? qx.ui.treevirtual.SimpleTreeDataCellRenderer._addImage() is *using*

Re: [qooxdoo-devel] Appearance question

2009-08-10 Thread thron7
Jim, I guess you found the theme files in the standard skeleton applications (the ones you create with create-application.py), and took your theme inspiration from there. Did you also add the theme class to the "include" key of your config.json?, and re-ran 'generate.py source'?! T. Jim Hunte

Re: [qooxdoo-devel] Hello World (newbie)

2009-08-10 Thread reimer
On Mon, 10 Aug 2009 13:53 +0200, "thron7" wrote: > A 'source' version of a demo app as around 180 class files to load, the > 'source-all' version around 560. This, together with the fact that most > of these files have to be loaded sequentially from a web server (limit > of socket connections),

Re: [qooxdoo-devel] Hello World (newbie)

2009-08-10 Thread thron7
> Thanks Fritz and Skar, using source (instead of source-all) brings it > for me down to around 15 seconds. > > However, I realized my webserver (Lighttpd) is causing another serious > delay. When I use file:// instead of http:// it takes less than 2 > seconds to load. Quite an improvement from 50

Re: [qooxdoo-devel] Rendering separators behind child widgets

2009-08-10 Thread Matthew Gregory
ARGH! Nevermind. I tried setting the zIndex on the child widgets in Firebug and it didn't work. Just tried again and it is working now, made the change in my code and all is OK :) Oops, Matt Matthew Gregory wrote: > Hi All, > > I have a custom layout class that is attached to a widget. It rend

[qooxdoo-devel] Rendering separators behind child widgets

2009-08-10 Thread Matthew Gregory
Hi All, I have a custom layout class that is attached to a widget. It renders in a grid like fasion. It is similar to a calander. I render the grid lines using this._renderSeparator and then position the child widgets as needs be. The problem is that sometimes the child widgets need to overlap

Re: [qooxdoo-devel] Question about translation

2009-08-10 Thread A.Yerenkow
On 10.08.2009 11:15, thron7 wrote: > > A.Yerenkow wrote: > >> In framework itself deep in Tables there are such file: >> qooxdoo-0.8.2-sdk\framework\source\class\qx\ui\table\columnmodel\Resize.js >> there such message at 212 line: >> this.tr("Reset column widths") >> >> I created in my translat

Re: [qooxdoo-devel] Question about translation

2009-08-10 Thread thron7
A.Yerenkow wrote: > In framework itself deep in Tables there are such file: > qooxdoo-0.8.2-sdk\framework\source\class\qx\ui\table\columnmodel\Resize.js > there such message at 212 line: > this.tr("Reset column widths") > > I created in my translation .po files such records: > > #: Tables; > msgi