Re: [qooxdoo-devel] any way to play a sound (without opening a media player)?

2010-09-30 Thread Leandro Santiago
With html5 you can do: var music = new Audio(); music.src = "http://mymusic.com/music.ogg";; // relative or absolute url music.play(); music.pause(); music.volume = 0.5; // 0.0 - 1.0 It's easy to create a music player in pure javascript :-) The codecs question is the big problem. Ogg os supporte

[qooxdoo-devel] bind value to tree

2010-09-30 Thread madhead
Hello Devs, i have the following Scenario: http://tinyurl.com/35e3ofy How can i bind the value from my data variable, to the TreeItems trough the Controller? So that i can access this value in my for-loop with items[i].getUserData("value"); Thanks in advance :-) -- View this message in context:

[qooxdoo-devel] any way to play a sound (without opening a media player)?

2010-09-30 Thread Kenneth Tilton
I don't see any way to play a sound in the qooxdoo API. Not much on the web either, tho I am checking out this which looks excellent: http://www.schillmania.com/projects/soundmanager2/ kt -- http://www.stuckonalgebra.com "The best Algebra tutorial program I have seen... in a class by itself."

Re: [qooxdoo-devel] accessing qx.core.Setting exactly after main {}

2010-09-30 Thread Guilherme Aiolfi
Yes, exactly: { "name": "...", "jobs": { "common" : { "settings": { "your.setting": "abc" } } } } qx.core.Setting.get("your.setting"); You'll have to generate your source again (generate.py source). On Thu, Sep 30, 2010 at 3:26 PM, b a wrote:

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

2010-09-30 Thread Martin Wittemann
Hey, I'm currently on vacation but will be back on Monday and take a deeper look at this. Best Martin Von meinem iPad gesendet Am 30.09.2010 um 20:31 schrieb "Jean-Noël Rivasseau" : > Any opinions on this? > > On Wed, Sep 29, 2010 at 7:55 PM, Jean-Noël Rivasseau > wrote: >> Hello >> >> It s

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

2010-09-30 Thread Jean-Noël Rivasseau
Any opinions on this? On Wed, Sep 29, 2010 at 7:55 PM, Jean-Noël Rivasseau wrote: > 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), ke

Re: [qooxdoo-devel] accessing qx.core.Setting exactly after main {}

2010-09-30 Thread b a
"app_name": { "jobs": { "common": { "settings" : { } } } } On 9/30/10, b a wrote: > so how does my config.json need to look ? > > On 9/30/10, Guilherme Aiolfi wrote: >> Are you sure that you are calling "this.base(arguments); " in your main >> metho

Re: [qooxdoo-devel] accessing qx.core.Setting exactly after main {}

2010-09-30 Thread b a
so how does my config.json need to look ? On 9/30/10, Guilherme Aiolfi wrote: > Are you sure that you are calling "this.base(arguments); " in your main > method? > > And your keys should be inside the "jobs > common > settings" entry in your > config.json. > > On Thu, Sep 30, 2010 at 2:14 PM, b a

Re: [qooxdoo-devel] accessing qx.core.Setting exactly after main {}

2010-09-30 Thread Guilherme Aiolfi
Are you sure that you are calling "this.base(arguments); " in your main method? And your keys should be inside the "jobs > common > settings" entry in your config.json. On Thu, Sep 30, 2010 at 2:14 PM, b a wrote: > so is there any way for me to get at runtime things from config.json ? > > On 9/

Re: [qooxdoo-devel] accessing qx.core.Setting exactly after main {}

2010-09-30 Thread b a
so is there any way for me to get at runtime things from config.json ? On 9/30/10, b a wrote: > actually now I put some alerts and realized that even in the code sections > that > I thought I was getting config values from qx.core.Setting , I wasn't. > I am getting undefined on > qx.core.Setting.

Re: [qooxdoo-devel] accessing qx.core.Setting exactly after main {}

2010-09-30 Thread b a
actually now I put some alerts and realized that even in the code sections that I thought I was getting config values from qx.core.Setting , I wasn't. I am getting undefined on qx.core.Setting.get("some_key_that_exists_in_config.json"); and getting undefined on qx.core.Setting.some_key_that_exists_

[qooxdoo-devel] accessing qx.core.Setting exactly after main {}

2010-09-30 Thread b a
Hi, I have a native Qooxdoo app which I wrote and I noticed that in main {} I don't have access to qx.core.Setting(which from what I've seen exposes the contents of config.json). I need to have access to qx.core.Setting, so I want to move part of my code from main {} to some listener on some even

Re: [qooxdoo-devel] QxJqPlot: zoomProxy

2010-09-30 Thread Tobias Oetiker
Hi Simone, Today Simone Pandolfo wrote: > Hi Tobi, > Thanks for the reply, but i don't know what event you tell me. > Have you a link for some documentation about? have a look at Plot.js ... it emits a plotCreated event once the plot is ready ... do not try to acccess it before this. cheers tob

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

2010-09-30 Thread Stefan Andersson
Jean-Baptiste! >I would be interested to know more about that "qooxdoo big project" I heard >for a while now. >Could you tell us more about the functional domain for example ? In general terms it is a big application of administrative character and it already exists as a java client server sol

Re: [qooxdoo-devel] Form DataBinding

2010-09-30 Thread Martin Wittemann
Thanks. :) Am 30.09.2010 um 16:54 schrieb "Markus Wolf" mailto:markus.w...@sinnerschrader.com>>: Yep, added a bug report to bugzilla for this including the url of my code. The code is just one use case of this and is fairly unconfigurable, but it should be a good example. Regards Markus 2010/

Re: [qooxdoo-devel] QxJqPlot: zoomProxy

2010-09-30 Thread Simone Pandolfo
Hi Tobi, Thanks for the reply, but i don't know what event you tell me. Have you a link for some documentation about? Thanks Sp Il giorno gio, 30/09/2010 alle 17.00 +0200, Tobias Oetiker ha scritto: > Hi Simone, > > I can realy see where you are stuck from what you write, but a > common probl

Re: [qooxdoo-devel] QxJqPlot: zoomProxy

2010-09-30 Thread Tobias Oetiker
Hi Simone, I can realy see where you are stuck from what you write, but a common problem is that maybe your plot is not yet in existance when you try to access it. Use the event provided by the qxjqplot object to determine when it is ready to be accessed. cheers tobi Today Simone Pandolfo wrote:

Re: [qooxdoo-devel] Form DataBinding

2010-09-30 Thread Markus Wolf
Yep, added a bug report to bugzilla for this including the url of my code. The code is just one use case of this and is fairly unconfigurable, but it should be a good example. Regards Markus 2010/9/30 Martin Wittemann > Hey, > Thanks for supplying your code. I will take a look at it when I'm ba

[qooxdoo-devel] QxJqPlot: zoomProxy

2010-09-30 Thread Simone Pandolfo
Hi all, I'm Still try to understand how to use QXJqplot for some non basic option. For my project i need a graph like this: http://www.jqplot.com/tests/zoomProxy.php But i have some problem to make it working. i try with this code: plugins = ['dateAxisRenderer','cursor','ohlcRenderer'] //this

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

2010-09-30 Thread Jean-Baptiste BRIAUD -- Novlog
On 30 sept. 2010, at 12:10, Stefan Andersson wrote: > [CUT] > If there is any interest to debate technology, we are very interested to lay > out the words...As a matter of fact, too few of those discussions here today! > > Just to explain. > > Stefan Hi Stefan, I would be interested to know

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

2010-09-30 Thread thron7
On 09/30/2010 10:55 AM, Peter Schneider wrote: > Hello Stefan, > > I don't want to be picky, but what did you expect when you apply the plus (+) > operator on two Objects? > > this.tr("...") returns an instance of {LocalizedString}. That's not quite right. It returns a string, unless you have

Re: [qooxdoo-devel] Form DataBinding

2010-09-30 Thread Martin Wittemann
Hey, Thanks for supplying your code. I will take a look at it when I'm back at office next week. As Thomas said, it would be cool if you open up a bug report for Thant and add your code the. I will take care of that but then. Thanks, Martin Von meinem iPad gesendet Am 30.09.2010 um 12:37 schrie

Re: [qooxdoo-devel] demo of EditableLabel widget

2010-09-30 Thread Martin Wittemann
For me too. :( could you supply another link? Would be interesting to see. Best, Martin Von meinem iPad gesendet Am 30.09.2010 um 09:04 schrieb "thron7" : > > > On 09/30/2010 06:27 AM, Greg Beaver wrote: >> Hi, >> >> For those who are interested, I put together both a gist and a >> playground

Re: [qooxdoo-devel] Form DataBinding

2010-09-30 Thread thron7
On 09/30/2010 12:35 PM, Markus Wolf wrote: > Hi there, > > I've hacked a FormController to support unidirectional binding and added > a reset and a commit method. The code is available > here: http://github.com/KnisterPeter/qooxdoo-formcontroller and could > probably integrated into qooxdoo core

Re: [qooxdoo-devel] Form DataBinding

2010-09-30 Thread Markus Wolf
Hi there, I've hacked a FormController to support unidirectional binding and added a reset and a commit method. The code is available here: http://github.com/KnisterPeter/qooxdoo-formcontroller and could probably integrated into qooxdoo core. :-) Maybe I find some time and better integegrate this

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

2010-09-30 Thread Stefan Andersson
Peter, Thanks for your thoughts. I will give you the background. I am the front of a number of developers. Our intention is NOT to be demanding in person at all, but very very demanding on the software/framework/qooxdoo. This has been misunderstood as if it has been in person, but it is not.

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

2010-09-30 Thread Peter Schneider
Hello Stefan, I don't want to be picky, but what did you expect when you apply the plus (+) operator on two Objects? this.tr("...") returns an instance of {LocalizedString}. I know that this is not documented directly at the Method (tr), but looking a little bit deeper you will find the Method q

[qooxdoo-devel] Antw: How can I get concrete widget by unique id?

2010-09-30 Thread Robert Nimax
Hi, what about creating a lookup table (plain javascript map or let´s call it hash table) while filling the form ? The key represents the "id" and the value is the handle to the widget. Regards, Rob. >>> iaveryanov 9/28/2010 2:23 >>> Hello everybody! I have the form with a lot of widgets. Ea

[qooxdoo-devel] How can I get concrete widget by unique id?

2010-09-30 Thread iaveryanov
Hello everybody! I have the form with a lot of widgets. Each widget has the unique defined id (for example etnryfield.setUserData("id", "id_1001")) Then the server sends: it is necessary to modify font of the entryfield with id_1001. How can I get this entryfield by this id? What way is the b

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

2010-09-30 Thread Alexander Steitz
Hi, > No, the "styleInformation" parameter is appended to some default Rules > in line: > > So i cant add my "@import" at the Beginning :-( Yes, you can't. With "styleInformation" you can only add CSS styles like "background-color" or "margin". > An alternative is to serialize my @import. Can yo

Re: [qooxdoo-devel] Form DataBinding

2010-09-30 Thread Markus Wolf
Hi Martin, yes we have the list controller already working. But we do not only want an unidirectional binding. If we do that and have to specify all the unidirectional bindings and model set operations on save manually, then the databinding is of not much worth then. It would be very helpful to ha

Re: [qooxdoo-devel] demo of EditableLabel widget

2010-09-30 Thread thron7
On 09/30/2010 06:27 AM, Greg Beaver wrote: > 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 i