Re: [qooxdoo-devel] How to "tryBindProperty()" ?

2010-11-18 Thread Martin Wittemann
Hey, hm, sounds like a hard challenge when the property itself changes. But i guess you won't get it working by using the bindItem method. This is called if the bindings need to be set up or renewed. It won't be called on a reorder of the list for example which would break your example. But I li

Re: [qooxdoo-devel] How to

2010-11-18 Thread Guilherme Aiolfi
But you can have the widget created before and set the model afterwards. Just pass null to the controller and set the model later. The bindItem function will only be called when you have a model attached. On Thu, Nov 18, 2010 at 8:05 PM, benco wrote: > > Hi Krycek, > > Thanks for your reply. > >

Re: [qooxdoo-devel] Form data - managing complex/nested form data

2010-11-18 Thread Guilherme Aiolfi
You could use the Object Controller and bind field by field and use a nested object like yours as model. Have you tried using an object controller for that? I use the object controller for all my forms and think it pretty flexible. The only think that I'm not sure that will work in your scenario i

Re: [qooxdoo-devel] API Documentation

2010-11-18 Thread aditya siram
That worked. Thanks! -deech On Thu, Nov 18, 2010 at 3:15 PM, thron7 wrote: > Try enclosing your text in > > > tags. > > T. > >> Do you know of a markup or HTML tag that will render text as is? Your >> suggestions are fine for text but I have some ASCII diagrams that are >> not being rendered pr

Re: [qooxdoo-devel] IE8 problem with qx.ui.embed.Iframe::getBody

2010-11-18 Thread panyasan
Ok, seems like this DispHtmlBody is some wierd IE-only Element class. I solved it by replacing var img = body.getElementById("photo"); by var img = body.getElementsByTagName("img")[0]; Cross-browser hell! So glad I don't have to deal with this normally! C. -- View this message in c

Re: [qooxdoo-devel] How to

2010-11-18 Thread benco
Hi Krycek, Thanks for your reply. However I'm not sure if it will work as I already tried something similar... In this case, my problem was the model is created after the widget appears (for some "conditional" reasons about the allowed values and so by extension, model's changes) and I always h

Re: [qooxdoo-devel] API Documentation

2010-11-18 Thread thron7
Try enclosing your text in tags. T. > Do you know of a markup or HTML tag that will render text as is? Your > suggestions are fine for text but I have some ASCII diagrams that are > not being rendered properly. > -deech > > On Thu, Nov 18, 2010 at 11:00 AM, thron7 > wrote: >> >> >> On 11/18/20

Re: [qooxdoo-devel] How to "tryBindProperty()" ?

2010-11-18 Thread Guilherme Aiolfi
Hi, I think the bindItem() is called is every new item creation or when it needs to be renewed. So I would try a simple if to see which property you should bind: if (item.getModel().get("label")) { controller.bindProperty("label", "label", null, item, index); } else { controller.bindPro

[qooxdoo-devel] How to "tryBindProperty()" ?

2010-11-18 Thread benco
Hello, I've a little problem with the binding features - I guess Martin will be the best candidate to answer but anybody has the solution, it's of course welcome :) I've a model with partial datas like in this example (and bound to a combobox via the listController): [ {data:""}, {data:"",lab

Re: [qooxdoo-devel] API Documentation

2010-11-18 Thread aditya siram
Do you know of a markup or HTML tag that will render text as is? Your suggestions are fine for text but I have some ASCII diagrams that are not being rendered properly. -deech On Thu, Nov 18, 2010 at 11:00 AM, thron7 wrote: > > > On 11/18/2010 05:19 PM, aditya siram wrote: >> Hi all, >> I am havi

Re: [qooxdoo-devel] 2 little question about List

2010-11-18 Thread rsantiagopaz
I read that. Early read this example too http://www.mail-archive.com/qooxdoo-devel@lists.sourceforge.net/msg27791.html I figure my code must be similar. I procede to trial-and-error I try all variants list1.fireEvent("dblclick", qx.event.type.Mouse, [{}, list1, list1, false, true]); list1.fireEve

Re: [qooxdoo-devel] 2 little question about List

2010-11-18 Thread Daniel Wagner
rsantiagopaz schrieb: > thank you Daniel. > > About 2, yes, I know how work with that variant. > My objective with this simplified example is to learn work correctly with > all fireEvents, and particularly learn to avoid this error in dblclick, for > example. I figure I must use the 'args' third p

Re: [qooxdoo-devel] 2 little question about List

2010-11-18 Thread rsantiagopaz
thank you Daniel. About 2, yes, I know how work with that variant. My objective with this simplified example is to learn work correctly with all fireEvents, and particularly learn to avoid this error in dblclick, for example. I figure I must use the 'args' third parameter to initialize the Mouse

Re: [qooxdoo-devel] API Documentation

2010-11-18 Thread thron7
On 11/18/2010 05:19 PM, aditya siram wrote: > Hi all, > I am having a problem where the api generator isn't respecting my > carriage returns. For instance a comment like this: > /** > * > * Some Heading > * > * Some comment > */ > > is rendered like this: >

[qooxdoo-devel] API Documentation

2010-11-18 Thread aditya siram
Hi all, I am having a problem where the api generator isn't respecting my carriage returns. For instance a comment like this: /** * * Some Heading * * Some comment */ is rendered like this: Some Heading=Some Comment How can I force a newline? Than

Re: [qooxdoo-devel] virtual List implementation in demobrowser

2010-11-18 Thread aditya siram
Awesome. Thank you! -deech On Thu, Nov 18, 2010 at 4:10 AM, Daniel Wagner wrote: > Hi deech, > > you should use the new virtual list, qx.ui.list.List. > demobrowser.demo.virtual.list.List is sort of a proof of concept for the > ideas that went into ui.list.List. We decided to keep it around for >

[qooxdoo-devel] IE8 problem with qx.ui.embed.Iframe::getBody

2010-11-18 Thread panyasan
Hello, I have an iframe showing a page with an in it, on which is used to do some upload magic. It works well on all Browsers except IE8 (surprise!). Here's a screenshot with the debugger screen that shows the problem: http://qooxdoo.678.n2.nabble.com/file/n5752027/Bild_2.png The problem is

Re: [qooxdoo-devel] 2 little question about List

2010-11-18 Thread Daniel Wagner
Hi, rsantiagopaz schrieb: > with this little example I need ask 2 questions: > > 1) First, you must double-click in all 15 items from the first list. > Observe the behavior. Why second and third list have different behavior? > > Is only for curiosity. I was a problem until I detect this little e

Re: [qooxdoo-devel] Button height, Icon not fine with Dark Theme

2010-11-18 Thread thron7
> You see, the button has same height as before, but the icon is now in the > middle. > I can only reduce the height with; > > maxHeight: 25, Ok, I just looked at your Playground example, and there it works. T. -- Beaut

Re: [qooxdoo-devel] Button height, Icon not fine with Dark Theme

2010-11-18 Thread Qoodary
Hi Martin thank you. now the icon is fine also with "31" in it :-) but, << As for the height/width: That's what Jens said, use qx.ui.form.Button(null, ...) and the extra space is gone. You can also remove the 'iconposition : "top"' setting. >> not working for me: var btnDeadline = new qx.ui.for

Re: [qooxdoo-devel] RPC calls best practices

2010-11-18 Thread Derrell Lipman
On Thu, Nov 18, 2010 at 07:12, omrihar wrote: > > Hello All, > > I am using JSON-RPC (almost) exclusively to communicate with the server on > an application I am writing. > This application will be an internal one in my company, and will have > probably at most 20 users working at once. > > I hav

Re: [qooxdoo-devel] Drag & Drop: permit for container but deny when over a child

2010-11-18 Thread Joachim Baran
On 18 November 2010 11:48, rsantiagopaz wrote: > I was work in some similar. But maybe I am missunderstanding you, because the > english. Your example is excellent! I never tried to use both listeners together. The 'click'-event is still fired, but at least it looks more consistent now. Thanks

[qooxdoo-devel] 2 little question about List

2010-11-18 Thread rsantiagopaz
with this little example I need ask 2 questions: 1) First, you must double-click in all 15 items from the first list. Observe the behavior. Why second and third list have different behavior? Is only for curiosity. I was a problem until I detect this little extrange behavior. 2) What is the cor

Re: [qooxdoo-devel] Button height, Icon not fine with Dark Theme

2010-11-18 Thread thron7
Ok, - Darktheme simply uses a different icon set (Oxygen, as opposed to Tango in the Modern theme); and the Oxygen icon has no "31" :). If you want to use the Tango icon, give its full resource id ("qx/icon/Tango/32/apps/office-calendar.png"), and also add a #asset(qx/icon/Tango/32/apps/office-c

Re: [qooxdoo-devel] Button height, Icon not fine with Dark Theme

2010-11-18 Thread Qoodary
Hi, thank you for the help. here is the button look in dark Theme. http://old.nabble.com/file/p30247342/button_dark_theme.jpg you see, the icon is not complete wrong, but it is not so clear and exact as in the normal theme. The number 31 is missing. What about the height? Is this normal or st

[qooxdoo-devel] RPC calls best practices

2010-11-18 Thread omrihar
Hello All, I am using JSON-RPC (almost) exclusively to communicate with the server on an application I am writing. This application will be an internal one in my company, and will have probably at most 20 users working at once. I have read in the qooxdoo documentation that it is recommended to

Re: [qooxdoo-devel] focus signal in the Table widget

2010-11-18 Thread Alexander Steitz
Hi, > thank yoy very much alex, this is a perfect solution for my problem. Good to hear that. > For curiosity I need ask other question: Is posible, manipulating > decorators, appareances files (or programatically) in a easy way, get > exactly the same focus signal like the qx.ui.form.List widget

Re: [qooxdoo-devel] Adding a mousemove event on the document object

2010-11-18 Thread Alexander Steitz
Hi Jean-Noël, if so, then please open a bug report for it. Regards, Alex From: Jean-Noël Rivasseau [mailto:elva...@gmail.com] Sent: Wednesday, November 17, 2010 7:56 PM To: qooxdoo Development Subject: Re: [qooxdoo-devel] Adding a mousemove event on the document object I tested on other bro

Re: [qooxdoo-devel] Drag & Drop: permit for container but deny when over a child

2010-11-18 Thread rsantiagopaz
I was work in some similar. But maybe I am missunderstanding you, because the english. With some little example maybe I will understand better. Or try this little example. Drag First label on container or Second label var doc = this.getRoot(); var label1 = new qx.ui.basic.Label("First label")

Re: [qooxdoo-devel] Button height, Icon not fine with Dark Theme

2010-11-18 Thread thron7
Hansjoerg, can you provide a screenshot that shows the deviant appearance in the DarkTheme?! Sounds like the image has been displaced in the button. T. On 11/18/2010 11:58 AM, Qoodary wrote: > > Hello, > > I have normal button with a calendar icon. > > http://tinyurl.com/36o6j8r > > With the

Re: [qooxdoo-devel] Button height, Icon not fine with Dark Theme

2010-11-18 Thread Jens Lautenbacher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 use null as the first parameter if you don't want to have text...? On 11/18/2010 11:58 AM, Qoodary wrote: > > Hello, > > I have normal button with a calendar icon. > > http://tinyurl.com/36o6j8r > > With the standard Theme you can see the icon cor

[qooxdoo-devel] Button height, Icon not fine with Dark Theme

2010-11-18 Thread Qoodary
Hello, I have normal button with a calendar icon. http://tinyurl.com/36o6j8r With the standard Theme you can see the icon correct with the "31" in it. But with dark theme you can not see the "31". Is there a workarround? I do not want to have a text in the button, just the icon and a tooltip. W

Re: [qooxdoo-devel] focus signal in the Table widget

2010-11-18 Thread rsantiagopaz
thank yoy very much alex, this is a perfect solution for my problem. For curiosity I need ask other question: Is posible, manipulating decorators, appareances files (or programatically) in a easy way, get exactly the same focus signal like the qx.ui.form.List widget, for example? With yout ans

Re: [qooxdoo-devel] virtual List implementation in demobrowser

2010-11-18 Thread Daniel Wagner
Hi deech, you should use the new virtual list, qx.ui.list.List. demobrowser.demo.virtual.list.List is sort of a proof of concept for the ideas that went into ui.list.List. We decided to keep it around for reference until the "real" virtual list is finalized. Just be aware that the virtual list

Re: [qooxdoo-devel] Drag & Drop: permit for container but deny when over a child

2010-11-18 Thread Joachim Baran
On 16 November 2010 17:10, rsantiagopaz wrote: > Im not sure, but try e.stopPropagation() in the child's drop event listener I have tried that, but it does not seem to work. It looks like the container receives the dragover-/drop-events whereas its children do not get to see them. I guess tha

[qooxdoo-devel] Form data - managing complex/nested form data

2010-11-18 Thread sub
Hi all, I was interested to hear about people's approaches to managing form data that is nested/hierarchical. The screenshot attached is my (cut down) example where I have groups of fields arranged in one form. There are also common elements or field groups that can be reused in certain parts of

Re: [qooxdoo-devel] How to get object / widget at mouse position?

2010-11-18 Thread Martin Wittemann
Hey, I'm not sure if this is a good idea to include it in general because it enables the user to do real lazy coding and hacks. But open up a feature request, we can discuss in there the details some time. :) Thanks, Martin Am 18.11.2010 um 09:06 schrieb Mustafa Sak: > Thanks. I will take a loo

Re: [qooxdoo-devel] How to get object / widget at mouse position?

2010-11-18 Thread Mustafa Sak
Thanks. I will take a look. So may be would be fun to have such a feature generally in qx. In drag and drop cases it would be useful. I'll open a feature request. Should I? Regards Sak Von meinem iPhone gesendet Am 18.11.2010 um 08:18 schrieb Martin Wittemann : > Hey, > > thats no code we ha