Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-11 Thread Peter Schneider
Hi Daniel, I experienced the same with my application here... It is annoying, but not unsolvable: just force 'em to String()... var noItem = new qx.ui.form.ListItem(String(this.tr(No))); ...and you're off. I know it's really weird why other qooxdoo-classes seem to get it right, while the

Re: [qooxdoo-devel] String optimization on static classes

2007-04-11 Thread Peter Schneider
], // will be replaced by $[###] myArray : [$[456],$[789]], LOGO_ICO : myLogo.png, WHATEVER : myLogo.png }); -- Maybe this helps others too to understand my query. Best Regards, Peter Peter Schneider p.schneider at tis-gmbh.de writes: Hi there, is there a reason why Map

Re: [qooxdoo-devel] Problem with ComboBox and tr()

2007-04-12 Thread Peter Schneider
] [Italienisch ] I'm not sure if my approach might not be the golden way of doing it, but as I don't know any better... ;) Is here any (other) developer listening in, that could give a good solution to this? I think this is an issue for the qooxdoo framework. Best regards Peter Peter

Re: [qooxdoo-devel] String optimization on static classes

2007-04-17 Thread Peter Schneider
someone use constants (uppercase static keys) we think that they are already used as constants and are optimized through this usage already. This also reduces the size of the global map from unneccessary strings (which don't need this optimization). HTH, Sebastian Peter Schneider

Re: [qooxdoo-devel] colorfull buttons dynamic classes.

2007-04-25 Thread Peter Schneider
Hi Varol, the issue with the special HTML characters has come my way, too. In general the qx.ui.Button _does_ accept HTML, but only if the Label contains some sort of HTML... Let me give you an example, how I did work around it: var btn01 = new qx.ui.form.Button(plusmn;); // does not work var

Re: [qooxdoo-devel] colorfull buttons dynamic classes.

2007-04-25 Thread Peter Schneider
From: [EMAIL PROTECTED]: Peter Schneider [EMAIL PROTECTED] writes: Hi Varol, the issue with the special HTML characters has come my way, too. In general the qx.ui.Button _does_ accept HTML, but only if the Label contains some sort of HTML... Let me give you an example, how I did work

Re: [qooxdoo-devel] ListView help

2007-05-04 Thread Peter Schneider
/ ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel -- Dipl.-Ing. (FH) Peter Schneider | TIS GmbH | Software-Entwickler

Re: [qooxdoo-devel] Get listview data os selected item

2007-05-07 Thread Peter Schneider
Hi you, please take a look at the attachment I've added to a former thread called ListView help. Date was: 2007-05-04. Maybe you'll find something that helps n there. Although that version did not use the dblclick event. /Peter Hi. How can i get data from selected item on listview (first

Re: [qooxdoo-devel] Make Build help

2007-05-08 Thread Peter Schneider
/listinfo/qooxdoo-devel -- Dipl.-Ing. (FH) Peter Schneider | TIS GmbH | Software-Entwickler Barloer Weg 188-190 | D-46397 Bocholt fon: +49 2871 2722-0 | fax: +49 2871 2722-99 [EMAIL PROTECTED] | www.tis-gmbh.de - This SF.net

Re: [qooxdoo-devel] Make Build help

2007-05-09 Thread Peter Schneider
Jakobs [EMAIL PROTECTED] wrote: Peter Schneider schrieb: Hi Jim, it's the call to eval() that's causing the trouble. (sorry can't find the documentation to this issue...) The issue is the line (as you stated): eval('var f_' + x + '_' + y + ' = new qx.ui.tree.TreeFile(newValues

[qooxdoo-devel] treefullcontrol.AbstractTreeElement Label Mode

2007-06-18 Thread Peter Schneider
Hi there, after migration from 0.6.6 to 0.7 I've found that I couldn't set the elements tree labels with html-enhanced text (e.g. bHello/b). This is due to the fact, that in 0.7 the labels' object rendering mode is set to text in AbstractTreeElement. My current work-around is setting the mode to

Re: [qooxdoo-devel] Bug in HorizontalBoxLayout??

2007-06-27 Thread Peter Schneider
PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Peter Schneider Gesendet: Mittwoch, 27. Juni 2007 16:39 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Bug in HorizontalBoxLayout?? Hi Tobias, just in case: you _did_ something like... f1.add(f2); ...didn't you? If you forgot

[qooxdoo-devel] Add/Remove table columns

2007-06-29 Thread Peter Schneider
Hi list, I want to [ have to ;) ] change my table (model) dynamically during run-time. The table does show 7 or 5 columns depending on an external switch. What I did is creating my own RemoteTableModel that should handle this, but I always get into problems when the new column count is less than

Re: [qooxdoo-devel] logging problem

2007-06-29 Thread Peter Schneider
Hi, we had the same problem here. Replacing if (qx.IS_SOURCE) { by if (qx.core.Variant.isSet(qx.debug, on)) { did the trick. /Kuddel Original From: westor Date: 29.06.2007 13:09 Has in 0.7 the behaviour of logging changed in relation to 0.6.6? I have the following code

Re: [qooxdoo-devel] Table column sorting issue in 0.6.6

2007-07-31 Thread Peter Schneider
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel -- Dipl.-Ing. (FH) Peter Schneider | TIS GmbH | Software-Entwickler Barloer Weg 188-190 | D-46397 Bocholt fon: +49 2871 2722-0 | fax: +49 2871 2722-99 [EMAIL PROTECTED] | www.tis-gmbh.de

Re: [qooxdoo-devel] Table column sorting issue in 0.6.6

2007-07-31 Thread Peter Schneider
PROTECTED] To: qooxdoo Development qooxdoo-devel@lists.sourceforge.net Sent: Tuesday, July 31, 2007 2:13:43 PM Subject: Re: [qooxdoo-devel] Table column sorting issue in 0.6.6 Peter Schneider schrieb: Hi, maybe it's too late, but I've just started catching up my read on this forum after

Re: [qooxdoo-devel] Table column sorting issue in 0.6.6

2007-08-01 Thread Peter Schneider
sorry, missed something... ;) tabStructParameter = new qx.ui.table.SimpleTableModel(); tabStructParameter.setColumns([ID, Name, Value, Type]); tabStructParameter.setColumnEditable(0, false); tabStructParameter.setColumnEditable(1, false);

Re: [qooxdoo-devel] Table column sorting issue in 0.6.6

2007-08-01 Thread Peter Schneider
().setColumnVisible(3,false); The lines that are highlighted in red is not working. The page will not load if I put those two lines. Please look into the issue - Original Message From: Peter Schneider [EMAIL PROTECTED] To: qooxdoo Development qooxdoo-devel@lists.sourceforge.net Sent: Tuesday

Re: [qooxdoo-devel] [out of office] qooxdoo-devel Digest, Vol 15, Issue 44

2007-08-09 Thread Peter Schneider
By the way... Did anyone already inform Mr. Sell, like the mail suggests? Maybe he can do something...* Peter *) providing some more beer I was thinking of ;) Original From: Sebastian Werner Date: 09.08.2007 11:01 Good idea. I take one, too. I thought that auto

Re: [qooxdoo-devel] qx.ui.menu.Menu and it's width afer locale changing.

2007-09-10 Thread Peter Schneider
Hi, after querying Bugzilla I found that this Bug is still to be addressed. Is there a workaround available for the 0.7.x legacy branch? /Kuddel Original From: Sergei Kolomiets Date: 04.05.2007 15:18 Hello Sergei, yes this is a bug in the menu layouter, which is not

Re: [qooxdoo-devel] qx.ui.menu.Menu and it's width afer locale changing.

2007-09-11 Thread Peter Schneider
after querying Bugzilla I found that this Bug is still to be addressed. Is there a workaround available for the 0.7.x legacy branch? Why don't you just dispose the old menu and create a new one? Hugh Yeah, can do this. I just thought there might be a cleaner way. I hesitated to

Re: [qooxdoo-devel] qx.ui.table.model.Remote implementation problems

2007-10-05 Thread Peter Schneider
Yes, that did the trick, thank you! However, since qx.ui.table.model.Simple does fine without named column data, it would be worth thinking about reworking the remote table model accordingly. not having the repetitive column ids in the transferred code saves a lot of bandwith and with the

Re: [qooxdoo-devel] How to restore the previous way of displaying table's cell contents?

2007-10-08 Thread Peter Schneider
into Mixins. Could you please handle me the patch-code? I'm willing to learn :-D /Peter Peter Schneider-2 wrote: Add following code somewhere in the main() of your application: qx.Class.patch(qx.ui.table.cellrenderer.Default, qx.Mixin.define(myApp.patch.CellRenderer

Re: [qooxdoo-devel] JSON help

2007-10-16 Thread Peter Schneider
All, I'm trying to use JSON for the first time. I want to have some configuration files for my application in JSON format. I looked at the wiki and the list archives, but did not find an example. Here is my offending code and the error, including the JSON text:

[qooxdoo-devel] qooxdoo legacy 0.7.x qx.core.PackageManager

2007-11-19 Thread Peter Schneider
state ;) Or should I add something to my make file? Best regards, Peter Schneider - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go

Re: [qooxdoo-devel] Fixed column width in qx.ui.table?

2007-12-12 Thread Peter Schneider
Hi, any news on that? /Peter Is it somehow possible to turn off user-resizing for single or all columns of a qx.ui.table? Thx, Nicolai Lang - SF.Net email is sponsored by: Check out the new SourceForge.net

[qooxdoo-devel] ListView type:image Problem (qooxdoo_0_7_x)

2008-01-23 Thread Peter Schneider
Hi Group, there seems to be a problem with the ListView (qx.ui.listview.ListView) when a column is of type image. The image seems not to be connected to the rest of the data-row when scrolled or changed. The problem can be easily seen on the demo-browser on the ListView_2 example:

Re: [qooxdoo-devel] ListView type:image Problem (qooxdoo_0_7_x)

2008-01-24 Thread Peter Schneider
be related to the 0.7.x Branch of qooxdoo. Cheers, Sebastian Thanks a lot Peter Peter Schneider schrieb: Hi Group, there seems to be a problem with the ListView (qx.ui.listview.ListView) when a column is of type image. The image seems not to be connected to the rest

Re: [qooxdoo-devel] ListView type:image Problem (qooxdoo_0_7_x)...Bug#769

2008-01-24 Thread Peter Schneider
[...] You can also report this as a bug. [...] Done! #769 : ListView type=image = static (immovable) columns http://bugzilla.qooxdoo.org/show_bug.cgi?id=769 @Hugh: [...] That's very unnerving! However, even worse is that I don't see any icons in IE7 at all. Report it as a bug.

Re: [qooxdoo-devel] How to allow numbers only on Text Field

2008-04-01 Thread Peter Schneider
Hi, I use the following code to archive a numeric-only input: - code // Check for numeric-only inputs var _check = function(s) { var nums = s.match( /\d+/g ); if (nums) { return nums.join(); } return ; }; // A

Re: [qooxdoo-devel] Attaching a ToolTip to a cell ?

2008-05-13 Thread Peter Schneider
[...] Hi there, I'm wondering if it is possible to attach a ToolTip to a cell in a table. I'm using qooxdoo 0.7.3 Thanks, Romain [...] Hi Romain, this is what I used. It might not be the cleanest solution, but at least it works ;) I stole the idea from the

Re: [qooxdoo-devel] Attaching a ToolTip to a cell ?

2008-05-13 Thread Peter Schneider
P.S.: Still hoping to see a nice works with qx.ui.popup.ToolTip solution ;) For the un-enlightened: What's the issue with qx.ui.popup.ToolTip here? Thomas Hi Thomas, there is no issue with qx.ui.popup.ToolTip! The issue is, that I was unable to implement a cellrenderer that is using

Re: [qooxdoo-devel] Attaching a ToolTip to a cell ?

2008-05-14 Thread Peter Schneider
Hi all, 1st of all: thanks for the discussion. But still I'm not able to understand what to do to connect a (qooxdoo) tooltip to the table or cell. I have no problem in creating the content of the tooltip dynamically (like Jim suggested). My problem is the general understanding of the tables

Re: [qooxdoo-devel] Attaching a ToolTip to a cell ?

2008-05-16 Thread Peter Schneider
Hi, Thanks to all your advice, it helped me writing a ToolTipTable class It may need some improvements but it basically works. [...] Greetings! Thank you Romain for your ToolTipTable! I could not check if it would improve my application 'till today and... It fits perfectly!! :-D I've

Re: [qooxdoo-devel] Attaching a ToolTip to a cell ?

2008-05-19 Thread Peter Schneider
Hi Romain, you can work around that issue by initializing the member in the constructor, like you did. Another way is the described here: http://qooxdoo.org/documentation/0.7/defining_properties#defining_an_init_value This keeps the nice property alive ;) I've come along this kind of problem

[qooxdoo-devel] 'make lint': How to add known globals (qooxdoo 0.7.x)

2008-06-05 Thread Peter Schneider
Hi group, I'm currently cleaning up my sources a bit and found the 'make lint' target a really helpful tool! But in my application I use some global objects from other APIs (Google-Maps to name one), so I get some messages like: -

Re: [qooxdoo-devel] 'make lint': How to add known globals (qooxdoo0.7.x)

2008-06-06 Thread Peter Schneider
] On Behalf Of Peter Schneider Sent: Thursday, June 05, 2008 10:19 AM To: qooxdoo-devel@lists.sourceforge.net Subject: [qooxdoo-devel] 'make lint': How to add known globals (qooxdoo0.7.x) Hi group, I'm currently cleaning up my sources a bit and found the 'make lint' target a really

Re: [qooxdoo-devel] destruct() question

2008-06-18 Thread Peter Schneider
Hi Thomas, I've noticed another small issue: When a table object is created and disposed again, the event-listener to changeLocale is still attached, which will lead to an error when the locale is changed after table object disposal. The attached patch worked for our application, but is not

Re: [qooxdoo-devel] destruct() question

2008-06-24 Thread Peter Schneider
Hi Thomas, according to your request in the log of R14009 (legacy 0.7.x), ...please check for unintended side effects. I can offer a patch to another (new) destructor issue: The _tableContainer object in qx.ui.table.pane.Pane is created with document.createElement(div); and is therefore no

Re: [qooxdoo-devel] Summary: Anyone needs switching locales and themes at runtime?

2008-06-24 Thread Peter Schneider
Hi Fabian, [...] This is best explained with a snipplet of code: txt = new String(txt); txt.args = args; txt.messageId = messageId; [...] Does this mean, a application programmer can not write this anymore? : var label = new

Re: [qooxdoo-devel] destruct() question

2008-06-24 Thread Peter Schneider
Hi again Thomas, [...] if it looks like I've de-stabilized the code with all the 'destruct' entries too much, I'm going to revert all my changes and file bug reports for each, so people can sort them out with more time and subtlety. We'll see... [...] I don't think that you've

Re: [qooxdoo-devel] table

2008-07-07 Thread Peter Schneider
Hi Petr, you can add an event listener to the cellDblclick event. Althought you have to evaluate what row and column was clicked inside the handler method. See the example below myTable.addEventListener(cellDblclick, this._onCellDblClick, this); ... /** * Cell

Re: [qooxdoo-devel] jseclipse

2008-07-08 Thread Peter Schneider
Hi Thomas, I'm cutting your post a bit for better reading... [...] Exactly! To make it more tangible I'd like to get back to Peter's posting. If you look at his text file... [...] and then at the generated XML for the same class: [...] it looks like it would be straight-forward to XSLT

Re: [qooxdoo-devel] jseclipse

2008-07-09 Thread Peter Schneider
Hi Thomas, unfortunately I am not able to provide you with any information about the structure. The description Petr replied to this post is more than I knew ;) The generated file was more of a workaround, due to the fact that we didn't found any working solution that could handle qooxdoo 0.7.x

Re: [qooxdoo-devel] jseclipse

2008-07-10 Thread Peter Schneider
Hi Thomas, sorry for the late reply but some other issues kept us busy here. The XSL seems to have a problem with the descr nodes (See the long line in the middle of the following output) code ... qx.core.Version = function(){return this;} qx.core.Version = { __init : function(){;},

Re: [qooxdoo-devel] jseclipse

2008-07-11 Thread Peter Schneider
Hello Thomas, Peter, thanks for the patch and the feedback. I also saw that rubbish in between, when I ran the transformation over a file that contained XML for all qooxdoo classes last night. After that, aptana liked the file much more! Again my question: How do you feed this file to

[qooxdoo-devel] JSON decode (PHP Backend)

2008-07-15 Thread Peter Schneider
Hi Group, When I input a backslash followed by double-quotas and try to send it via JSON to my (PHP-)backend, the decode() Method of JSON class fails :( The input comes from an TextField, where this has to be allowed! The frontend side seems to encode the data correct (see below):

Re: [qooxdoo-devel] JSON decode (PHP Backend)

2008-07-15 Thread Peter Schneider
Hi, I've investigated a bit and found the place where the problem occurs. JSON.php (lines 716-721): code 716: } elseif (($chrs{$c} == $top['delim']) 717: ($top['what'] == SERVICES_JSON_IN_STR) 718: (($chrs{$c - 1} != '\\') || 719: ($chrs{$c - 1} == '\\' $chrs{$c

Re: [qooxdoo-devel] JSON decode (PHP Backend)

2008-07-15 Thread Peter Schneider
Hi Helder, [...] I haven't confirmed this but... Are you experiencing this using the SVN code or a specific release? [...] Sorry, forgot to mention that (as always, h): I am using qooxdoo 0.7.4-pre (trunk of the legacy branch). [...] As Andreas has said it worked for him, you might be

Re: [qooxdoo-devel] JSON decode (PHP Backend)

2008-07-15 Thread Peter Schneider
Hi Andreas, [...] I was talking about the Java backend (since Peter mentioned that other backends should also be checked for the problem). Regarding the PHP code, maybe the Java backend could serve as inspiration for a fix? The code that deals with string parsing looks like this:

Re: [qooxdoo-devel] JSON decode (PHP Backend)

2008-07-15 Thread Peter Schneider
Hi Derrell, 1) thank you very much! 2) The patch fixes the original problem! 3) A short (10-15 minutes) test in our application did not show any new problems. 4) To me, your fix looks like it make sense (yes I do read comments ;) ) Again, thank you yery much for your work, Peter On

Re: [qooxdoo-devel] german Umlaute in Translationfiles

2008-07-24 Thread Peter Schneider
Hi Dirk, I'm not familiar with JEdit, but I have experienced similar things with various other editors, so here are my suggestions to track down the issue: * Does the file (de.po) contain both DOS *and* UNIX line-ends? We had an editor which did exactly that! There should be only 0x0D 0x0A

Re: [qooxdoo-devel] german Umlaute in Translationfiles

2008-07-24 Thread Peter Schneider
Hi Dirk, I'm not familiar with JEdit, but I have experienced similar things with various other editors, so here are my suggestions to track down the issue: * Does the file (de.po) contain both DOS *and* UNIX line-ends? We had an editor which did exactly that! There should be only

Re: [qooxdoo-devel] german Umlaute in Translationfiles

2008-07-30 Thread Peter Schneider
Hello Dirk, Short answer: YES ;) = Longer answer: == I have just changed the header line of our *.po file to: Content-Type: text/plain; charset=ASCII\n and it failed (as in your original post). So your/our line should look like this: Content-Type: text/plain;

Re: [qooxdoo-devel] qooxdoo 0.7.x 'make distclean' doesn't remove framework .cache path nor *.pyc, *.pyo files

2008-09-01 Thread Peter Schneider
Hi Thomas, Hi Peter, Hi, whenever I run 'make distclean', some files/paths are not removed (although they should) When looking into the impl.mk I see several things I don't understand. I've attached the files I'm talking about as image, so we are talking about the same line numbers and

Re: [qooxdoo-devel] Is it possible to create the HTML code for the widgets on the server side (ASP, PHP...)

2008-09-10 Thread Peter Schneider
Hi folks, there's a patch available that *dramatically* increases the performance of the JavaScript engine in IE6. I don't know if I've posted this link already, but here it is again: * http://support.microsoft.com/kb/942840 So if you are having customers that have to stick on IE6 (for

[qooxdoo-devel] JSON: eval() vs. Function

2009-12-16 Thread Peter Schneider
Hi folks, while I was 'cleaning up' our code base I've come along the JSON class of qooxdoo. Is there any reason why it uses the evil eval() function for evaluating and parsing the backend responses? Wouldn't Function be the better choice? I've tried the following replacement in our application

Re: [qooxdoo-devel] JSON: eval() vs. Function

2009-12-16 Thread Peter Schneider
Hi Andreas, [...] Wouldn't Function be the better choice? Why would it? There doesn't seem to be a real difference to me (except regarding scoping, but this should be irrelevant here). I think it's a bit more than just scoping. As far as I remember the eval() call starts a complete new

Re: [qooxdoo-devel] JSON: eval() vs. Function

2009-12-16 Thread Peter Schneider
Hi Derrell [...] Hi Peter, eval() is evil is a common phrase that helps discourage those who don't understand the possible consequences of using it from ever using it. There is nothing inherently evil about eval(). The input to eval() must be sanitized to ensure that there is no code in

Re: [qooxdoo-devel] JSON: eval() vs. Function

2009-12-16 Thread Peter Schneider
Hi Andres, just a quick reply [...] As with most of the JavaScripts engine features, it seems to be that the performance issue of eval() is decreasing with every new browser version. I don't have this impression. Do you have any tests/references for this assumption? Sorry, that was just a

Re: [qooxdoo-devel] JSON: eval() vs. Function

2009-12-16 Thread Peter Schneider
Hi Andreas, here's my 2nd (more detailed) reply: Hi Peter, [...] [...] Wouldn't Function be the better choice? Why would it? There doesn't seem to be a real difference to me (except regarding scoping, but this should be irrelevant here). I think it's a bit more than just scoping. As far

Re: [qooxdoo-devel] JSON: eval() vs. Function

2009-12-17 Thread Peter Schneider
Please see small clarification below... On Wed, 2009-12-16 at 18:10 +0100, Peter Schneider wrote: As with most of the JavaScripts engine features, it seems to be that the performance issue of eval() is decreasing with every new browser version. I don't have this impression. Do you have

[qooxdoo-devel] Generator problem (Unknown class referenced: google.maps....) Addendum

2010-01-20 Thread Peter Schneider
Maybe I should have added a question ;) : Can I tell the generator not to complain about some missing classes/namespaces ? Cheers and thanks in advance, Peter Original From: Peter Schneider Date: 20.01.2010 17:29 Hi all, while migrating a (quite big [1]) qooxdoo

Re: [qooxdoo-devel] Generator problem (Unknown class referenced: google.maps....) Addendum

2010-01-21 Thread Peter Schneider
[...] Can I tell the generator not to complain about some missing classes/namespaces ? Yep. In the corresponding class file, add a #ignore(...) at the top (like in your [6] link). You just can't use wildcards currently, so add #ignore(google.maps.Map2) #ignore(google.maps.LatLng)

[qooxdoo-devel] QOOXDOO_URI setting in 0.8.3 (migration problem)

2010-01-21 Thread Peter Schneider
Hi all, it's me again, working on the bad job of migrating our large application from qooxdoo 0.7.5-pre to qooxdoo 1.0. Here's my Problem: In the good old makefile days the QOOXDOO_URI setting did reflect our directory hierarchy: code class=text QOOXDOO_URI = ../../../qooxdoo code In the

Re: [qooxdoo-devel] Generator problem (Unknown class referenced: google.maps....) Addendum

2010-01-21 Thread Peter Schneider
two changes gave me the #ignore hint! I hope I did not break to many other things ;) Thanks again Thomas for the hint to the 'hint' ;) Peter [1]https://qooxdoo.svn.sourceforge.net/svnroot/qooxdoo/trunk/qooxdoo/tool/pylib/ecmascript/frontend/treeutil.py Original From: Peter

Re: [qooxdoo-devel] QOOXDOO_URI setting in 0.8.3 (migration problem)

2010-01-22 Thread Peter Schneider
Hi Thomas, first, thanks for your help but I think my greatest problem is, that I currently don't understand the concept (of config.json and Manifest.json, etc. pp.) at all ;) I just tried to do the migration step by step. The first step was to migrate to 0.8.3 which includes the introduction of

[qooxdoo-devel] How to compare LocalizedString objects

2010-01-22 Thread Peter Schneider
Hi there, how do I compare two LocalizedString objects, ore even against a JavaScript literal String (in qooxdoo 0.8.4 or higher)? In qooxdoo 0.7.4 you could do this: code class=javascript var vLabel = this.tr(Alle Benutzer); // Evaluated into true: if (vLabel.getId() == Alle Benutzer) {

Re: [qooxdoo-devel] How to compare LocalizedString objects

2010-01-22 Thread Peter Schneider
Why is it always that you get an idea just _after_ you posted your question? ;) For my problem with privates I will apply a patch: code class=javascript // Patch #1: Add getId() method to LocalizedString (qooxdoo 0.7.4 like) qx.Class.patch(qx.locale.LocalizedString,

Re: [qooxdoo-devel] How to compare LocalizedString objects

2010-01-25 Thread Peter Schneider
Hi Derrell, [...] Unfortunately that won't work in the build version. Mixins can't currently touch private members (those with leading double underscores). It will work fine in the source version, but then fail with the build version. See the comments others have made for alternative

Re: [qooxdoo-devel] How to compare LocalizedString objects

2010-01-25 Thread Peter Schneider
()) Is this correct? Please _do_ correct any false statement! Thanks Peter P.S.: If those statements were already valid for qooxdoo 0.7.x, or if they do vary, please make a note on that. Original From: Fabian Jakobs Date: 25.01.2010 09:47 Peter Schneider schrieb: Hi

Re: [qooxdoo-devel] QOOXDOO_URI setting in 0.8.3 (migration problem)

2010-01-25 Thread Peter Schneider
Hi again, I tried your proposal: libraries : { library : [ { manifest : ${QOOXDOO_PATH}/framework/Manifest.json, uri : ../../../qooxdoo } ] } but it has absolutely _NO_ effect on the script :( Is this an 1.0 feature, that I

Re: [qooxdoo-devel] QOOXDOO_URI setting in 0.8.3 (migration problem)

2010-01-25 Thread Peter Schneider
Hi Thomas, as noticed in the PM to you, I've tried your proposal now at the *right* place. And now it _HAS_ effects ;) Thanks, again Peter *) Path to uri-value: /jobs/common/libraries/library/uri Original From: thron7 Date: 25.01.2010 13:56 On 01/25/2010 11:39 AM, Peter

[qooxdoo-devel] qooxdoo 1.0: Where have all the handy validation methods gone...

2010-02-05 Thread Peter Schneider
Hi, during my switch to qooxdoo 1.0 I couldn't find the nice validation helper methods that I liked so much in qooxdoo 0.7.x... I'm talking about the static methods of qx.util.Validation: isValid(v) isInvalid(v) isValidNumber(v) isInvalidNumber(v) isValidString(v)

Re: [qooxdoo-devel] qooxdoo 1.0: Where have all the handy validation methods gone...

2010-02-08 Thread Peter Schneider
Hi Christian and Daniel, thanks for the reply. From: Christian Schmidt you can find the JavaScript type checks in qx.lang.Type and the DOM type checks in qx.dom.Node. The qx.lang.Type type checks were known to me. What I was more interested in were the more elaborated tests like

[qooxdoo-devel] Problem: Window-resize (North) possible to extend desktop area

2010-02-10 Thread Peter Schneider
Hi, I found that the current (qooxdoo 1.0.1) implementation of the desktop allows the (child-) windows to be resized (direction north) beyond the area of the desktop. This behavior can be seen (and easily tested) in the demo browser:

[qooxdoo-devel] strange generate translation behavior

2010-02-26 Thread Peter Schneider
Hi List, I have a strange issue with the translation mechanism. Whenever I do a generate.py translation every generate.py source-run fails! The generator is then complaining about several unknown global symbols like e.g.: ! Unknown global symbol referenced: qx.ui.basic

[qooxdoo-devel] missing destruct definition in framework (v1.0.1)

2010-02-26 Thread Peter Schneider
Hello guys, I found a missing destruct definition at bom.Blocker : 013601 Missing destruct definition for '__blockerElement' in qx.bom.Blocker[undefined]: [object HTMLDivElement]Native.js (line 61) I'm using qooxdoo version 1.0.1. I was not able to find out whether this might be fixed in trunk

Re: [qooxdoo-devel] strange generate translation behavior

2010-02-26 Thread Peter Schneider
Hi Thomas, I filed a bug (#3482). I hope the description etc is adequate, I'm not frequently filing bugs (...good sign though ;) ) I will try to create a scenario to reliably reproduce this on Monday and add it to the Bug report. Have a nice weekend, Peter Peter, this is indeed strange.

Re: [qooxdoo-devel] missing destruct definition in framework (v1.0.1)

2010-03-01 Thread Peter Schneider
Hi Chris, I can confirm that the issue is fixed! Thanks, Peter Hi Peter, thank you for reporting. I fixed the issue on trunk and branch. See bug report: http://bugzilla.qooxdoo.org/show_bug.cgi?id=3488 Cheers, Chris [...]

Re: [qooxdoo-devel] strange generate translation behavior

2010-03-01 Thread Peter Schneider
Hi Thomas, unfortunately I am not able to create a simple (Hello-World based) test environment to _reliably_ reproduce this issue...Something Fritz noticed, too. Today for example I can not reproduce this at all! Whenever this comes up again, is there any hint on where to search for the problem?

[qooxdoo-devel] No translation for form labels (qooxdoo 1.0.1)

2010-03-03 Thread Peter Schneider
Hi, the labels of a form are not translated on locale-switch on qooxdoo 1.0.1. Example: code var form = new qx.ui.form.Form; form.addGroupHeader(this.tr(Einstellungen)); form.add(new qx.ui.form.SelectBox, this.tr(Sprache)); this.add(new qx.ui.form.renderer.Single(form)); /code

[qooxdoo-devel] No translation for form labels (qooxdoo 1.0.1) addendum

2010-03-03 Thread Peter Schneider
Hi again, My assumption: [...] I think the reason lies in the renderer, 'cause in its _createLabel method 'colon' and 'required' strings are appended and therefore the localized string will become a regular JavaScript string. [...] ...is not 100% correct ;) The mentioned method *does*

Re: [qooxdoo-devel] No translation for form labels (qooxdoo 1.0.1) addendum

2010-03-03 Thread Peter Schneider
Hi Peter, thank you for reporting. Martin is working on that issue, see bug report http://bugzilla.qooxdoo.org/show_bug.cgi?id=3477 You can add yourself to CC to keep informed. Cheers, Chris Sorry that I missed that bug... By the way, my current work-around looks something like this:

Re: [qooxdoo-devel] No translation for form labels (qooxdoo 1.0.1) addendum

2010-03-03 Thread Peter Schneider
Damn, the proposed work-around I posted doesn't work :( I should have checked that before I posted it... So, to everybody who might have tried it: Sorry! Sorry for any inconvenience caused. Peter -- Download

Re: [qooxdoo-devel] strange generate translation behavior

2010-03-03 Thread Peter Schneider
[...] In fact, it did [help] [...] Jupie ;) [...] But qx.ui.basic is only a package, which you probably happen to use in your code. But packages are currently not considered known symbols (there is a bug open to amend for that), so if you refer to them in your code you'll get this

Re: [qooxdoo-devel] No translation for form labels (qooxdoo 1.0.1) SOLUTION

2010-03-03 Thread Peter Schneider
Hi List, the fix Martin provided for Bug 3477 http://bugzilla.qooxdoo.org/show_bug.cgi?id=3477 does the trick! Thanks again for the quick response, Peter -- Download Intel#174; Parallel Studio Eval Try the new

Re: [qooxdoo-devel] strange generate translation behavior

2010-03-04 Thread Peter Schneider
Hi Thomas, As an example, my infodesk.ui.user.Preferences (line 67) looks like this: code this.setLayout(new qx.ui.layout.VBox(5).set({alignX : center})); /code Now wait, this is serious. You are using a proper class here, namely qx.ui.layout.VBox. If this triggers the warning unknown

Re: [qooxdoo-devel] strange generate translation behavior

2010-03-05 Thread Peter Schneider
Hi Thomas, I came across the issue again and can give some more information: a) The generated script works flawlessly. The generated script only differs in the qx.$$translations map (I've expected that ;) ) b) Every generate source complains about some 'qx.ui.layout...' or similar unknown

Re: [qooxdoo-devel] strange generate translation behavior

2010-03-08 Thread Peter Schneider
Hi Thomas, [...] b) Every generate source complains about some 'qx.ui.layout...' or similar unknown symbol reference. (In this special case it was qx.ui.layout and qx.ui.form) Ok, I take or similar to mean other packages names (all-lower-caps names that do not end in a (capitalized)

Re: [qooxdoo-devel] strange generate translation behavior

2010-03-08 Thread Peter Schneider
Original From: thron7 Date: 08.03.2010 17:49 Well, it is triggered whenever the corresponding class code might have changed, so a simple 'touch' on the class file will do that for you, you don't need to actually change the code :). I have to say: No! A simple 'touch'

[qooxdoo-devel] Custom Widget migration help (qooxdoo 0.7.x to 1.0.1)

2010-03-09 Thread Peter Schneider
Hi List, I am currently completely lost on my quest to migrate a simple custom widget. I've attached the 0.7.4-style class to give an idea of what is should do. Here's my problem: I'm completely lost somewhere between 'bom', 'dom' and 'html' ;) I tried to understand the concept by reading the

[qooxdoo-devel] Custom Widget migration help (qooxdoo 0.7.x to 1.0.1)

2010-03-09 Thread Peter Schneider
Hi List, I am currently completely lost on my quest to migrate a simple custom widget. I've attached the 0.7.4-style class to give an idea of what is should do. Here's my problem: I'm completely lost somewhere between 'bom', 'dom' and 'html' ;) I tried to understand the concept by reading the

Re: [qooxdoo-devel] Custom Widget migration help (qooxdoo 0.7.x to 1.0.1)

2010-03-10 Thread Peter Schneider
Hi Peter, [...] Hi Alex, we still have mayor problems with gmane (don't know if it's on our side...) so sorry about my *late* reply. I've tried your suggestions and I'm getting closer :-D Although there are still some mysteries to solve for me. Here's one for example: When my class is

Re: [qooxdoo-devel] Custom Widget migration help (qooxdoo 0.7.x to 1.0.1)

2010-03-10 Thread Peter Schneider
Technische Informations-Systeme GmbH, http://www.tis-gmbh.de Authors: * Peter Schneider (ps) */ /** * Wrapper class to play audio directly from the browser. */ qx.Class.define(infodesk.ui.sound.Sound, { extend

Re: [qooxdoo-devel] Custom Widget migration help (qooxdoo 0.7.x to 1.0.1)

2010-03-10 Thread Peter Schneider
Hi Alex, [...] Where those as come from is a mystery still to solve [...] Mystery solved! Adblock Plus[1] did add those as ;) Bye, Peter [1] http://adblockplus.org/ -- Download Intel#174; Parallel Studio

[qooxdoo-devel] (Small) issue with 1.0.1 API Viewer

2010-03-10 Thread Peter Schneider
Hi List, while browsing the API, I found a minor little issue with the link in the apply method descriptions: The link after For further details take a look at the property definition: points to itself (see attachment a). Shouldn't it point to the property definition (attachment b)? I didn't

Re: [qooxdoo-devel] New Contribution: Dialog widgets

2010-03-18 Thread Peter Schneider
Hi, I've found your contribution recently and checked the demo. Everything looks good to me, except for one thing: The dialogs are modal by placing a blocker element over the main application, but the tab-selection is still working on the main dialog. What I mean is shown in the following

[qooxdoo-devel] browser suggestions behavior of (input) form elements (qooxdoo 1.0.1)

2010-03-19 Thread Peter Schneider
Hi, I would like to use the 'suggestion behavior' of the browser for text fields. Normal behavior for HTML forms in modern browsers is, that text fields are suggesting last entered values. I've added the HTML-Attribute name to the fields (see below), but this doesn't seem to work. code var

Re: [qooxdoo-devel] browser suggestions behavior of (input) form elements (qooxdoo 1.0.1)

2010-03-22 Thread Peter Schneider
support, Peter Original From: Alexander Steitz Date: 19.03.2010 15:17 Hi Peter, On Friday March 19 2010 11:35:55 Peter Schneider wrote: I would like to use the 'suggestion behavior' of the browser for text fields. Normal behavior for HTML forms in modern browsers is, that text

  1   2   3   4   >