Re: [qooxdoo-devel] Invalid callback function

2009-01-07 Thread Alexander Back
Hi Mustafa, Mustafa Sak wrote: > Greatings, > > i'm getting this console message: > [Exception... "'Failed to add event listener for type 'execute' to the target > 'qx.ui.form.Button[2m]': Invalid callback function: Expected value to be > typeof function but found undefined!' when calling met

[qooxdoo-devel] Invalid callback function

2009-01-07 Thread Mustafa Sak
Greatings, i'm getting this console message: [Exception... "'Failed to add event listener for type 'execute' to the target 'qx.ui.form.Button[2m]': Invalid callback function: Expected value to be typeof function but found undefined!' when calling method: [nsIDOMEventListener::handleEvent]" ns

[qooxdoo-devel] WG: RPC Call in Source environment

2009-01-07 Thread Mustafa Sak
Thank you for your prompt reply. I guess my fault was to try to access to the rpc (http://localhost/services ) through the source file url (file://.../htdocs/project/source/index.html ). Sure i tried to run it through the webserver (http://localhost/project/source

Re: [qooxdoo-devel] RPC Call in Source environment

2009-01-07 Thread Mustafa Sak
Thank you for your prompt reply. I guess my fault was to try to access to the rpc (http://localhost/services ) through the source file url (file://.../htdocs/project/source/index.html ). Sure i tried to run it through the webserver (http://localhost/project/source

Re: [qooxdoo-devel] RPC Call in Source environment

2009-01-07 Thread Derrell Lipman
On Wed, Jan 7, 2009 at 7:26 PM, Mustafa Sak wrote: > Greating, > > how can i use RPC calls in Source environment. If i generate a build > version, i can access easily to my PHP backend on localhost. But in Source > mode i have no access permisssions i gues. > You can use the source version; you

[qooxdoo-devel] RPC Call in Source environment

2009-01-07 Thread Mustafa Sak
Greating, how can i use RPC calls in Source environment. If i generate a build version, i can access easily to my PHP backend on localhost. But in Source mode i have no access permisssions i gues. THX for your help. Mustafa Sak ---

Re: [qooxdoo-devel] TreeVirtual Cell Editing

2009-01-07 Thread Patrick Paskvan
Thanks for your help, Derrell. Bug 1822 has been filed as a table issue. http://bugzilla.qooxdoo.org/show_bug.cgi?id=1822 Pat On Wed, Jan 7, 2009 at 11:42 AM, Derrell Lipman wrote: > On Wed, Jan 7, 2009 at 11:09 AM, Patrick Paskvan > wrote: >> >> Hi List, >> >> In 0.7.3, I had a treevirtual c

Re: [qooxdoo-devel] TreeVirtual Cell Editing

2009-01-07 Thread Derrell Lipman
On Wed, Jan 7, 2009 at 11:09 AM, Patrick Paskvan wrote: > Hi List, > > In 0.7.3, I had a treevirtual control with a couple of editable > columns. I just got around to testing that part of the app in 0.8 > (and 0.8.1), and the editable columns aren't editable any longer. > Using the playground, I

[qooxdoo-devel] TreeVirtual Cell Editing

2009-01-07 Thread Patrick Paskvan
Hi List, In 0.7.3, I had a treevirtual control with a couple of editable columns. I just got around to testing that part of the app in 0.8 (and 0.8.1), and the editable columns aren't editable any longer. Using the playground, I set up this sample: *** START SAMPLE ** var tv

Re: [qooxdoo-devel] 0.8 - Internal Window drag not ending when mouse leaves document

2009-01-07 Thread WillP
Alexander Back wrote: > > Hi Will, > > WillP wrote: >> Update: this does not seem to be a problem with Opera but is does happen >> in >> Firefox 3.0.5 and IE 6.0 >> >> >> WillP wrote: >>> When an internal window is dragged and the mouse moves outside the >>> document area (and even outside th

Re: [qooxdoo-devel] Best way to build Forms?

2009-01-07 Thread Farid Elyahyaoui
i have a form class which contains a private array of all fields. the array has two columns: one with a name-identifier and one that points to the actual field widget. the form class has a method addField which adds a field of the desired type (textfield, togglebutton, etc.). It takes as input: the

Re: [qooxdoo-devel] Best way to build Forms?

2009-01-07 Thread Tobias Oetiker
Today Roman Schmid wrote: > Hi Tobi > > Thanks for your input. > Dynamically building the form from a map that comes from the server > sounds tempting :) > Too bad that the values (eg. label text) coming from the server won't be > wrapped by the translation features of qooxdoo... well if you know

Re: [qooxdoo-devel] Best way to build Forms?

2009-01-07 Thread Roman Schmid
Tobias Oetiker wrote: > Hi Roman, > > Today Roman Schmid wrote: > > >> Or do you simply set the input fields as public properties of the form >> and then read/write them? That wouldn't be good OOP Practice, wouldn't it? >> >> Well, I'm kinda stuck here since there are some many feasible ways to

Re: [qooxdoo-devel] RPC tests?

2009-01-07 Thread Derrell Lipman
On Wed, Jan 7, 2009 at 6:47 AM, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > > On Mon, Jan 5, 2009 at 5:57 PM, aggieben wrote: > >> >> The RPC server writer's guide references demo/RPC_3.html and >> demo/RPC_4.html, >> which I was able to figure out once existed in the repository

Re: [qooxdoo-devel] Issue (bug) with flex sizing for TextField and ComboBox

2009-01-07 Thread Mr. Hericus
On Tue, 2009-01-06 at 20:20 -0500, Derrell Lipman wrote: > On Tue, Jan 6, 2009 at 5:24 PM, Mr. Hericus wrote: > Hi All, > > Hi. No, it's not a bug; it's just a different paradigm than was used > in 0.7. In 0.8, each widget has a preferred width. Simple widgets > (ones without a layout

Re: [qooxdoo-devel] Best way to build Forms?

2009-01-07 Thread Tobias Oetiker
Hi Roman, Today Roman Schmid wrote: > Or do you simply set the input fields as public properties of the form > and then read/write them? That wouldn't be good OOP Practice, wouldn't it? > > Well, I'm kinda stuck here since there are some many feasible ways to > this. If you lot could share some o

[qooxdoo-devel] Best way to build Forms?

2009-01-07 Thread Roman Schmid
Hello Developers I'm trying to build an Application that's composed of quite a lot of different forms (user-input forms). Since I'm new to qooxdoo, i was wondering how this could be done as efficient as possible. How do you guys/gals create forms in qooxdoo? Do you generate them dynamically, or bu

Re: [qooxdoo-devel] How to make a column name visible in the ColumnVisibility button on a simple model qooxdoo table???

2009-01-07 Thread Derrell Lipman
On Tue, Jan 6, 2009 at 1:59 PM, robust wrote: > > hi > > I dont want to show a column in the table as well as in the > ColumnVisibility > button. > For hiding the column from the table I am using the method > setColumnVisible(0, false); which is wrking. > > But I am unable to hide the column name

Re: [qooxdoo-devel] Issue (bug) with flex sizing for TextField and ComboBox

2009-01-07 Thread Matthew Gregory
Just a thought, we had something similar. We found that that using a grid layout was far better, does this fit your need? It has less overhead that several nested containers (AFAIK) and if some control doesn't behave correctly and is too large, if you are using flex it will affect all controls

Re: [qooxdoo-devel] RPC tests?

2009-01-07 Thread Derrell Lipman
On Mon, Jan 5, 2009 at 5:57 PM, aggieben wrote: > > The RPC server writer's guide references demo/RPC_3.html and > demo/RPC_4.html, > which I was able to figure out once existed in the repository at > /frontend/application/demobrowser/source/demo/test/html/* (or something > close), but apparently

[qooxdoo-devel] How to insert text at cursor position inside a TextField?

2009-01-07 Thread Jenec
Hi everybody, I need to insert some text at cursor position inside of a TextField. So I need to get a last cursor position inside a TextField. How? Thanks for help, Jan -- View this message in context: http://www.nabble.com/How-to-insert-text-at-cursor-position-inside-a-TextField--tp21328852

Re: [qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-07 Thread Fritz Zaucker
Cool, thanks! Maybe somebody from the Qooxdoo team cares to put it into snippets? Regards, Fritz On Wed, 7 Jan 2009, Farid Elyahyaoui wrote: > here it is ('this' in the next code is a widget that extends a HBox widget): > > this._help = new > qx.ui.basic.Image("qx/icon/Oxygen/16/actions/he

Re: [qooxdoo-devel] generating ids in qx08

2009-01-07 Thread Fabian Jakobs
Hi Andy, we have something similar in the framework "qx.ui.core.Widget.getWidgetByElement". This function walks up the DOM and returns the widget instance the element belongs to. Maybe this can be useful for you. Best Fabian > thanks again, Thomas. > > So if someone is following this thread, t

Re: [qooxdoo-devel] how would you add help to a qooxdoo application?

2009-01-07 Thread Farid Elyahyaoui
here it is ('this' in the next code is a widget that extends a HBox widget): this._help = new qx.ui.basic.Image("qx/icon/Oxygen/16/actions/help-contents.png"); this.add(this._help); var myTT = new qx.ui.tooltip.ToolTip('the initial html code'); myTT.setRich( true );

Re: [qooxdoo-devel] Dynamic tree in qooxdoo 0.81

2009-01-07 Thread Fabian Jakobs
Derrell Lipman schrieb: > On Tue, Jan 6, 2009 at 10:06 AM, Ralf Nieuwenhuijsen > mailto:ralf.nieuwenhuij...@gmail.com>> > wrote: > > 2009/1/6 Derrell Lipman >: > > On Tue, Jan 6, 2009 at 9:43 AM, winfried detmar > mailto:wm.det...@online

Re: [qooxdoo-devel] qx.ui.core.MPlacement methode placeToMouse don't work well inside a layout.

2009-01-07 Thread Fabian Jakobs
Hi Sebastian, I suspect there is a regression in the MPlacement code. Could you open a bug report for this issue. Just attach the contents of the mail. Best Fabian > Hello, > > I'm testing the new version of qooxdoo 0.8. > > The method placeToMouse work well with a widget added to the root > app

Re: [qooxdoo-devel] How do I hide column names in a table?

2009-01-07 Thread robust
hi Daniel, I dont want to show a column in the table aswellas in the ColumnVisibility button. For hiding the column from the table I am using the method setColumnVisible(0, false); which is wrking. But I am unable to hide the column name from the ColumnVisibility button. I followed your answer

[qooxdoo-devel] RPC tests?

2009-01-07 Thread aggieben
The RPC server writer's guide references demo/RPC_3.html and demo/RPC_4.html, which I was able to figure out once existed in the repository at /frontend/application/demobrowser/source/demo/test/html/* (or something close), but apparently were removed, and I have had the darnedest time trying to fi

[qooxdoo-devel] how to avoid to reload flash when switched among Pages in TabView

2009-01-07 Thread sunny08
when switched among pages in TabView, the flash in the page will be reloaded and the flash's states is lost. For example: Step 1: Page 1 contains one flash and the flash has no nodes and connections. http://www.nabble.com/file/p21303685/step1.jpg Step 2: Add three nodes and two connections to t

[qooxdoo-devel] How to make a column name visible in the ColumnVisibility button on a simple model qooxdoo table???

2009-01-07 Thread robust
hi I dont want to show a column in the table as well as in the ColumnVisibility button. For hiding the column from the table I am using the method setColumnVisible(0, false); which is wrking. But I am unable to hide the column name from the ColumnVisibility button. Please help me on this. He

Re: [qooxdoo-devel] about table component

2009-01-07 Thread Alexander Back
Hi Wilmar, Wilmar da Silva wrote: > Hi everybody, > > I use delphi for php and the component dbgrid (qooxdoo). > when I use ajax and the dbgrid content information with caracteres accents. > I know that ajax use UTF-8, but I need iso-8859-1. > show error. > someone can help me As far as I know t

Re: [qooxdoo-devel] Problem with text fields, drag-select, and keypress listeners

2009-01-07 Thread Alexander Back
Hi Kenny, Kenneth Tilton wrote: > Kenneth Tilton wrote: >> Fun bug: >> >> I have a listener on a text field to determine when the user presses enter: >> >> If I drag-select text within the string and am a little careless and >> overshoot the bounds of the text field such that the mouse moves over

Re: [qooxdoo-devel] Resetting (and clearing) the root interface

2009-01-07 Thread Alexander Back
Hi Bobby, Bobby Sciacchitano wrote: > Hi All, > > I¹m just starting with QooxDoo and really enjoying the power and flexibility > given by the library. In 4 days I¹ve been able to write a business app that > meets our needs. Just adding the finishing touches. Welcome to the qooxdoo project! Nice t

Re: [qooxdoo-devel] qx widgets and markup (optimisation ?)

2009-01-07 Thread Alexander Back
Hi Benco, benco wrote: > Hello, > > I noticed Qooxdoo exclusively make use of > element for widget construction. > > I wonder if it is really appropriate for some types of widget (I think of > tables and virtual trees). The table and the virtual trees are based on the same codebase. Both are

Re: [qooxdoo-devel] how to let the flash under the popup window

2009-01-07 Thread Alexander Back
Hi, sunny08 wrote: > I find one problem, that i cann't put the flash under the popup window. > Actually, the flash is always on the top of the popup window,so that it > maybe cover some part of the popup window. Here is the code: Flash is a special control and you have to put a (transparent) ifram

Re: [qooxdoo-devel] 0.8 - Internal Window drag not ending when mouse leaves document

2009-01-07 Thread Alexander Back
Hi Will, WillP wrote: > Update: this does not seem to be a problem with Opera but is does happen in > Firefox 3.0.5 and IE 6.0 > > > WillP wrote: >> When an internal window is dragged and the mouse moves outside the >> document area (and even outside the browser frame) the drag is not >> termina