Re: [qooxdoo-devel] Reusing server-side code in the client-side && how to get rid of the require in nodejs? +suggestion

2012-04-10 Thread Daniel Wagner
Hi, On 04/10/2012 03:44 PM, totty wrote: > > - How should I organize my code in order to use them on both on server and > on the client? I would like to don't have to copy-paste files or code from a > folder containing only server to the client or viceversa. I don't even need > all the code from

Re: [qooxdoo-devel] Reading JSON files

2012-04-10 Thread Harlan H. Bloom
Thank You all for your help! Here is my data file: [ {"s": "A"}, {"s": "B"}, {"s": "C"}, {"s": "D"}, {"s": "E"} ] Here is my updated source code. I'm guessing I didn't do it right. qx.Class.define("openemergency.controller.ReadJson", { extend : qx.ui.tabview.Page, //include

Re: [qooxdoo-devel] Form validator bug?

2012-04-10 Thread Scott Chapman
I figured out the Playground. Here's the bug. http://bugzilla.qooxdoo.org/show_bug.cgi?id=6299 On Tue, Apr 10, 2012 at 12:44 PM, Scott Chapman wrote: > I don't know how to make a playground example.  The code in my > original post exhibits the problem. > > I'll be happy to make a playground exam

[qooxdoo-devel] How to set Scroll container width and height to 100%

2012-04-10 Thread Scott Chapman
I want to put a Scroll container in a Tab and have it take up 100% of the height and width of the Tab container regardless of the size of its contents. I can't figure out how to do this. The Scroll starts out a fixed height and width, if I specify one or not and does not take up the entire Tab co

Re: [qooxdoo-devel] Global object list

2012-04-10 Thread Jim Hunter
This looks like exactly what I need, thanks! It did show that I was leaking one object per instantiation of my custome control. I love it when I can get more detail in order to fine tune my app. Thanks again! Jim On Fri, Apr 6, 2012 at 12:20 AM, thron7 wrote: > Hava a look at qx.dev.ObjectSumm

Re: [qooxdoo-devel] Form validator bug?

2012-04-10 Thread Scott Chapman
I don't know how to make a playground example. The code in my original post exhibits the problem. I'll be happy to make a playground example if someone can give me a bit of guidance. Scott On Tue, Apr 10, 2012 at 12:32 PM, Mustafa Sak wrote: > So please provide a playground example and open a

Re: [qooxdoo-devel] Form validator bug?

2012-04-10 Thread Mustafa Sak
So please provide a playground example and open a bug for it. Regards Sak Von meinem iPhone gesendet Am 10.04.2012 um 20:37 schrieb "Scott Chapman" : > I've tried the input event, the changeValue event, and the blur event. > All behave the same. > The problem is not fixed by calling the valida

Re: [qooxdoo-devel] uploadMgr backend problem

2012-04-10 Thread slah
Hi Jhon, thank you for your help, as you suggested I need to explicitely call index.php. Now things work great. I was receiving a warning "count() expects at least 1 parameter, 0 given " in line 98, seems it was due to $_FILES.count(), I changed it to count($_FILES) and the warning has gone. Tha

Re: [qooxdoo-devel] Form validator bug?

2012-04-10 Thread Scott Chapman
I've tried the input event, the changeValue event, and the blur event. All behave the same. The problem is not fixed by calling the validate() more often. Somehow the validate is only keeping the value of the first time it was called for the messages. On Tue, Apr 10, 2012 at 9:33 AM, Mustafa Sak

Re: [qooxdoo-devel] Form validator bug?

2012-04-10 Thread Mustafa Sak
Try input event instead: http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.AbstractField~input!event -Ursprüngliche Nachricht- Von: Scott Chapman [mailto:sc...@mischko.com] Gesendet: Dienstag, 10. April 2012 18:27 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Form validator b

Re: [qooxdoo-devel] Form validator bug?

2012-04-10 Thread Scott Chapman
I'm not clear what you mean. I'm running validate every time a field loses focus so the messages should stay current all the time. ?? Scott On Tue, Apr 10, 2012 at 1:53 AM, Mustafa Sak wrote: > Hi Scott, > > this is not actually a bug. The validation manager is computing just on > calling vali

Re: [qooxdoo-devel] Remove Listener?

2012-04-10 Thread Loren Schlomer
The add/remove signatures must match exactly. So you won't be able to remove an anonymous closure, unless you have the listener id like Marco suggested. You can assign your handler function to a variable (or make it a member function,) and remove it using the same signature. this.widget['KDID']

[qooxdoo-devel] Reusing server-side code in the client-side && how to get rid of the require in nodejs? +suggestion

2012-04-10 Thread totty
Hello! I know I've already asked a question about server-side js, but now as I use the OO part of qooxdoo (what it's supposed to be used on the server) I find 2 problems: - How should I organize my code in order to use them on both on server and on the client? I would like to don't have to copy-

Re: [qooxdoo-devel] Odd error from generator (trunk)

2012-04-10 Thread thron7
On 04/10/2012 02:26 PM, John Spackman wrote: > Hi Thomas > > Done - http://bugs.qooxdoo.org/show_bug.cgi?id=6296 Yup, thanks. > It occurred to me only when writing the email that a generate -v -w would > probably be more helpful, but I'd already fixed the problem (the output > was taken from th

Re: [qooxdoo-devel] Odd error from generator (trunk)

2012-04-10 Thread John Spackman
Hi Thomas Done - http://bugs.qooxdoo.org/show_bug.cgi?id=6296 It occurred to me only when writing the email that a generate -v -w would probably be more helpful, but I'd already fixed the problem (the output was taken from the production server logs). I'm not sure from your email if there's enou

Re: [qooxdoo-devel] TabView: TabButtons position

2012-04-10 Thread Jagget
Maybe you need simply change layout of button-container? From VBox to Flow. С уважением, Jagget On 10 April 2012 16:03, Dietrich Streifert < dietrich.streif...@googlemail.com> wrote: > Hi Alexandr! > > Did you find a solution for this.? > > If yes: Are you willing to share it? > > Regards >

Re: [qooxdoo-devel] TabView: TabButtons position

2012-04-10 Thread Dietrich Streifert
Hi Alexandr! Did you find a solution for this.? If yes: Are you willing to share it? Regards Dietrich Am 08.09.2011 15:17, schrieb alexandr: > Hi, Qooxdoo Team! > > Is the ability in qoxdoo to set TabButtons in two (or more) lines? I need > something like: > > --

Re: [qooxdoo-devel] Remove Listener?

2012-04-10 Thread Marco Pompili
Hi, Try this: var changeListener = this.widgets["KDID"].addListener("changeSelection", function(e) { },this); this.widget["KDID"].removeListenerById(changeListener); Marco 2012/4/10 smisonli...@googlemail.com > Hello, > > i add some listeners like this > > this.widgets["KDID"].addListener(

[qooxdoo-devel] Remove Listener?

2012-04-10 Thread smisonli...@googlemail.com
Hello, i add some listeners like this this.widgets["KDID"].addListener("changeSelection", function(e) { },this); i try this this.widgets["KDID"].removeListener("changeSelection","",this); but nothing happens. how can i remover oder deactivate a listner fror some time? ---

Re: [qooxdoo-devel] Form validator bug?

2012-04-10 Thread Mustafa Sak
Hi Scott, this is not actually a bug. The validation manager is computing just on calling validate() function. The invalid messages will be computed at this time. You should listen to input events and run validate() function if focused field is invalid to update red markers and invalid messages

qooxdoo-devel@lists.sourceforge.net

2012-04-10 Thread Michael_
I do it this way to move N selected Items in the tree (tree ist the tree created with new qx.ui.tree.VirtualTree; tree._moveItem handles the model changes and depends on your special tree): tree.addListener("dragstart", function(e) { e.addAction("move"); e.addType("tree-item

Re: [qooxdoo-devel] execute based on selected tab

2012-04-10 Thread Mustafa Sak
Hi paragasu, like slah wrote, there are many ways. So let me put my two cents in: I would first extend qx.ui.tabview.Page and would implement a member function "save". Know you can execute explicit the function of selected page like this: tabview.getSelection()[0].save(); regards Mustafa Sak

Re: [qooxdoo-devel] Reading JSON files

2012-04-10 Thread Mustafa Sak
Hi Harlan, could you please provide us with a sample of JSON structure? Could you please test your json code directly with the marshaller[1]. May be you can get better error messages. Regards Mustafa Sak [1] http://demo.qooxdoo.org/current/apiviewer/#qx.data.marshal.Json -Ursprüngliche N

Re: [qooxdoo-devel] uploadMgr backend problem

2012-04-10 Thread John Spackman
Hi Slah On 08/04/2012 21:02, "slah" wrote: >Any help please? > Sorry for the delay in getting back to you - it's been a 4-day national holiday for us this weekend. >I've noticied that with the server provided in demo: there's two requests >methods: OPTIONS and POST and both finish with 200 sta