[qooxdoo-devel] demo of EditableLabel widget

2010-09-29 Thread Greg Beaver
Hi, For those who are interested, I put together both a gist and a playground demo of the editable label I described earlier today. It can be used with any form element except for selectbox and other selection-style widgets (I haven't yet implemented this, it's not impossible). The gist can be l

Re: [qooxdoo-devel] Form DataBinding

2010-09-29 Thread Martin Wittemann
Thanks for the Info. Going to check that soon. Am 29.09.2010 um 21:20 schrieb "Guilherme Aiolfi" mailto:grad...@gmail.com>>: But did you access the playground clicking in the link you gave? The selection and cursor don't appear for me (only for your link). But if I press backspace, it removes

Re: [qooxdoo-devel] Form DataBinding

2010-09-29 Thread Guilherme Aiolfi
But did you access the playground clicking in the link you gave? The selection and cursor don't appear for me (only for your link). But if I press backspace, it removes a char. Just the selection and cursor is not working. On Wed, Sep 29, 2010 at 3:54 PM, Martin Wittemann wrote: > Hm, how not

Re: [qooxdoo-devel] Form DataBinding

2010-09-29 Thread Martin Wittemann
Hm, how not working? I use chrome (mac) at work and it works like a charm. :) Von meinem iPad gesendet Am 29.09.2010 um 20:25 schrieb "Guilherme Aiolfi" mailto:grad...@gmail.com>>: The editor is not working properly in your example. The funny thing is that if I go directly to

Re: [qooxdoo-devel] virtual tree pune sets NULL, but setData dont accepts NULL in nodeArray

2010-09-29 Thread Derrell Lipman
On Wed, Sep 29, 2010 at 14:11, Mustafa Sak wrote: > Hi Derrell, > > Once again you are my personal hero. I read the doc many times but dont > understand that their are differences between .setData() and .setData(null). > May bee could be written more clearly on the api reference? Should I open a

Re: [qooxdoo-devel] Form DataBinding

2010-09-29 Thread Guilherme Aiolfi
The editor is not working properly in your example. The funny thing is that if I go directly to http://demo.qooxdoo.org/devel/playground/, it works fine. I've tried in FF and Chrome. On Wed, Sep 29, 2010 at 2:45 PM, Martin Wittemann wrote: > Hey, > > that question is really interesting. So inte

Re: [qooxdoo-devel] virtual tree pune sets NULL, but setData dont accepts NULL in nodeArray

2010-09-29 Thread Mustafa Sak
Hi Derrell, Once again you are my personal hero. I read the doc many times but dont understand that their are differences between .setData() and .setData(null). May bee could be written more clearly on the api reference? Should I open a bug or am I just the only one who dont understand?

[qooxdoo-devel] Bug in qx.util.JSON.__convertObject()

2010-09-29 Thread Jean-Noël Rivasseau
Hello It seems to me there is a bug in __convertObject() if the underlying object already has a native toJSON implementation. Because in that case you do: return this.__convert(incoming.toJSON(key), key); (l. 413 in Qx 1.2) whereas incoming.toJSON(key) already returns a String. So since it will

Re: [qooxdoo-devel] Form DataBinding

2010-09-29 Thread Martin Wittemann
Hey, that question is really interesting. So interesting I started up the playground at home. ;) So the fact is, that the form controller always sets up the binding in both ways. But luckily, the form controller is not that much more than the object controller in your case. The good thing is, w

Re: [qooxdoo-devel] virtual tree pune sets NULL, but setData dont accepts NULL in nodeArray

2010-09-29 Thread Derrell Lipman
On Tue, Sep 28, 2010 at 16:10, wrote: > Hi List, > > i wrote a little function to sort leafs (branch children). So I just clone > all nodes one by one. If branch has children leafs, just reorder the > children array of the branch and set it in return. > > That was very effective. But after using

Re: [qooxdoo-devel] Form DataBinding

2010-09-29 Thread Guilherme Aiolfi
I don't see how to do that without cloning the model object. But I'm interested in the response and ideas from others. On Wed, Sep 29, 2010 at 1:37 PM, Markus Wolf wrote: > Hi there, > > I have a question about the databinding. > We have the following UseCase in our application: > 1) We display

[qooxdoo-devel] Form DataBinding

2010-09-29 Thread Markus Wolf
Hi there, I have a question about the databinding. We have the following UseCase in our application: 1) We display a list of json/model objects in a qx.ui.list.List widget 2) If the user selects one and pushes an edit button a new window is opened 3) In this window the selected model item from the

Re: [qooxdoo-devel] virtual tree pune sets NULL, but setData dont accepts NULL in nodeArray

2010-09-29 Thread info
Hi List, I tried to filter the null out, but as cpuld see in an older post, to do so make the tree confusion (something about index). So is their a nlittle hint to handle with that null elements? > Hi List, > > i wrote a little function to sort leafs (branch children). So I just clone > all nodes

Re: [qooxdoo-devel] insert own stylesheet rules in HtmlArea

2010-09-29 Thread madhead
No, the "styleInformation" parameter is appended to some default Rules in line: Line: 883 in /qooxdoo/source/class/qx/bom/htmlarea/HtmlArea.js __initDocumentSkeletonParts : function() { this.__documentSkeletonParts = { "xhtml" : { doctype : '',

[qooxdoo-devel] Antw: Re: Nothing happens changing locale

2010-09-29 Thread Robert Nimax
Also ich fand´s lustig. ;-) >>> Martin Wittemann 9/29/2010 4:48 >>> Sorry for the german mail. This was not intended to go to the list! Am 29.09.2010 um 16:26 schrieb Martin Wittemann: > :D SAUBER! > > Der ging mir aber heute auch auf die Nerven! Der hat bestimmt 10 Bugs aufgemacht und das w

Re: [qooxdoo-devel] Nothing happens changing locale

2010-09-29 Thread Martin Wittemann
Sorry for the german mail. This was not intended to go to the list! Am 29.09.2010 um 16:26 schrieb Martin Wittemann: > :D SAUBER! > > Der ging mir aber heute auch auf die Nerven! Der hat bestimmt 10 Bugs > aufgemacht und das waren teils nur cross-posts von unbeantworteten > Mailinglisten-Fra

[qooxdoo-devel] Observe dysfunctional fallback to nonstandard locale

2010-09-29 Thread Stefan Andersson
Be aware of dysfunctional fallback to nonstandard default locale; en_us (should be en_US) It means that the qx.locale.Manager uses the key instead of the value of the string. qx.ui.basic.Label(this.tr("key")); For example: #: com/pc/co/join/view/PInfo.js:83 msgid "C6" msgstr "asasas" or ms

Re: [qooxdoo-devel] insert own stylesheet rules in HtmlArea

2010-09-29 Thread Alexander Steitz
Hi, > Ok. i understand. I have had the idea to pass the @import into the > styleInformation, but at the End of the Styledeclartion it doesn't > affect. I need an option to set this at the beginning. The "styleInformation" parameter is used at the beginning, so if you are able to pass your styles a

Re: [qooxdoo-devel] dynamically changing size

2010-09-29 Thread Martin Wittemann
Hey, yes that sounds like the thing I had in mind. Regards, Martin Am 29.09.2010 um 16:23 schrieb Greg Beaver: Martin Wittemann wrote: Hello Greg, this highly depends on how your application looks and what layout you use and so on... maybe you can share some runable code to get me an idea? B

Re: [qooxdoo-devel] dynamically changing size

2010-09-29 Thread Martin Wittemann
Am 29.09.2010 um 16:23 schrieb Greg Beaver: Martin Wittemann wrote: Hello Greg, this highly depends on how your application looks and what layout you use and so on... maybe you can share some runable code to get me an idea? But I would suggest an other way to implement it. As far as i get it,

Re: [qooxdoo-devel] Nothing happens changing locale

2010-09-29 Thread Martin Wittemann
:D SAUBER! Der ging mir aber heute auch auf die Nerven! Der hat bestimmt 10 Bugs aufgemacht und das waren teils nur cross-posts von unbeantworteten Mailinglisten-Fragen: http://bugzilla.qooxdoo.org/show_bug.cgi?id=4132 So langsam nervt der echt und kostet uns täglich bestimmt 2 Stunden. Grüße,

Re: [qooxdoo-devel] dynamically changing size

2010-09-29 Thread Greg Beaver
Martin Wittemann wrote: > Hello Greg, > > this highly depends on how your application looks and what layout you use and > so on... maybe you can share some runable code to get me an idea? > > But I would suggest an other way to implement it. As far as i get it, you > create those input fields pri

Re: [qooxdoo-devel] dynamically changing size

2010-09-29 Thread Martin Wittemann
Hello Greg, this highly depends on how your application looks and what layout you use and so on... maybe you can share some runable code to get me an idea? But I would suggest an other way to implement it. As far as i get it, you create those input fields prior to the click? If you would just w

Re: [qooxdoo-devel] Clickproblem with IPAD / Safari,Atom

2010-09-29 Thread Martin Wittemann
Hey, the click events on the iOS devices are faked by the OS, as you can imagine because you are not clicking on the screen, you are taping. And iOS implements a cancel of that event faking if the DOM is manipulated during the event chain. We already fix that in trunk: http://bugzilla.qooxdoo.o

[qooxdoo-devel] dynamically changing size

2010-09-29 Thread Greg Beaver
Hi, I am creating a control similar to how Google calendar's detailed view works. The information is listed as text, and when you click on a line, a textfield control appears to allow editing, which disappears again when focused out of the control. I've implemented this as a stack container that

Re: [qooxdoo-devel] insert own stylesheet rules in HtmlArea

2010-09-29 Thread madhead
Hey Alex, thanks for your reply! Ok. i understand. I have had the idea to pass the @import into the styleInformation, but at the End of the Styledeclartion it doesn't affect. I need an option to set this at the beginning. -- View this message in context: http://qooxdoo.678.n2.nabble.com/inse

Re: [qooxdoo-devel] insert own stylesheet rules in HtmlArea

2010-09-29 Thread Alexander Steitz
Hi, > i use the qx.ui.embed.HtmlArea. I want to insert my own content in the > HtmlArea . Thats no problem with qooxdoo: > HtmlArea(String value, (String | Map | null) styleInformation, String > source) > > Now i want to add my own stylesheet rules. To do this i have one > stylesheet-file that in

Re: [qooxdoo-devel] Nothing happens changing locale

2010-09-29 Thread Stefan Andersson
We also filed a bug for setLocale: When using setLocale for a locale in a part which has not been loaded, the current locale changes to the new. Then it is not in sync with the actual locale seen on screen. Stefan --

Re: [qooxdoo-devel] Problems with big localisation info...

2010-09-29 Thread Stefan Andersson
Burak, Thanks for your reflections! First. we learn what works and what does not. That happens while we are using the tool in our customer project. Second, we evaluate what we need to do to make it better for our customer project. Third, we will share what might be of interest for others to us

Re: [qooxdoo-devel] Clickproblem with IPAD / Safari,Atom

2010-09-29 Thread Tranninger Harald
Von: Burak Arslan [mailto:burak.ars...@arskom.com.tr] Gesendet: Mittwoch, 29. September 2010 12:25 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Clickproblem with IPAD / Safari,Atom hi, are you handling touch events? http://news.qooxdoo.org/qooxdoo-mobile-prototype http://news.qooxdoo.o

Re: [qooxdoo-devel] Problems with big localisation info...

2010-09-29 Thread Burak Arslan
On 09/28/10 18:03, Stefan Andersson wrote: > I forgot one thing: > > By using key codes instead of the long key strings we can save about > 4.5-5% of size and then execution time. We have not included online > help info in these calculations. > > How can we use the generator to generate and replac

Re: [qooxdoo-devel] Don't split a localized string because then the localisation does not work for that widget

2010-09-29 Thread Burak Arslan
On 09/29/10 13:09, Stefan Andersson wrote: > found that... > > var str1 = this.tr("Here we come"); > var str2 = this.tr("with a cake to the core team"); > > var label = new qx.ui.basic.Label(str1 + str2); > > does not translate > instead... > > var str1 = "Here we come"; > var str2 = "with a c

Re: [qooxdoo-devel] Nothing happens changing locale

2010-09-29 Thread thron7
> > Apparently we did Well, apparently you didn't. > and as it is written and placed more will miss and > possibly misunderstand it. You mean, the single, complete and comprehensive friggin' REFERENCE for the generator config?! A document that is linked to in all our other documents and blog pos

Re: [qooxdoo-devel] Clickproblem with IPAD / Safari,Atom

2010-09-29 Thread Burak Arslan
On 09/29/10 13:17, Tranninger Harald wrote: > > Hi all, > > > > I have a problem with my Buttons, using the IPAD browser SAFARI and ATOM. > > > > I have several Buttons on the screen. If I press(click) once, then > they are only selected and only on the second click, they get executed. > > >

[qooxdoo-devel] Clickproblem with IPAD / Safari,Atom

2010-09-29 Thread Tranninger Harald
Hi all, I have a problem with my Buttons, using the IPAD browser SAFARI and ATOM. I have several Buttons on the screen. If I press(click) once, then they are only selected and only on the second click, they get executed. So I always need two clicks to execute them! If I try this in Safari brow

[qooxdoo-devel] Don't split a localized string because then the localisation does not work for that widget

2010-09-29 Thread Stefan Andersson
found that... var str1 = this.tr("Here we come"); var str2 = this.tr("with a cake to the core team"); var label = new qx.ui.basic.Label(str1 + str2); does not translate instead... var str1 = "Here we come"; var str2 = "with a cake to the core team"; var label = new qx.ui.basic.Label(th

[qooxdoo-devel] insert own stylesheet rules in HtmlArea

2010-09-29 Thread madhead
Hello, i use the qx.ui.embed.HtmlArea. I want to insert my own content in the HtmlArea . Thats no problem with qooxdoo: HtmlArea(String value, (String | Map | null) styleInformation, String source) Now i want to add my own stylesheet rules. To do this i have one stylesheet-file that includes all

Re: [qooxdoo-devel] Nothing happens changing locale

2010-09-29 Thread Stefan Andersson
Apparently we did and as it is written and placed more will miss and possibly misunderstand it. So we have added bugs: 1. enhancement - manual also put some links to the generator section 2. addition - writing out an error message and not total silence and the locale should not change by setLo

Re: [qooxdoo-devel] Nothing happens changing locale

2010-09-29 Thread thron7
> > Further research shows that qooxdoo does not automatically load the > language part, the locale, which would have been quite natural. This was > not documented in the manual. >From the manual: "i18n-with-boot : whether internationalization information (translations, CLDR data, ...) should be

Re: [qooxdoo-devel] Simple way to save and load data to a table

2010-09-29 Thread Martin Wittemann
Hey, thats something you have to do on the server. You can send your changed data (the table has sure a way to access that data on a change) to the server and after that, its a server problem and not solvable in qooxdoo. But we don't have something like that which runs out of the box. Regards, M

[qooxdoo-devel] Nothing happens changing locale

2010-09-29 Thread Stefan Andersson
with "LOCALES" : [ "en", "en_GB", "en_US", "sv", "sv_SE", "pt", "pt_BR", "es", "es_MX", "es_ES", "fi", "fi_FI", "sv_FI", "de", "de_DE", "de_AT", "de_CH" ], this line: qx.locale.Manager.getInstance().setLocale("sv_SE"); does not have any effect and does not print any errors! doing qx.l

Re: [qooxdoo-devel] Simple way to save and load data to a table

2010-09-29 Thread georg
Hi, i understand that the remote table model only to show the data from a backend in a table. Is this correct? But gives any way to save data from a table into a database like mysql. Best Regards, Georg -- View this message in context: http://qooxdoo.678.n2.nabble.com/Simple-way-to-save-an