Re: [qooxdoo-devel] handling RemoteServiceException in js

2007-04-04 Thread Tobias Koller (GERMO GmbH)
You could catch the exception on the server side and put it in the return-Value. Tobias Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Agustin Almonte F. Gesendet: Donnerstag, 5. April 2007 01:19 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] handling

[qooxdoo-devel] handling RemoteServiceException in js

2007-04-04 Thread Agustin Almonte F.
Hi, i'm using rpc qooxdoo library in my app and i need to use exceptions messages. In server code i throw exceptions like this: throw new RemoteServiceException("message for exception"); So, in javascript i would like to get the exception message: try{ //call my function }catch(e){ alert(e.

[qooxdoo-devel] Announcing 0.7-alpha2

2007-04-04 Thread Andreas Ecker
Hi all, just wanted to let you know about a tiny surprise before the Easter break: another pre-release is available, 0.7-alpha2 ! Please see the following news entry for more information: http://news.qooxdoo.org/another-exciting-technical-preview Any feedback on the new features, particularly th

Re: [qooxdoo-devel] Label: setAppearance resets wrap property

2007-04-04 Thread Ralf Sternberg
Hi Alex, Alex Back schrieb: > calling setAppearance() resets those properties to its defaultValue which are > defined in the original appearance but not in the new appearance. > Let me explain this mechanism with your label example. > > The original "label"-appearance in the Classic appearance

Re: [qooxdoo-devel] xml -> xslt -> javascript

2007-04-04 Thread Christian Boulanger
Hello Thomas, hm... sounds good as architecture, but doesn't this make it more complex than necessary?What I envision is that the xsl templates could be shipped with the sdk framework and sit there to be invoked only when the developer puts xml files into a given folder Christian thron7

Re: [qooxdoo-devel] Label: setAppearance resets wrap property

2007-04-04 Thread Alex Back
That's why the property system got reimplemented. With the 0.6.x codebase there was no possibility to get back to the user value. The property system nows brings in multi-value support for properties. cheers, Alex On Wednesday 04 April 2007 Jim Hunter wrote: > To me, keeping the user value i

Re: [qooxdoo-devel] Label: setAppearance resets wrap property

2007-04-04 Thread Alex Back
Hi Jim, I think the problem is not that the value falls back to its default. The current behaviour of qooxdoo is that the property should fall back to its defaultvalue rather than using the property value of the original appearance. I think the main problem here is that the value defined by th

Re: [qooxdoo-devel] xml -> xslt -> javascript

2007-04-04 Thread thron7
Hi all, Christian Boulanger wrote: > I had proposed compiler options like this: > > --xslt-use-stylesheet=/path/to/stylesheet.xsl \ > --xslt-output-dir=/path/to/source/class \ > --xslt-use-template-dir=/path/to/dir/containing/xml/templates,\ > /path/to/dir/containing/more/xm/templates > > and som

Re: [qooxdoo-devel] Label: setAppearance resets wrap property

2007-04-04 Thread Jim Hunter
Why step #3? This looks like an unnecessary thing to do. Is there a reason for it? I would expect that only the items in the new appearance would get change, especially if you make the change after some time and the widget may be completely changed or moves to a new location or ??? There are lots

Re: [qooxdoo-devel] Label: setAppearance resets wrap property

2007-04-04 Thread Alex Back
Hi Ralf, calling setAppearance() resets those properties to its defaultValue which are defined in the original appearance but not in the new appearance. Let me explain this mechanism with your label example. The original "label"-appearance in the Classic appearance-theme defines wrap as "fals

Re: [qooxdoo-devel] xml -> xslt -> javascript

2007-04-04 Thread Christian Boulanger
Dietrich - this is a very interesting idea and maybe you will want to include your ideas once we have checked in the code. We are currently waiting that the core developers find the time to help us integrate xslt into the build process. I had proposed compiler options like this: --xslt-use-styl

[qooxdoo-devel] Label: setAppearance resets wrap property

2007-04-04 Thread Ralf Sternberg
Hi, I noticed that calling setAppearance on a Label resets its wrap property although the appearance theme contains no definition of this property. Example code: label.setWrap( false ); label.debug( "_ wrap before: " + label.getWrap() ); label.setAppearance( "link-ref" ); label.

Re: [qooxdoo-devel] *.js source file formatter?

2007-04-04 Thread thron7
Hugh Gibson wrote: >>> before adding the new formatting option. >>> >> Now added. See http://bugzilla.qooxdoo.org/show_bug.cgi?id=336 for >> description of options and patch. >> > > Is this going to be incorporated? It's very important for our migration to > 0.7. > > Patch applied

Re: [qooxdoo-devel] Flash.setVariable does not update value in Flash-Movie

2007-04-04 Thread Dirk Wellmann
Hi Andi, I disposed the old Object and created a new one. Maybe there is another solution!? Regards Dirk Andi Schacke schrieb: > Dirk Wellmann piponline.net> writes: > > >> Hi Andreas, >> >> yes you have to reload, i tried it with Flash6 and the variables are >> only set at loadtime. Poss

Re: [qooxdoo-devel] Flash.setVariable does not update val ue in Flash-Movie

2007-04-04 Thread Andi Schacke
Dirk Wellmann piponline.net> writes: > > Hi Andreas, > > yes you have to reload, i tried it with Flash6 and the variables are > only set at loadtime. Possible there is a event in newer Versions of Flash. > > Regards > Hi Dirk, so what's the best way to reload the flash? Can I reload the

Re: [qooxdoo-devel] *.js source file formatter?

2007-04-04 Thread Hugh Gibson
> > before adding the new formatting option. > > Now added. See http://bugzilla.qooxdoo.org/show_bug.cgi?id=336 for > description of options and patch. Is this going to be incorporated? It's very important for our migration to 0.7. Hugh -

Re: [qooxdoo-devel] xml -> xslt -> javascript

2007-04-04 Thread Dietrich Streifert
In my current project I have used a bunch of xsl scripts which create a qooxdoo widget stack in javascript based on a xml schema. This widget stack is the "editor" for elements which are defined in the xml schema. The xml schema is also the base for generating the sql ddl code for the database

[qooxdoo-devel] Performance and common questions

2007-04-04 Thread Tobias Koller (GERMO GmbH)
Hello, i have some question about programming with qooxdoo. Maybe some of you could help me :) I need to know some "best practices" ;) My questions are based on a simple test-project I created. on the left of my screen is a FullControlTree-Widget (width:200, height:"100%") and the rest i

Re: [qooxdoo-devel] put ComboBoxEx object into table

2007-04-04 Thread Alexander Weisser
Hi Thanks, is there an example how to extend an AbstractDataCellRender. The only thing i do until this is create a table and a tableModel. I don´t know the full background. I try to read more about this but i don´t find any information about that. If you have some examples or a link where i can