Re: [qooxdoo-devel] Problem with focus

2006-02-21 Thread Dietrich Streifert
@Johann: this is nothing I've done in qooxdoo but in other non-js frameworks: Create an invisible (small or out of view) field which you send the focus to when the blur event is fired on the barcode field. Then in this invisible field send the focus back to the barcode field by catching the f

[qooxdoo-devel] URL sheme changed

2006-02-21 Thread Sebastian Werner
Hi, I have changed the URLs of our homepage from /date/title to /section/title This is IMHO much better for all the documentation related things, but has a minor negative side-effect for blog entries, where is was nice to have the date in the URL as before. Textpattern can only handle one

Re: [qooxdoo-devel] QxDockLayout Question

2006-02-21 Thread Sebastian Werner
Michael Wilson schrieb: I have an application that I am trying to get to handle browser resize events properly, to that end I'm attempting to implement that app as a QxDockLayout. I have a classic app setup, little menu on top, tree-view on the left, tabs in the center with a table in one of

[qooxdoo-devel] QxDockLayout Question

2006-02-21 Thread Michael Wilson
I have an application that I am trying to get to handle browser resize events properly, to that end I'm attempting to implement that app as a QxDockLayout. I have a classic app setup, little menu on top, tree-view on the left, tabs in the center with a table in one of the tabs. After fiddling a

Re: [qooxdoo-devel] question on how to refer a class member inside event listener function

2006-02-21 Thread Guangwen He
Finally I got it working using get/set UserData.1. Pass 'this' to internalbtnclicked. this.internalbtnclicked.setUserData('uiobject', this);2. Get 'this' from internalbtnclicked In event handler function: var uiobject = me.getUserData('uiobject');uiobject.input6.setValue('new value');On 2/21/06, Ch

Re: [qooxdoo-devel] Images loaded from arbitrary URIs fail to get size

2006-02-21 Thread Sebastian Werner
Hugh Gibson schrieb: qooxdoo does nothing more than just get the "width" or "height" of the preloaded image to evaluate the preferred size. Can you point me at the code that does this? I did some delving into the source but didn't get too far in the time I had. gui/QxImagePreloader.js getWi

Re: [qooxdoo-devel] Images loaded from arbitrary URIs fail to get size

2006-02-21 Thread Hugh Gibson
> qooxdoo does nothing more than just get the "width" or "height" of the > preloaded image to evaluate the preferred size. Can you point me at the code that does this? I did some delving into the source but didn't get too far in the time I had. > By the way: What's about some rewrite magic to ge

Re: [qooxdoo-devel] Event handling doc

2006-02-21 Thread Sebastian Werner
Laurent Donstetter schrieb: Of course. The snippet below is from the examples on your site. It handles well wheel and arrow click events but not direct input in the box. Mhh, the example Spinner_1.html seems to work well here. Just tested using IE6(XP) and Firefox 1.5. Why do we have to wr

Re: [qooxdoo-devel] Debug console

2006-02-21 Thread Sebastian Werner
Tilman Schneider schrieb: Sorry guys for all these questions by a newbie... How do I get the debug console running inside my application, ie what must I do to see my this.debug messages printing ? You could either add a div to your page that has the id "demoDebug". Then you have to include th

Re: [qooxdoo-devel] Problem with focus

2006-02-21 Thread Sebastian Werner
Johann Reyes schrieb: Hello Everyone Question. Is there a way to maintain the focus in a textfield even after a tab?? My scenario is, a screen, 2 input boxes, 1 input box is to scan barcodes, so after scanning the barcode, the focus needs to get back to the same textfield to keep scan

Re: [qooxdoo-devel] inheritance in qooxdoo 0.5 framework

2006-02-21 Thread Sebastian Werner
derrick shaw schrieb: Is there a recommended method for inheritance using the qooxdoo framework. Under the 0.14 framework, my method (see below) of inheriting from qooxdoo classes worked fine, but it nolonger seems to work under version .5 of qooxdoo.Any recommendation? I don't think we

Re: [qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Sebastian Werner
Kent Olsson schrieb: Yes and no, Sebastian. The problem is that it is too big. What I did was breaking out this piece, because a ticker is always needed as a widget in any class library. Certainly I have a package of 25 animation classes I have developed, which could be converted. It is a lot of

Re: [qooxdoo-devel] question on how to refer a class member inside event listener function

2006-02-21 Thread Sebastian Werner
Guangwen He schrieb: Hi, I am using qooxdoo 0.5. When a function is added as an event listener, 'this' refers to the button, .etc which triggers the event within event listener function. I am using prototype to encapsulate the UI elements and event handling code into a class but could not fig

Re: [qooxdoo-devel] question on how to refer a class member inside event listener function

2006-02-21 Thread Chris Ricks
Hi, You've got a few options: 1. Have the event dispatched in the scope of the MyGroupUI object by passing it as the third parameter to addEventListener. 2. Call this.getParent() inside your event handler to get button6's parent. 3. Reengineer your app so that you have a class representing you

Re: [qooxdoo-devel] inheritance in qooxdoo 0.5 framework

2006-02-21 Thread Chris Ricks
Hi! You'll want to look at the extend method that Qooxdoo adds to the Function prototype: function FunkyNewClass() { ... } FunkyNewClass.extend(QxWindow, "FunkyNewClass"); An example can be found at http://qooxdoo.oss.schlund.de/2005/10/26/inheritance Best regards, Chris derrick shaw wr

[qooxdoo-devel] question on how to refer a class member inside event listener function

2006-02-21 Thread Guangwen He
Hi,I am using qooxdoo 0.5. When a function is added as an event listener, 'this' refers to the button, .etc which triggers the event within event listener function. I am using prototype to encapsulate the UI elements and event handling code into a class but could not figure out how to  refer a clas

[qooxdoo-devel] inheritance in qooxdoo 0.5 framework

2006-02-21 Thread derrick shaw
Is there a recommended method for inheritance using the qooxdoo framework.  Under the 0.14 framework, my method (see below) of inheriting from qooxdoo classes worked fine, but it nolonger seems to work under version .5 of qooxdoo.    Any recommendation? MytechiesFrmDataMonger.prototype = new QxWind

Re: [qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Kent Olsson
Yes and no, Sebastian. The problem is that it is too big. What I did was breaking out this piece, because a ticker is always needed as a widget in any class library. Certainly I have a package of 25 animation classes I have developed, which could be converted. It is a lot of work, so I decided not

[qooxdoo-devel] Problem with focus

2006-02-21 Thread Johann Reyes
Hello Everyone   Question. Is there a way to maintain the focus in a textfield even after a tab??   My scenario is, a screen, 2 input boxes, 1 input box is to scan barcodes, so after scanning the barcode, the focus needs to get back to the same textfield to keep scanning more barcodes,

Re: [qooxdoo-devel] Images loaded from arbitrary URIs fail to get size

2006-02-21 Thread Sebastian Werner
Hugh Gibson schrieb: We have our own server, which serves up images (pngs) from URIs such as images/han/?img=True&type=110&status=New The mime type for the response to these requests is "image/png". I have a problem with the list view in that it doesn't detect the size of these images. The H

Re: AW: [qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Sebastian Werner
Kent Olsson schrieb: Yes, but no It is not a scroll bar. It is an extended "ticker". The name QxScroller is problematic I think. Probably we should rename it to something else. I have currently no really good idea, but what's about QxScrollTicker? Isn't it better to implement some real anim

AW: AW: [qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Oliver Vogel
Oops - ok my mistake! Olli == Diplom-Informatiker Oliver Vogel Geschaeftsfuehrer Meins und Vogel GmbH E-Mail: [EMAIL PROTECTED] Esslinger Str. 45 Tel.: +49 (7153) 6136-20 Fax:+49 (7153) 6136-99 D 73207 Plochingen

Re: AW: [qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Kent Olsson
Yes, but no It is not a scroll bar. It is an extended "ticker". kent On Tue, 2006-02-21 at 16:04 +0100, Oliver Vogel wrote: > Cool! > I have not testet it, but if it is, what i think, we can use this to scroll > a QxListView horizontaly. > Right? > > Olli > > >

Re: AW: [qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Sebastian Werner
Oliver Vogel schrieb: Cool! I have not testet it, but if it is, what i think, we can use this to scroll a QxListView horizontaly. I think you have misunderstood the usage. Scrolling QxListView horizontally is a problem of the list view itself and cannot be fixed with another widget. ;) Seba

RE: [qooxdoo-devel] Debug console

2006-02-21 Thread Laurent Donstetter
Hi Tilman, Thanks a lot for the great work and precious help ! Bye, Laurent. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Tilman Schneider Envoyé : mardi 21 février 2006 17:10 À : qooxdoo-devel@lists.sourceforge.net Objet : Re: [qooxdoo-devel] Debug

AW: [qooxdoo-devel] Debug console

2006-02-21 Thread Oliver Vogel
Thanks again! Olli > > Can you please send your mail again and rename the file to > WindowLogger.j_ > > because outlook has blocked your atachement > > see attachement... > --- This SF.net email is sponsored by: Splunk Inc. Do you grep thr

Re: [qooxdoo-devel] Debug console

2006-02-21 Thread Tilman Schneider
Can you please send your mail again and rename the file to WindowLogger.j_ because outlook has blocked your atachement see attachement... window.log = {}; /** * An appender that writes all messages to a log window. * * @param name {string,"Log"} the name of the log window. * @param useTextA

Re: [qooxdoo-devel] Debug console

2006-02-21 Thread Dietrich Streifert
Hi Tilman! Great work! Thanks allot! btw.: I think one path points to your internal development class hierarchie at: onunload="com.ptvag.webcomponent.common.log.WindowAppender.getAppender The prefix "com.ptvag.webcomponent.common." should be removed. Is this OK? Maybe this should be cont

AW: [qooxdoo-devel] Debug console

2006-02-21 Thread Oliver Vogel
Hi Til! Can you please send your mail again and rename the file to WindowLogger.j_ because outlook has blocked your atachement Thank you! Olli == Diplom-Informatiker Oliver Vogel Geschaeftsfuehrer Meins und Vogel GmbH E-Mail: [EMAIL PROTECTED] Es

Re: [qooxdoo-devel] Debug console

2006-02-21 Thread Tilman Schneider
Sorry guys for all these questions by a newbie... How do I get the debug console running inside my application, ie what must I do to see my this.debug messages printing ? You could either add a div to your page that has the id "demoDebug". Then you have to include the demolayout.css, in order

[qooxdoo-devel] Re: Debug console

2006-02-21 Thread frank_lupo
Laurent Donstetter ha scritto: Sorry guys for all these questions by a newbie... How do I get the debug console running inside my application, ie what must I do to see my this.debug messages printing ? Thx, Laurent. Laurent Donstetter - SI-Factory Téléphone : 06.70.68.37.63 Email : [EMAI

AW: [qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Oliver Vogel
Cool! I have not testet it, but if it is, what i think, we can use this to scroll a QxListView horizontaly. Right? Olli == Diplom-Informatiker Oliver Vogel Geschaeftsfuehrer Meins und Vogel GmbH E-Mail: [EMAIL PROTECTED] Esslinger Str. 45 Tel

AW: [qooxdoo-devel] Debug console

2006-02-21 Thread Oliver Vogel
i have a ide for writing _javascript_ - applications (http://www.jcxsoftware.com/vs.php). so if i am debuging my app (running inside the ide), i have a debug-console (attention: the debug-console of my ide, not the debuging-console of qooxdoo). inside this console i can see the vaules of any

[qooxdoo-devel] Images loaded from arbitrary URIs fail to get size

2006-02-21 Thread Hugh Gibson
We have our own server, which serves up images (pngs) from URIs such as images/han/?img=True&type=110&status=New The mime type for the response to these requests is "image/png". I have a problem with the list view in that it doesn't detect the size of these images. The HTML created for them i

Re: [qooxdoo-devel] Debug console

2006-02-21 Thread Ricardo Borillo
Sorry, I don't understand you.I mean, that is usefull to have a funtion "inspect" (like the debug one, or info). This function can show (in the debug console) the "state" of an object (attribute = value) and will be implemented as a function of QxObject. What do you mean with "you are using program

AW: [qooxdoo-devel] Debug console

2006-02-21 Thread Oliver Vogel
sorry, but i think, this should be part of your debugging - environment you are using programming _javascript_-App's and not part of qooxdoo.   Olli   > And ... It could be possible to have an "inspect" function to show all the attributes of a qooxdoo object?Thanks ;)

[qooxdoo-devel] New QxScroller widget... --- enjoy!

2006-02-21 Thread Kent Olsson
I have chosen to release a scroller which can do the following: 1. scroll in all directions including diagonally 2. it scrolls a pane which can be built by different widgets and the whole pane will be scrolled 3. you can change the interval time 4. you can change the scroll steps it takes for ever

Re: [qooxdoo-devel] Debug console

2006-02-21 Thread Ricardo Borillo
And ... It could be possible to have an "inspect" function to show all the attributes of a qooxdoo object?Thanks ;)On 2/21/06, Oliver Vogel <[EMAIL PROTECTED]> wrote: sorry, this is not a answer, this is a feature request ;-) it should be possible to have the debug-console in a separate wind

AW: [qooxdoo-devel] Debug console

2006-02-21 Thread Oliver Vogel
sorry, this is not a answer, this is a feature request ;-) it should be possible to have the debug-console in a separate window, because my app is running several windows (each sub-module = app has it's own). so it is better if all windows can share one debug-console   what do you all think?

Re: [qooxdoo-devel] Event handling doc

2006-02-21 Thread Hugh Gibson
> > I know this would be much work but an event reference for each widget > > would be very helpful for newbies like me. > > Yes this is true. We really need one. Any help is really appreciated in > this area. qooxdoo is just another open source product with the typical > problems ;) It's diff

[qooxdoo-devel] Debug console

2006-02-21 Thread Laurent Donstetter
Sorry guys for all these questions by a newbie... How do I get the debug console running inside my application, ie what must I do to see my this.debug messages printing ?   Thx, Laurent.     Laurent Donstetter - SI-Factory Téléphone : 06.70.68.37.63 Email : [EMAIL PROTECTED]     ***

RE: [qooxdoo-devel] Event handling doc

2006-02-21 Thread Laurent Donstetter
Of course. The snippet below is from the examples on your site. It handles well wheel and arrow click events but not direct input in the box. Why do we have to write s3._manager.addEventHandler and not s3.addEventHandler ? When I write only s3.addEventHandler, arrow clicks and wheel events are no

AW: [qooxdoo-devel] New/Updated articles

2006-02-21 Thread Oliver Vogel
In my point of view, you should switch too. Because 0.5 was something different to 0.1.x and so qooxdoo changes it's api and the web changes it's url. It's better to do it right now than later, because every day (hopefully) more people set's a bookmark. Olli > > In my view you should switch. >

Re: [qooxdoo-devel] Event handling doc

2006-02-21 Thread Sebastian Werner
Laurent Donstetter schrieb: Thank you for the quick reply ! QxSpinner is cool for what I wanted to do. Now I have another problem. I looked at the demo examples on your site to see how to attach a handler to a change of value (either directly in the box or with the wheel or with the arrows) and

RE: [qooxdoo-devel] Event handling doc

2006-02-21 Thread Laurent Donstetter
Thank you for the quick reply ! QxSpinner is cool for what I wanted to do. Now I have another problem. I looked at the demo examples on your site to see how to attach a handler to a change of value (either directly in the box or with the wheel or with the arrows) and the code shows a "changeValue

Re: [qooxdoo-devel] New/Updated articles

2006-02-21 Thread Hugh Gibson
> We could theoratically > switch. Hmm. Should we do? Probably it would be the best to leave it > like it is currently and switch when we also switch the server and > homepage uris. In my view you should switch. Hopefully, as the word about 0.5 filters out, an ever increasing number of people

Re: [qooxdoo-devel] New/Updated articles

2006-02-21 Thread Sebastian Werner
Hugh Gibson schrieb: It would be great if there would be some people who can fix my spelling mistakes. Hugh? http://qooxdoo.oss.schlund.de/2006/02/21/benefits http://qooxdoo.oss.schlund.de/2005/07/10/features Done. By the way, having the *original* publication date in the URL is a big disa

Re: [qooxdoo-devel] New/Updated articles

2006-02-21 Thread Sebastian Werner
Hugh Gibson schrieb: It would be great if there would be some people who can fix my spelling mistakes. Hugh? http://qooxdoo.oss.schlund.de/2006/02/21/benefits http://qooxdoo.oss.schlund.de/2005/07/10/features Done. Thank you Hugh! Sebastian By the way, having the *original* publication

Re: [qooxdoo-devel] New/Updated articles

2006-02-21 Thread Hugh Gibson
> It would be great if there would be some people who can fix my > spelling mistakes. Hugh? > > http://qooxdoo.oss.schlund.de/2006/02/21/benefits > http://qooxdoo.oss.schlund.de/2005/07/10/features Done. By the way, having the *original* publication date in the URL is a big disadvantage. Some

Re: [qooxdoo-devel] QxSplitPane and QxSplitPaneLayout upgraded to new appearance

2006-02-21 Thread Kent Olsson
Almost all proposed changes made. I have the following problems: 1. overload layout of split pane buttons Do you have any ideas of how to solve this? I want to see both buttons. I have tried many ways. I have got it working with buttons size 5x the size I want. 2. clicking the button does not c

[qooxdoo-devel] New/Updated articles

2006-02-21 Thread Sebastian Werner
Hi! I've updated our "Features" article and added a new "Benefits" article. I need some people who can check if it's understandable. Also it would be nice to tell me, if I've missed a great feature of benefit of using qooxdoo. It would be great if there would be some people who can fix my spe

AW: [qooxdoo-devel] Redundant empty folders in clean CVS checkout?

2006-02-21 Thread Oliver Vogel
Only for your info: I have installed TortoiseCVS and TortoiseSVN and i can't figure out any problem having both at my pc (but i am not heavily using them, so there is a rest-risk ;-) Olli > Anyone know what the appropriate option is for TortoiseCVS? I > don't like > to install it as I have Tor

Re: [qooxdoo-devel] also missing css in documentation

2006-02-21 Thread Hugh Gibson
> Fixed online. Thanks, confirmed here. Hugh --- 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 searching your log files as easy as surfing the

Re: [qooxdoo-devel] Event handling doc

2006-02-21 Thread Sebastian Werner
Laurent Donstetter schrieb: Hi all, Are there any documentation or examples about event handling, list of available event for each class... ? Basically I want a QSTextField to accept only int values, ie checking that only numbers are being typed in and that there is no overflow. Is there a

[qooxdoo-devel] Event handling doc

2006-02-21 Thread Laurent Donstetter
Hi all,   Are there any documentation or examples about event handling, list of available event for each class... ?   Basically I want a QSTextField to accept only int values, ie checking that only numbers are being typed in and that there is no overflow. Is there anything built-in to handl

Re: [qooxdoo-devel] also missing css in documentation

2006-02-21 Thread Sebastian Werner
Hugh Gibson schrieb: Does anyone else get this problem, or is it only me? I ran the page through the w3c validator at http://validator.w3.org/ and it complained about tags appearing without an enclosing tag. But that didn't cure the page for IE6. This was doctype related. I've fixed this in

Re: [qooxdoo-devel] also missing css in documentation

2006-02-21 Thread Sebastian Werner
Hugh Gibson schrieb: Does anyone else get this problem, or is it only me? I ran the page through the w3c validator at http://validator.w3.org/ and it complained about tags appearing without an enclosing tag. But that didn't cure the page for IE6. This was doctype related. I've fixed this in

Re: [qooxdoo-devel] also missing css in documentation

2006-02-21 Thread Hugh Gibson
> > > > Does anyone else get this problem, or is it only me? I ran the page > > through the w3c validator at http://validator.w3.org/ and it > > complained about tags appearing without an enclosing tag. But > > > > that didn't cure the page for IE6. > > This was doctype related. I've fixed t