Re: [qooxdoo-devel] RpcNode taking shape, API Viewer for server classes

2010-08-18 Thread Fabian Jakobs
We are using NGINX as reverse proxy. NGING handles SSL encryption and
serves static files. All other requests are forwarded to node.js.

On Tue, Aug 17, 2010 at 7:22 PM, panyasan i...@bibliograph.org wrote:

 Yes, I think the building blocks for a lightweight architecture for an
 end-to-end qooxdoo application that communicates, in real time (that is,
 as fast as the transport allows) in both directions are all there, and
 simply have to be properly configured and made stable. What still misses, at
 this point, is encryption. If you skip Apache and fully rely on node.js as a
 server, you have to do all the encryption yourself. Which might be a crucial
 point.

 Cheers,
 C.
 --
 View this message in context: 
 http://qooxdoo.678.n2.nabble.com/RpcNode-taking-shape-API-Viewer-for-server-classes-tp5424073p5433126.html
 Sent from the qooxdoo mailing list archive at Nabble.com.

 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcNode taking shape, API Viewer for server classes

2010-08-17 Thread Fabian Jakobs
Hi Christian,

nice work. It is cool to see an end to end qooxdoo application. I've
been working with node.js a lot recently. To handle some of the async
issues I've written a small library called async.js
http://github.com/fjakobs/async.js. I think this can be a nice
addition to node-promise.

Best Fabian

On Sat, Aug 14, 2010 at 11:18 PM, panyasan i...@bibliograph.org wrote:

 Hi everybody,

 happy to report that the RpcNode json-rpc server based on node.js is
 starting to work more or less stable. Of course, it is far from being
 production-ready, that's why I don't make a release yet.

 But what really excites me is that I beginning to see the qooxdoo toolchain
 cross the client-server divide. I have generated an API-Viewer app that
 displays both the client and the server files:

 http://cboulanger.users.sourceforge.net/qooxdoo-contrib/RpcNode/trunk/api/#rpcnode.demo.service.RpcTest

 As you can see, the RpcNode demo is a qooxdoo application that inherits from
 the RpcConsole (which I have showcased in my previous email). The demo
 contains a service folder, in which the server-side rpc classes are
 located. In addition, the server, an interface for service classes and an
 exception class are on the server-side. They are normal qooxdoo classes with
 all the bells and whistles of the oo-system and the doc-comments for the
 API-Viewer. For example, here is the qooxdoo rpc test suite that is also
 used in the RpcPhp contribution:

 http://qooxdoo-contrib.svn.sourceforge.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/RpcNode/trunk/demo/default/source/class/rpcnode/demo/service/RpcTest.js?revision=20633view=markup

 Since nodes.js is a one-threaded, event-driven server, special care has to
 be taken to make the rpc methods non-blocking. As you can see in the second
 rpc class:

 http://qooxdoo-contrib.svn.sourceforge.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/RpcNode/trunk/demo/default/source/class/rpcnode/demo/service/NodeTest.js?revision=20633view=markup

 I am using the node-promise library which works with the concepts of
 Promises/Deferred Results which works perfectly with the async nature of
 node.js. I have already opened an enhancement request
 (http://bugzilla.qooxdoo.org/show_bug.cgi?id=3999) to port the library to
 qooxdoo.

 Maybe it would be a good idea if the API viewer could have special icons for
 server-side files or one could find a special name convention to be able to
 easily differentiate the classes on the client and the server, although
 there also might be classes (like those in qx-oo) which are used on both
 sides of the wire.

 So much for today, hope you enjoy this!

 C.

 --
 View this message in context: 
 http://qooxdoo.678.n2.nabble.com/RpcNode-taking-shape-API-Viewer-for-server-classes-tp5424073p5424073.html
 Sent from the qooxdoo mailing list archive at Nabble.com.

 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] node.js and qooxdoo

2010-07-30 Thread Fabian Jakobs
Hi Dietrich,

I've been using the mongodb and they are pretty solid. I had no luck
with any of the mysql drivers. Our current project uses redis (a
really database) and it works like a charm.

Best Fabian

On Thu, Jul 29, 2010 at 9:43 AM, Dietrich Streifert
dietrich.streif...@visionet.de wrote:

  Hi Fabian,

 sorry for nipping into this thread:

 Are you using any DB modules/drivers with nodejs?

 Are there reliable implementations? Or is there something like odbc/jdbc
 (nodejsdbc?)

 Thank you for your answer.

 Best regards..


 Am 29.07.2010 00:56, schrieb Fabian Jakobs:
 Hi Christian,

 I am still on the mailing list by i read only topics which catch my
 interest - like yours does :)

 my qxoo should still work and provides all OO features and most of
 qx.core and qx.lang. The qooxdoo version used is from January but this
 shouldn't matter much as this code usually doesn't change frequently.
 If you plan to use it let me know,  maybe I can help you getting
 started.

 We are using node.js for a project at my new company as well and it
 works fantastic. Implementing e.g. server push using long polling is
 almost trivial.

 Best Fabian

 P.S.
 please CC answers to my private mail

 On Wed, Jul 28, 2010 at 7:46 PM, panyasani...@bibliograph.org  wrote:
 Cool. I KNEW that the smart qooxdoo devs/community must have already 
 noticed.
 ;-)


 MartinWittemann wrote:
 Hello Christian,
 sure I have thought about such scenarios. I have tested node.js also and
 was impressed by its elegance. I once wrote a full JSON RPC layer for
 node.js which is on my github account [1]. But i'm sure it's not working
 anymore because ryan (node JS guru) removed the promises one day.

 Can you elaborate on what exactly they changed?

 I'll look into Fabian's code - is he still on the ML and can comment?

 Thanks,

 Christian
 --
 View this message in context: 
 http://qooxdoo.678.n2.nabble.com/node-js-and-qooxdoo-tp5345772p5346009.html
 Sent from the qooxdoo mailing list archive at Nabble.com.

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 --
 Mit freundlichen Grüßen
 Dietrich Streifert
 --
 Visionet GmbH
 Firmensitz: Am Weichselgarten 7, 91058 Erlangen
 Registergericht: Handelsregister Fürth, HRB 6573
 Geschäftsführer: Stefan Lindner




 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Table in Window of minimal size

2010-03-08 Thread Fabian Jakobs
Hi Fritz,
 I'd like to open a qx.ui.window.Window with a vbox layout and a
 qx.ui.table.Table inside, so that the table use the minimal vertical size to
 show all rows of the table (and not more). I tried all kinds of combinations
 of maxHeight, allowGrowY, allowShrinkY, allowStretchY on both the window and
 the table and flex values on window.add(), but the table (having for example
 only 4 rows) is always a lot taller than needed. See the playground example
 http://bit.ly/bZd1EF

The size hint of the table has a fixed height and does not take the line 
height and the number of rows in the model into account. To make the 
table height fit the table's contents you have to compute the best 
height manually.

The preferred height could look like this:

var preferredHeight = heightOfChrome + lineHeight * model.itemCount;


I hope this helps,
Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] cellFocusChange event?

2010-03-05 Thread Fabian Jakobs
Hi Fritz,

there is no hook for this in the table. I would extend the table class 
and override the setFocusedCell method.

Best Fabian
 Hi,

 as far as I can tell from the docu there is no changeCellFocus event for
 qx.ui.table.Table?

 I would like to have an event handler being called when using the keyboard
 up/down/left/right keys to move within the table. The focus indicator moves
 along nicely, but I don't know how I can get notification of that.

 I guess I could use the key events, but it would seem more natural to have a
 table related event instead.

 Any suggestions?

 Cheers,
 Fritz




-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] getSizeHint() vs getBounds()

2010-03-02 Thread Fabian Jakobs
Hi Dave,
 How do the values returned by getSizeHint() differ from getBounds().width and
 getBounds().height?

Size hint returns the preferred size of the widget. The size hints plus 
the layout properties of all widgets are uses to compute the actual 
sizes of each widget. getBounds returns the size computed by the layout 
engine (i.e. the size on screen).

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Bug in qx.ui.table.celleditor.AbstractField ?

2010-02-09 Thread Fabian Jakobs
thanks
 Bug 3424

 Cheers,
 Fritz

 On Mon, 8 Feb 2010, Fabian Jakobs wrote:

   
 Fritz Zaucker schrieb:
 
 Hi,

 another unexpected behaviour (to me):

 In the playground example below, if you edit one of the cells in the 1st
 column and erase the value (with backspace) and then press ENTER, the
 value is indeed removed (invisible). However, if you then edit the cell
 again, it actually contains NaN (not a number).

 I'd expect either NaN not to be hidden or, better, to actually have no value
 at all (as if it was a null value).

 I fixed the problem for myself with an extension derived from
 qx.ui.table.celleditor.TextField with the following change:


 -  if (typeof cellEditor.originalValue == number) {
 -value = parseFloat(value);
 -  }

 +  if (typeof cellEditor.originalValue == number) {
 +  if (value != null) {
 +   value = parseFloat(value);
 +  }
 +  }

 Wouldn't that make sense in AbstractField?

   
 Absolutely. Will you open a bug report for it?

 Best Fabian




 

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Resizing an inline application

2010-02-08 Thread Fabian Jakobs
Hi Michael,

the qooxdoo inline widget will adapt its size to the size of the 
container DIV. Please check your site without the qooxdoo inline widget. 
Only if the container div resizes correctly, the inline widget will 
resize correctly as well.

Best Fabian
 Hello Alex,

 sorry, no my issue is not solved by now. The initial size is correct. On 
 vertical browser window resize the inline application remains on its old size.

 Regards,
 Michael


 Am 08.02.2010 12:01, schrieb Alexander Steitz:
   
 Hi Michael,

 On Monday February 8 2010 11:31:03 Michael Schwarzl wrote:
 
 thank you for your reply! I have dynamicX and dynamicY set to true and the
   size will be set correctly when I open the page. But on resize of the
   browser window the size will not (or cannot) be recalculated. In my static
   web pages the width is fixed but the height can vary.
   
 So your issue is solved? Or do you need some more help or infos?

 cheers,
Alex

 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 



 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Table metacolumn

2010-02-08 Thread Fabian Jakobs
Hi Eric,
 I have a table with two metacolumns. For the moment, each metacolumn has a
 fixed width, so that I can use the scroll bar of each metacolumn to see all
 columns in each metacolumns, like in the following picture :

 http://n2.nabble.com/file/n4525235/image1.jpg 

 I would like to know if there is a way to put a separator (like with
 splitpane) between the two metacolumns, in order to change metacolumns width
 with the mouse, like in the following picture :

 http://n2.nabble.com/file/n4525235/image2.jpg 
   
The table does not support a splitter between meta columns. You could 
try to split the table into two separate tables and put both into a 
split pane. The problem then is to synchronize the selection handling 
and scrolling between both tables. I'm not sure if it will work  but you 
could at least try it.

I don't think we will add this feature to the official table.

Best,
Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Qooxdoo warning messages

2010-02-08 Thread Fabian Jakobs
mckwil schrieb:
 Hi,

 After creating a small portion of my webapp with qooxdoo, I noticed that
 there are alot of warnings (some of which occurs after I used decorators).

 For example, I see several of the warning message Expected color but found
 'null', Expected end of value for property but found 'null'. Error in
 parsing value for property 'border-top'.

 I'm very confused at these warnings are generated and how I can get rid of
 them.
 Here is how I defined one of my decorator:

 decor:
 {
   decorator: qx.ui.decoration.Single,
   
   style : {
   width:1,
   styleBottom:null,
   styleRight:null,
   styleLeft:null,
   styleTop: null,
   colorLeft:null,
   colorTop:null,
   colorRight:null,
   colorBottom:null,
   backgroundColor: blue
   } 
 },
   
I quick look at the code of the single decorator showed that although 
the properties are defined as nullable, the implementation isn't able to 
handle null values. I've opened a bug report for this issue 
http://bugzilla.qooxdoo.org/show_bug.cgi?id=3422.

If you only want to set the background color you don't even need a 
decorator. You can simply set the background color directly on the widget.

Another option would be to use the background decorator:

  decorator: qx.ui.decoration.Background,

  style : {
backgroundColor: blue
  }


I hope this helps,

Best,
Fabian



 It seems that if I don't use this decorator, the above warning message would
 be muted.

 Other warning message said something about Error in parsing value for
 property width. Declaration dropped.. But I checked my code carefully and
 didn't really see any widget that needed width property but wasn't provided
 with it.

 Any ideas on getting rid of these warnings?

 Thanks!
 mckwil
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Windows Popups

2010-02-08 Thread Fabian Jakobs
Dave Baggett schrieb:
 In my form compiler, I would like to be able to have special handling for
 windows and other widgets that should be added to the application root
 rather than the logical parent in the form. Right now I'm just checking the
 classname; is there a less hacky way to check for this?

 Dave

   
You could use something like this

(widget instanceof qx.ui.window.Window || widget instanceof 
qx.ui.popup.Popup)

This should catch all widgets added to the document root.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Qooxdoo 1.0.1 - possible bug in table.Table behavior

2010-01-29 Thread Fabian Jakobs
Hi Ken,
 I have been migrating from 0.8.3 to 1.0.1. Most things went OK, 
 although I had a brief run-in with some artifacts I referred to as 
 luminous squids. Amusing for a bit, but they're gone now :-)

 In 0.8.3 the following table appeared as desired, having a simple line 
 border around the table, no column labels, and no horizontal scroll 
 bar. After conversion, the table now displays a block for the column 
 label, and the horizontal scroll bar, even though none of the elements 
 is anywhere near the table width. The following code used to hack 
 around a problem with setting the HeaderCellHeight, and also gets rid 
 of the horizontal scrollbar (or used to), but appears to have broken 
 in 1.0.1.
I can confirm your issue. The code Thomas has posted works as expected 
in the 0.8.3 demo browser but shows the described artefacts in the 1.0.1 
one.

The reason your code doesn't work is that you set the height property. 
This property defines the preferred height of a widget. However the 
layout manager of the parent widget might decide to ignore the preferred 
size and stretch/shrink the widget. e.g. a widget inside a vertical box 
layout is by default stretched horizontally to the width of the parent.

Setting minHeight and maxHeight tells the layout manager to never exceed 
these values. I could fix your issue by replacing

xxx.setHeight(0);

with

xxx.setMinHeight(0);
xxx.setMaxHeight(0);

I don't know exactly, which change caused the problem but the fix is 
easy and would have been the right solution in the first place. You've 
just been lucky that it worked in 0.8.3 :-)

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] How to compare LocalizedString objects

2010-01-25 Thread Fabian Jakobs
Peter Schneider schrieb:
 Hi Derrell,


   
 [...]
 Unfortunately that won't work in the build version. Mixins can't currently
 touch private members (those with leading double underscores). It will work
 fine in the source version, but then fail with the build version.

 See the comments others have made for alternative solutions.

 Derrell
 [...]
 

 Thanks a lot for that info! Is there any documentation on this behavior?
 I can't find it. Neither for 0.8 nor for 1.0 ...
 It should be mentioned here [1]  [2].
   Is it a normal behavior of Mixins in other languages to disallow for
 private access? If that is the case and this behavior is wanted in qooxdoo, 
 the
 generator should inform about mis-use. A warning would be nice.

   Peter
   
Hi Peter,

it is the private optimizer, which will make this fail. It you turn it 
off for your build your mixin will work in the build version as well. 
Since JavaScript is dynamically typed, the generator cannot know that 
two private in different files refer to the same field - it can only 
guess. The guessing works only reasonably well within a single file. For 
this reason it is hard to print useful error messages.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] How to compare LocalizedString objects

2010-01-25 Thread Fabian Jakobs
Peter Schneider schrieb:
 Hi Fabian,

 I agree that it is not very easy to detect the access violation. It was only
 a wish that can be ignored, if too expensive to implement ;)

 But a clearer overview of what Mixins can do, what they can't and what they
 shouldn't do would be nice. When I read the documentation and API (both only
 for Version 1.0) I come to the following overview:

 * A mixin may not access private or protected members that were not defined in
   the mixin itself.
   

Access to protected members is OK but might not be good style.
 * A mixin can not overwrite methods/properties of the class that it will be
   merged into. (Except if applied to a class via qx.Class.patch())
   
Correct
 Is this correct? Please _do_ correct any false statement!

 Thanks
   Peter


 P.S.: If those statements were already valid for qooxdoo 0.7.x, or if they do
   vary, please make a note on that.
   
I'm pretty sure that this also applies to 0.7

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] How to compare LocalizedString objects

2010-01-22 Thread Fabian Jakobs
Hi Peter,

in qooxdoo 1.0 LocalizedString instances are sub classes of String. If 
you compare two of those with the == operator, the JavaScript 
interpreter will compare the object references, which are different:

this.tr(foo) == this.tr(foo) // false

if you convert one of the localized Strings to a string, you are able to 
compare them:

this.tr(foo) == this.tr(foo) +  // true
this.tr(foo) == this.tr(foo).toString() // true

Best Fabian
 Hi there,

 how do I compare two LocalizedString objects, ore even against a JavaScript
 literal String (in qooxdoo 0.8.4 or higher)?

 In qooxdoo 0.7.4 you could do this:
 code class=javascript
   var vLabel = this.tr(Alle Benutzer);

   // Evaluated into true:
   if (vLabel.getId() == Alle Benutzer) {
 //...
   }
   // Even this worked:
   if (vLabel.getId() === Alle Benutzer) {
 //...
   }
 /code

 While the LocalizedString Class in qooxdoo 0.8.4 (and 1.0 and trunk)
 do not have any id property...

 Even this evaluates to false:
 code class=javascript
   this.tr(same) == this.tr(same)
 /code

 I have to somehow compare against the private __messageId, or is there any
 static Class providing a compare(a, b) method in the framework?

 I would have written my own compare class/method, but I don't like to access
 private members :) ...

 Thanks in advance,
   Peter


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] License conflict question

2010-01-20 Thread Fabian Jakobs
Petr Kobalíček schrieb:
 I don't understand,

 for example jquery is dual licensed as MIT and GPL, is this in
 conflict (because these licenses are SO different)? If you release
 some sw under three licenses then there is no conflict, because users
 have choice.
   
Dual licensing and licens compatibility are completely different topics. 
If a software is released with a dual license the use of the software 
can choose either license.

License compatibility becomes important if you want to incorporate code 
with a different license into a project. For example if we want to 
include code with an Apache license into qooxdoo, which is LGPL/EPL, the 
apache license has to grant the user at least the same rights as LGPL 
and EPL. Otherwise qooxdoo as a whole would no longer be under the 
LGPL/EPL. What Andreas is saying is that the Apache license apparently 
has a clause, which makes it impossible to distribute it as LGPL and EPL.

One solution would be to use the Apache license as an additional third 
license to grant users more rights. The other one would be to use the 
BSD or MIT license.

 I'm only pointing out that if I have choice then I choose the sw
 library under BSD/MIT/Apache over LGPL, and I'm not alone here. You
 are showing here license conflicts, but you forgot to say that using
 LGPLv2 library in GPLv3 product is also license conflict, but I hope
 that discussion is not about this.

 Quetion was, will be in conflict to add third license (Apache) to the
 java-rpc package? I think that there is no conflict and original
 author of java-rpc permitted it.
   
No this will not be a problem as long as all authors agree to the 
license change.

 And if you have problem with Apache license then we can simply choose
 the MIT one (it's really simple, you can print in on single page)
Exactly.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] embedded PDF is always on top

2010-01-19 Thread Fabian Jakobs
Hi Tobias,

I don't know if it can be fixed. I've found this on stackoverflow but 
there is no answer yet:

http://stackoverflow.com/questions/1911329/embedded-pdf-always-appearing-over-absolutely-positioned-elements

Best Fabian


 Hi,

 I created an Iframe and loaded a PDF-File.

 When I open f.e. a modal window it’s always behind the PDF-Plugin.

 The PDF-plugin is always ontop of everything.

 Are there any workarounds for that?

 Thanks

 Tobias

 

 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 

 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RPC: We need a standard compliant way to serialize dates

2010-01-19 Thread Fabian Jakobs
Hi,

thank you for the valuable feedback. We plan to work on the RPC client 
in the new future. This is what we have in mind right now:

Our goal is to build a JSON-RPC client, which fully implements the 
JSON-RPC protocol version 1 and 2 without any proprietary protocol 
extensions. We think proprietary protocol extensions make it much harder 
to implement complaint backends and to be interoperable with existing 
JSON-RPC implementations. JSON-RPC version 2 support is interesting 
because it adds support for batching requests and named parameters.

Specific deficiencies of the current implementation are:

- it only supports JSON-RPC version 1
- it adds an proprietary service argument to each request, which is 
supposed to select the service. The standard way would be to 
differentiate services by their URL end points.
- cross domain support is proprietary. We have to investigate the right 
way to do this.
- non JSON compliant encoding of dates. We feel that de-/encoding of 
complex data types like dates is in the domain of the application 
developer and should not be part of the transfer protocol.

The consequences for the backends would be:

- The service argument should be ignored
- encode dates as valid JSON
- optional support for cross site requests

What are your ideas about this?

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] License conflict question

2010-01-19 Thread Fabian Jakobs
Jean-Baptiste BRIAUD -- Novlog schrieb:
 Hi,

 We are in the process of delivering a qooxdoo contrib so the code must 
 be dual licensed under LGPL and EPL.
 http://qooxdoo.org/license

 Is it possible to also give the code under Apache license ?
 Will it conflict ?
 How to do that ? Is it just a matter of writing it in the contrib 
 license file ?

 Are one of you aware of why or why not Apache license are not more 
 widely used in the qooxdoo community ?
In principle you can release your contrib under any license you want. 
However we prefer contribs with the same license as qooxdoo because this 
makes it easier to integrate it into qooxdoo. Other licenses, which are 
compatible with the EPL and LGPL are fine as well.

Compatible licenses include:

MIT: http://www.opensource.org/licenses/mit-license.php
BSD: http://developer.yahoo.com/yui/license.txt
Public Domain

I'm not sure about the apache license. I think there was a problem with 
with t but I'm not entirely sure. Maybe Andreas can help.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RPC: We need a standard compliant way to serialize dates

2010-01-19 Thread Fabian Jakobs
Hi,
 Specific deficiencies of the current implementation are:

 - it only supports JSON-RPC version 1
 - it adds an proprietary service argument to each request, which is 
 supposed to select the service. The standard way would be to 
 differentiate services by their URL end points.
 - cross domain support is proprietary. We have to investigate the right 
 way to do this.
 - non JSON compliant encoding of dates. We feel that de-/encoding of 
 complex data types like dates is in the domain of the application 
 developer and should not be part of the transfer protocol.

 The consequences for the backends would be:

 - The service argument should be ignored
 
 OK and replaced the argument by URL end point as it sound like JSON standard 
 RPC. Am I right ? (I never read JSON RPC spec).
   
This is my interpretation of the spec because in the spec is no such 
thing as the service argument. To me it would be natural to 
distinguish services by their URL.
 - encode dates as valid JSON
 
 OK.
   
 - optional support for cross site requests
 
 OK for optional behavior.
   
 What are your ideas about this?
 
 What about version 2 new features ?
   
Since the client will continue to support JSON-RPC v1 the backend does 
not have to implement JSON-RPC v2. Although it would be nice if the 
backends would support it.
 - What about what you called batching request ? I don't know what it is but 
 it look like part of the spec 
   
Batching means that you can send an array of requests to the server and 
receive an array of results as response. This can be uses to do multiple 
calls with only one HTTP request.
 - Named parameter will make it difficult and probably impossible for backend 
 language where method parameter are passed only by position like Java.
 We might design some annotation for that but it would break backend 
 simplicity as currently, for a Java backend, nothing special is needed.
 So, for named parameter features, I would ask for more information.
If you want to support named parameters in Java you will have to add 
annotations to the arguments since you cannot read them using 
reflection. I have actually found a way to read the names 
http://www.squarebits.com/?p=25 but this is a little esoteric and 
requires that the code is compiled in debugging mode. IMHO this is 
something the user of your backend code has to decide. If he wants named 
parameters he has to add the annotations. If the annotations are missing 
you could return an Invalid params. I'm not sure if this is according 
to the spec but it would make sense to me.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] RPC: We need a standard compliant way to serialize dates

2010-01-18 Thread Fabian Jakobs
Hi,

Yesterday I've landed a commit, which adds native JSON support to 
qooxdoo. There is a new class qx.lang.Json, which has exactly the same 
interface as the JSON object defined in the EcmaScript 5 specification 
https://developer.mozilla.org/En/Using_native_JSON. All new browsers 
like Firefox 3.5, Internet Explorer 8, Opera 10.5 or Safari 4 support it 
natively. In browsers without native JSON support a modified version of 
Douglas Crockford's json2 is used. This is great news because parsing 
and serializing JSON is a lot faster on those browsers.

BUT

we cannot deprecate the old implementation yet. The qooxdoo JSON 
implementation has historically maintained an incompatible JSON 
extension to support dates. The idea was let eval create the date 
instances:

qx.util.Json.stringify({ date: new Date(123)})   -- {date:new 
Date(Date.UTC(1970,0,1,0,0,0,0))}

While it probably was a good idea back then, it is a problem now because 
we cannot make the browser's JSON object emit or parse this:

JSON.stringify{ date: new Date(123)} -- {date:1970-01-01T00:00:00.000Z}

For the server side we have the same problem. If we support this e.g. in 
PHP we cannot use PHP's buildin JSON support, which means a severe 
performance hit.


Since the RPC code is the only code depending on this feature I would 
like to know from the RPC authors:

1. Wouldn't dates represented as ISO strings be sufficient? Do you think 
we need a special date extension?
2. If we find a standard compliant way to serialize dates, would you 
update your backend code?
3. Do you think everything is fine and we should just keep both JSON 
implementations?

I'm really interested in your feedback,

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Screenshots

2010-01-11 Thread Fabian Jakobs
Hi Piotr,

in Firefox we use XUL labels to render most of the text. If you do the 
same in a different browser (e.g. google Chrome) your screenshot 
should look OK.

Best Fabian

Piotr Karpiuk schrieb:
 Hi

 For debugging purposes I want to create something like screenshot of
 my qooxdoo 1.0 app.

 When I execute in browser (Firefox 3.5.7):

   window.document.documentElement.innerHTML

 send result (via AJAX) to WWW server as a HTML file and put in the same
 directory as index.html of my app, I can load such screenshot anytime
 later.  It looks almost perfect BUT there is no labels on buttons, tabs,
 table headers etc.

 Why? :(

 What transformations I can do on HTML file to see labels (there ARE
 there, but are not visible).

 Best regards
 Peter
   

 

 

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 

 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] remocular is almost ready for release

2009-12-15 Thread Fabian Jakobs
Awesome! I like the bubble menu.

Best Fabian
 I spent another day hacking on remocular

   
 http://tobi.oetiker.ch/test/remocular/build/#ACT=RUN;PLG=RemOcular::Plugin::MpStat;interval=1;rounds=20

 the canvas cell renderer works now even on IE (had to apply the
 excanvas magic on the new dom nodes by hand).

 If you are interesed in the code for canvas cellrenderer have a look at
 the cellrenderer and cellplotter directories in

   
 http://oss.oetiker.ch/optools/browser/remocular/client/source/class/remocular/ui/table

 The canvas cellrenderer uses a callback to define the rendering it
 should do ...

 cheers
 tobi



   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] menubar choices not hidden when pressing ESC

2009-12-11 Thread Fabian Jakobs
This has been fixed by Chris yesterday.

Best Fabian
 Hi skar,

 looks like a general problem with the keypress event for ESC in 
 WebKit. I've opened a bug report:

 http://bugzilla.qooxdoo.org/show_bug.cgi?id=3201


 Regards,
 Daniel

 skar schrieb:
   
 Hi,

 Using this playground code, when I press on the top level button, the 
 choices are show. When I press ESC, the choices are hidden in FF 3.5 and 
 Opera 10.01. In chrome 4.0.249.30, it doesn't hide when pressing ESC.

 
 var doc = this.getRoot();
 var top_menu = new qx.ui.menu.Menu;

 var top = new qx.ui.menubar.Button(Topmenu, null, top_menu);
   
 var sub1 = new qx.ui.menu.Button(Choice1);
 var sub2 = new qx.ui.menu.Button(Choice2);
   
 top_menu.add(sub1);
 top_menu.add(sub2);
 doc.add(top,{top:100,left:100});
   
 cheers,
 skar.

 


 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] incremental initialization

2009-12-09 Thread Fabian Jakobs
Burak Arslan schrieb:
 hi,

 some screens we're designing with jsqt are getting complex, taking some 
 noticable time to load. so i think it's time to implement an incremental 
 initialization scheme.

 i did look around to progressive namespace, but could not find much. did 
 i miss something, or should i go forward and move factory functions into 
 one-shot appear events?

 second question, has anyone been dealing with so many widgets in one 
 screen that they need to recycle them, keeping only data in memory?
   
Pooling an recycling widgets can result in rather big performance 
imrovements because the instantiation if new widgets is a pretty 
expensive operation.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] How to get the selection in a table before sorting the rows ?

2009-12-09 Thread Fabian Jakobs
Hi Loïc,
 Hi.

 Is there a way to get the selected rows in a table just before the rows are 
 sorted (typically by clicking on a column header) ? What I want to achieve is 
 to keep the selection of the rows after sorting the table (because currently 
 the selection is cleared), so I'd like to reselect the rows after sorting the 
 table.
 I could not find any event like beforeSort or columnHeaderClick, and if 
 possible I'd like to avoid saving the selection each time it is changed.
   
The table scroller has such a beforeSort event. If you don't have meta 
columns you can use something like this:

table.getPaneScroller(0).addListener(beforeSort, function() {
  // store selection
});


Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Get the height of a widgets shadow?

2009-12-02 Thread Fabian Jakobs
Hi Joakim,
 Hi.

 Is there a way to get the height of a widgets shadow? Thanks a lot.
   
Since five minutes there is a way :-) I have added  a getShadowElement 
method to qx.ui.core.Widget to make shadow symmetric with decorator. 
Since revision r20871 of the trunk you can get the size of a rendered 
shadow by

widget.getDecoratorElement().getStyle(width);
widget.getDecoratorElement().getStyle(height);

If you are only interested in the number of pixels, which overlap the 
widget you can use:

widget.getDecoratorElement().getInsets();


Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] change background and knob background slider?

2009-12-01 Thread Fabian Jakobs
Hi skar,

there are two ways to style a widget, which apply to the Slider as well:

1. Set the properties directly

You can style the background by setting properties on the slider. You 
can access the knob using
slider.getChildcontrol(knob). The background of a widget is usually 
defined using the decorator property.

2. Use themes

You can define the look of a slider using the appearance theme. This is 
how the slider is styled in the framework:

slider :
{
  style : function(states)
  {
var decorator;

var focused = !!states.focused;
var invalid = !!states.invalid;
var disabled = !!states.disabled;

if (focused  invalid  !disabled) {
  decorator = input-focused-invalid;
} else if (focused  !invalid  !disabled) {
  decorator = input-focused;
} else if (disabled) {
  decorator = input-disabled;
} else if (!focused  invalid  !disabled) {
  decorator = border-invalid;
} else {
  decorator = input;
}

return {
  decorator : decorator
}
  }
},

slider/knob :
{
  include : button-frame,

  style : function(states)
  {
return {
  decorator : states.disabled ? 
scrollbar-slider-horizontal-disabled :
scrollbar-slider-horizontal,
  shadow: undefined,
  height : 14,
  width : 14
};
  }
},
 Hi,

 How do I set a background image/color to the slider and also color/image 
 to the slider's knob?

 see http://vps.net/ for an example slider I like to emulate. It has the 
 custom knox, thinner slider bg and also markings for the possible step 
 values.

 For me, the step values aren't important. But I'd like to customize the 
 knob and the rest of the slider to have different bg color and also an 
 image for the knob and another image repeated inside the slider bg.

 cheers,
 skar.

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Using Qooxdoo core in a non-Web environment

2009-11-27 Thread Fabian Jakobs
John Spackman schrieb:
 Hi Fabian,

 We're using our own Java based framework which uses JS in a few specific
 places so we don't have a serious server side JS framework to speak of (so
 far).  Narwhal particularly seems a suitable place to start although it does
 mean a steeper learning curve than I expected, and there isn't any
 documentation on embedding Narwhal.

 Am I right in saying that the generator doesn't apply to Qxoo?  If it's a
 given that the server only needs to load code once and then keeps it, would
 this mean that the generator has little benefit in a server-side
 environment?
   
At the moment qxoo doesn't require a build step from the user. You can 
simply use something like:

var Class = require(qx.Class.define);

The only requirement to use it is a commonJS module loader so it will 
probably not work in your setup. I have tested it on Narwhal and 
node.js. Please keep in mind that it is still a private toy project and 
in no way official qooxdoo code :-)

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] canvas and the table widget

2009-11-27 Thread Fabian Jakobs
Tobias Oetiker schrieb:
 As explained the other day I am working on a canvas cell renderer,
 it has been working pretty well for some time now, except that the
 contents of the canvas cells misteriously dissapeared when
 scrolling through the table. I have no investigated the problem and
 found the reason (and a solution).

 The table.pane.Pane creates the content of the table pane by
 joingin html fragments representing the individual rows of the
 table and in the end inserting the result into the body of the
 table.

 The problem with the canvas element is that it can only have
 rendered content while it is a DOM node, this means that if the
 table pane recreates the table content by concatinating cached HTML
 fragments and then reinserting them into the DOM, the content of
 the rendered canvas cells will be lost.

 short of rewriting the table widget I have found a workaround for
 the problem. My cell renderer now contains a cache map storing the
 canvas elements once they are rendered. Whenever the renderer is
 triggered, it lookes up the elements in the cache and replaces the
 freshly created canvas node with the already rendered aequivalent.

 is the table widget realy faster by doing string manipulation
 instead of jugging dom nodes ?
   
Yes! Especially on older browsers the difference is huge. It is the 
difference between unusable and decent scrolling speed. We had 
implementations for both and even on newer browser the still is a 
difference.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] canvas and the table widget

2009-11-27 Thread Fabian Jakobs
Derrell Lipman schrieb:
 2009/11/27 Helder Magalhães helder.magalh...@gmail.com 
 mailto:helder.magalh...@gmail.com


 Tobias Oetiker-3 wrote:
 
  is the table widget realy faster by doing string manipulation
  instead of jugging dom nodes ?
 

 Good question. As browsers are getting faster and more efficient
 (I recall
 setting innerHTML was almost a hack which helped old browsers)


 A number of years ago, Sebastian (I think) did quite a bit of work 
 testing various approaches to fastest rendering. DOM nodes were 
 manipulated directly, innerHTML was set, and one or two other options 
 were also tested. In fact, the Table cell renderers had selectable 
 rendering and could use DOM or innerHTML or one other thing I don't 
 recall. At the time, I recall that innerHTML was a pretty clear 
 winner, and at some point, the other renderers were discarded from the 
 code. It would probably be useful to resurrect that code in Table, or 
 to find Sebastian's early testing code to ascertain whether the early 
 findings are still valid or if there's a faster renderer for 
 modern-day browsers.
These tests could easily be done with the new virtual widget stuff as 
they only concentrate on rendering and it is pretty easy to provide 
alternative pane renderers. I don't think it makes any sense to 
resurrect the DOM table code as it probably won't work.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] virtual Table / widget margin or cell padding

2009-11-26 Thread Fabian Jakobs
Hi Daniel,

The table/scroller itself doesn't have support for cell margins or 
paddings (yet?). Right now the only option I see is  to give each of the 
cell widgets an individual padding. Margin will not work because it is 
not respected by the scroller. That the scroller doesn't support margins 
is a bug to me. Can you file a bug report for this?

Best Fabian
 Good morning,

 I got another question regarding the virtual table.
 How am I able to set a cell padding for each cell of my table (or a default
 margin for each widget)? I'm using the virtual scroller with a
 qx.ui.virtual.layer.WidgetCellSpan containing mostly label, textfield and
 button widgets.

 TIA, Daniel

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Virtual Table no caching of visible CellWidgets

2009-11-26 Thread Fabian Jakobs
Marcel Ruff schrieb:
 Hi again,

 I hope it is OK to ask:
 Is there a proximate schedule when this is fixed?
 (Not to offend you, just that I know if I need to code some workaround 
 myself)
   
It won't make it into the 1.0 release. I hope I can resume work on the 
virtual widget stuff in Q1 2010. So it might take a few months until it 
is fixed.

Best Fabian



 Thanks
 Marcel
   
 Fabian Jakobs schrieb:
   
 
 Marcel Ruff schrieb:
   
 
   
 Fabian,

 thank you, it is good to know you take care of,
 this gives me safety to continue with my approach!

 I'm testing the table with 2 entries and it scales beautifully.

 But one thing i need to clarify:

 I have visible about 12 rows (of my 2) with 9 columns.
 When i scroll on step down (mouse click on bottom scrollbar triangle)
 I would expect one call per column to
   getCellWidget()
 but unfortunately there are about 100 (I didn't count them precisely),
 as if everything visible is reloaded.
 Even that I take those from a pool I still need to asign the tooltip,
 the icon and text.
 This makes scrolling not a joy.

 What triggers so many reloads?
 Shouldn't the library maintain its own cache of visible items?
   
 
   
 
 The widget layer is supposed to only request the new cells. Could you 
 open a bug for this as well?

 Best Fabian
   
 
   
 http://bugzilla.qooxdoo.org/show_bug.cgi?id=2305

 Thanks
 Marcel

 --
 Crystal Reports #45; New Free Runtime and 30 Day Trial
 Check out the new simplified licensign option that enables unlimited
 royalty#45;free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

   
 


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Virtual Table / setCellWidget

2009-11-26 Thread Fabian Jakobs
Hi Daniel,

which version of qooxdoo are you using? In 0.8.3 the getCellWidget and 
updateData are defined in the qx.ui.virtual.core.IWidgetCellProvider 
interface. You have to configure the layer with your own widget cell 
provider. The widget cell provider has to return the widget instance for 
the given row/colum. The only information you will get is the screen 
coordinate but you can give your widget cell provider access to the data 
model so it can look up the kind of data at the given cell coordinates. 
Take a look at the virtual gallery demo as example 
http://demo.qooxdoo.org/current/demobrowser/#virtual~Gallery.html

Best Fabian
 I'm using a virtual table with a WidgetCellSpan within my qooxdoo app.
 There's a method getCellWidget and a updateData in
 virtual.cell.AbstractWidget - but couldn't find any method to change the
 type of widget instead of its contents. Am I somehow able to change a
 specific cell's widget or to exchange one special widget with another one?

 Thank you all,
 Daniel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] qx.ui.table.model.Simple missing method getSortMethods()

2009-11-25 Thread Fabian Jakobs
Hi,

I see the need for a public getSortMethods(). Once the bug is there 
either Derrell or I will apply it.

Best Fabian
 On Tue, 24 Nov 2009, Derrell Lipman wrote:

   
 On Tue, Nov 24, 2009 at 09:50, Fritz Zaucker zauc...@oetiker.ch wrote:

 
 what has been set, although I've never had a need for such thing.
 
 Option (b) sounds appropriate. I agree there should be a way to retrieve
 
 I also think that (b) is more appropriate than accessing protected
 variables
 in the derived class.

   
 It's all done programatically (by the developer) in nearly every case, so
 the developer should know what has been set.
 
 Fact is, that the Smart table model contribution (which extends the
 simple table model) currently tries to access this.__sortMethods. This
 fails in the build version as the private names are optimized away.
   
 That is sufficient justification for a need to retrieve the sort methods.
 Yes, if you supply a tested patch, I will commit it. Please generate a bug
 report and then attach your patch to it, for tracking purposes.
 

 Cool, will do.

 Thanks,
 Fritz

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] canvas in a table cell

2009-11-25 Thread Fabian Jakobs
Tobias Oetiker schrieb:
 Today MartinWittemann wrote:

   
 Hi tobi,
 I don't know exactly your use case but if you can use the grid instead, do
 so.
 No matter what way you will go, i'm sure everyone is interested in the
 outcome. ;)
 

 it will be public ... soon ...

 in any event, I have been playing with a custom cellrenderer and
 found an interesting thing ...

 _getContentHtml gets called realy often, way more than the the
 number of rows in the table. I bet this is not optimal for
 performance (not only for my canvas use case ) ...

 if I resize a single column, then the method gets called once per
 row, but when I resize the whole table (causing all the columns to
 resize) then _getContentHtml for a single cell gets called once per
 column of the table ...

 cheers
 tobi
   
Hi Tobias,

can you file a bug for this? I plan to do a table bug fixing session 
before the 1.0 release and this is something I should look at.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] smoketrace 2.0

2009-11-25 Thread Fabian Jakobs
Hi Tobias,

the canvas cell renderer is really cool. Please file a bug for the 
missing event (if possible with a patch). Maybe we can even include the 
canvas renderer into the framework.

Best Fabian

BTW
The charts you are drawing right now could be easily implemented with 
normal HTML but I guess you have fancier charts in mind :-)
 have you seen how it winks out of existance as you scrol the table
 and comes back when you resize it vertically ? quite odd. I have
 verified that my canvas painting code does not get activated the
 whole time, so it must be something triggered by the scrolling
 action of the table ... maybe some css tricks ? any ideas ?

 The event you mentioned in your mail yesterday does not realy help
 since it is fired BEFORE inerHTML gets changed ... I had to
 subclass qx.ui.table.pane.Pane and do a


 _scrollContent : function(rowOffset) {
 this.base(arguments, rowOffset);
 this.fireEvent(paneUpdated);
 },

 _updateAllRows : function() {
 this.base(arguments);
 this.fireEvent(paneUpdated);
 }


 with this I can then trigger the painting ... I guess it would be
 nice to have this included in the normal pane.

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] qx.ui.table related bugs

2009-11-25 Thread Fabian Jakobs
Hi Burak,

both bugs are fixed in the 1.0-beta1.

Best Fabian
 hi,

 fyi, i just filed the following qx.ui.table related bugs

 http://bugzilla.qooxdoo.org/show_bug.cgi?id=3087
 http://bugzilla.qooxdoo.org/show_bug.cgi?id=3088

 best,
 burak

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Using Qooxdoo core in a non-Web environment

2009-11-23 Thread Fabian Jakobs
Hi John,

which server side JS implementation are you using? I have tested the 
qooxdoo code only with narwhal but in theory it should work with any 
ommonJS complient implementation.

Best Fabian

 Hi JB

 We’ve been using server-side JS for a while now, it forms the glue 
 between pages and also the server side of the apps that we build. Each 
 app is defined in XML and then compiled into Qx code for the client; 
 the properties are kept synchronised between the client and the user’s 
 session on the server, events fired on the client can be caught by the 
 server, and functions can be called on the client by the server (or 
 vice-versa). The widgets bind automatically to XML documents which are 
 persisted in the database.

 Up until now, the server side JS for the Qx apps has been strictly 
 procedural programming – i.e. functions only, and reuse is by 
 including other .js files. There has always been scope to really 
 improve server side integration by building smart objects rather than 
 being restricted to just a function call, but it’s been a low 
 priority. Now that at least one app is getting particularly complex 
 it’s more justifiable to look at it again.

 The app is for use on our customer’s extranet by external suppliers so 
 we know our users quite well and we’re confident that scalability 
 won’t be a problem – worst case is that we have to buy a couple of 
 extra Gb of RAM J

 John

 *From:* Jean-Baptiste BRIAUD -- Novlog [mailto:j-b.bri...@novlog.com]
 *Sent:* 20 November 2009 8:06 AM
 *To:* qooxdoo Development
 *Subject:* Re: [qooxdoo-devel] Using Qooxdoo core in a non-Web environment

 HI John,

 I didn't try it but I'm thinking to it since long time, at least for 
 some part of the server code.

 I would be very interested to know the context of your project.

 How did you arrive to that idea ?

 What are the big figures of your project : number of end-user, do you 
 have a database, do you have SQL ...

 How will you address the persistence of the data manipulated by the qx 
 application ?

 Concurrency on server side ?

 Scalability ?

 Regards,

 JBB.

 On Nov 19, 2009, at 17:34 , John Spackman wrote:



 Hi guys,

 We have some server side code that is written in Javascript and is 
 executed by Rhino; I am **so** pleased to have a proper object model 
 when developing client code but the more complex the server side gets 
 the more I want to develop server classes in the same way.

 Has anyone experimented with a non-GUI, server-only version of the Qx 
 framework?

 I’d be really interested to know if anyone has experimented with this 
 before, and/or what the potential issues might be in making Qx 
 server-side compatible. For example, my (completely uninformed) guess 
 is that the generator would work just fine except that the bootloader 
 it produces would need to work differently (i.e. loading of scripts 
 etc), and potentially there might need to be a way to exclude some 
 classes or packages.

 On a possibly related note, how does the qx.application.Native get used?

 Regards

 John

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day
 trial. Simplify your report design, integration and deployment - and 
 focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now. 
 http://p.sf.net/sfu/bobj-july___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net 
 mailto:qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 

 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus

Re: [qooxdoo-devel] Using Qooxdoo core in a non-Web environment

2009-11-20 Thread Fabian Jakobs
Hi John,

it's interesting you come up with this right now. This week I was toying 
around with the idea to create a qooxdoo OO module for narwhal. Narwhal 
is a server side JavaScript engine, which implements the commonJS 
standard. After some tweaking I now have a version, which supports basic 
features like qx.Class.define and qx.lang.*. You can get it from 
http://github.com/fjakobs/qxoo.

Best Fabian

 Hi guys,

 We have some server side code that is written in Javascript and is 
 executed by Rhino; I am **so** pleased to have a proper object model 
 when developing client code but the more complex the server side gets 
 the more I want to develop server classes in the same way.

 Has anyone experimented with a non-GUI, server-only version of the Qx 
 framework?

 I’d be really interested to know if anyone has experimented with this 
 before, and/or what the potential issues might be in making Qx 
 server-side compatible. For example, my (completely uninformed) guess 
 is that the generator would work just fine except that the bootloader 
 it produces would need to work differently (i.e. loading of scripts 
 etc), and potentially there might need to be a way to exclude some 
 classes or packages.

 On a possibly related note, how does the qx.application.Native get used?

 Regards

 John


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] debugging async request handlers ...

2009-11-20 Thread Fabian Jakobs
Hi Tobias,

you are right, these try/catch blocks can make it really hard to debug 
exceptions. I've extended you change a little bit. In browser, which 
support it, it will now print the stack trace of the exception as well.

this.error(
  Request  + request +  handler  + requestHandler +  threw 
an error:  + ex +
  \nStack Trace:\n +
  qx.dev.StackTrace.getStackTraceFromError(ex)
);


Best Fabian

This should print the stacktrace
 Gurus,

 I am writing an application that runs quite a substantial bit of
 code in response to data coming in from the client side ... as with
 all code there are bugs in the request handler ...

 unfortunately these bugs get caught by the RequestQueue.js which then
 prints the following line on the console.

  408366 qx.io.remote.RequestQueue[28]: Request qx.io.remote.Request[o8] 
 handler _oncompleted threw an error.

 not exactly helpful ... if there was no try/catch block when
 runnning the request handler I would get instant feedback on the
 problem in my code ...

 idealy there would not be any trying and
 catching going on while the code was runnning in debug mode.
 only the production version should do the catching ...

 since it is not clear to me how this would be implemented properly in the
 qx context, I am consoling myself with the following patch,
 so that I at least get the original error message (no line number
 and such luxury, but at least the error text ... )

 Index: 
 /usr/pack/qooxdoo-0.8svn-to/frontend/framework/source/class/qx/io/remote/RequestQueue.js
 ===
 --- 
 /usr/pack/qooxdoo-0.8svn-to/frontend/framework/source/class/qx/io/remote/RequestQueue.js
 (revision 20668)
 +++ 
 /usr/pack/qooxdoo-0.8svn-to/frontend/framework/source/class/qx/io/remote/RequestQueue.js
 (working copy)
 @@ -345,7 +345,7 @@
catch(e)
{
  this.error(Request  + request +  handler  + requestHandler +
 -threw an error.);
 +threw an error:  + e);

  // Issue an aborted event so the application gets notified.
  // If that too fails, or if there's no aborted handler, ignore it.

 cheers
 tobi


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Native Window, again

2009-11-20 Thread Fabian Jakobs
Hi Christian,

the code looks like it should work. However I wasn't able to get it to 
work, too. I've added some qx.ui.core.queue.Manager.flush(); forcing 
the ui to render and the dom elements to create but it didn't help.

BTW removing the event from the widget has no effect because they are 
only attached to the qx.hml.Element. You will have to get the DOM 
elements of the widget and move the events registered there.

e.g.
qx.ui.core.queue.Manager.flush(); // force element creation
var containerEl = button1.getContainerElement().getDomElement();

var listeners =
qx.event.Registration.getManager(containerEl).serializeListeners(containerEl);
qx.event.Registration.getManager(containerEl).removeAllListeners(containerEl);


You will have to do the same for the contentElement.

Best Fabian


 I am keeping on experimenting... Next attempt for the trunk playground:

 var win = new qx.bom.Window.open(); 
 win.document.write(htmlbody //html); 
 win.document.close(); 

 var root = new qx.ui.root.Application(win.document); 

 // Create a button 
 var button1 = new qx.ui.form.Button(First Button,
 icon/22/apps/internet-web-browser.png); 

 // Add button to document at fixed coordinates 
 root.add(button1, 
 { 
   left : 100, 
   top  : 50 
 }); 

 // Add an event listener 
 button1.addListener(execute, function(e) { 
   alert(Hello World!); 
 }); 

 // the event manager for the button is still attached
 // to the main window
 this.info( qx.event.Registration.getManager(button1) 
== qx.event.Registration.getManager(root) );
 // result: true


 // get listeners and remove them
 var listeners =
 qx.event.Registration.getManager(button1).serializeListeners(button1);
 qx.event.Registration.getManager(button1).removeAllListeners(button1);

 // import them to the manager of the new window
 // doesn't work
 qx.event.Registration.getManager(win).importListeners(button1,listeners);

 I get an error There is no event handler for the event 'undefined' on
 target 'qx.ui.form.Button'!

 Is there a way of switching the event manager for an individual widget? 

 Thanks,

 Christian




 panyasan wrote:
   
 Hi Thomas,

 it's here: 

 http://bugzilla.qooxdoo.org/show_bug.cgi?id=1157

 I am adding a link to this thread there.

 Thanks,

 Christian


 thron7-2 wrote:
 
 Just a remark: Nothing much happens in core development without a bug. 
 Did you create a bug for this issue, or is there an existing bug?!

 T.

 panyasan wrote:
   
 Hi Fabian,


 panyasan wrote:
   
 
 I've done some experimenting but have to admit that I don't know enough
 about the event dispatch process in order to create patches that would
 allow remapping the events to the new window. Would it be possible to
 explain in a few sentences or maybe even a small graph how the current
 system of abstracting the real browser events works? I guess any
 solution that does not imply rewriting the event system from scratch
 must
 be based on unregistering the attached events from one window and
 reattaching them in the context of the new window.

 
   
 I know this has low priority for the qx devs, but I'd humbly like to ask
 if
 you would see a chance of implementing native window support as I
 outlined.
 I know about

 http://qooxdoo.org/documentation/0.8/event_layer_impl

 but this document doesn't really help me solve the issue. Would there be
 a
 way withhin the current Framework to remap events to a different
 document? I
 am thinking of the follwoing pseudo-code

 qx.event.Manager.getAllListeners().forEach( function( el, type,
 listener,
 useCapture ) {
   if ( x.y.getWindow(el) === nativeWindow ){
 // removing and re-adding should fix the listeners that have been
 attached to the
// main window before the widget elements were added to the DOM of
 the
 new native
// window
 eventManager.removeListener( el, type, listener, useCapture )
 eventManager.addListener( el, type, listener, useCapture );
 },this);

 Do you think somthing like this might work?

 Cheers,

 Christian 

   
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day 
 trial. Simplify your report design, integration and deployment - and
 focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   
 

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen

Re: [qooxdoo-devel] Native Window, again

2009-11-20 Thread Fabian Jakobs
Hi Christian,

I had yes something like this in mind. From my understanding it should 
work but either we miss something or there is a bug in the event layer.

Best Fabian
 Something like this?

 var win = new qx.bom.Window.open(); 
 win.document.write(htmlbody //html); 
 win.document.close(); 

 var root = new qx.ui.root.Application(win.document); 

 // Create a button 
 var button1 = new qx.ui.form.Button(First Button,
 icon/22/apps/internet-web-browser.png); 

 // Add button to document at fixed coordinates 
 root.add(button1, 
 { 
   left : 100, 
   top  : 50 
 }); 

 // Add an event listener 
 button1.addListener(execute, function(e) { 
   alert(Hello World!); 
 }); 

 qx.ui.core.queue.Manager.flush(); 

 [ button1.getContainerElement(), button1.getContentElement()
 ].forEach(function(el){
   var domEl = el.getDomElement(); 
   var listeners =
 qx.event.Registration.getManager(domEl).serializeListeners(domEl); 
   qx.event.Registration.getManager(domEl).removeAllListeners(domEl); 
   qx.event.Registration.getManager(win).importListeners(domEl,listeners);
 },this);
 qx.ui.core.queue.Manager.flush();

 It's not working, though ;-(
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] announcing JsQt-0.4.3 --- there's also a question about a layouting issue here!

2009-11-19 Thread Fabian Jakobs
Hi Burak,

I was making my live a little bit too easy. After talking with my 
colleagues we came to the conclusion that the current implementation 
behaves wrong in such edge cases. I'v fixed it in trunk revision 20694. 
The workaround I've outlined in the last mail is no longer required. 
Please give it a try.

Best Fabian
 Hi Burak,

 I've investigated the issue and the problem is that the minWidth and 
 allowGrowX properties result in a conflicting size hint. First 
 allowGrowX: false will set the maxWidth to the preferred width to 
 prevent any horizontal stretching. In your case its about 120px. Then 
 you set minWidth to 200. Now minWidth is larger than maxWith and 
 there is no clear resolution.

 To solve this problem for you, should set the width/height to the same 
 value as the minWidth/minHeight.
   
 Hi Burak,

 I could easily reproduce this issue in our playground. To me it looks 
 like a bug in the size calculation of the grid. I've opened a bug report 
 for this http://bugzilla.qooxdoo.org/show_bug.cgi?id=3075.

 Best Fabian

   
 
 hello everyone,

 i got the impression that my question about the layouting issue below 
 got eclipsed by the announcement. I think I should have made it a bit 
 more obvious. i'm sorry for the double-post if that was not the case.

 by the way, thank you antoni, i'm glad you find it useful.

 best regards,
 burak

 Burak Arslan wrote:
   
 
   
 hi,

 having just finished some preliminary toolbar (no multiple parts) and 
 menubar (mostly working) support, i decided to make another jsqt 
 release. i've registered it with the pypi, so you can just type 
 easy_install jsqt to install it, or easy_install -U jsqt if you 
 already have done so.

 while working on this version, i've stumbled upon an artifact -- please 
 have a look at Grid Fixed Filled and Grid Fixed Empty tabs in the jsqt 
 test screen (url below). In the 
 Empty tab, you can see other groupboxes not obeying the top-left 
 groupbox's minWidth (== 100) property.

 you can find both the build and the source versions, as well as the .ui 
 files at: http://jsqt.googlecode.com/svn/trunk/test

 what do you think?

 best regards,
 burak





 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day 
 trial. Simplify your report design, integration and deployment - and focus 
 on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   
 
   
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus 
 on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   
 
   
   
 


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] announcing JsQt-0.4.3 --- there's also a question about a layouting issue here!

2009-11-18 Thread Fabian Jakobs
Hi Burak,

I could easily reproduce this issue in our playground. To me it looks 
like a bug in the size calculation of the grid. I've opened a bug report 
for this http://bugzilla.qooxdoo.org/show_bug.cgi?id=3075.

Best Fabian

 hello everyone,

 i got the impression that my question about the layouting issue below 
 got eclipsed by the announcement. I think I should have made it a bit 
 more obvious. i'm sorry for the double-post if that was not the case.

 by the way, thank you antoni, i'm glad you find it useful.

 best regards,
 burak

 Burak Arslan wrote:
   
 hi,

 having just finished some preliminary toolbar (no multiple parts) and 
 menubar (mostly working) support, i decided to make another jsqt 
 release. i've registered it with the pypi, so you can just type 
 easy_install jsqt to install it, or easy_install -U jsqt if you 
 already have done so.

 while working on this version, i've stumbled upon an artifact -- please 
 have a look at Grid Fixed Filled and Grid Fixed Empty tabs in the jsqt 
 test screen (url below). In the 
 Empty tab, you can see other groupboxes not obeying the top-left 
 groupbox's minWidth (== 100) property.

 you can find both the build and the source versions, as well as the .ui 
 files at: http://jsqt.googlecode.com/svn/trunk/test

 what do you think?

 best regards,
 burak





 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus 
 on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   
 


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] announcing JsQt-0.4.3 --- there's also a question about a layouting issue here!

2009-11-18 Thread Fabian Jakobs
Hi Burak,

I've investigated the issue and the problem is that the minWidth and 
allowGrowX properties result in a conflicting size hint. First 
allowGrowX: false will set the maxWidth to the preferred width to 
prevent any horizontal stretching. In your case its about 120px. Then 
you set minWidth to 200. Now minWidth is larger than maxWith and 
there is no clear resolution.

To solve this problem for you, should set the width/height to the same 
value as the minWidth/minHeight.
 Hi Burak,

 I could easily reproduce this issue in our playground. To me it looks 
 like a bug in the size calculation of the grid. I've opened a bug report 
 for this http://bugzilla.qooxdoo.org/show_bug.cgi?id=3075.

 Best Fabian

   
 hello everyone,

 i got the impression that my question about the layouting issue below 
 got eclipsed by the announcement. I think I should have made it a bit 
 more obvious. i'm sorry for the double-post if that was not the case.

 by the way, thank you antoni, i'm glad you find it useful.

 best regards,
 burak

 Burak Arslan wrote:
   
 
 hi,

 having just finished some preliminary toolbar (no multiple parts) and 
 menubar (mostly working) support, i decided to make another jsqt 
 release. i've registered it with the pypi, so you can just type 
 easy_install jsqt to install it, or easy_install -U jsqt if you 
 already have done so.

 while working on this version, i've stumbled upon an artifact -- please 
 have a look at Grid Fixed Filled and Grid Fixed Empty tabs in the jsqt 
 test screen (url below). In the 
 Empty tab, you can see other groupboxes not obeying the top-left 
 groupbox's minWidth (== 100) property.

 you can find both the build and the source versions, as well as the .ui 
 files at: http://jsqt.googlecode.com/svn/trunk/test

 what do you think?

 best regards,
 burak





 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus 
 on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   
 
   
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus 
 on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   
 


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Qooxdoo eclipse namespace

2009-11-12 Thread Fabian Jakobs
Hi,

qxdt is still incomplete and not yet production ready. Some of my 
colleagues have had good success with Spket IDE http://www.spket.com/. 
I personally use the standard JavaScript plugin and live without code 
completion.

Best Fabian 
 I have a problem with qooxdoo or eclipse.
 I want to use eclipse as IDE for qooxdoo development.
 I use QXDT and added the qooxdoo library to my eclipse project.
 but if I type qx.ui. and press ctrl+space I get the message no
 default/template proposals - no completions available.

 Could you tell me please how I can use the autocompletion?

 Thanks
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Image clipping error

2009-11-12 Thread Fabian Jakobs
Hi mckwil,

I'm sorry but I cannot open the image.json. Could you just append it to 
the mail?

Best Fabian
 Hi,

 I was trying to apply image clipping (by using an image.json file) to get
 the images files needed for the grid decorator. However, no matter how I run
 the generate command, I always seem to get the following error:

   
   
 EXECUTING: IMAGE-CLIPPING   
 
 Invalid Parameter - -crop
 Invalid Parameter - -crop
 Invalid Parameter - -crop
 Invalid Parameter - -crop   
  Invalid Parameter - -crop
 Invalid Parameter - -crop
 Invalid Parameter - -crop
 Invalid Parameter - -crop   
  Invalid Parameter - -crop
   
 Done  
 

 Here is my image.json file.
 http://old.nabble.com/file/p26287367/image.json image.json


 What did I do wrong to cause this error?

 Thanks,

 mckwil
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] right click triggering the click listener for an atom

2009-11-12 Thread Fabian Jakobs
Hi skar,


I'm sorry but the documentation for the widget is wrong. Click is fired 
for the right mouse button as well. You can detect the mouse button with 
the getButton() method on the mouse event object. I will update the 
documentation.

Best Fabian
 Hi,

 I'm using an atom with a click listener which shows the full msg in 
 a pop-up window. However, the listener is called even if I 
 right-clicked on the atom. I want the action to happen only with the 
 left click and 
 http://demo.qooxdoo.org/devel/apiviewer/#qx.ui.basic.Atom says:


   click

 Widget is clicked using the left mouse button.

 Inherited from:
 qx.ui.core.Widget#click 
 http://demo.qooxdoo.org/devel/apiviewer/#qx.ui.core.Widget#click
 So only the left click should cause the click event. But the right 
 click also causes the event. Why?

 The playground snippet is:

 APP =  this;
 APPROOT =  this.getRoot();
 var atom = new qx.ui.basic.Atom(click me).set({
   rich: true
 });
 atom.setNativeContextMenu(true);
 atom.setSelectable(true);
 atom.addListener(click, function(e){
   alert(Atom clicked!!!);
 }, this);
 APPROOT.add(atom, {top:10, left: 10});

  

 cheers,
 skar.
 -- 
 --
 The life so short, the craft so long to learn. 
   
 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 

 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] table column minWidth maxWidth bug?

2009-11-12 Thread Fabian Jakobs
Hi sikd,

you are right, the demo does not work as one would intuitively expect. 
The min and max sizes are only respected if the resize calculation is 
done - e.g. when you resize the window. They are not respected when you 
resize the column manually. So it works as designed but I still would 
regard this as a (design) bug. Could you please open a bur report for 
this issue so we can trach it?

Best Fabian
 As in my on Application I found a problem on the demopages too:
 http://demo.qooxdoo.org/devel/demobrowser/#table~Table_Resize_Columns.html

 code
   resizeBehavior.setWidth(1, 50%);
   resizeBehavior.setMinWidth(1, 100);
   resizeBehavior.setMaxWidth(1, 320);
 /code

 In spite of that in the demo code are set the min and maxWidth for the
 column1, in the demo it just doesn't work properly. One could change the
 size of column1 without limitations.
 Please try it, and kidly translate it for me.

 thanks
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] right click triggering the click listener for an atom

2009-11-12 Thread Fabian Jakobs
Hi,

this is strange. Can you open bugs for all of your issues? This looks 
like a bug to me.

Best Fabian
 Hi Fabian,
   
 Hi skar,


 I'm sorry but the documentation for the widget is wrong. Click is fired 
 for the right mouse button as well. You can detect the mouse button with 
 the getButton() method on the mouse event object. I will update the 
 documentation.
   
 
 The getButton is returning left, even when I click with the right 
 button. I'm using trunk 20606 and I tested it under both FF 3.5.5 and 
 opera 10.01 build 4682 under karmic.

 cheers,
 skar.

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] js performance question

2009-11-04 Thread Fabian Jakobs
Jean-Baptiste BRIAUD -- Novlog schrieb:
 Hi the list !

 What would you recommend me to choose between :
 1.
 anInstance.index1 = ...
 anInstance.index2 = ...

 2.
 anInstance[index1] = ...
 anInstance[index2] = ...

 On both I can iterates on indexes, I can have direct access to any  
 value given a key.
 There is no conceptual things here, just various object to store at  
 some keys.
 It doesn't matter that 1. is class's attributes and 2. array's value.

 So I guess the last thing to decide is performance : witch one is  
 better ?

 Thanks !

   
The first one is faster because the JS engine does not have to create a 
string instance and does not have to do a string compare.

Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Getting an iterated local variable into a closure

2009-10-26 Thread Fabian Jakobs
panyasan schrieb:
 Hello,

 this is a JavaScript question, but one that I bump into once in a while when
 developing with qooxdoo.

 Test the following code in the playground:

 var vbox = new qx.ui.container.Composite( new qx.ui.layout.VBox(5));
 this.getRoot().add(vbox);
 var data = {
   one: { label: One },
   two : { label: Two },
   three:{ label: Three },
   four:{ label: Four },
   five:{ label: Five }
 };

 for( var key in data )
 {
   var button = new qx.ui.form.Button( data[key].label );
   vbox.add(button);
   
   // this doesn't work
   button.addListener(execute,function(){
 alert(Bad: + data[key].label);
   },this);
   
   // this works but is a nasty hack
   eval('button.addListener(execute,function(){'+
 'alert(Good:+data['+ key+ '].label);'+
   '},this);');
 }
   

I usually use qx.lang.Function.bind:

for( var key in data )
{
  var button = new qx.ui.form.Button( data[key].label );
  vbox.add(button);
  
  // this doesn't work
  button.addListener(execute, qx.lang.Function.bind(function(key){
alert(Good: + data[key].label);
  }, this, key));
}


This creates a wrapped function in place and binds the first parameter 
to the current value of key.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Permission denied to...a non-chrome context

2009-10-23 Thread Fabian Jakobs
Hi Andy,

i have aplpied my patch in r20468. Could you test, whether this fixes 
your problem?
 Great... p l e a s e  upload it to the trunk asap :-)

 And a side effect of this is, that in

 qx.ui.core.EventHandler.js

 line 227 crashes, due to an uncaught nil-pointer (or whatever this is called
 in JavaScript):
  

 if (this.__focusEvents[domEvent.getType()]) {
 currentWidget = currentWidget.getFocusTarget();
 }

 if (currentWidget == null) return;   //  I added this as a quick fix

 // Ignore most events in the disabled state.
  var type = domEvent.getType();
   if (!(currentWidget.isEnabled() || this.__ignoreDisabled[type])) {
 return;
  }

   
I have applied htis fix in r20473. Thanks for the fix.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Prevent event listener execution from hiding errors

2009-10-23 Thread Fabian Jakobs
Dietrich Streifert schrieb:
 Hello everybody,

 it seems that the event queues/managers/dispatchers or where the 
 execution of the listeners happen are hiding errors in the listener 
 functions.

 Is there any way to avoid this?

 During development I usualy want to see every error occuring to be able 
 to debug.

 Any help would be great. Thank you.
   
Hi Dietrich,

some weeks ago I've made the layout flush more robust against exceptions 
in user code. The rational was that exceptions in user could should not 
be able to corrupt the layout/widget queue mechanis, which is essential 
to all qooxdoo applications. This involves a try/catch block, which has 
the potential downside if hiding the real source of an error.

To temporarily disable this comment the catch clock in 
qx.ui.core.queue.Manager line 177ff.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Grid decorator questions

2009-10-23 Thread Fabian Jakobs
Hi Jean-Noël,
 * Sometimes I have to use not the whole 8 images of the decorator. For 
 instance I don't want to use the top part. How can I tell Qx not to 
 complain at runtime about missing -tl, -t, and -tr images? Currently I 
 got these warning messages on the console and I really don't like them.
Are you aware of the HBox and VBox decoratros? They are pretty new and 
work very similar to the grid decorator but use 3 instead of 9 images. 
Maybe they fit some of your needs. 
http://news.qooxdoo.org/the-week-in-qooxdoo-2009-05-15

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] [qooxdoo-commit] SF.net SVN: qooxdoo:[20405] trunk/qooxdoo/framework/source/class/qx/ui/ window/Window.js

2009-10-23 Thread Fabian Jakobs
Derrell Lipman schrieb:
 On Fri, Oct 23, 2009 at 10:05, Fabian Jakobs fabian.jak...@1und1.de 
 mailto:fabian.jak...@1und1.de wrote:


 I don't like the @return {void} lines at all. For me it is just
 redundant information and visual clutter. However I see the point
 of being able to decide whether it is missing because the function
 doesn't return anything or whether the programmer has forgotten to
 add a @return statement. For this reason I support Helder to add
 functionality to the API doc generator to detect those situations
 and mark them in the API viewer.


 Point 1: What a function returns is highly relevant information. The 
 fact that the function returns nothing is equally relevant. Indicating 
 such is not only not redundant, but important.
It is important for something like an API viewer but if I have the 
source code at hand it is redundant because the code already tells that 
it doesn't return anything.
 Point 2: Adding an indication in the API viewer that an @return 
 statement is missing does NOTHING for those of us who don't use the 
 API viewer, but instead look at the documentation directly in the 
 source code. We should be encouraging people to look at the source 
 code, not discouraging. Reviewing the source code is the path to 
 better understanding.
Indicating it in the API viewer will help alot because this ensures that 
at least in the framework all functions returning something are 
documented. This is better than the situation right now because the 
@return statement is never verified. So everyone looking at qooxdoo code 
can be sure that a missing statement means no return value.
 Point 3: Removing the requirement that all functions have an @return 
 statement makes for an inconsistency for developers. It won't be 
 obvious even to the initial developer that he's missing some 
 documentation. Consistency is good. It leads to higher-quality code 
 and documentation.
I want only information in the API docs, which cannot be inferred 
automatically from the code. Forcing the developer to write useless 
comments will not increase the quality of the code.
 I urge you to reconsider. The extra line of documentation doesn't hurt 
 anything, and it really does help.
For me it hurts (a little). I have to write these lines, I have to 
maintain them and they are taking away a little bit of my screen real 
estate. It's nothing huge but enough for me to stop writing them. 
Actually I've stopped writing them a long time ago and nobody seemed to 
bother. However I'm glad you've raised the issue because right now we do 
handle this inconsistently.

I would like to make it a policy to not write @return {void} as soon 
as the API viewer can emit warnings for missing @return statements.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Systematic warning in the test runner

2009-10-22 Thread Fabian Jakobs
Hi Jean-Noël,
 I always got the following message:

 001213 Mixin qx.core.MAssert is already included into Class 
 qx.dev.unit.TestCase by class: qx.core.Object!

 I checked the code though and it does not seem qx.core.Object has the 
 qx.core.MAssert mixin.

 Can anyone look at this and fix this warning?
You can savely ignore the warning. In the source version the MAssert 
mixin is dynamically included into qx.core.Object. Since the TestCase 
class always includes this mixin, it is included twice to TestCase in 
the source version. We could include MAsster to TestCase dynamically 
only on the build version but hten the methods won't show up in the API 
viewer. Maybe we should just remove the warning because it is perfectly 
OK to include a mixin twice and we already do so in the framework.


Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Another dumb SelectBox question

2009-10-22 Thread Fabian Jakobs
Hi Jared,
 That was helpful! However when I look at the documentation and your 
 code, the following seems to be the case:
 So help me understand the difference between the label and the model. 
 Moreover, the model can be managed but the label can only be set when 
 the constructor is called?

 Following one of the examples, I was doing this:

 selbx.add(new qx.ui.form.ListItem(Foo));
 selbx.add(new qx.ui.form.ListItem(Bar));
 selbx.add(new qx.ui.form.ListItem(For Good));

   

In this case you can simply use:

selbx.getSelection()[0].getLabel();

http://demo.qooxdoo.org/devel/playground/#%7B%22code%22%3A%20%22%250Avar%2520selbx%2520%253D%2520new%2520qx.ui.form.SelectBox%28%29%253B%250A%250A%2520selbx.add%28new%2520qx.ui.form.ListItem%28%2522Foo%2522%29%29%253B%250A%2520selbx.add%28new%2520qx.ui.form.ListItem%28%2522Bar%2522%29%29%253B%250A%2520selbx.add%28new%2520qx.ui.form.ListItem%28%2522For%2520Good%2522%29%29%253B%250A%250Athis.getRoot%28%29.add%28selbx%29%250A%250Aalert%28selbx.getSelection%28%29%255B0%255D.getLabel%28%29%29%253B%250A%22%7D

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] context menu and classic theme

2009-10-14 Thread Fabian Jakobs
Hi Petr,

its funny. You've found this error two days after I have fixed it :-) I 
did some work on the menu during the last week, which fixed this issue 
as a side effect. It's not yet in the online demos. This should happpen 
on friday together with the weekly.

Best Fabian
 Hi,

 I observed strange context menu behavior when using Classic theme.

 Try this demo and switch to classic theme:

 http://demo.qooxdoo.org/current/demobrowser/#widget~Menu.html

 Problem is that when you release right mouse button the menu
 disappears. Context menu checks only for left-click, so the execute
 event is never called.

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] List and context menu - get list item

2009-10-14 Thread Fabian Jakobs
Hi Petr,

I see two options:

1. attach the same contextmenu to each individual list item. This way 
the opener points to the list item instead of the list.

2. Attach a contextmenu event listener to the list. The getTarget() 
method of the event willl tell you which widget was directly under the 
cursor.

Best Fabian


 Hi Stefan,

 Thanks for reply. The problem is that I want exactly the item where
 user clicked. You can see that selection is additive and I'm not
 interested about it, so I need some mechanism to get item where user
 clicked or null (of there is no item like scrollbar, etc).

 The opener() was only my trying.

 It took me about 2 hours and I have no solution. I can catch
 contextmenu event, but I don't know how to translate coordinates to
 the child widget. I looked at qooxdoo sources, but without success.

 For example I have this code:

 // I just see both, I don't know the right one, documentation
 is very brief.
 this.addListener(contextmenu, this._onContextMenu, this);
 this.addListener(beforeContextmenuOpen, this._onContextMenu, this);

 an in _onContextMenu() I want to get children based on event
 coordinates, is this possible? Or more precisely, is this right
 approach ?

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Table width issue

2009-10-14 Thread Fabian Jakobs
Hi,
 var model = new qx.ui.table.model.Simple();
 model.setColumns([ID, Type, Title]);
 var t1 = new qx.ui.table.Table(model);
 t1.getTableColumnModel().setColumnVisible(0, false);

 model = new qx.ui.table.model.Simple();
 model.setColumns([ID, Name, Type, Title]);
 var t2 = new qx.ui.table.Table(model);
 t2.getTableColumnModel().setColumnVisible(0, false);

 var tabs = new qx.ui.tabview.TabView(top);
 var p1 = new qx.ui.tabview.Page(t1);
 var p2 = new qx.ui.tabview.Page(t2);
 tasks.setLayout(new qx.ui.layout.Grid());
 settings.setLayout(new qx.ui.layout.Grid());
 tabs.add(p1);
 tabs.add(p2);
 p1.add(t1, {row: 0, column: 0, colSpan: 3});
 p1.add(btnNew1, {row: 1, column: 0});
 p1.add(btnEdit1, {row: 1, column: 1});
 p1.add(btnDelete1, {row: 1, column: 2});
 p2.add(t2, {row: 0, column: 0, colSpan: 3});
 p2.add(btnNew2, {row: 1, column: 0});
 p2.add(btnEdit2, {row: 1, column: 1});
 p2.add(btnDelete2, {row: 1, column: 2});
   
By default the grid layout doesn't grow horizontally unless at least one 
of the columns is flexible. You can do this using the setColumnFlex() 
method on the grid layout:

var layout = new qx.ui.layout.Grid();
layout.setColumnFlex(0, 1); // make the first column flexible
tasks.setLayout(layout);


This should do the trick. Which column to make flexible depends on you 
desired layout..

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] List and context menu - get list item

2009-10-14 Thread Fabian Jakobs
Petr Kobalíček schrieb:
 And here is complete example:

 http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520doc%2520%253D%2520this.getRoot%28%29%253B%250A%250Avar%2520listbox%2520%253D%2520new%2520qx.ui.form.List%28%29%253B%250A%250Alistbox.set%28%257Bwidth%253A200%252C%2520height%253A150%257D%29%253B%250Alistbox.setSelectionMode%28%2522additive%2522%29%253B%250A%250Adoc.add%28listbox%252C%2520%257Bleft%2520%253A%2520100%252C%2520top%2520%2520%253A%252050%257D%29%253B%250A%250Afor%2520%28var%2520i%2520%253D%25200%253B%2520i%2520%253C%2520100%253B%2520i%252B%252B%29%250A%257B%250A%2520%2520var%2520item%2520%253D%2520new%2520qx.ui.form.ListItem%28%2522Item%2520%2523%2522%2520%252B%2520i%29%253B%250A%2520%2520listbox.add%28item%29%253B%250A%257D%250A%250Avar%2520contextMenu%2520%253D%2520new%2520qx.ui.menu.Menu%28%29%253B%250Avar%2520delItem%2520%253D%2520new%2520qx.ui.menu.Button%28%2522Delete%2522%29%253B%250A%250Avar%2520contextItem%2520%253D%2520null%253B%250A%250AdelItem.addListener%28%2522execute%2522%252C%2520function%28ev%29%2520%257B%250A%2520%2520%252F%252F%2520Context%2520menu%2520executed%250A%2520%2520alert%28contextItem%29%253B%250A%257D%252C%2520this%29%253B%250A%250AcontextMenu.add%28delItem%29%253B%250Alistbox.setContextMenu%28contextMenu%29%253B%250Alistbox.addListener%28%2522contextmenu%2522%252C%2520function%28ev%29%2520%257B%250A%2520%2520contextItem%2520%253D%2520ev.getTarget%28%29%253B%250A%257D%29%253B%250A%22%7D

 2009/10/14 Petr Kobalíček kobalicek.p...@gmail.com:
   
 Hi Fabian, it works!

 It's interesting that I tried it but I had to do something wrong,
 because I used getTarget() too, but probably differently.

 Thanks!

 
Cool. I love the playground :-)


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Copying widget CSS style to embedded iframe DOM node

2009-10-13 Thread Fabian Jakobs
Hi Dave,
 I would like to copy the CSS style from a TextArea widget to a
 qx.ui.embed.Iframe widget. My goal is to have the iframe look exactly like a
 TextArea unless the HTML in the iframe specifies some other styles. I've
 tried to copy the styles a bunch of ways, but can't seem to get anything to
 work. For example, iframe.getContentElement.setStyles(...) doesn't seem to
 have any effect. Any ideas?
   
To copy the look of a qooxdoo widget requires a little more than simply 
copying the styles. This is due to the fact that we use decorators to 
style widgets. In the TextArea widget most of the look is defined by its 
decorator. The TextArea's input element itself is almost invisible. You 
can configure the Iframe with the same decorator as the TextArea. This 
works well as long as your IFrame has a transparent background so the 
decorator shines through.

iframe.setDecorator(input);

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] New Contribution: Collapsable Panel

2009-10-13 Thread Fabian Jakobs

 2) Question to users:

 Which behavior feels more natural to you to toggle the collapse of the
 panel:

   a) Simple click on bar 
   or:
   b) Simple click on icon or doubleclick on bar
   
I would prefer a)

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] problem with SelectBox and rich ListItems

2009-10-13 Thread Fabian Jakobs
Hi Petr,

I think this is a bug. Could you open a bug report for it? Until it is 
fixed you can set the rich property of the atom sub widget manually:

listbox.getChildControl(atom).setRich(true);

http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520doc%2520%253D%2520this.getRoot%28%29%253B%250A%250Avar%2520listbox%2520%253D%2520new%2520qx.ui.form.SelectBox%28%29%253B%250Alistbox.getChildControl%28%2522atom%2522%29.setRich%28true%29%253B%250A%250Afor%2520%28var%2520i%2520%253D%25200%253B%2520i%2520%253C%252010%253B%2520i%252B%252B%29%250A%257B%250A%2520%2520var%2520item%2520%253D%2520new%2520qx.ui.form.ListItem%28%29%253B%250A%2520%2520item.setRich%28true%29%253B%250A%2520%2520item.setLabel%28%2522%253Cspan%2520style%253D%27color%253Ared%27%253E%2522%2520%252B%2520i%2520%252B%2520%2522%253C%252Fspan%2522%29%253B%250A%2520%2520listbox.add%28item%29%253B%250A%257D%250A%250Adoc.add%28listbox%252C%2520%257Bleft%253A50%252C%2520right%253A%252040%257D%29%253B%250A%250A%22%7D

Best Fabian

BTW: It was really helpful to link to the playground. Thanks
 Hi,

 I'm getting troubles with SelectBox with rich list items. Select box
 escapes the items. Is this bug?

 Playground:

 http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520doc%2520%253D%2520this.getRoot%28%29%253B%250A%250Avar%2520listbox%2520%253D%2520new%2520qx.ui.form.SelectBox%28%29%253B%250A%250Afor%2520%28var%2520i%2520%253D%25200%253B%2520i%2520%253C%252010%253B%2520i%252B%252B%29%250A%257B%250A%2520%2520var%2520item%2520%253D%2520new%2520qx.ui.form.ListItem%28%29%253B%250A%2520%2520item.setRich%28true%29%253B%250A%2520%2520item.setLabel%28%2522%253Cspan%2520style%253D%27color%253Ared%27%253E%2522%2520%252B%2520i%2520%252B%2520%2522%253C%252Fspan%2522%29%253B%250A%2520%2520listbox.add%28item%29%253B%250A%257D%250A%250Adoc.add%28listbox%252C%2520%257Bleft%253A50%252C%2520right%253A%252040%257D%29%253B%250A%250A%22%7D

 Sample code:

 var doc = this.getRoot();

 var listbox = new qx.ui.form.SelectBox();

 for (var i = 0; i  10; i++)
 {
   var item = new qx.ui.form.ListItem();
   item.setRich(true);
   item.setLabel(span style='color:red' + i + /span);
   listbox.add(item);
 }

 doc.add(listbox, {left:50, right: 40});

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] problem with SelectBox and rich ListItems

2009-10-13 Thread Fabian Jakobs
Petr Kobalíček schrieb:
 Hi, of course, it's #2925.

 Thanks for the tip!

   
Thanks, how could I miss this :-)

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Copying widget CSS style to embedded iframe DOM node

2009-10-13 Thread Fabian Jakobs
Hi Dave,

I've tweaked your code a little in the playground and I think I have 
what you want:

http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520src%2520%253D%2520qx.util.ResourceManager.getInstance%28%29.toUri%28%2522qx%252Fstatic%252Fblank.html%2522%29%253B%250Avar%2520iframe%2520%253D%2520new%2520qx.ui.embed.Iframe%28src%29%253B%2520%250Aiframe.setAppearance%28%2522widget%2522%29%253B%250A%250Aiframe.setDecorator%28%2522input%2522%29%253B%250Avar%2520font%2520%253D%2520qx.theme.manager.Font.getInstance%28%29.resolve%28%2522default%2522%29%253B%250A%250Aiframe.addListenerOnce%28%250A%2520%2520%2522load%2522%252C%250A%2520%2520function%28e%29%250A%2520%2520%257B%250A%2520%2520%2520%2520var%2520body%2520%253D%2520iframe.getBody%28%29%253B%250A%2520%2520%2520%2520body.innerHTML%2520%253D%2520%2522Juhu%2520Kinners%2522%253B%250A%2520%2520%2520%2520var%2520el%2520%253D%2520body%253B%250A%2520%2520%2520%2520qx.bom.element.Style.setStyles%28el%252C%2520font.getStyles%28%29%29%253B%250A%2520%2520%2520%2520console.log%28%2522set%2520styles%2522%252C%2520font.getStyles%28%29%29%253B%250A%2520%2520%257D%250A%29%253B%250A%250Athis.getRoot%28%29.add%28iframe%252C%2520%257Btop%253A%2520200%252C%2520left%253A%252020%257D%29%253B%250A%250A%22%7D

var src = 
qx.util.ResourceManager.getInstance().toUri(qx/static/blank.html);
var iframe = new qx.ui.embed.Iframe(src);
iframe.setAppearance(widget);

iframe.setDecorator(input);
var font = qx.theme.manager.Font.getInstance().resolve(default);

iframe.addListenerOnce(
  load,
  function(e)
  {
var body = iframe.getBody();
body.innerHTML = Juhu Kinners;
var el = body;
qx.bom.element.Style.setStyles(el, font.getStyles());
  }
);

this.getRoot().add(iframe, {top: 200, left: 20});

One tricky part was that the appearance of the Iframe defines a 
background color. I have change the appearance id to widget, which 
defines no properties at all. Further I use the font manager to resolve 
the default font. This is set in the last line of the load handler. Note 
that I can set the decorator directly since it is outside of the iframe.

Hope this helps,

Best Fabian

 I can't seem to get this to have any effect; the fonts come out completely
 different (size and weight) than what TextArea has. Here's my code:

 var iframe_decorator = text.getDecorator();
 iframe.addListenerOnce(
   load,
   function(e) {
 var body = iframe.getBody();
 body.innerHTML = html_text;
 if (iframe_decorator) {
   // Cribbed from qx.ui.form.AbstractField:
   // Disable spellcheck in gecko
  var el = iframe.getContentElement();
  if (qx.core.Variant.isSet(qx.client, gecko))
el.setAttribute(spellcheck, false);
  el.setStyles({
border: none,
padding: 0,
margin: 0,
display: block,
background: transparent,
outline: none,
appearance: none,
autoComplete: off
  });

  // Apply the decorator from the text area
  iframe.setDecorator(iframe_decorator);
 }});


 Fabian Jakobs wrote:
   
 [...]

 iframe.setDecorator(input);

 

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] qx.ui.container.Scroll: ARGH!

2009-10-07 Thread Fabian Jakobs
dmbaggett schrieb:
 So I spent another 4+ hours yesterday doing battle with the Scroll container.
 I just cannot seem to get this container to work right for me.

 Here's my scenario. I want to put a Scroll and a Composite inside a
 Composite. I want these two to flex equally, so that each gets half the
 size. I want the Scroll to automagically put up scroll bars when its own
 contents won't fit without them.

 But there seem to be many problems: Scroll won't autosize to the flex limit.
 I tried setting the Scroll's height to null, and that doesn't work: it seems
 the Scroll gets too greedy, and uses way too much of the flex space,
 stealing it from its Composite sibling.

 And when I put a groupbox in the scroll, the vertical scroll bar doesn't
 reach far enough down for me to see the bottom of my groupbox; I can't
 scroll the bottom of it into view. I have to add a magic padding of 24
 pixels for no obvious reason.

 I have to admit that this is my fourth time struggling with Scroll. I am
 about to throw in the towel and redesign my UI so that I don't need a
 scrolling container. :)

 Are there known problems with Scroll? Maybe I am assuming it does something
 it's not meant to do? I think a clarification of its usage would be really
 helpful.

 Dave
   

Hi Dave,

I think the problems you are facing result from the fact that the scroll 
container has a minHeigh and minWidth of 60px. This is set in the 
appearance to make sure the scroll bars remain usable. Since the scroll 
container will never be smaller than 64px you sometimes see only parts 
of it. Further this will override any height or width value smaller than 
64px. You should try setting the min size of the scrollbar manually to 
0. Then set the height of the inner composite and the scroll container 
to the same size so flex calculation gives both widgets the same 
additional space.

I hope this helps,

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Exact meaning of member attributes

2009-10-07 Thread Fabian Jakobs
Hi Dave,

in your eaxmple foo is a class variable. Technically everything you 
add to the members section will be in the prototype of the class. That's 
why obj.hasOwnProperty('foo') returns false whereas it returns true if 
you set this in the constructor directly on this.

As you have noted in the other mail you have to take care with maps or 
arrays as values in the members section. They have copy by reference 
semantics so each instance of the class will have a reference to the 
same array/object. This is usually not expected. Primitive data types 
like numbers, strings or booleans are no problem.

Best Fabian
 qx.Class.define(my.class, {
 ...
   members: {
 foo: 1
   }
 ...
 });

 In particular, when will foo be initialized? Is foo now an instance variable
 or a class variable?

 The reason I ask is that in some very complicated code I am seeing behavior
 that suggests foo is a class variable, not an instance variable. In other
 words, when I call obj.hasOwnProperty('foo'), where obj is an instance of
 class my.class, I get false.

 In contrast, when I put this code in the constructor:

   this.foo = 1

 then each instance of my.class appears to get its own independent copy of
 foo.

 I'm wondering whether this is the advertised behavior, or whether something
 in my complicated code is causing QooxDoo to behave this way.
   

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Security implications of using rich labels

2009-10-07 Thread Fabian Jakobs
Hi Dave,
 Are there potential security issues with rich labels whose content is
 user-generated? E.g., what if you set the text of a rich label to a script
 tag with code in it? In general, are rich labels vulnerable to cross-site
 scripting attacks?

 Dave
   
Yes they are. The value of a rich label is simply set using innerHTML. 
You should always sanitize the HTML generated by a user or use a non 
rich label.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Concept, anonymous classes?

2009-10-05 Thread Fabian Jakobs
Petr Kobalíček schrieb:
 Hi Fabian,

 I see only one problem here. When you instantiate many instances of
 this anonymous class then each will leak one class declaration that
 will be never garbage collected (because reference will be alive to
 the end of application live in global class registry - class name to
 class object mapper).

 My idea was only about lightweight anonymous classes and internally it
 should work like Matthew presented.

 Cheers
 - Petr

   
Yes that is right. As an alternative you could return the class 
reference instad of a new instance:

var clazz = qx.Class.getByName(className);
return clazz;


This way you could create as many instances as you want with only one 
class declaration.

Best Fabian

 2009/10/2 Fabian Jakobs fabian.jak...@1und1.de:
   
 Hi Petr,

 classes in qooxdoo cannot be anonymous, they must have a name. What you
 can do is reserving a namespace for anonymous classes and just give the
 classes random unique names. You can write something like this right now:

 var nextAnonymousClass = 1;
 function anonymousClass(defenition)
 {
 var baseNs = custom.anon;
 var className = baseNs + nextAnonymousClass;
 nextAnonymousClass += 1;

 qx.Class.define(className, defenition);

 var clazz = qx.Class.getByName(className);
 return new(clazz);
 }

 var instance = nextAnonymousClass(
 {
  extend: yournamespace.YourClass,
  members:
  {
   _getFormData: function() {
   },

   _getFormView: function() {
   },

   ...
  }
 });


 I think this could solve your problem.

 Best Fabian


 
 changing it to:

 var instance = new yournamespace.YourClass.override(
 {
  members:
  {
_getFormData: function() {
},

_getFormView: function() {
},

...
  }
 })();

 solves the initialization after instantiation problem, but it looks ugly:)

 2009/10/2 Petr Kobalíček kobalicek.p...@gmail.com:

   
 Hi devs,

 Intro:

 I'm thinking quite time about one concept I'm using in Java -
 anonymous classes. For example in Java I can write:

 something = new Something() {
  @Override
  void someMethod() {}
 }

 Of course this technique should be used to define new classes with
 only small additions, but I'm interested about using this feature in
 qooxdoo in forms. I have own form management and databinding library
 for qooxdoo (maybe I will release it some day, but currently it's very
 connected with our product) and declaring anonymous forms is very
 interesting idea. For example our form api has two parts - data part
 (you are defining your data) and UI part (you are defining structure
 of form) and there is problem. I need to create new class for every
 form with only small changes.

 Concept:

 I'm thinking about override() method that will override class members
 (I will start implementing this outside and then probably as a Mixin),
 so the class can be declared like this way:

 var instance = new yournamespace.YourClass().override(
 {
  members:
  {
_getFormData: function() {
},

_getFormView: function() {
},

...
  }
 });

 How this looks? I can imagine using similar technique also for table
 row/col renderers, etc. One problem is that it overrides members after
 instantiation. I'd like to hear what community thinks about all of
 this.

 Cheers
 - Petr


 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



   
 --
 Fabian Jakobs
 JavaScript Framework Developer

 11 Internet AG - Web Technologies
 Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
 Telefon: +49 721 91374-6784
 fabian.jak...@1und1.de

 Amtsgericht Montabaur / HRB 6484
 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
 Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
 Mauss, Jan Oetjen
 Aufsichtsratsvorsitzender: Michael Scheeren


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 

 --
 Come build with us

Re: [qooxdoo-devel] qx.ui.layout.Grid maximum rows?

2009-10-05 Thread Fabian Jakobs
Glyn Bowden schrieb:
Hi Glyn,
 Im having issues getting the mail archive to load currently so  
 apologies if this has been mentioned before. I'm using qooxdoo 8.0.3  
 and have a form that I have based on a Grid. Theres a number of layout  
 reasons for this, but I won't go into that now. My problem is that  
 when I try to add a 10th row to the grid, I get the following error:

 code:

 this.add(mirrorFreqGb, {row: 10, column: 1});

 Result:

 Error: The layout properties 'row' and 'column' must be defined!
 Source File: 
 http://localhost/request/qooxdoo-0.8.3-sdk/framework/source/class/qx/ui/layout/Grid.js
 Line: 223

 But if I use {row: 9, column: 1} it works fine, or at least it  
 complains the cell already has a widget. What am I doing wrong? Is  
 there really a hard limit of 9 Grid rows?
   
There is no hard limit on the number of rows in a grid. I've just tried 
to reproduce your problem but for me it did work. I was able to place a 
widget into the 10th row. Maybe the problem comes from a different 
widget with wrong or missing layout properties. Since changing the row 
to 9 throws an exception as well, this exception might just mask the 
other error. I've imroved the error messages in the grid layout to 
include the widget's class names and hash values. This is now in trunk 
rev. 20272. I hope this helps finding the problem.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] scroll container not working

2009-10-05 Thread Fabian Jakobs
Hi skar,
 I upgraded to latest trunk 20269 and my started giving me error about 
 scroll like below:

 qx.ui.core.scroll is undefined
 Scroll.js()Scroll.js (line 61)
  extend : qx.ui.core.scroll.AbstractScrollArea,\nScroll.js (line 61)
 However, my app works with a 2 week old version of trunk perfectly 
 fine. Any ideas?
To add the option for native scroll bars I've moved a few files around. 
After a rebuild your application should work just fine.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] scroll container not working

2009-10-05 Thread Fabian Jakobs
skar schrieb:
 Fabian Jakobs wrote:
 Hi skar,
   
 I upgraded to latest trunk 20269 and my started giving me error about 
 scroll like below:

 
 qx.ui.core.scroll is undefined
 Scroll.js()Scroll.js (line 61)
  extend : qx.ui.core.scroll.AbstractScrollArea,\nScroll.js (line 61)
   
 However, my app works with a 2 week old version of trunk perfectly 
 fine. Any ideas?
 
 To add the option for native scroll bars I've moved a few files around. 
 After a rebuild your application should work just fine.
   
 I deleted the cache and rebuilt the app and now I get the error:

  Resolving dependencies...
 !!! Expected token/COMMA but found token/RP: ')'. 
 file:qx.ui.core.scroll.NativeScrollBar, line:323, column:2
You don't have to clean the cache. Just rebuilding will do it. The error 
you get is caused by a bad commit of mine. Please update to r20275.

Sorry about that.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Native Window, again

2009-10-05 Thread Fabian Jakobs
Hi Christian,
 Hi, is there any interest? Just let me know if this is no priority at all,
 then I'll stop asking - I won't be able to solve this on my own.
   
I am interested in this, sorry for the delay. The problem is the our 
event system needs to know to which document an element/widget belongs. 
Since events are sometimes attached before the elements/widgets are 
added to the document, the event system cannot know how to handle them. 
In these cases is uses the top level document, which leads to the 
problems you have seen. To solve this I guess we would have to refactor 
the event system. I would like to do this myself but currently this has 
very low priority. I can offer you my help but this will probably be 
tough :-)

Best Fabian

 panyasan wrote:
 
 Looking through the code, my assumption is that it has to do with
 qx.event.Registration.getManager(). The event manager is chosen according
 to the global window object (line 78). This is really tricky, because
 the event target is instantiated in the parent window, and not in the
 child window. I wonder if an additional argument could be added to
 addListener(), i.e. addListener(type,handler,this,window), so that the
 correct window context could be figured out by the getManager() method


   
 I tried to patch the code to retrieve the window of the event target
 object from getContainerElement().getDomElement(), but I guess that would
 have been too easy. ;-) The result was that clicking on the Button no
 longer worked (before it did, but the execute event was not fired). I
 guess random hacking without understanding the internals doesn't make much
 sense here. There is a bug for that in bugzilla already. I would be
 thrilled if the core team would find the issue interesting enough to
 invest some development time.  I am happy to work on this if I get some
 clues as to what would need to be changed.

 Thanks,
 Christian

 

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Concept, anonymous classes?

2009-10-02 Thread Fabian Jakobs
Hi Petr,

classes in qooxdoo cannot be anonymous, they must have a name. What you 
can do is reserving a namespace for anonymous classes and just give the 
classes random unique names. You can write something like this right now:

var nextAnonymousClass = 1;
function anonymousClass(defenition)
{
var baseNs = custom.anon;
var className = baseNs + nextAnonymousClass;
nextAnonymousClass += 1;

qx.Class.define(className, defenition);

var clazz = qx.Class.getByName(className);
return new(clazz);
}

var instance = nextAnonymousClass(
{
 extend: yournamespace.YourClass,
 members:
 {
   _getFormData: function() {
   },

   _getFormView: function() {
   },

   ...
 }
});


I think this could solve your problem.

Best Fabian


 changing it to:

 var instance = new yournamespace.YourClass.override(
 {
  members:
  {
_getFormData: function() {
},

_getFormView: function() {
},

...
  }
 })();

 solves the initialization after instantiation problem, but it looks ugly:)

 2009/10/2 Petr Kobalíček kobalicek.p...@gmail.com:
   
 Hi devs,

 Intro:

 I'm thinking quite time about one concept I'm using in Java -
 anonymous classes. For example in Java I can write:

 something = new Something() {
  @Override
  void someMethod() {}
 }

 Of course this technique should be used to define new classes with
 only small additions, but I'm interested about using this feature in
 qooxdoo in forms. I have own form management and databinding library
 for qooxdoo (maybe I will release it some day, but currently it's very
 connected with our product) and declaring anonymous forms is very
 interesting idea. For example our form api has two parts - data part
 (you are defining your data) and UI part (you are defining structure
 of form) and there is problem. I need to create new class for every
 form with only small changes.

 Concept:

 I'm thinking about override() method that will override class members
 (I will start implementing this outside and then probably as a Mixin),
 so the class can be declared like this way:

 var instance = new yournamespace.YourClass().override(
 {
  members:
  {
_getFormData: function() {
},

_getFormView: function() {
},

...
  }
 });

 How this looks? I can imagine using similar technique also for table
 row/col renderers, etc. One problem is that it overrides members after
 instantiation. I'd like to hear what community thinks about all of
 this.

 Cheers
 - Petr

 

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] qx.ui.core.Command + Themes?

2009-10-02 Thread Fabian Jakobs
Florian Giesen schrieb:
 Hello QooXdoo Team!

 At first I have to say, that it was a good idea to enhance 
 qx.ui.core.Command! From now on I don't have to add userdata to 
 command instances to store additional data like the name or the icon :-)

 And this leads to my question: Is there a possibility to set the icon 
 and other widget related, suitable properties of qx.ui.core.Command 
 within a theme?

Hi Florian,

right now only widgets can be themed. This is a technical restriction, 
which is not easy to circumvent. Since commands are no widgets it is not 
possible to theme them - sorry.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Native Window, again

2009-09-28 Thread Fabian Jakobs
Hi Christian,
 I have asked this before but have been unsuccessful in attracting anyone's
 interest. New try: I want to use native browser windows in my application.
 If I create a new window with

 var win = qx.bom.Window.open();

 I get a native Window object which doesn't contain any reference to the
 qooxdoo object tree. How can I create qooxdoo widgets within this window? Or
 isn't that supported any more - it had been, I remember as much.
   
qooxdoo is not yet multi-document ready. It is possible to render 
widgets and listen for events but there are places in the framework, 
which assume that only one root widget exists. Drag and drop, tooltips 
or menus are such examples. It might be possible to make it happen but 
it would require some deeper changes.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Native Window, again

2009-09-28 Thread Fabian Jakobs
Hi Christian,
 Hello Fabian,

 thanks for the info. As long as very basic functionality exists, I'd
 be happy. I basically only need to be able to render forms and maybe
 also a table - nothing fancy. But how would I go about doing it? Do I
 need to import the qx global object into the new window's scope by
 simply doing win.qx = qx and then instantiate widgets with var a= new
 win.qx.ui.basic.Atom()? Or is there a special way of doing it?
   
I would try it from the outside of the iframe. Just load a blank html 
file into the iframe. Then you can add a root widget to the iframe

var iframeRoot = new 
qx.ui.root.Application(qx.bom.Iframe.getDocument(iframeElement));

than place your widgets into the the iframe root widget. Still I'm not 
sure how well this will work. I'd be very interested in your results.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] jqPplot Graph/Chart library with Qooxdoo

2009-09-10 Thread Fabian Jakobs
Fritz Zaucker schrieb:
 In index.html put

  !--[if IE]
script language=javascript type=text/javascript
src=plot/excanvas.min.js
/script
  ![endif]--
  script language=javascript type=text/javascript
  src=plot/jquery-1.3.2.min.js
  /script
  link rel=stylesheet type=text/css href=plot/jqplot/jqplot.css/
  script language=javascript type=text/javascript
  src=plot/jqplot/jqplot.min.js
  /script
  script language=javascript type=text/javascript
  src=plot/jqplot/plugins/jqplot.barRenderer.min.js/script
  script language=javascript type=text/javascript

  ... other plugins you might need.

   
 One question in this context: can I load the jqPlot libraries from
 within Qooxdoo instead of from the index.html file? The idea is to only load
 these libraries on demand (when a user really creates a graph).
   
You can use the ScriptLoader class to to include script from qooxdoo 
code http://demo.qooxdoo.org/current/apiviewer/#qx.io2.ScriptLoader.

e.g.

qx.io2.ScriptLoader.load(plot/jquery-1.3.2.min.js, function() {
  // script is loaded
}, this);

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Proposed release date for qooxdoo 0.8.3

2009-09-03 Thread Fabian Jakobs
Hi Jean-Noël,


 of course, I would like more critical bugs (for us anyway :) to be 
 fixed, but I applaud the new release. It is long overdue and contains 
 tons of bugfixes over 0.8.2 (for example the forEach() function has 
 been completely broken on IE for arrays in 0.8.2 ...)

 If someone feel like fixing those:

 http://bugzilla.qooxdoo.org/show_bug.cgi?id=2514
This one will not make it into 0.8.3 since Thomas is currently on vacation.
 http://bugzilla.qooxdoo.org/show_bug.cgi?id=2740
 http://bugzilla.qooxdoo.org/show_bug.cgi?id=2716
We are working on both but I cannot promise that they will be fixed in time.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] New table widget

2009-09-03 Thread Fabian Jakobs
Hi Guilherme,
 The actual Table widget is perfect fine to me and my needs. But I saw 
 you talking about the new Table widget based on the new 
 virtual architecture and tried to looking for it in the bugzilla and 
 wiki and I couldn't find anything related to the Table itself. 

 So, out of curiosity, do you have a release target to it? Do you have 
 any idea when it would be?
We have initially planned it for the 1.0 release at the end of the year 
but due to some unexpected commitment in internal project it will not be 
ready on time. The new table will be based on a generic virtual widget 
infrastructure. It is still an important topic but it will be delayed a 
little. My gues would be Q1 or Q2 of 2010. However the table in its 
current form is not going to disappear anytime soon.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Proposed release date for qooxdoo 0.8.3

2009-09-03 Thread Fabian Jakobs
Hi Jean-Baptiste,
 Very good news !

 Will that release include data bindings ?
 More generically, will 0.8.3 be the actual trunk ?
   
Yes it will basically be a snapshot of trunk. Are are currently fixing 
the last issues. It will include data binding.

Best Fabian


   
 Hi,

 this is to let you know about the refined roadmap. We're in the  
 process
 to prepare for a release qooxdoo 0.8.3 next week, Thu 2009-09-10.

 There are still some issues we'd like to address, but certainly  
 it'll be
 a welcomed maintenance/bugfix release, also given the existing
 improvements over 0.8.2.

 Bye,

 Andreas

 -- 
 Andreas Ecker
 Project Lead
 http://qooxdoo.org



 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
 30-Day
 trial. Simplify your report design, integration and deployment - and  
 focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Appearance question

2009-08-05 Thread Fabian Jakobs
Hi Jim,

I've opened a bug today to address exactly this issue 
http://bugzilla.qooxdoo.org/show_bug.cgi?id=2652. If a child control 
is not configured by the appearance theme it should fallback to its 
default appearance. We are working on this issue.

Best Fabian
 I don't see a need for this? The controls all render and display fine 
 without creating the appearance keys, so why is there a warning 
 generated? If it renders fine then why is the key 'required'?

 Thanks,
 Jim

 On Tue, Aug 4, 2009 at 12:42 AM, Daniel Wagner daniel.wag...@1und1.de 
 mailto:daniel.wag...@1und1.de wrote:

 Hi Jim,

 you need to create appearance keys for all your child controls. For
 example, if your custom widget with the appearance id
 customwidget has
 a qx.ui.form.TextField child control, you need an entry for
 customwidget/textfield in your Appearance.js. Since TextField is a
 standard widget, you can use its default appearance like this:

 customwidget/textfield : textfield

 Creating a TextField directly works because in that case the
 appearance
 key is simply textfield.


 Regards,
 Daniel

 Jim Hunter schrieb:
  Why is it that when I am creating my own custom control using the
  this._createChildControl method, I get warnings about missing
  appearance, but when I create the same control in the constructor
  directly, it works fine? How can I easily create my controls using
  this._createChildControl and not get the warning?
 
  Thanks,
  Jim
 
 
 
 
 
 
 
 --
  Let Crystal Reports handle the reporting - Free Crystal Reports
 2008 30-Day
  trial. Simplify your report design, integration and deployment -
 and focus on
  what you do best, core application coding. Discover what's new with
  Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 
 
 
 
 
  ___
  qooxdoo-devel mailing list
  qooxdoo-devel@lists.sourceforge.net
 mailto:qooxdoo-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports
 2008 30-Day
 trial. Simplify your report design, integration and deployment -
 and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 mailto:qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 

 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] qx.ui.table.model.Simple/Filtered and addRegex()

2009-08-05 Thread Fabian Jakobs
Hi Fritz,

thank you for your thorough analysis. We know that the filtered table 
model is not optimal. There are a couple of bugs to improve the 
performance of the model by removing unnecessary computations [1-3]. 
Recently Dave Baggett has proposed his Smart table model as 
replacement for the filtered table model [4]. Unfortunately we will not 
be able to fix these issues in the short term.

Best Fabian

[1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=999
[2] http://bugzilla.qooxdoo.org/show_bug.cgi?id=2431
[3] http://bugzilla.qooxdoo.org/show_bug.cgi?id=790
[4] http://bugzilla.qooxdoo.org/show_bug.cgi?id=2474

 Hi,

 with SVN-trunk checkout 19765:

 I am using qx.ui.table.model.Filtered.addRegex() with the following
 observations:

 1) The filter is executed immediately after the call to addRegex(), without
 a call to applyFilters(). The API would suggest otherwise, which would
 probably make sense performance wise if several filters are needed on the
 same table model.

 2) Calling addRegex() twice on the same column with different filter values
 leads to replacement of the first filter. Which is fine for my current
 application, but not what I would expect from the verb add.

 At least it should be document.

 If addRegex() would indeed add (to a stack of) filters, I guess there
 would be some need to explicitely remove a filter.

 3) addRegex() works also exactly the same as described above with a simple
 table model (which according to the API it should not).

 4) The naming of the addFilter functions is inconsistent. Shouldn't it be
 addRegexFilter() and addNotRegexFilter() ?

 5) Feature request: a function  addSubstringFilter() would be useful with
 substring matching instead of Regex matching, e.g. when working with a
 SQL backend that might not support Regexes.

 Here is a code snippet which should reproduce the above behaviour:

  var tableModel = new qx.ui.table.model.Simple();
 //var tableModel = new qx.ui.table.model.Filtered();
  tableModel.setColumns([ this.tr(Location),
   this.tr(Team),
   this.tr(Client),
  this.tr(User)
], // headers
['location', 'team', 'client', 'user'] //IDs
   );
  // Customize the table column model.  We want one that automatically
  // resizes columns.
  var custom =  {
  tableColumnModel : function(obj) {
  return new qx.ui.table.columnmodel.Resize(obj);
  }
  };

  var outputTable = new qx.ui.table.Table(tableModel, custom);
  with (outputTable) {
  set({ padding: 0,
 showCellFocusIndicator: false,
keepFirstVisibleRowComplete: true,
columnVisibilityButtonVisible: false,
statusBarVisible: false
  });
  setMetaColumnCounts([1, -1]);
  
 getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MUL
 TIPLE_INTERVAL_SELECTION);

  var tcm = getTableColumnModel();

  // Obtain the behavior object to manipulate
  var resizeBehavior = tcm.getBehavior();

  // The default is { width:1* } so this one is not necessary:
  resizeBehavior.set(0, { width:1*});
  resizeBehavior.set(1, { width:1* });
  resizeBehavior.set(2, { width:1*});
  resizeBehavior.set(3, { width:1* });
  };
  this.add(outputTable);

  var testData = [
  ['Olten', 'O+P',  'U12345', 'zaucker'],
  ['Olten',  'O+P',  'U12345', 'oetiker'],
  ['Bern',   'SCIS', 'U23456', 'lepore'],
  ['Olten',  'O+P',  'U34567', 'plessl'],
  ['Bern',   'SCIS', 'U45678', 'henning'],
  ['Bern',   'SCIS',  'U56789', 'Frera']
 ];
  tableModel.setData(testData);

  this._filter = new qx.ui.form.Button(this.tr(Filter));

  this._filter.addListener('execute',function (e) {
  var location = 'Olten';
  var team = 'O+P';
   var client   = null;
   var user = null;

  if (location != null) {
  tableModel.addRegex(location, 'location', true); //ignorecase
  }
  if (team != null) {
  tableModel.addRegex(team, 'team', true); //ignorecase
   }
  if (client != null) {
  tableModel.addRegex(client, 'client', true); //ignorecase
  }
  if (user != null) {
  tableModel.addRegex(user, 'user', true); //ignorecase
  }
 //tableModel.applyFilters();
  });

 Cheers,
 Fritz

   


-- 
Fabian Jakobs
JavaScript Framework

Re: [qooxdoo-devel] Re-2: multiline table header cells

2009-08-05 Thread Fabian Jakobs
Hi Daniel,

the firebug message indicates that there either is a syntax error in 
MultilineHeaderCell.js or you have missed to rebuild the application. 
Calling ./generate source should inform you about any syntax errors 
and will rebuild your application.

Besides that, the setHeaderCellRenderer call expects a class 
implementing qx.ui.table.IHeaderRenderer and not a widget. You have to 
subclass qx.ui.table.headerrenderer.Default as well and override the 
createHeaderCell method. This method has to return a new instance of 
your header cell widget.

Best Fabian
 Hello,

 I added these lines in the Application.js, which is the same file where I 
 define the table and all other widgets. Or should I define the header cell 
 renderer in the remote table class extension - that would not make sense to 
 me.

 I changed the namespace,the class looks like this now:

 qx.Class.define(pricecmp.MultilineHeaderCell,
 {
   extend : qx.ui.table.headerrenderer.HeaderCell,
   members :
   {
   _createChildControlImpl : function(id)
   {
  var control;
  switch(id)
  {
case label:
  control = new qx.ui.basic.Label(this.getLabel()).set({
anonymous: true,
rich : true,
allowShrinkX: true
  });
  this._add(control, {row: 0, column: 1});
  break;
  }
  return control || this.base(arguments, id);
   }   
   }
 });

 Now firebug says: pricecmp.MultilineHeaderCell is not a constructor. I 
 think something in my extension is wrong or my call:

   var hcr = new pricecmp.MultilineHeaderCell(); 
   tcm.setHeaderCellRenderer(0, hcr);

 Thanks so far,
 Daniel


   

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Tree Selection Manager for Checkboxes

2009-08-04 Thread Fabian Jakobs
Guilherme Aiolfi schrieb:
 Hi Jonathan,

 I tried the changeEvent, but for every selected node I want to select 
 its children. So 1 changeEvent would generate more changeEvents until 
 the browser crashes. Using the click event (or mouseup or mousedown) 
 there is only one event to start the selecting action. But I managed 
 to get it working with the default CheckBox :) Finally.

 I noticed that _styleSelectable is called more than once when 
 selecting/deselecting nodes. Is that right? e.g. if I deselect a node, 
 it gets deselect, select and finally deselect (that's the behavior for 
 qx.ui.tree.SelectionManager, but consequently its for my selection 
 manager too).
The selection manager may not be optimal in this regard. At least it is 
not by design that this method is called too often. We plan some work on 
the selection managers in the future and will probably fix it then. Of 
course it it is a real defect we'll fix before.

Best Fabian



 On Tue, Aug 4, 2009 at 9:40 AM, Jonathan Weiß jonathan.we...@1und1.de 
 mailto:jonathan.we...@1und1.de wrote:

 Hello Guilherme,


 I opened a bug using your suggestion to have the selection manager
 as a property: http://bugzilla.qooxdoo.org/show_bug.cgi?id=2647
 You can add yourself as CC to get updated when someone is working
 on the bug.

 I had to subclass qx.ui.form.Checkbox to handle the mouseUp event
 properly. No matter what I do in the checkbox mouseUp
 listener, _onMouseUp (in qx.ui.form.ToggleButton) is always
 called and it makes the selection work inconsistently. Is there
 some way to prevent the event to call those methods previously added?

 Why do you need the mouseUp event? Is it not possible for you to
 use the changeValue event? This event is fired by the CheckBox
 itself.

 Cheers,
 Jonathan

 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports
 2008 30-Day
 trial. Simplify your report design, integration and deployment -
 and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 mailto:qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 

 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] The easiest way to put a button in a table cell

2009-08-03 Thread Fabian Jakobs
Hi Gleb,
 But how do I put a button that is not a checkbox? I just need a clickable
 button, or a link with an attached clicklistener.
   
You can just use the Image cell renderer to render the image of your 
button and then attach a cellClick event listener to your table. In 
this listener you check, which of your button cells has been clicked and 
perform the appropriate action.

Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Table Font Size and vAlign

2009-08-03 Thread Fabian Jakobs
GlebM schrieb:
 What would be the most proper way of setting the table's font size and cell's
 vertical alignment?
 I did search, but the previous discussions are quite outdated (year 2007).
   
What was the solution back then? The table has been pretty constant over 
the time. Some bugs have been fixed and some work on performance has 
been done but in general the solution from 2007 should still work.

Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Problem with a Label color in an inline island

2009-08-03 Thread Fabian Jakobs
Jean-Noël Rivasseau schrieb:
 Hi, I encountered the following problem today.

 I have a Qooxdoo label that I apply a color to via the usual Qx Theme 
 system. However, the color was not applied (in Firefox only) because 
 my main page had the following line on its CSS:

 label { color: black; }

 so all the labels were black. I investigated and understood this only 
 happens on Firefox because on other browsers (tested in Safari and 
 Opera) the label HTML element is not created. The text of the label is 
 put directly as a text node on the container div which contains the 
 style attribute where the color is set by Qx. But on Firefox an HTML 
 label element is created as a child of the div container, and the 
 color is thus applied from the main page CSS (FF is correct there).

 Is there any reason for this, eg different behavior between different 
 browsers?
The reason we use the XUL label in Firefox is ellipsis support. All 
other browsers (including IE) support it natively but Firefox only 
supports it on XUL labels.
 If there is, then the simple fix would be to inherit the color CSS 
 property on the label (note that there are several properties already 
 inherited, for this exact same reason I think, but color is missing).
I just found the bug report, which lead to the inclusion of the 
inherit CSS properties 
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1349. Its interesting that 
the bug report explicitly mentions the color property but the fix 
obviously doesn't include it. I have reopened the bug. You can add 
yourself to the CC list to track progress.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Problem with a Label color in an inline island

2009-08-03 Thread Fabian Jakobs
It's fixed in r19747.
 Jean-Noël Rivasseau schrieb:
   
 Hi, I encountered the following problem today.

 I have a Qooxdoo label that I apply a color to via the usual Qx Theme 
 system. However, the color was not applied (in Firefox only) because 
 my main page had the following line on its CSS:

 label { color: black; }

 so all the labels were black. I investigated and understood this only 
 happens on Firefox because on other browsers (tested in Safari and 
 Opera) the label HTML element is not created. The text of the label is 
 put directly as a text node on the container div which contains the 
 style attribute where the color is set by Qx. But on Firefox an HTML 
 label element is created as a child of the div container, and the 
 color is thus applied from the main page CSS (FF is correct there).

 Is there any reason for this, eg different behavior between different 
 browsers?
 
 The reason we use the XUL label in Firefox is ellipsis support. All 
 other browsers (including IE) support it natively but Firefox only 
 supports it on XUL labels.
   
 If there is, then the simple fix would be to inherit the color CSS 
 property on the label (note that there are several properties already 
 inherited, for this exact same reason I think, but color is missing).
 
 I just found the bug report, which lead to the inclusion of the 
 inherit CSS properties 
 http://bugzilla.qooxdoo.org/show_bug.cgi?id=1349. Its interesting that 
 the bug report explicitly mentions the color property but the fix 
 obviously doesn't include it. I have reopened the bug. You can add 
 yourself to the CC list to track progress.

 Best Fabian

   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Problem with a Label color in an inline island

2009-08-03 Thread Fabian Jakobs
Jean-Noël Rivasseau schrieb:
 Ok, thanks. According to the bug you already fixed it in trunk. Can 
 you just tell me the line you changed so as to avoid me to checkout 
 the trunk just for this?
Sure, just add this to qx.bom.Label (line 190):

 xulel.style.cursor = inherit;
+xulel.style.color = inherit;
 xulel.style.overflow = hidden;



 Jean-Noel

 On Mon, Aug 3, 2009 at 12:58 PM, Fabian Jakobs fabian.jak...@1und1.de 
 mailto:fabian.jak...@1und1.de wrote:

 Jean-Noël Rivasseau schrieb:
  Hi, I encountered the following problem today.
 
  I have a Qooxdoo label that I apply a color to via the usual Qx
 Theme
  system. However, the color was not applied (in Firefox only) because
  my main page had the following line on its CSS:
 
  label { color: black; }
 
  so all the labels were black. I investigated and understood this
 only
  happens on Firefox because on other browsers (tested in Safari and
  Opera) the label HTML element is not created. The text of the
 label is
  put directly as a text node on the container div which contains the
  style attribute where the color is set by Qx. But on Firefox an HTML
  label element is created as a child of the div container, and the
  color is thus applied from the main page CSS (FF is correct there).
 
  Is there any reason for this, eg different behavior between
 different
  browsers?
 The reason we use the XUL label in Firefox is ellipsis support. All
 other browsers (including IE) support it natively but Firefox only
 supports it on XUL labels.
  If there is, then the simple fix would be to inherit the color CSS
  property on the label (note that there are several properties
 already
  inherited, for this exact same reason I think, but color is
 missing).
 I just found the bug report, which lead to the inclusion of the
 inherit CSS properties
 http://bugzilla.qooxdoo.org/show_bug.cgi?id=1349. Its
 interesting that
 the bug report explicitly mentions the color property but the fix
 obviously doesn't include it. I have reopened the bug. You can add
 yourself to the CC list to track progress.

 Best Fabian

 --
 Fabian Jakobs
 JavaScript Framework Developer

 11 Internet AG - Web Technologies
 Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
 Telefon: +49 721 91374-6784
 fabian.jak...@1und1.de mailto:fabian.jak...@1und1.de

 Amtsgericht Montabaur / HRB 6484
 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich,
 Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning
 Kettler, Dr. Oliver Mauss, Jan Oetjen
 Aufsichtsratsvorsitzender: Michael Scheeren


 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports
 2008 30-Day
 trial. Simplify your report design, integration and deployment -
 and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 mailto:qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 

 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https

Re: [qooxdoo-devel] Two questions: Enter in Textfield Drag/Drop modifier keys

2009-07-30 Thread Fabian Jakobs
Hi Nick,
 Anyway, Fabian said you should at least add the following lines to your
 handler:

...
this.focus();
var clone = event.clone();
clone.setBubbles(false);
this.dispatchEvent(clone);
...

 It is necessary to clone the event, since the original event gets pooled
 and cannot (easily) be re-dispatched. And the event to dispatch has to
 have bubbles==false, otherwise the dispatcher will not handle it.
 

 I kept my fingers crossed as I tried this, but unfortunately it now says:

 'Cannot stop propagation on a non bubbling event: keydown: Called
 assertTrue with 'false'' when calling method

 It looks like the button wasn't going to let the event propagate anyway.

 I did try just using the clone in conjunction with what I had (good
 tip!), but then it still gives the original message (No dispatcher can
 handle event of type keydown on qx.ui.form.Button).
   
Right, the button tries to call stopPropagation on the event, which is 
not allowed in this case. The event forwarding approach will not work. 
The button has press and release methods, which you could use to 
animate the buttons.

Best,
Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] [qooxdoo-commit] SF.net SVN: qooxdoo:[19717] trunk/qooxdoo/framework/source/class/qx/ui/ table/columnmodel

2009-07-29 Thread Fabian Jakobs
Hi Derrell,
 Use of protected methods is generally deprecated,so if this change is 
 really necessary, please change it to be a public method. 
No, don't make it public! Protected methods are perfectly OK, we use it 
all over the place. However we avoid using protected member data fields 
because we have no way to detect conflicting field names.

 I'm very curious, though, why you want/need this information. It's 
 used for calculating widths. The post-calculation data is already 
 available elsewhere, and if the user messes with it pre-calculation, 
 it's likely to cause random errors. Without further understanding of 
 the need of this, I'd opt not to include this new method. It's just a 
 bit too potentially dangerous without clear advantage. Please 
 enlighten me. :-)
I let Tino explain the details :-)

Best Fabian



 Derrell


 On Wed, Jul 29, 2009 at 10:52, t...@users.sourceforge.net 
 mailto:t...@users.sourceforge.net wrote:

 Revision: 19717

  http://qooxdoo.svn.sourceforge.net/qooxdoo/?rev=19717view=rev
 http://qooxdoo.svn.sourceforge.net/qooxdoo/?rev=19717view=rev
 Author:   tbtz
 Date: 2009-07-29 14:52:26 + (Wed, 29 Jul 2009)

 Log Message:
 ---
 Added protected method to table resize behavior + fixed a bug when
 using a custom resize behavior


 ...
  


 Modified:
 
 trunk/qooxdoo/framework/source/class/qx/ui/table/columnmodel/resizebehavior/Default.js
 ===
 ---
 
 trunk/qooxdoo/framework/source/class/qx/ui/table/columnmodel/resizebehavior/Default.js
  2009-07-29 14:25:55 UTC (rev 19716)
 +++
 
 trunk/qooxdoo/framework/source/class/qx/ui/table/columnmodel/resizebehavior/Default.js
  2009-07-29 14:52:26 UTC (rev 19717)
 @@ -549,6 +549,17 @@
   (width - (widthUsed -
 tableColumnModel.getColumnWidth(lastCol)));
 tableColumnModel.setColumnWidth(lastCol, newWidth);
   }
 +},
 +
 +
 +/**
 + * Returns the data of all the columns that are visible and
 will be resized.
 + *
 + * @return {Map[]} the resize column data.
 + */
 +_getResizeColumnData : function()
 +{
 +  return this.__resizeColumnData;
 }
   },



 This was sent by the SourceForge.net collaborative development
 platform, the world's largest Open Source development site.

 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports
 2008 30-Day
 trial. Simplify your report design, integration and deployment -
 and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 qooxdoo-commit mailing list
 qooxdoo-com...@lists.sourceforge.net
 mailto:qooxdoo-com...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-commit




 -- 
 The trick to education is to teach people in such a way that they 
 don't realize they're learning until it's too late.
  - Harold Eugene Doc Edgerton (Poppa Flash), 1903-1990, fabled MIT 
 professor and inventor of the stroboscopic flash

 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 

 ___
 qooxdoo-commit mailing list
 qooxdoo-com...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-commit
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists

Re: [qooxdoo-devel] Table HeaderCell with Icon problem/question

2009-07-20 Thread Fabian Jakobs
Hi,

this looks like a problem with our image widget. We have done a couple 
of fixes to the image class since qooxdoo 0.8.2. Do you have a chance to 
test with the latest trunk?

Best Fabian
 I'll try to keep this simple. I've got my own ColumnModel and added a method
 for adding a new column. I couldn't just extend the current one because I
 needed access to the internal data arrays. Using the visible/hidden thing
 isn't really good enough in my case. We've got tons of columns. Anyway, it
 wasn't a big deal. I just splice the internal arrays, fire the events and
 everything works great. I had been using custom data cell reneders and using
 the defaults for header renderer and editing.

 Now, the problem I'm having is when specifying an Icon header cell renderer.
 During the creation of the Image and applying its source in HeaderCell I get
 an error because this.getContentElement() in the Image is still undefined.
 It's line 227 in ui.basic.Image. The _styleSource method and I'm using 0.82.
 Style source seems to get called a number of times, if I simply add a check
 for undefined and return it works. Am I doing something really crazy or is
 this just a minor bug? Just to reiterate what I'm doing. In a table that's
 already created and displayed. I'm adding a column basically like this in my
 ColumnModel:

 var map = {
   width: 50, 
   dataRenderer: customDataRenderer, 
   headerRenderer: new qx.ui.table.headerrenderer.Icon(/iconpath);
 }

 this.__columnDataArr.splice(modelPos, 0, map);
 this.__overallColumnArr.splice(visPos, 0, modelPos);
 this.__visibleColumnArr.splice(visPos, 0, modelPos);

 // invalidate visibility map
 this.__colToXPosMap = null;
 this.fireDataEvent(orderChanged, data);
 this.fireDataEvent(visibilityChangedPre, visData);
 this.fireDataEvent(visibilityChanged, visData);
   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Drag selection in qx.ui.table.Table

2009-07-20 Thread Fabian Jakobs
Hi Alexey,
 I'm not a table expert, but it seems to me that the selection manger 
 form the table doesn't support drag selection. I have locked to the API 
 [1] and tested the demo on [2].

 Fabian will have also a look, but he is at the moment in an internal 
 project. I hope he could answer until tomorrow.

Christian is right, the current table selection manager does not support 
drag selection.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Key Bindings

2009-07-17 Thread Fabian Jakobs
Hi Dave,
 QooxDoo team: have you given any thought to configurable keybindings? E.g.,
 in Table.js the keys are hard-coded (up arrow to move up in the table, F2 to
 edit, etc.). I wonder if there is any plan to add a layer of abstraction
 here so that one could adjust the keybindings -- either globally or per
 widget? (Maybe something like this already exists?)
   
We currently have no such feature on our roadmap. To redefine the 
key-bindings in the table you have to subclass the table and override 
the protected _onKeypress method. It would be nice if we could 
redefine key-bindings more easily but right now this is now possible.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] yahoo maps breaks qooxdoo

2009-07-17 Thread Fabian Jakobs
Hi Karthik,

I just tried to embed a yahoo map into a qooxdoo application and it 
worked without a problem. Can you try it in a different browser. Maybe 
the JavaScript console the shows a better error message.

Best Fabian

P.S.
for those interested, this is the code to embed a yahoo map:

  var map = new qx.ui.core.Widget().set({
width: 400,
height: 300
  });
  this.getRoot().add(map, {left: 50, top: 100});
 
  map.addListenerOnce(appear, function() {
var ymap = new YMap(map.getContentElement().getDomElement());
  ymap.addTypeControl();
  ymap.setMapType(YAHOO_MAP_HYB);
  ymap.drawZoomAndCenter(Billerbeck, 5);   
  });

 Hi,

 I just included script type=text/javascript
 src=http://api.maps.yahoo.com/ajaxymap?v=3.8appid=x;/script
 in the index.html and the qooxdoo app fails to load.
 I get this error in the console. If I remove that line it works.

 file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/Theme.js:387Uncaught
 Error: The type of the key color inside the meta block is wrong.
 file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/log/appender/Native.js:81435ms
 qx.core.Init: Load runtime: 434ms
 file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/theme/manager/Meta.js:108Uncaught
 Error: The theme to use is not available: console.theme.Theme
 file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/log/appender/Native.js:81514937ms
 qx.core.ObjectRegistry: Disposed 16 objects

 Any help will be appreciated.

 Regards,
 Karthik

 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 ___
 qooxdoo-devel mailing list
 qooxdoo-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


   


-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Can't click in textboxes

2009-07-16 Thread Fabian Jakobs
Hi John,

 Hi guys,

 I’ve got another weird problem, this time with TextField and TextArea 
 – if the field is empty and I click in it to start typing, the field 
 doesn’t become selected; the only way to get the cursor in the field 
 is to tab into it.

 Any idea what causes this? I’m sure that the app wasn’t doing this at 
 some point in the past, and I can’t reproduce it in the demo browser 
 so it must be my fault...but what? This happens on IE8 and FF3.5

have you tried to revert to an older qooxdoo revision and see whether 
this is solves the problem? If this is the case we definitively have a 
regression. Unless you find a way to reproduce this issue I see no way 
how I can help - sorry.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

11 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


  1   2   3   4   5   6   7   8   9   10   >