[qooxdoo-devel] QxToolTip property setters problem (renderer branch)

2006-01-05 Thread Quake_Wang
When running this simple code, got a "setXXX is not a function" error message: var tt1 = new QxToolTip(); tt1.setLabel("Hello World #1"); tt1.setIcon("icons/16/help.png"); I found that it's caused by no property defined in QxToolTip and its parent class, is it possible to add setters to QxToolTi

[qooxdoo-devel] Another basic question

2006-01-05 Thread J. Russell Smyth
Another basic question, that is not readily apparent from the demos.. Is it possible to use Qooxdoo to create "web page" like apps, using web page layout symantics, etc? so that as you add more the page can scroll vertically? Do the layouts respect their contents mins, then make the "page" grow,

Re: [qooxdoo-devel] bug? QxTextField's 'validator' property should be TYPEOF_FUNCTION

2006-01-05 Thread Izaak Branderhorst
Yeah on second thought (sent that email a bit too quick :P) it does seem like a bit of a quick sketch and they should probably be implemented as TYPEOF_OBJECT to allow for more complexity. For example, a validator should have pairs of regexp -> appropriate error message. I might suggest an

[qooxdoo-devel] suggestion: add method QxTextField.isComputedValid ()

2006-01-05 Thread Izaak Branderhorst
The below is exactly the same as QxTextField.isValid () except it passes the 'computedValue' rather than the 'value' to the validator. I found this method useful for validating a form on every input event, allowing an action like the submit button being enabled only when the form is valid.

[qooxdoo-devel] bug: QxTextField constructor doesn't check validity of vValue

2006-01-05 Thread Izaak Branderhorst
This results in the default value being null, when it should be '' (empty string). I noticed this because a createRegExpValidator () validator was choking on the null value. Izaak --- This SF.net email is sponsored by: Splunk Inc. Do you

[qooxdoo-devel] bug? QxTextField's 'validator' property should be TYPEOF_FUNCTION

2006-01-05 Thread Izaak Branderhorst
In QxTextField.js: // QxTextField.addProperty({ name : "validator", type : QxConst.TYPEOF_OBJECT }); // but QxTextField.createRegExpValidator () returns a function. Maybe I'm misunderstanding how these are supposed to be used. They do seem like a bit of a quick sketch, but I found them use

[qooxdoo-devel] bug: QxWindow 'centered' property doesn't work with 'auto' width/height

2006-01-05 Thread Izaak Branderhorst
say we have: // win1 = new QxWindow ('Centered window'); win1.set ( { width: 'auto', height: 'auto', centered: true } ); win1.add (new QxAtom ('blah blah')); d.add (win1); win1.open (); // The window will center itself but the dimensions will be something like 3x3, so the caption and contents

[qooxdoo-devel] Tree Table?

2006-01-05 Thread J. Russell Smyth
Is there any work being done to create a TreeTable like component for Qooxdoo? This is a primary component of our interface and if it does not exist or is not in progress already for Qooxdoo, I may have to take a stab at implementing myself. If there is no such component, would it make more sense

Re: [qooxdoo-devel] QxListView question

2006-01-05 Thread J. Russell Smyth
well, I would say a 50% performance hit is problematic as well.. and 11 sec to load 10k lines on a machine with the power you are discussing.. still pretty bad. But yes, the sort is the biggest problem.. I assume you can imagine our users dont want their app to freeze every time they change a tabl

Re: [qooxdoo-devel] QxListView question

2006-01-05 Thread J. Russell Smyth
Renderer. this would have to be our target if we were to use Qooxdoo, for performance and advanced features, and we do not have the opportunity to do a major rewrite just after adopting a new tool. On 1/5/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: > just one question. Are you trying out "rend

[qooxdoo-devel] is it posible to put a QxListview into a div?

2006-01-05 Thread idris budak
is it posible to put a QxListview into a div? I tried adding "QxListview" to QxInline , QxWindow , QxCanvasLayout with setting Overflow 'auto' but non of these processed like a scrollable div for QxListview . Or perhaps Can I add a QxListview to QxHtml? ___

Re: [qooxdoo-devel] QxListView question

2006-01-05 Thread Dietrich Streifert
I was just to curious about this. I changed the List_View_10.htm user demo of renderer so that it creates 1 lines. Here are the benchmarks: Reloading: IE6: ~11 sec.; FireFox 1.5: ~5 sec. Sorting first column: IE6: ~ 54 sec.; FireFox 1.5: ~2 sec. This is on a P4 3.6 GHz, 2 GByte RAM, retrie

Re: [qooxdoo-devel] QxListView question

2006-01-05 Thread Sebastian Werner
just one question. Are you trying out "renderer" or the current release? Sebastian J. Russell Smyth schrieb: J. Russell Smyth schrieb: I am curious about some "construction" decisions. Is there reasoning behind making QxListView from "div" components rather than "table"? My main curiosity is

Re: [qooxdoo-devel] Re: window.application.getClientWindow() is null or not an object

2006-01-05 Thread J. Russell Smyth
Same thing happens for me with this sequence IE 6 sp 2 Win XP sp2 On 1/5/06, bobmanc <[EMAIL PROTECTED]> wrote: > Sebastian Werner sebastian-werner.net> writes: > > > > > bobmanc schrieb: > > > Anyone else getting this in IE6 on the renderer demos? Strangely it > > > doesn't > > > happen every

Re: [qooxdoo-devel] QxListView question

2006-01-05 Thread J. Russell Smyth
> J. Russell Smyth schrieb: > > I am curious about some "construction" decisions. Is there reasoning > > behind making QxListView from "div" components rather than "table"? My > > main curiosity is we are evaluating QooxDoo for some major internal > > applications, and want to make sure we understa

Re: [qooxdoo-devel] window.application.getClientWindow() is null or not an object

2006-01-05 Thread Fred McDavid
I would almost guarantee there are MANY ERRORS in my code :) --Fred On Thursday 05 January 2006 04:30 am, Oliver Vogel wrote: > i found out, that i got a similar error if i had a syntax error in MY > JavaScript - Code. Then the parsing of the code stopped and not al > objects are assigned. > are

[qooxdoo-devel] Re: qxListView setSelection

2006-01-05 Thread bobmanc
Sebastian Werner sebastian-werner.net> writes: > "items" is an array which contains the hash-tables of the single data rows. I realize that but you could you please just post a short piece of code of how to create one. My js is a bit weak. Thanks. --

[qooxdoo-devel] Re: window.application.getClientWindow() is null or not an object

2006-01-05 Thread bobmanc
Sebastian Werner sebastian-werner.net> writes: > > bobmanc schrieb: > > Anyone else getting this in IE6 on the renderer demos? Strangely it doesn't > > happen every time but pretty consistantly. Here is what I know so far. Using IE6 on Windows XP. In the Advanced Internet Options I have "Disp

Re: [qooxdoo-devel] An obfuscator for qooxdoo

2006-01-05 Thread Kent Olsson
I need an obfuscator too to make my own application code more difficult to read and udnerstand and in best case encrypted. There are a few commercial applications for it, but I do not know how good they are. Maybe I should use one of them like: http://www.javascript-source.com/de/javascript-obfusc

Re: [qooxdoo-devel] An obfuscator for qooxdoo

2006-01-05 Thread Oliver Vogel
it's not a obfuscator - it's a minimizer http://www.crockford.com/_javascript_/jsmin.html Olli Kent Olsson schrieb: both... for qooxdoo to improve speed for _javascript_ to improve speed and make it difficult for others to use your own code. Kent On Thu, 2006-01-05 at 15:04 +0100, Ol

Re: [qooxdoo-devel] An obfuscator for qooxdoo

2006-01-05 Thread Kent Olsson
both... for qooxdoo to improve speed for javascript to improve speed and make it difficult for others to use your own code. Kent On Thu, 2006-01-05 at 15:04 +0100, Oliver Vogel wrote: > @kent > for qooxdoo or for JavaScript? > > Olli > > > Kent Olsson schrieb: > > >Has anyone been scheduling

Re: [qooxdoo-devel] An obfuscator for qooxdoo

2006-01-05 Thread Oliver Vogel
@kent for qooxdoo or for JavaScript? Olli Kent Olsson schrieb: Has anyone been scheduling an obfuscator for qooxdoo? Does anyone want it more than me? Kent --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files

Re: [qooxdoo-devel] QxHttpTransport code will be submitted shortly

2006-01-05 Thread Kent Olsson
When can I test the class? I am looking forward to use it. Kent On Wed, 2006-01-04 at 15:56 +0100, Kent Olsson wrote: > Joined datasets for example in a database or an XML table. > > Kent > > On Wed, 2006-01-04 at 13:30 +0100, Sebastian Werner wrote: > > Kent Olsson schrieb: > > > This is great

[qooxdoo-devel] An obfuscator for qooxdoo

2006-01-05 Thread Kent Olsson
Has anyone been scheduling an obfuscator for qooxdoo? Does anyone want it more than me? Kent --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes

[qooxdoo-devel] Separating Javascript files.

2006-01-05 Thread Jason J. Kahler
Hello; I'm new to QooxDoo and javascript in general. I think it is a great library and I will be using it to port a desktop application to the web. I want to know if there is a way I can break my QooxDoo code into seperate files and include them in the main page. I tried to put some code for a

[qooxdoo-devel] reacting at closing of window

2006-01-05 Thread Oliver Vogel
i hope, anybody can help me. my app has two windows (QxNativeWindow). w1 creates w2 and opens it modal (so the user can only interact with w2). If the user now closes w2 with the [X] in the window title (not with the OK - Button in the Window itself), i have to close w1 to. can anybody tell

Re: [SPAM] Re: [qooxdoo-devel] No QxBuilder.js in renderers branch

2006-01-05 Thread Sebastian Werner
I don't think we need to keep it compatible with the old style. Many things could be improved in many code areas here and there. I like the second format, because the xml from the first example looks like the menu one contains the second one, which is just not true. I think the assignment with ID'

Re: [qooxdoo-devel] window.application.getClientWindow() is null or not an object

2006-01-05 Thread Oliver Vogel
i found out, that i got a similar error if i had a syntax error in MY _javascript_ - Code. Then the parsing of the code stopped and not al objects are assigned. are you shure, that there is NO ERROR in your code? (in the demos, there could'nt be any of your code, but in your app, there could)

Re: [qooxdoo-devel] Re: Re: Bug in QxMenuButton icons

2006-01-05 Thread Oliver Vogel
OK - you'r right ;-) Olli Sebastian Werner schrieb: Oliver Vogel schrieb: @sebastian because user 1 should NOT see, what user 2 can do (because of it's rights). for example it is not a good idea if "vogelor" can see (because it is disabled and not hidden) that user "sebastian" can read a

RE: [SPAM] Re: [qooxdoo-devel] No QxBuilder.js in renderers branch

2006-01-05 Thread Quake_Wang
Thanks for this tip, I will investigate these code. Another question, what's your preferred qooxdooml format: 1. 2. Format 1 is compatible with current QxBuilder code Format 2 is eas

Re: [qooxdoo-devel] scrollx for QxListview

2006-01-05 Thread Sebastian Werner
idris budak schrieb: is it posible to add a scrollX to a QxListview like its default scrollY? setOverflow method doesn't work like QxListview's default scrollY. This is currently not implemented as discussed previously here. Sebastian ---

Re: [qooxdoo-devel] window.application.getClientWindow() is null or not an object

2006-01-05 Thread Sebastian Werner
bobmanc schrieb: Anyone else getting this in IE6 on the renderer demos? Strangely it doesn't happen every time but pretty consistantly. I have gotten it by just going to the development branch demos and clicking between them. I don't get it here. Is this only in IE? Have you any idea what is th

Re: [qooxdoo-devel] QxListView question

2006-01-05 Thread Sebastian Werner
J. Russell Smyth schrieb: I am curious about some "construction" decisions. Is there reasoning behind making QxListView from "div" components rather than "table"? My main curiosity is we are evaluating QooxDoo for some major internal applications, and want to make sure we understand as much as

Re: [qooxdoo-devel] qxListView setSelection

2006-01-05 Thread Sebastian Werner
bobmanc schrieb: Sorry, I am still trying to figure out the new code. To set the selection on a qxListView I see that you would do this. lv.getPane().getManager().setSelectedItems(items); My question is how do you build the items variable. "items" is an array which contains the hash-tables of

Re: [qooxdoo-devel] non-mouse-driven interface updating

2006-01-05 Thread Sebastian Werner
Fred McDavid schrieb: Is there a way to have a qooxdoo app periodically update its interface without the user having to move the mouse around? Try: QxWidget.flushGlobalQueues(); Sebastian --Fred --- This SF.net email is sponsored by

Re: [qooxdoo-devel] tools/makedocs.sh

2006-01-05 Thread Sebastian Werner
idris budak schrieb: I tried tools/makedocs.sh for Api-Reference but I got all other docs except Api-Reference. is this really for Api-Reference ? It should be both there in public/docs/script/* You can find this online, too: HEAD: http://qooxdoo.oss.schlund.de/demo/release/public/docs/s

Re: [qooxdoo-devel] Re: Re: Bug in QxMenuButton icons

2006-01-05 Thread Sebastian Werner
idris budak schrieb: idris budak schrieb: > step1- > I make a menu that each menubutton has an icon. Then I > run the browser. > > step2- > Then at runtime I add some new menubuttons which also > has icons. > > Problem: > if I expand the menu for see the icons, between > "step1" and "s

Re: [qooxdoo-devel] Re: Re: Bug in QxMenuButton icons

2006-01-05 Thread Sebastian Werner
Oliver Vogel schrieb: @sebastian because user 1 should NOT see, what user 2 can do (because of it's rights). for example it is not a good idea if "vogelor" can see (because it is disabled and not hidden) that user "sebastian" can read a news-section he can't. if "vogelor" can see this it takes

Re: [qooxdoo-devel] xinha rich text editor

2006-01-05 Thread Sebastian Werner
Fred McDavid schrieb: I would tend to agree from a purist perspective, but my first stab at it will probably amount to stripping away all ui components outside the editing area and replacing them with qx-style properties, replacing the new-browser-window pop-ups with qx-style windows, and chang