Re: [qooxdoo-devel] this.classname

2009-08-05 Thread Jim Hunter
classname does return the correct name for the given class. If you create an object like this: var a = new qx.ui.basic.Atom('Test'); then later try and get the classname with a call like: var cName = a.classname; you will get "qx.ui.basic.Atom" as the classname. Jim On Wed, Aug 5, 2009 at 4

[qooxdoo-devel] this.classname

2009-08-05 Thread dmbaggett
Can I use this.class to determine what kind of widget I have a reference to? If not, how can I tell if an object is, say, a qx.ui.form.CheckBox? Dave -- View this message in context: http://www.nabble.com/this.classname-tp24838169p24838169.html Sent from the qooxdoo-devel mailing list archive

Re: [qooxdoo-devel] Date Format Parser -- possible one more bug

2009-08-05 Thread A.Yerenkow
Qooxdoo: var dateFormatFull = new qx.util.format.DateFormat("-MM-dd HH:mm:ss.SS"); try { alert(dateFormatFull.parse("2009-06-19 10:31:47.282863")); } catch(e) { qx.log.Logger.inf

Re: [qooxdoo-devel] qx.ui.table.model.Simple/Filtered and addRegex()

2009-08-05 Thread dmbaggett
Hi Fritz, I believe the Smart table model will help you quite a bit, and would love your feedback on it. Right now it is checked in as a contrib, but the contrib needs some work. E.g., I need to rename its directory and add some demo code to the Application.js file. But you may be able to just c

Re: [qooxdoo-devel] qx.ui.table.model.Simple/Filtered and addRegex()

2009-08-05 Thread Fritz Zaucker
Hi Fabian, ok. I was trying to implement incremental search (search as you type) with a filtered data model. Works like a charm, as long as there are not too many data, but is just much too slow for a longer table. I now implemented a brute-force filter, looping over the data array and pushing (s

Re: [qooxdoo-devel] How to transform an array of value into parameters of a method call ?

2009-08-05 Thread Jean-Baptiste BRIAUD -- Novlog
it work like a piece of qooxdoo code in the summer ! it a new proverb that express that it works perfectly :-) Thanks Derrell ! On Aug 5, 2009, at 20:09 , Derrell Lipman wrote: On Wed, Aug 5, 2009 at 14:06, Derrell Lipman > wrote: This should work: qx.io.remote.Rpc.callAsync.apply(yourRpcOb

Re: [qooxdoo-devel] How to transform an array of value into parameters of a method call ?

2009-08-05 Thread Derrell Lipman
On Wed, Aug 5, 2009 at 14:06, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > This should work: > > qx.io.remote.Rpc.callAsync.apply(yourRpcObj, params); > Oh, you probably need to get the function handler and method name you're calling onto the beginning of the array: params.uns

Re: [qooxdoo-devel] How to transform an array of value into parameters of a method call ?

2009-08-05 Thread Derrell Lipman
On Wed, Aug 5, 2009 at 13:35, Jean-Baptiste BRIAUD -- Novlog < j-b.bri...@novlog.com> wrote: > Hi the list, > > It is probably more a Javascript question ... I have an array of value > in a var params > > Then, I have an API, the RPC one, witch is waiting for > rpc.callAsync(handler, methodName, p

[qooxdoo-devel] How to transform an array of value into parameters of a method call ?

2009-08-05 Thread Jean-Baptiste BRIAUD -- Novlog
Hi the list, It is probably more a Javascript question ... I have an array of value in a var params Then, I have an API, the RPC one, witch is waiting for rpc.callAsync(handler, methodName, param1, param2, param3) The problem I'm facing is that I have to make that work for any array, I can

Re: [qooxdoo-devel] Problem with images

2009-08-05 Thread thron7
> Why is there a task that deletes all the sources (distclean)? Good thing > we've got a version control system :) > Wait! 'distclean' is not supposed to delete sources! It deletes the cache, the 'build' subdirectory, 'source/script' - but not source files?! > Yes, I do have such a string: >

Re: [qooxdoo-devel] Problem with images

2009-08-05 Thread GlebM
Yes, Firefox 3.0.12 with the latest Firebug. Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.12) Gecko/2009070611 Firefox/3.0.12 (.NET CLR 3.5.30729). By the way, I uploaded the build version of the application to http://2dj.mobi (you'll have to register, then login, and then click on th

Re: [qooxdoo-devel] Problem with images

2009-08-05 Thread GlebM
Hi! Why is there a task that deletes all the sources (distclean)? Good thing we've got a version control system :) Yes, I do have such a string: "irequest_dj/Dark/decoration/form/button-c.png": [20, 52, "png", "irequest_dj"] Followed your instructions, still does not work. Also tried running cl

Re: [qooxdoo-devel] vertical stack 2 windows one on top of another

2009-08-05 Thread Fabian Jakobs
Hi skar, windows can only be placed in container widgets configured with a "Basic" or "Canvas" layout. You have to place the widgets manually e.g. using the "moveTo" method. Best Fabian > Hi, > > I want 2 window widgets to be vertically aligned. I tried using a > composite as well as another wi

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 "setHeaderCellRende

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

Re: [qooxdoo-devel] Example of remote table model

2009-08-05 Thread Derrell Lipman
On Wed, Aug 5, 2009 at 10:54, Nathan Hadley wrote: > Can anyone tell me where I might find an example of how to implement a > table using the remote table model? > qooxdoo-contrib project RpcExample. The last tab implements a remote table. The last method in source/class/rpcexample/Application.j

[qooxdoo-devel] Example of remote table model

2009-08-05 Thread Nathan Hadley
Hello all, Can anyone tell me where I might find an example of how to implement a table using the remote table model? I've had a look in the demo browser, but can't find one. TIA -- Nathan Hadley www.celcat.com Tel: 024 7646 9930 CELCAT is the trading name of Corbett Engineering Ltd, a

Re: [qooxdoo-devel] Selectbox / Rich

2009-08-05 Thread Derrell Lipman
On Wed, Aug 5, 2009 at 10:21, Martin Wittemann wrote: > Hi Derrell,thats right but the SelectBox does not have a rich property, > only the added list items do have them. So he added the rich=true to the > list items and the selectbox did not recognize it. And I dont know if we > should go with the

Re: [qooxdoo-devel] Selectbox / Rich

2009-08-05 Thread Martin Wittemann
Hi Derrell, thats right but the SelectBox does not have a rich property, only the added list items do have them. So he added the rich=true to the list items and the selectbox did not recognize it. And I dont know if we should go with the changes in the list items? Best, Martin Am 05.08.20

Re: [qooxdoo-devel] Selectbox / Rich

2009-08-05 Thread Derrell Lipman
On Wed, Aug 5, 2009 at 08:05, Martin Wittemann wrote: > Hello Daniel, > you have to set the rich property on the atom in the selectbox. > > checkbox.getChildControl("atom").setRich(true); > > That will do the job. > That sounds like a bug. If one sets the selectbox "rich" property, it should set

[qooxdoo-devel] vertical stack 2 windows one on top of another

2009-08-05 Thread skar
Hi, I want 2 window widgets to be vertically aligned. I tried using a composite as well as another window as parent with VBox as layout but got the error: > 084251 Assertion error! Windows can only be added to widgets, which > implement the interface qx.ui.window.IDesktop. All root widgets > impl

Re: [qooxdoo-devel] Variable row height for a table

2009-08-05 Thread Derrell Lipman
On Wed, Aug 5, 2009 at 07:29, patkar_n001 wrote: > > We are using "qx.ui.table.model.Simple" table model to draw a table of type > "qx.ui.table.Table". The requirement is that the row to be of different > heights to accommodate multi-line text. Can any one please help us out > here? > > We tried d

Re: [qooxdoo-devel] Problem with images

2009-08-05 Thread thron7
> Actually, the problem is bigger than that. > > Here is one of the error lines: > 26751ms ImageLoader: Not recognized format of external image > 'resource/irequest_dj/Dark/decoration/form/button-c.png'! > I saw that message before, in one of your build outputs. > The image exists in the give

Re: [qooxdoo-devel] qx.ui.table.cellrenderer.Date

2009-08-05 Thread Derrell Lipman
On Wed, Aug 5, 2009 at 08:21, A.Yerenkow wrote: > Seems, qx.ui.table.cellrenderer.Date ignores my > qx.locale.Manager.getInstance().setLocale("other-than-en") > And display always info in English language. > Designed so, or bug? > qx.ui.table.cellrenderer.Date formats the date according to the d

[qooxdoo-devel] qx.ui.table.cellrenderer.Date

2009-08-05 Thread A.Yerenkow
Seems, qx.ui.table.cellrenderer.Date ignores my qx.locale.Manager.getInstance().setLocale("other-than-en") And display always info in English language. Designed so, or bug? -- Best Regards Alexander Yerenkow, Generalissimo of UCT -

Re: [qooxdoo-devel] Selectbox / Rich

2009-08-05 Thread Daniel Hirtzbruch
Hello Martin, that's what I searched for - thank you very much. Regards, Daniel Original Message Subject: Re: [qooxdoo-devel] Selectbox / Rich (05-Aug-2009 14:05) From:Martin Wittemann To: qoox...@dhirtzbruch.de > Hello Daniel, > you have to set the rich property on

Re: [qooxdoo-devel] Selectbox / Rich

2009-08-05 Thread Martin Wittemann
Hello Daniel, you have to set the rich property on the atom in the selectbox. checkbox.getChildControl("atom").setRich(true); That will do the job. Best, Martin Am 05.08.2009 um 10:49 schrieb Daniel Hirtzbruch: > Hello, > > I got a little problem - might be trivial. I use the selectbox > wid

Re: [qooxdoo-devel] Problem with images

2009-08-05 Thread GlebM
Actually, the problem is bigger than that. Here is one of the error lines: 26751ms ImageLoader: Not recognized format of external image 'resource/irequest_dj/Dark/decoration/form/button-c.png'! The image exists in the given path, and it is a valid png image. I uploaded it to the server: http://

Re: [qooxdoo-devel] Problem with images

2009-08-05 Thread GlebM
I moved the #asset tag to the first column and almost all of the images got picked up! IntelliJ IDEA's source auto format moves all the stuff from the comment to the second column :) However, the images defined in the (.*)combined\.[png|meta] files do not get picked up by the app. Here is one of

[qooxdoo-devel] Variable row height for a table

2009-08-05 Thread patkar_n001
Hi, We are using "qx.ui.table.model.Simple" table model to draw a table of type "qx.ui.table.Table". The requirement is that the row to be of different heights to accommodate multi-line text. Can any one please help us out here? We tried dataRowRenderer to set height based on some condition, but

Re: [qooxdoo-devel] Appearance question

2009-08-05 Thread Fabian Jakobs
Hi Jim, I've opened a bug today to address exactly this issue . 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?

[qooxdoo-devel] Selectbox / Rich

2009-08-05 Thread Daniel Hirtzbruch
Hello, I got a little problem - might be trivial. I use the selectbox widget, containing rich text (symbol ®). In the dropdown everything is displayed correctly, I set it to "rich: true", but when I select any rich item, the ® is displayed as code, firebug always tells me: "There is no such pro

Re: [qooxdoo-devel] how to load TimeChooser inside an app?

2009-08-05 Thread skar
Hi, > hm, I don't have any problems with that. Just created a new app from > the skeleton, added the necessary information to the config.json, > wrote the code in the application js and run the generator and it > worked. > Could you check with firebug or any other debugging tool if the file