Re: [qooxdoo-devel] SelectBox and databinding question

2010-09-21 Thread Martin Wittemann
Hello Fritz, I was sure I had exactly such a demo some time ago. I added this feature recently so you cant find it in the current demos. Just take a look at the form and list Controller demo in the devel demo browser. Is that what you are looking for? http://demo.qooxdoo.org/devel/demobrowser/

Re: [qooxdoo-devel] QxTransformer custom namespaces

2010-09-21 Thread panyasan
Hi Leandro, Siarhei, the author of QxTransformer, will certainly be able to help - but to make sure: you are using the trunk code from qooxdoo-contrib, aren't you? Thanks, C. -- View this message in context: http://qooxdoo.678.n2.nabble.com/QxTransformer-custom-namespaces-tp5557134p5557834.ht

[qooxdoo-devel] QxTransformer custom namespaces

2010-09-21 Thread Leandro Santiago
Hello to all. I'm reading the bibliograph application and in it uses qxtransformer a lot. In this app the author defines some custom namespaces. Im my app, I'm creating a pane with some buttons. My button is named PanelButton and has this content: http://www.qxtransformer.org/qooxdoo"; xmln

Re: [qooxdoo-devel] inheriting from a singleton class

2010-09-21 Thread Leandro Santiago
Ow, I understand... So I haven't been the first person to try this :-) Thx. 2010/9/21 Derrell Lipman : > On Tue, Sep 21, 2010 at 15:27, Leandro Santiago > wrote: >> >> Hello to all. >> >> Can I create a class which inherits from a singleton class? > > Yes. And no. I think you'll find this thread

Re: [qooxdoo-devel] UploadWidget contrib does not work on IE7 (wrong encoding)

2010-09-21 Thread Tobias Oetiker
Today Tobias Oetiker wrote: > Hi John, > > Today John Spackman wrote: > > > Hi guys, > > > > There's a bug with the trunk of UploadWidget introduced in rev > > 20450; the form's enctype attribute is set to multipart/form-data > > but this is ignored by IE7 completely which sends > > "application/x

Re: [qooxdoo-devel] Using a global error handler in Qx

2010-09-21 Thread Jean-Noël Rivasseau
Thanks for the reply, which helped me. I actually updated to Qooxdoo-1.2. However I still face 2 serious problems: 1) The stacktrace is empty as Alexander also pointed out, and there is no way to obtain a stacktrace apparently. 2) (This is very serious for us) On the playground, your code worked

Re: [qooxdoo-devel] inheriting from a singleton class

2010-09-21 Thread Derrell Lipman
On Tue, Sep 21, 2010 at 15:27, Leandro Santiago wrote: > Hello to all. > > Can I create a class which inherits from a singleton class? > Yes. And no. I think you'll find this thread illuminating: http://bugzilla.qooxdoo.org/show_bug.cgi?id=3005 Derrell ---

Re: [qooxdoo-devel] UploadWidget contrib does not work on IE7 (wrong encoding)

2010-09-21 Thread Tobias Oetiker
Hi John, Today John Spackman wrote: > Hi guys, > > There's a bug with the trunk of UploadWidget introduced in rev > 20450; the form's enctype attribute is set to multipart/form-data > but this is ignored by IE7 completely which sends > "application/x-www-encoded" instead. The fix is to set the >

Re: [qooxdoo-devel] inheriting from a singleton class

2010-09-21 Thread Jean-Noël Rivasseau
I did not read your message in details, but there have already been some talks about this. Search the ML archives, you will find useful info. Don't know exactly what is the current plan these days about that, though. On Tue, Sep 21, 2010 at 9:27 PM, Leandro Santiago wrote: > Hello to all. > > Ca

[qooxdoo-devel] inheriting from a singleton class

2010-09-21 Thread Leandro Santiago
Hello to all. Can I create a class which inherits from a singleton class? In my app my idea is have a singleton window type. It's named adv4seller.SingletonWindow. So my idea is: every window in my applicaition inherits from this class. Why? I need only one window of each type: only one about win

[qooxdoo-devel] UploadWidget contrib does not work on IE7 (wrong encoding)

2010-09-21 Thread John Spackman
Hi guys, There's a bug with the trunk of UploadWidget introduced in rev 20450; the form's enctype attribute is set to multipart/form-data but this is ignored by IE7 completely which sends "application/x-www-encoded" instead. The fix is to set the form's encoding attribute too (in uploadwidget/Upl

Re: [qooxdoo-devel] Hidden feature in property _apply method?

2010-09-21 Thread Fritz Zaucker
On Tue, 21 Sep 2010, thron7 wrote: >>> On 09/21/2010 12:33 PM, Fritz Zaucker wrote: Thanks for updating the API. Actually, I had problems finding that topic in the API. Can you tell me, where to look? >>> >>> The class documentation of qx.core.Property: >>> http://demo.qooxdoo.org/1.2/ap

[qooxdoo-devel] possible bug in qx.ui.table.pane.Header ?

2010-09-21 Thread benco
Hi, I'm experiencing some problems with a new table's headerrenderer I'm working on. After some investigation, I found that when updateHeaderCell(cellInfo, cellWidget) is called, the cellWidget passed in args is not my new headerCell but the old qx.ui.table.headerrenderer.HeaderCell choosen by

[qooxdoo-devel] cursor and drop

2010-09-21 Thread Claus Straube
Hi all, I want to use the drag & drop functionallity of qooxdoo. Looking at the qooxdoo samples (http://tinyurl.com/2aazg7v), there changes the cursor from a sign to a square. I've created a little sample here: http://tinyurl.com/3a4bqqe The drag & drop functionallity works, but the cursor never c

Re: [qooxdoo-devel] image clipping: Paramètre non valide - -crop

2010-09-21 Thread thron7
Yes, you don't need anything Python-related when installing ImageMagick, just a stock Windows installation of the tool. It is not being called through some Python lib, but directly as a shell command. T. On 09/21/2010 04:47 PM, jlmag wrote: > > Hi, > > I solved my pb by installing ImageMagick-6

Re: [qooxdoo-devel] Hidden feature in property _apply method?

2010-09-21 Thread thron7
On 09/21/2010 01:28 PM, Fritz Zaucker wrote: > On Tue, 21 Sep 2010, thron7 wrote: > >> On 09/21/2010 12:33 PM, Fritz Zaucker wrote: >>> Thanks for updating the API. Actually, I had problems finding that topic in >>> the API. Can you tell me, where to look? >> >> The class documentation of qx.cor

Re: [qooxdoo-devel] problems extending the default table headerRenderer: some questions

2010-09-21 Thread benco
Ok, just found wat was wrong - that was so stupid ! Sorry for the "spam" Best, Benoît. -- View this message in context: http://qooxdoo.678.n2.nabble.com/problems-extending-the-default-table-headerRenderer-some-questions-tp051p263.html Sent from the qooxdoo mailing list archive at Nabb

Re: [qooxdoo-devel] problems extending the default table headerRenderer: some questions

2010-09-21 Thread benco
Ok, actually, it seems related to the setHeaderCellRenderer() method. I still have to found why. But maybe this topic will be closed fast :) -- View this message in context: http://qooxdoo.678.n2.nabble.com/problems-extending-the-default-table-headerRenderer-some-questions-tp051p198.htm

[qooxdoo-devel] problems extending the default table headerRenderer: some questions

2010-09-21 Thread benco
Hi, I try to modify the default table headerRenderer to add some filtering widget (e.g. a textfield or a selectbox for instance) but I can't get it work properly. It always throws this error :" this._createContainerElement is not a function".Clearly related to the new childControl I try to add b

Re: [qooxdoo-devel] image clipping: Paramètre non va lide - -crop

2010-09-21 Thread jlmag
Hi, I solved my pb by installing ImageMagick-6.6.4-4-Q16-windows-dll.exe (http://www.imagemagick.org/script/binary-releases.php#windows). Well, next step image-combined of course!. Jean-Luc -- View this message in context: http://qooxdoo.678.n2.nabble.com/image-clipping-Parametre-non-valide-c

Re: [qooxdoo-devel] Using a global error handler in Qx

2010-09-21 Thread Alexander Voronin
As I see qx.dev.StackTrace.getStackTraceFromError(exc.getSourceException()) returns empty stack. Also it's not posible to get correct stack trace using any methods here. Any suggestions? 2010/9/21 Tino Butz > Hi Jean-Noël, > > > To add a global error handling to your application, I would sugges

[qooxdoo-devel] SelectBox and databinding question

2010-09-21 Thread Fritz Zaucker
Hi, I would like to use a SelectBox with databinding like in http://demo.qooxdoo.org/current/demobrowser/#data~SelectBox.html However, I would like to have items in the select box that have both label and model. Without databinding I would create such a SelectBox with var sb = new qx.ui.fo

Re: [qooxdoo-devel] Using a global error handler in Qx

2010-09-21 Thread Tino Butz
Hi Jean-Noël, To add a global error handling to your application, I would suggest that you create an ErrorHandler Class that does all the error handling and sends the error reports to your server. The instance of the class would register an error handler to the qx.event.GlobalError: qx.event.Gl

Re: [qooxdoo-devel] Using a global error handler in Qx

2010-09-21 Thread Tino Butz
Hi Jean-Noël, To add a global error handling to your application, I would suggest that you create an ErrorHandler Class that does all the error handling and sends the error reports to your server. The instance of the class would register an error handler to the qx.event.GlobalError: qx.event.Gl

[qooxdoo-devel] image clipping: Paramètre non valide - -crop

2010-09-21 Thread Jean-Luc MAGNAN
Hi all, I'm trying to make a image-clipping job, but it's return 'Paramètre non valide - -crop'. I use WINDOWS XP and ActivePython 2.7 with package ImageMagick's MagickWand 6.6.0 . My image.json jobs: "jobs" : { "common" : { "let" : { "RESPATH" : "./source/resour

Re: [qooxdoo-devel] Using a global error handler in Qx

2010-09-21 Thread Jean-Noël Rivasseau
Any help on this? (Sorry to insist but we really need it quite urgently ;) Jean-Noel On Mon, Sep 20, 2010 at 4:00 PM, Jean-Noël Rivasseau wrote: > Hello, > > We are at the point where we need to have extensive JS error logging > in production for our web-app. I've seen that Qx already tackles t

Re: [qooxdoo-devel] Hidden feature in property _apply method?

2010-09-21 Thread Fritz Zaucker
On Tue, 21 Sep 2010, thron7 wrote: > On 09/21/2010 12:33 PM, Fritz Zaucker wrote: >> Thanks for updating the API. Actually, I had problems finding that topic in >> the API. Can you tell me, where to look? > > The class documentation of qx.core.Property: > http://demo.qooxdoo.org/1.2/apiviewer/#qx.

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread jacob
thron7-2 wrote: > > I'm not familiar with the internals of model.Remote. I think you have to > override _loadRowData anyway, and this is just what prefetchRows calls. > Which other method do you have to fetch data from the server? > _loadRowData is overridden to load data from the server. But

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread thron7
> When you say request the next couple of higher indexes - what would be the > best way to do it - prefetchRows(which I tried and didn't worked for me) or > call to _loadRowData? I'm not familiar with the internals of model.Remote. I think you have to override _loadRowData anyway, and this is ju

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread jacob
thron7-2 wrote: > >> Yes, from the server. The row would be *inserted* on the server but at >> the >> end, so as soon I remove something on client side I want to get some more >> rows from the end without clearing cache. > > But that is easy. You can removeRow on the client, and for the new row

Re: [qooxdoo-devel] Hidden feature in property _apply method?

2010-09-21 Thread thron7
On 09/21/2010 12:33 PM, Fritz Zaucker wrote: > Thanks for updating the API. Actually, I had problems finding that topic in > the API. Can you tell me, where to look? The class documentation of qx.core.Property: http://demo.qooxdoo.org/1.2/apiviewer/#qx.core.Property > And perhaps it might be us

Re: [qooxdoo-devel] Rpc dispatcher for Perl's Mojo Framework

2010-09-21 Thread Fritz Zaucker
On Tue, 21 Sep 2010, thron7 wrote: >> I would like to thank Oetiker+Partner for sponsoring the development. > > Ah, I forgot: Our first example of successful sponsoring regarding > qooxdoo. Very nice :). More to come ... ;-) Cheers, Fritz > --

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread thron7
On 09/21/2010 11:57 AM, jacob wrote: > > Sorry, should have been more clear the first time > > I want to present to my users (client side) collection of objects (rows). > This collection however can change over time server side so I would like to > synchronize it with clients. As mentioned

Re: [qooxdoo-devel] Hidden feature in property _apply method?

2010-09-21 Thread Fritz Zaucker
Thanks for updating the API. Actually, I had problems finding that topic in the API. Can you tell me, where to look? And perhaps it might be useful to link it in the manual? Cheers, Fritz On Tue, 21 Sep 2010, thron7 wrote: > You're right. I left the manual as it was, as it should focus on the >

Re: [qooxdoo-devel] Rpc dispatcher for Perl's Mojo Framework

2010-09-21 Thread thron7
> I would like to thank Oetiker+Partner for sponsoring the development. Ah, I forgot: Our first example of successful sponsoring regarding qooxdoo. Very nice :). T. -- Start uncovering the many advantages of virtual ap

Re: [qooxdoo-devel] Rpc dispatcher for Perl's Mojo Framework

2010-09-21 Thread thron7
On 09/21/2010 11:22 AM, Matthias Bloch wrote: > I'm happy to announce a new Qooxdoo-Jsonrpc dispatcher. > It is written in Perl for the Mojo-framework. > > Mojo is a next generation web framework for the Perl programming language. > See http://mojolicious.org/ for further information. > > The Q

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread jacob
panyasan wrote: > > Hi, > > I was trying to solve this question once, using a comet/server-push-like > mechanism. I built a "databinding" layer on top of the TreeVirtual and the > Table widgets which manipulated their internal cache incrementally. Parts > of this can be seen in the "virtualdata

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread jacob
Sorry, should have been more clear the first time I want to present to my users (client side) collection of objects (rows). This collection however can change over time server side so I would like to synchronize it with clients. As mentioned before I'm using table to display my collection and

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread panyasan
Hi, I was trying to solve this question once, using a comet/server-push-like mechanism. I built a "databinding" layer on top of the TreeVirtual and the Table widgets which manipulated their internal cache incrementally. Parts of this can be seen in the "virtualdata" contrib. However, this involve

[qooxdoo-devel] Rpc dispatcher for Perl's Mojo Framework

2010-09-21 Thread Matthias Bloch
I'm happy to announce a new Qooxdoo-Jsonrpc dispatcher. It is written in Perl for the Mojo-framework. Mojo is a next generation web framework for the Perl programming language. See http://mojolicious.org/ for further information. The Qooxdoo-Jsonrpc dispatcher takes care of all the qooxdoo specif

Re: [qooxdoo-devel] Dynamic updates to Remote model of Table

2010-09-21 Thread thron7
I'm not sure I'm following you here... > I have a table with remote model behind it. > > I was wondering how can I refresh add content to Remote model without > refreshing the whole cache. What does that mean? You want to add/update content to the model on the client side, through user interacti

Re: [qooxdoo-devel] qooxdoo property system and debugging

2010-09-21 Thread panyasan
Hi Martin, thanks for the clarification. But wouldn't it make more sense in theses cases to automatically print a qooxdoo-stacktrace using qx.dev.StackTrace (I don't remember the correct class name) instead of letting the error be handled by the javascript engine (which produces these unusable s

Re: [qooxdoo-devel] Hidden feature in property _apply method?

2010-09-21 Thread thron7
You're right. I left the manual as it was, as it should focus on the important aspects. But the API doc (which needs to be complete) now has the third param. Thanks, T. On 09/21/2010 07:59 AM, Fritz Zaucker wrote: > Hi, > > looking at the source in framework/source/class/qx/core/Property.js it s

Re: [qooxdoo-devel] External variable and class instance

2010-09-21 Thread Martin Wittemann
Hey, first of all, you static variable is written with 3 t's which could be one of the problems. Additionally, you always have to access the statics fully qualified which means: Application.js: myapp.Application.mapSettings = new myapp.mapSetting(); This way, your code in your second class sho

Re: [qooxdoo-devel] RpcPerl Dispatcher on CPAN

2010-09-21 Thread Tobias Oetiker
Hi Thomas, Yesterday thron7 wrote: > Are the RpcPerl gods aware of this?: > http://search.cpan.org/~mbp/MojoX-Dispatcher-Qooxdoo-Jsonrpc-0.52/ > > Tobi, you might know about it?! yep ... I not entirely without blame :-) ... matthias will announce soon. cheers tobi -- Tobi Oetiker, OETIKER+PA