Re: [qooxdoo-devel] Url parameters

2006-04-04 Thread Sebastian Werner
I've added it to our contributed folder. I like to invite everybody to take a look at it convert it in a more general usable set of functions. Please also convert it to use a namespace like QxUrl for example. Thanks. Sebastian Lorenzo Vegetti schrieb: Is there a class to extract informati

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread Christian Boulanger
Ben Alex schrieb: I think it would be valuable if there was a high-level architectural diagram showing the layering you had in mind for this project, such as where XML is generated, parsed, data exchanged, JavaScript written, and language-specific callbacks used. This would allow further discu

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread Christian Boulanger
And I forgot to add: and as Christoph wrote, it is important to write the backend part with hooks and plug-ins, so that everybody can reuse their previous components. Maybe we can even agree on common interfaces in php and java. In seperate config files, users could then specify callbacks to le

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread Ulrich Schreiner
I would propose that a server should do the following: - accept GET and POST requests, - authenticate the user (with a standard user/password parameter), - do basic security stuff (for example, prevent code injection in parameters), - convert JSON data in the parameters into native data struct

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread Christian Boulanger
Ulrich Schreiner schrieb: pythonbackend: turbogears 0.9 :-) do you really plan to develop a backend with these features? this is a whole applicationserver. i don't know the PHP world, but with java and python you have lots of them. Yes, but the time to learn java and python, and these programm

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread Ben Alex
Hi everyone - authenticate the user (with a standard user/password parameter), - do basic security stuff (for example, prevent code injection in parameters), I would definitely advocate the use of BASIC authentication as the standard authentication approach. That way we don't need to do anythi

[qooxdoo-devel] QxMenu render

2006-04-04 Thread Kent Olsson
when the following is done: var helpM = new QxMenu(); var helpMBB = new QxMenuBarButton("Help", helpM); doc.add(helpM); this.add(helpMBB); we have an empty pulldown menu. Even though this is the case, the menu comes down as a small square to the left. This I think is a strange behaviou

[qooxdoo-devel] QxMenuButton behaviour

2006-04-04 Thread Kent Olsson
if I instead would like to have an event listener on the menu button but no menu defined: var helpMBB = new QxMenuBarButton("Help"); helpMBB.addEventListener("execute", function() { // do something here }); this.add(helpMBB); when I press on the menu button it never gets pressed down

[qooxdoo-devel] Re: Quick question about QxXmlHttpLoader...

2006-04-04 Thread Jeronimo Milea
Hello Sebastian, Jeronimo Milea schrieb: What happened to it, it seems that i'm unable to find it un currens source :S It has gone?, needs reimplementetion? Please take a look at these Transport_* examples. They use the new QxRequest stuff which is the new replacement for the old QxXmlHttpLoa

Re: [qooxdoo-devel] QxMenu render

2006-04-04 Thread Sebastian Werner
Kent Olsson schrieb: when the following is done: var helpM = new QxMenu(); var helpMBB = new QxMenuBarButton("Help", helpM); doc.add(helpM); this.add(helpMBB); we have an empty pulldown menu. Even though this is the case, the menu comes down as a small square to the left. This I thin

Re: [qooxdoo-devel] QxMenuButton behaviour

2006-04-04 Thread Sebastian Werner
Kent Olsson schrieb: if I instead would like to have an event listener on the menu button but no menu defined: var helpMBB = new QxMenuBarButton("Help"); helpMBB.addEventListener("execute", function() { // do something here }); this.add(helpMBB); when I press on the menu button it

Re: [qooxdoo-devel] Re: Quick question about QxXmlHttpLoader...

2006-04-04 Thread Sebastian Werner
Jeronimo Milea schrieb: Hello Sebastian, Jeronimo Milea schrieb: What happened to it, it seems that i'm unable to find it un currens source :S It has gone?, needs reimplementetion? Please take a look at these Transport_* examples. They use the new QxRequest stuff which is the new replacement

[qooxdoo-devel] setAppearance fixed

2006-04-04 Thread Sebastian Werner
Hi All! I've just committed to SVN a change which should fix the usage of setAppearance on not already created objects. Sebastian --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into

[qooxdoo-devel] [PATCH] Get rid of CSS errors in JavaScript console

2006-04-04 Thread Andreas Junghans
Hi there, when you browse the qooxdoo demos or use qooxdoo in your own applications, the JavaScript console in Mozilla/Firefox get's filled up with messages like this: Error: Unknown property 'box-sizing'. Declaration dropped. Source File: http://qooxdoo.oss.schlund.de/misc/base.css Line:

Re: [qooxdoo-devel] [PATCH] Get rid of CSS errors in JavaScript console

2006-04-04 Thread Claus Augusti
Hi, of course it's nice to fix the CSS bugs but people who simply find it weird and annoying that CSS warnings or errors appear in the JavaScript console should install a Firefox extension which can filter what's shown in the console. AFAIK there are two extensions out there who can accomplis

Re: [qooxdoo-devel] setAppearance fixed

2006-04-04 Thread Jim Hunter
Would this cover things like the QxTree not displaying properly if it's initial visibility is set to false? If not, I will submit a bug on it.   Jim  On 4/4/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Hi All!I've just committed to SVN a change which should fix the usage ofsetAppearance on not a

Re: [qooxdoo-devel] setAppearance fixed

2006-04-04 Thread Jim Hunter
Would this cover things like the QxTree not displaying properly if it's initial visibility is set to false? If not, I will submit a bug on it.   Jim    On 4/4/06, Sebastian Werner <[EMAIL PROTECTED] > wrote: Hi All!I've just committed to SVN a change which should fix the usage ofsetAppearanc

Re: [qooxdoo-devel] QxTransport and url-encoding

2006-04-04 Thread BJörn Lindqvist
> var req = new QxRequest("http://localhost:8080/query";, "GET", "text/json"); > > req.setAsynchronous(true); > req.setParameter("params", '{"p1": "val1", "p2": "val2"}'); > req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); > req.send(); > > > this will always break my webr

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread ChristophDorn
I think we need to split this into two projects as I mentioned in one of my other messages. Writing an application server (which this will be) is a tall order. Not in the sense that the coding is necessarily hard to do, but gaining community support and interest in it and growing its featureset

[qooxdoo-devel] Re: Change of UI to work with localisation

2006-04-04 Thread Kent Olsson
What you proposed, was exactly what I proposed. No new properties. Use the same property, but have the opportunity of more than one type of each property. In our case we talk about string and object. Then change the handling in those classes. This conversion work has already started in-house. It af

Re: [qooxdoo-devel] setAppearance fixed

2006-04-04 Thread Jim Hunter
Would this cover things like the QxTree not displaying properly if it's initial visibility is set to false? If not, I will submit a bug on it.   Jim  On 4/4/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Hi All!I've just committed to SVN a change which should fix the usage ofsetAppearance on not

Re: [qooxdoo-devel] Re: Change of UI to work with localisation

2006-04-04 Thread Sebastian Werner
Kent Olsson schrieb: What you proposed, was exactly what I proposed. No new properties. Use the same property, but have the opportunity of more than one type of each property. In our case we talk about string and object. Then change the handling in those classes. This conversion work has already

Re: [qooxdoo-devel] [PATCH] Get rid of CSS errors in JavaScript console

2006-04-04 Thread Sebastian Werner
Andreas Junghans schrieb: Hi there, when you browse the qooxdoo demos or use qooxdoo in your own applications, the JavaScript console in Mozilla/Firefox get's filled up with messages like this: Error: Unknown property 'box-sizing'. Declaration dropped. Source File: http://qooxdoo.oss.schlun

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread Christian Boulanger
Hi Christoph, ChristophDorn schrieb: I think we need to split this into two projects as I mentioned in one of my other messages Writing an application server (which this will be) is a tall order. Not in the sense that the coding is necessarily hard to do, but gaining community support and intere

[qooxdoo-devel] Odd behaviour...

2006-04-04 Thread Kent Olsson
It is not always getHeight getWidth return the absolute value. Instead, very often QxConst.CORE_AUTO is returned. Why doesn't these functions calculate the absolute value and then return it instead? It is difficult to do maths on constants not resolving in the expression or every time call a sepa

Re: [qooxdoo-devel] setAppearance fixed

2006-04-04 Thread Sebastian Werner
Jim Hunter schrieb: Would this cover things like the QxTree not displaying properly if it's initial visibility is set to false? If not, I will submit a bug on it. I don't know if this is related to this error. Please send some details. Sebastian Jim On 4/4/06, *Sebastian Werner* <[EMAIL

[qooxdoo-devel] Re: QxMenu render

2006-04-04 Thread Kent Olsson
Here is a patch: solving the problem! Kent On Tue, 2006-04-04 at 15:07 +0200, Kent Olsson wrote: > when the following is done: > > var helpM = new QxMenu(); > > var helpMBB = new QxMenuBarButton("Help", helpM); > > doc.add(helpM); > > this.add(helpMBB); > > we have an empty pulldown

Re: [qooxdoo-devel] setAppearance fixed

2006-04-04 Thread Jim Hunter
Here is a simple page that shows the problem. If you create a QxTree and set the initial visibility to false, it still shows the border in IE. And even if you then set the visibility to true, only the border will show, not the actual tree. It works as suspected in FireFox but not in IE. If you plac

[qooxdoo-devel] Using constants

2006-04-04 Thread Christian Boulanger
Hi, can somebody explain to me what the advantage is to use all these verbose constants? I am not a trained programmer, so I might have missed something ;-) I mean, why is foo.setWidth(QxConst.CORE_HUNDREDPERCENT) better than foo.setWidth("100%")? I am not being sarcastic, I assume that t

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread Ben Alex
Christian Boulanger wrote: Writing an application server (which this will be) is a tall order. Not in the sense that the coding is necessarily hard to do, but gaining community support and interest in it and growing its featureset in a standard and controlled manner. There are already a lot of

Re: [qooxdoo-devel] Using constants

2006-04-04 Thread Kent Olsson
Hej! A reference -> you only need to change in one place instead of all! A reference is many times longer -> increased time to parse A reference gives more uniform code -> less typing errors A reference has the actual constant etc. in one place -> less "string" or general handling Some thinks it g

Re: [qooxdoo-devel] qooxdoo / PHP framework project

2006-04-04 Thread ChristophDorn
I really like the idea of using the XUL standard for qooxdoo application layout. It makes total sense. From what I have gathered so far it looks like a good fit. The IoC container approach from what I can gather would make most sense to bring the application to life for the action and event syst

Re: [qooxdoo-devel] Using constants

2006-04-04 Thread Sebastian Werner
The main reason for us is another one than in typical cases for other programming languages. The IE String performance issues slows down everything. Especially if you initiate a new string just for a compare or a concat for example. This is much faster if (incomingVar == QxConst.CORE_AUTO)