<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-3822</id>
	<title>Nabble - qooxdoo-devel</title>
	<updated>2009-11-11T01:39:41Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/qooxdoo-devel-f3822.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/qooxdoo-devel-f3822.html" />
	<subtitle type="html">Mailing list archive for qooxdoo-devel</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26298543</id>
	<title>Book &quot;Swing, la synthese&quot; now free in pdf</title>
	<published>2009-11-11T01:39:41Z</published>
	<updated>2009-11-11T01:39:41Z</updated>
	<author>
		<name>Jean-Baptiste BRIAUD -- Novlog</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;Hi the list,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Just to share with you that news that could interest those who can read french :&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Its all explained on the site, but in brief, my Java book &quot;Swing, la synthese&quot;, can now be downloaded for free :&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.novlog.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=83&amp;amp;Itemid=57&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.novlog.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=83&amp;amp;Itemid=57&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;JBB.&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298543&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Book-%22Swing%2C-la-synthese%22-now-free-in-pdf-tp26298543p26298543.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26298351</id>
	<title>Re: Problem with forms and radio buttons</title>
	<published>2009-11-11T01:24:42Z</published>
	<updated>2009-11-11T01:24:42Z</updated>
	<author>
		<name>Martin Wittemann</name>
	</author>
	<content type="html">&lt;br&gt;Hello Derrell,
&lt;br&gt;&lt;br&gt;All model properties don't have the fallback to its value. What is clear is,
&lt;br&gt;that we need to supply a possibility to specify a different model than its
&lt;br&gt;value. But I don't know if we need a fallback to the value / label. All
&lt;br&gt;other widgets not having the model property use the value so you don't run
&lt;br&gt;into that problem. 
&lt;br&gt;&lt;br&gt;The only widgets with the model property which could have that fallback are:
&lt;br&gt;&lt;br&gt;qx.ui.form.RadioButton
&lt;br&gt;qx.ui.menu.RadioButton
&lt;br&gt;qx.ui.form.CheckBox
&lt;br&gt;qx.ui.toolbar.RadioButton
&lt;br&gt;&lt;br&gt;qx.ui.form.ListItem
&lt;br&gt;qx.ui.tree.AbstractTreeItem
&lt;br&gt;&lt;br&gt;The first group could have its value as fallback. So you get 'true' or
&lt;br&gt;'false' as model if no model is specified. But how do we know that no model
&lt;br&gt;is specified? Perhaps someone would like to have null as model? Imagine a
&lt;br&gt;set of radio boxes with the first one showing &amp;quot;no thanks&amp;quot; or anything like
&lt;br&gt;that. 
&lt;br&gt;The same is true for the second group where it becomes the label instead of
&lt;br&gt;the value.
&lt;br&gt;What do you think? I'm not sure which situation is worse. Either you can not
&lt;br&gt;specify null as model or you have no fallback!
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;&lt;br&gt;Derrell Lipman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Sun, Nov 8, 2009 at 11:39, Guilherme Aiolfi &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298351&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gradinf@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Setting rb.setModel(&amp;quot;yes&amp;quot;); and rb.setModel(&amp;quot;no&amp;quot;); for both radiobuttons
&lt;br&gt;&amp;gt;&amp;gt; solved both problems.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ah ha! Thanks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Martin, is that supposed to be necessary? When using
&lt;br&gt;&amp;gt; controller=qx.data.controller.Form(null, form) &amp;nbsp;followed by
&lt;br&gt;&amp;gt; controller.createModel(), it seems that all other form items properly
&lt;br&gt;&amp;gt; assume
&lt;br&gt;&amp;gt; the label to be the value unless specified elsewise. Are radio buttons
&lt;br&gt;&amp;gt; intentionally a special case?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Derrell
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; On Sun, Nov 8, 2009 at 2:18 PM, Derrell Lipman &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298351&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;derrell.lipman@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have two problems in the following playground app.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1. It requires 3 clicks on the &amp;quot;No&amp;quot; radio button to set the radio group
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; No. The first click on No selects Yes! The second click on No focuses
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; No,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; but does not select it. The third click on No finally selects it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2. Once No is finally selected, pressing Submit retrieves null, not Yes
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; or
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; No or anything that unambiguously identifies the selection. (I suspect
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this problem, I'm just doing something incorrectly.)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Derrell
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; // Playground application...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; var form = new qx.ui.form.Form();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this.model = null;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; var manager = new qx.ui.form.RadioButtonGroup();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; manager.getRadioGroup().setAllowEmptySelection(true);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; var rb = new qx.ui.form.RadioButton(&amp;quot;Yes&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; manager.add(rb);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; rb = new qx.ui.form.RadioButton(&amp;quot;No&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; manager.add(rb);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; form.add(manager, &amp;quot;Do you have a pet?&amp;quot;, null, &amp;quot;q1&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; // Create the Submit button
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; var submit = new qx.ui.form.Button(&amp;quot;Submit&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; submit.setWidth(80);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; submit.addListener(
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;quot;execute&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; function(e)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (form.validate())
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Serialize the form for submission
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var results = qx.util.Serializer.toUriParameter(this.model);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(results);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(&amp;quot;Some required field were not entered.&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; },
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; this);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; form.addButton(submit);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; // Create the form view and add it to the root
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; var single = new qx.ui.form.renderer.Single(form);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this.getRoot().add(single);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; // Create data binding
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; var controller = new qx.data.controller.Form(null, form);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this.model = controller.createModel();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; focus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; qooxdoo-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298351&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt; focus
&lt;br&gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; qooxdoo-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298351&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt; 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt; on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; qooxdoo-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298351&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://n2.nabble.com/Problem-with-forms-and-radio-buttons-tp3968702p3985247.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/Problem-with-forms-and-radio-buttons-tp3968702p3985247.html&lt;/a&gt;&lt;br&gt;Sent from the qooxdoo mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298351&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-forms-and-radio-buttons-tp26255189p26298351.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26297793</id>
	<title>table tutorial for beginners</title>
	<published>2009-11-11T00:40:31Z</published>
	<updated>2009-11-11T00:40:31Z</updated>
	<author>
		<name>sikd</name>
	</author>
	<content type="html">I'm using qx for a while, but since now I didn't need to use the table widget.
&lt;br&gt;I red the API for table: &lt;a href=&quot;http://demo.qooxdoo.org/0.8.x/apiviewer/#qx.ui.table&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://demo.qooxdoo.org/0.8.x/apiviewer/#qx.ui.table&lt;/a&gt;, but I didn't really understand, how to work with this widget.
&lt;br&gt;Unfortunately the link in API to the qx wiki is broken, so now I don't have a clue where to begin.
&lt;br&gt;Do you know about a table widget tutorial for beginners somewhere.
&lt;br&gt;&lt;br&gt;My goal is shortly the following.
&lt;br&gt;I would like to make three tables with different datas.
&lt;br&gt;They could be simple tables (not remote).
&lt;br&gt;They have to have three columns: first with checkboxes, second with name, third with ID.
&lt;br&gt;The checkboxes aren't always visible, only in certain circumstances.
&lt;br&gt;I have cache the click on a checkbox separatelly from a click on a name or id.
&lt;br&gt;When checkboxes are visible I would like to make possibility to filter the table rows: all, checked, unchecked.
&lt;br&gt;&lt;br&gt;Any help would be appreciated.
&lt;br&gt;Thanks.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/table-tutorial-for-beginners-tp26297793p26297793.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26297463</id>
	<title>Qooxdoo eclipse namespace</title>
	<published>2009-11-11T00:06:10Z</published>
	<updated>2009-11-11T00:06:10Z</updated>
	<author>
		<name>qooxdooNaggi</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have a problem with qooxdoo or eclipse.
&lt;br&gt;I want to use eclipse as IDE for qooxdoo development.
&lt;br&gt;I use QXDT and added the qooxdoo library to my eclipse project.
&lt;br&gt;but if I type qx.ui. and press ctrl+space I get the message &amp;quot;no default/template proposals&amp;quot; - &amp;quot;no completions available&amp;quot;.
&lt;br&gt;&lt;br&gt;Could you tell me please how I can use the autocompletion?
&lt;br&gt;&lt;br&gt;Thanks</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Qooxdoo-eclipse-namespace-tp26297463p26297463.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26297382</id>
	<title>Re: Data binding questions</title>
	<published>2009-11-10T23:56:36Z</published>
	<updated>2009-11-10T23:56:36Z</updated>
	<author>
		<name>Martin Wittemann</name>
	</author>
	<content type="html">&lt;br&gt;Hello Jean-Noël,
&lt;br&gt;&lt;br&gt;sorry for the late answer. Part of the qooxdoo team including me has been on
&lt;br&gt;the JSConf in Berlin over the weekend so we had our weekend on monday and
&lt;br&gt;thursday. Thats why i havent answered jet.
&lt;br&gt;&lt;br&gt;The controller does not have any method for modifying bindings because the
&lt;br&gt;idea of using a controller is not to know anything about the bindings. So I
&lt;br&gt;tried to keep the whole single value binding stuff out of the sight of the
&lt;br&gt;controller user.
&lt;br&gt;I think the code you are looking for would look something like this:
&lt;br&gt;&lt;br&gt;controller.setModel(null);
&lt;br&gt;controller.setTarget(null);
&lt;br&gt;&lt;br&gt;That should remove all bindings from the model and the target including all
&lt;br&gt;listener.
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Jean-Noël Rivasseau wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Martin
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Could you please answer this if possible? I really need the answer...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Fri, Nov 6, 2009 at 4:08 PM, Jean-Noël Rivasseau
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297382&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elvanor@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My code looks stupid of course, it was just an example. What I actually
&lt;br&gt;&amp;gt;&amp;gt; want is to remove all the bindings for a given object (the actual reason
&lt;br&gt;&amp;gt;&amp;gt; I
&lt;br&gt;&amp;gt;&amp;gt; want to do that is because I am writing tests in the testRunner, and I
&lt;br&gt;&amp;gt;&amp;gt; need
&lt;br&gt;&amp;gt;&amp;gt; to remove the bindings in the tearDown().
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If the only way is to use the controller... how can I achieve it? The
&lt;br&gt;&amp;gt;&amp;gt; controller does not seem to have any methods to remove the bindings.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; About 2), I will try as soon as possible - is it possible to use a
&lt;br&gt;&amp;gt;&amp;gt; controller for the single value binding? I somehow prefer controllers.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Fri, Nov 6, 2009 at 11:40 AM, MartinWittemann &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297382&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.wittemann@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello Jean-Noël,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1) Your code looks something wrong to me. I don't get what you are
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; trying
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; do. But removeAllBindings using a list controller should not be called
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; because the controller handles all the bindings and is responsible for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; whole life cycle of them.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If you just want to remove all fonts, why take care of the binding. This
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; should be the problem of the controller. ;) So just use the last line
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the list will be empty.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2) You can achieve that by using two bindings. Lets say object A has the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; data array stored in property a. Now you can set up a single value
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; binding
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; like this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; A.bind(&amp;quot;a&amp;quot;, listController, &amp;quot;model&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The list controller takes care of the given model and the single value
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; binding takes care of setting the model. Thats the most elegant way to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; do
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i think.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Martin
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Jean-Noël Rivasseau wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; I have two questions, mainly about the list controller.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 1) First, does the removeAllBindings() work for data arrays that are
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; bound
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; to a UI element such as a selectbox?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; The following code for example throws an error:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var listController = new
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; qx.data.controller.List(this.getFonts(), object.fontList);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.getFonts().removeAllBindings();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listController.setTarget(null);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.getFonts().removeAll();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; It fails on the last line with: this.getTarget() is null
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; This is due to the binding, that somehow was not removed by
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.getFonts().removeAllBindings();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Is that a bug? Or is there a different way to remove bindings for a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; list?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 2) I have an object that has a List (a data array). How can I set data
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; binding for the list (via a list controller), to a SelectBox for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; instance,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; but which would also work when the object change? Eg, I want that the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; be always up to date with respect to the current object list. Either
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; object or the list may change.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; I have no idea on how to do that. With simple object controller, deep
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; binding works (eg, any change in the property chain will work), but I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; am
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; sure how to achieve that with a list.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Jean-Noel
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; PS: after a bit of porting and adjustment, let me congratulate the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; whole
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; team about Qx 0.8.3. It is a big step forward and not only for the bug
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; fixing: I like the new APIs much better (more consistent).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; focus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; qooxdoo-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297382&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://n2.nabble.com/Data-binding-questions-tp3954836p3957973.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/Data-binding-questions-tp3954836p3957973.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent from the qooxdoo mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; focus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; qooxdoo-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297382&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt; 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt; on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; qooxdoo-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297382&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://n2.nabble.com/Data-binding-questions-tp3954836p3984874.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/Data-binding-questions-tp3954836p3984874.html&lt;/a&gt;&lt;br&gt;Sent from the qooxdoo mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297382&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Data-binding-questions-tp26221708p26297382.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26289686</id>
	<title>Re: Data binding questions</title>
	<published>2009-11-10T11:22:15Z</published>
	<updated>2009-11-10T11:22:15Z</updated>
	<author>
		<name>Bugzilla from elvanor@gmail.com</name>
	</author>
	<content type="html">Hi Martin&lt;br&gt;&lt;br&gt;Could you please answer this if possible? I really need the answer...&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 6, 2009 at 4:08 PM, Jean-Noël Rivasseau &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26289686&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elvanor@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hi,&lt;br&gt;&lt;br&gt;My code looks stupid of course, it was just an example. What I actually want is to remove all the bindings for a given object (the actual reason I want to do that is because I am writing tests in the testRunner, and I need to remove the bindings in the tearDown().&lt;br&gt;

&lt;br&gt;If the only way is to use the controller... how can I achieve it? The controller does not seem to have any methods to remove the bindings.&lt;br&gt;&lt;br&gt;About 2), I will try as soon as possible - is it possible to use a controller for the single value binding? I somehow prefer controllers.&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 6, 2009 at 11:40 AM, MartinWittemann &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26289686&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.wittemann@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
Hello Jean-Noël,&lt;br&gt;
&lt;br&gt;
1) Your code looks something wrong to me. I don&amp;#39;t get what you are trying to&lt;br&gt;
do. But removeAllBindings using a list controller should not be called&lt;br&gt;
because the controller handles all the bindings and is responsible for the&lt;br&gt;
whole life cycle of them.&lt;br&gt;
If you just want to remove all fonts, why take care of the binding. This&lt;br&gt;
should be the problem of the controller. ;) So just use the last line and&lt;br&gt;
the list will be empty.&lt;br&gt;
&lt;br&gt;
2) You can achieve that by using two bindings. Lets say object A has the&lt;br&gt;
data array stored in property a. Now you can set up a single value binding&lt;br&gt;
like this:&lt;br&gt;
A.bind(&amp;quot;a&amp;quot;, listController, &amp;quot;model&amp;quot;);&lt;br&gt;
The list controller takes care of the given model and the single value&lt;br&gt;
binding takes care of setting the model. Thats the most elegant way to do it&lt;br&gt;
i think.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Martin&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;br&gt;
Jean-Noël Rivasseau wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have two questions, mainly about the list controller.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 1) First, does the removeAllBindings() work for data arrays that are bound&lt;br&gt;
&amp;gt; to a UI element such as a selectbox?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The following code for example throws an error:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;             var listController = new&lt;br&gt;
&amp;gt; qx.data.controller.List(this.getFonts(), object.fontList);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;             this.getFonts().removeAllBindings();&lt;br&gt;
&amp;gt;             listController.setTarget(null);&lt;br&gt;
&amp;gt;             this.getFonts().removeAll();&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; It fails on the last line with: this.getTarget() is null&lt;br&gt;
&amp;gt; This is due to the binding, that somehow was not removed by&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;             this.getFonts().removeAllBindings();&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Is that a bug? Or is there a different way to remove bindings for a list?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 2) I have an object that has a List (a data array). How can I set data&lt;br&gt;
&amp;gt; binding for the list (via a list controller), to a SelectBox for instance,&lt;br&gt;
&amp;gt; but which would also work when the object change? Eg, I want that the list&lt;br&gt;
&amp;gt; be always up to date with respect to the current object list. Either the&lt;br&gt;
&amp;gt; object or the list may change.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have no idea on how to do that. With simple object controller, deep&lt;br&gt;
&amp;gt; binding works (eg, any change in the property chain will work), but I am&lt;br&gt;
&amp;gt; not&lt;br&gt;
&amp;gt; sure how to achieve that with a list.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Jean-Noel&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; PS: after a bit of porting and adjustment, let me congratulate the whole&lt;br&gt;
&amp;gt; team about Qx 0.8.3. It is a big step forward and not only for the bug&lt;br&gt;
&amp;gt; fixing: I like the new APIs much better (more consistent).&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&amp;gt; ------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008&lt;br&gt;
&amp;gt; 30-Day&lt;br&gt;
&amp;gt; trial. Simplify your report design, integration and deployment - and focus&lt;br&gt;
&amp;gt; on&lt;br&gt;
&amp;gt; what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; qooxdoo-devel mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26289686&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://n2.nabble.com/Data-binding-questions-tp3954836p3957973.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/Data-binding-questions-tp3954836p3957973.html&lt;/a&gt;&lt;br&gt;
Sent from the qooxdoo mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
qooxdoo-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26289686&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26289686&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Data-binding-questions-tp26221708p26289686.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26287367</id>
	<title>Image clipping error</title>
	<published>2009-11-10T10:24:10Z</published>
	<updated>2009-11-10T10:24:10Z</updated>
	<author>
		<name>mckwil</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I was trying to apply image clipping (by using an image.json file) to get the images files needed for the grid decorator. However, no matter how I run the generate command, I always seem to get the following error:
&lt;br&gt;&lt;br&gt;============================================================================ &amp;nbsp; &amp;nbsp; EXECUTING: IMAGE-CLIPPING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;============================================================================ Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp;Invalid Parameter - -crop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Done &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;Here is my image.json file.
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p26287367/image.json&quot; target=&quot;_top&quot;&gt;image.json&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;What did I do wrong to cause this error?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;mckwil &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Image-clipping-error-tp26287367p26287367.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26288619</id>
	<title>Re: Problem with property check (no error raised)</title>
	<published>2009-11-10T10:16:52Z</published>
	<updated>2009-11-10T10:16:52Z</updated>
	<author>
		<name>Anaël Ollier</name>
	</author>
	<content type="html">I forgot to precise that the value was assigned correctly to the property, as I could access it with getMode().&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br clear=&quot;all&quot;&gt;--&lt;br&gt;Anaël&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288619&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nanawel@...&lt;/a&gt;&lt;br&gt;

The eyeos Project | &lt;a href=&quot;http://www.eyeos.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.eyeos.org&lt;/a&gt; | Web Desktop &amp;amp; Cloud Computing Operating System&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/10 Anaël Ollier &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288619&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nanawel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;

Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m trying to use the properties defined in Qooxdoo (0.8.3), but the following code:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;properties: {&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;white-space:pre&quot;&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;	&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;mode: {&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;white-space:pre&quot;&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;		&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;init: &amp;quot;mode1&amp;quot;,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;white-space:pre&quot;&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;		&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;check: [&amp;quot;mode1&amp;quot;, &amp;quot;mode2&amp;quot;],&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;white-space:pre&quot;&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;		&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;event: &amp;quot;changeMode&amp;quot;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;white-space:pre&quot;&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;	&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;},&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;...&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;does not raise any error when I try to assign the string &amp;quot;test&amp;quot; to the property (or any other).&lt;/div&gt;
&lt;div&gt;I tried with an integer property, trying to assign a string to it, and I still had no error.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Did I miss something?&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks in advance&lt;/div&gt;&lt;div&gt;--&lt;br&gt;Anaël&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288619&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nanawel@...&lt;/a&gt;&lt;br&gt;


The eyeos Project | &lt;a href=&quot;http://www.eyeos.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.eyeos.org&lt;/a&gt; | Web Desktop &amp;amp; Cloud Computing Operating System&lt;br&gt;
&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288619&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-property-check-%28no-error-raised%29-tp26288579p26288619.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26288579</id>
	<title>Problem with property check (no error raised)</title>
	<published>2009-11-10T10:14:39Z</published>
	<updated>2009-11-10T10:14:39Z</updated>
	<author>
		<name>Anaël Ollier</name>
	</author>
	<content type="html">Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m trying to use the properties defined in Qooxdoo (0.8.3), but the following code:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;properties: {&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;	&lt;/font&gt;&lt;/span&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;mode: {&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;		&lt;/font&gt;&lt;/span&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;init: &amp;quot;mode1&amp;quot;,&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;		&lt;/font&gt;&lt;/span&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;check: [&amp;quot;mode1&amp;quot;, &amp;quot;mode2&amp;quot;],&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;		&lt;/font&gt;&lt;/span&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;event: &amp;quot;changeMode&amp;quot;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;	&lt;/font&gt;&lt;/span&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;},&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;&amp;#39;courier new&amp;#39;, monospace&quot;&gt;...&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;does not raise any error when I try to assign the string &amp;quot;test&amp;quot; to the property (or any other).&lt;/div&gt;

&lt;div&gt;I tried with an integer property, trying to assign a string to it, and I still had no error.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Did I miss something?&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks in advance&lt;/div&gt;&lt;div&gt;--&lt;br&gt;Anaël&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288579&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nanawel@...&lt;/a&gt;&lt;br&gt;

The eyeos Project | &lt;a href=&quot;http://www.eyeos.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.eyeos.org&lt;/a&gt; | Web Desktop &amp;amp; Cloud Computing Operating System&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26288579&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-property-check-%28no-error-raised%29-tp26288579p26288579.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26284728</id>
	<title>Re: Odd error after clearing child widgets in a composite</title>
	<published>2009-11-10T06:50:49Z</published>
	<updated>2009-11-10T06:50:49Z</updated>
	<author>
		<name>Matthew Gregory</name>
	</author>
	<content type="html">Did you see my other email?
&lt;br&gt;Try using .destroy() instead of .dispose(). This way the widgets will be 
&lt;br&gt;completely removed from the array you are refering to.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26284728&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;flj@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Me again.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I had to dig a little more, and here's what I found: it seems that when you .dispose() widgets which are placed inside a qx.ui.container.Composite with a qx.ui.layout.Grid layout, if you don't do it in order, or .dispose() only some widgets in the middle of the children array, the widgets aren't actually disposed, but their layout properties are cleared. So the next time the container wants to render, it fails, saying that at least row and column must be specified.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This seems like a qooxdoo error to me. Is it? Or am I doing something wrong?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; br,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; flj
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26284728&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Odd-error-after-clearing-child-widgets-in-a-composite-tp26281689p26284728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283737</id>
	<title>Re: doubt about layout</title>
	<published>2009-11-10T05:43:43Z</published>
	<updated>2009-11-10T05:43:43Z</updated>
	<author>
		<name>skar karthikeyan</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Derrell Lipman wrote:
&lt;blockquote cite=&quot;mid:cdc91d420911100519j435f830ancff103c7ed8f9ee3@mail.gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;meta http-equiv=&quot;Context-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&gt;
On Tue, Nov 10, 2009 at 07:30, skar &lt;span&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283737&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;skar.karthikeyan@...&lt;/a&gt;&amp;gt;&lt;/span&gt;
wrote:&lt;br&gt;
  &lt;div&gt;
  &lt;blockquote&gt;
    &lt;div&gt;Thanks for the snippet. However, the fields and the columns
don't align
now too. It seems setting the width is only a guidance and the field
container's children grow further.&lt;br&gt;
    &lt;/div&gt;
  &lt;/blockquote&gt;
  &lt;div&gt;&lt;br&gt;
That is correct. setWidth() is setting the *preferred* width. You can
require that the width be exactly what you want with setMinWidth() and
setMaxWidth().&lt;br&gt;
  &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;
Thanks, that worked. What bugs me is that the same ratio given to the
field's flex property and table's column resizing gives rise to
different widths and that too not a subtle difference. I guess it's ok,
since we can always align them using this technique :)&lt;br&gt;
&lt;br&gt;
cheers,&lt;br&gt;
skar.
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
--
The life so short, the craft so long to learn. 
&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283737&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/doubt-about-layout-tp26280680p26283737.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283289</id>
	<title>Re: doubt about layout</title>
	<published>2009-11-10T05:19:23Z</published>
	<updated>2009-11-10T05:19:23Z</updated>
	<author>
		<name>Derrell Lipman</name>
	</author>
	<content type="html">On Tue, Nov 10, 2009 at 07:30, skar &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283289&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;skar.karthikeyan@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;




  

&lt;div bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;Thanks for the snippet. However, the fields and the columns don&amp;#39;t align
now too. It seems setting the width is only a guidance and the field
container&amp;#39;s children grow further.&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;That is correct. setWidth() is setting the *preferred* width. You can require that the width be exactly what you want with setMinWidth() and setMaxWidth().&lt;br&gt;

&lt;br&gt;Derrell&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283289&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/doubt-about-layout-tp26280680p26283289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283220</id>
	<title>Re: Odd error after clearing child widgets in a composite</title>
	<published>2009-11-10T05:15:07Z</published>
	<updated>2009-11-10T05:15:07Z</updated>
	<author>
		<name>A_flj_</name>
	</author>
	<content type="html">Me again.
&lt;br&gt;&lt;br&gt;I had to dig a little more, and here's what I found: it seems that when you .dispose() widgets which are placed inside a qx.ui.container.Composite with a qx.ui.layout.Grid layout, if you don't do it in order, or .dispose() only some widgets in the middle of the children array, the widgets aren't actually disposed, but their layout properties are cleared. So the next time the container wants to render, it fails, saying that at least row and column must be specified.
&lt;br&gt;&lt;br&gt;This seems like a qooxdoo error to me. Is it? Or am I doing something wrong?
&lt;br&gt;&lt;br&gt;br,
&lt;br&gt;&lt;br&gt;flj
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283220&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Odd-error-after-clearing-child-widgets-in-a-composite-tp26281689p26283220.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26282700</id>
	<title>Re: doubt about layout</title>
	<published>2009-11-10T04:30:24Z</published>
	<updated>2009-11-10T04:30:24Z</updated>
	<author>
		<name>skar karthikeyan</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Daniel Wagner wrote:
&lt;blockquote cite=&quot;mid:4AF94B8C.3060502@1und1.de&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hi skar,

maybe I'm missing something here, but wouldn't it be best to dynamically 
set the text field width to the actual table column width? This worked 
for me, after removing the flex setting for field_encapsulator:

        tcm.addListener(&quot;widthChanged&quot;, function(e) {
          var col = e.getData().col;
          var newWidth = e.getData().newWidth;
          this.field_container.getChildren()[col].setWidth(newWidth);
        }, this);
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
Thanks for the snippet. However, the fields and the columns don't align
now too. It seems setting the width is only a guidance and the field
container's children grow further. For eg, in my laptop, the width is
1280. &lt;br&gt;
&lt;br&gt;
APP.table.getBounds() Object left=0 top=43 width=1240 height=439&lt;br&gt;
APP.field_container.getBounds() Object left=0 top=10 width=1240
height=23&lt;br&gt;
tcm.getColumnWidth(0) &lt;b&gt;586&lt;/b&gt;&lt;br&gt;
APP.field_container.getChildren()[0].getBounds() Object left=0 top=0
width=&lt;b&gt;597&lt;/b&gt; height=23&lt;br&gt;
&lt;span role=&quot;presentation&quot; class=&quot;objectBox objectBox-text&quot;&gt;APP.field_container.getChildren()[0].getWidth()&amp;nbsp;
&lt;/span&gt;&lt;b&gt;&lt;span role=&quot;presentation&quot; class=&quot;objectBox objectBox-number&quot;&gt;586&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span role=&quot;presentation&quot; class=&quot;objectBox objectBox-number&quot;&gt;As
seen above, the first field's width is set equal to 586, the same as
the table's first column, however, it occupies 597 px. &lt;br&gt;
&lt;br&gt;
Any idea why the flex property for the fields don't give the same width
as the table's resize behavior, though both have the same ratio?&lt;br&gt;
&lt;br&gt;
cheers,&lt;br&gt;
skar.&lt;/span&gt;&lt;br&gt;
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
--
The life so short, the craft so long to learn. 
&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26282700&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/doubt-about-layout-tp26280680p26282700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281852</id>
	<title>Re: Odd error after clearing child widgets in a composite</title>
	<published>2009-11-10T03:24:48Z</published>
	<updated>2009-11-10T03:24:48Z</updated>
	<author>
		<name>A_flj_</name>
	</author>
	<content type="html">Hi, me again.
&lt;br&gt;&lt;br&gt;I tried removing and re-adding the container alltogether, it doesn't work. 
&lt;br&gt;&lt;br&gt;In the meantime I looked somewhat deeper into the problem. The error comes from a mouse move event. I have absolutely no clue, and the app should have gone into testing hours ago - delivery is tomorrow.
&lt;br&gt;&lt;br&gt;br,
&lt;br&gt;&lt;br&gt;flj
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281852&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Odd-error-after-clearing-child-widgets-in-a-composite-tp26281689p26281852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281834</id>
	<title>Re: Generator Memory Usage</title>
	<published>2009-11-10T03:22:22Z</published>
	<updated>2009-11-10T03:22:22Z</updated>
	<author>
		<name>Loïc Bresson -- Novlog</name>
	</author>
	<content type="html">thron7 wrote:
&lt;br&gt;&amp;gt; You're right, there's something inherently weird about this patch. My 
&lt;br&gt;&amp;gt; own measurements do not match with my initial figures (using a different 
&lt;br&gt;&amp;gt; platform, though). I undid it in trunk (r20591). BTW, your figures look 
&lt;br&gt;&amp;gt; strange too (e.g. build times are *bigger* with cache than without - &amp;nbsp;if 
&lt;br&gt;&amp;gt; this were true the whole cache would be worthless).
&lt;br&gt;&lt;br&gt;That may be a little too late since it's undone, but here are our results for a 
&lt;br&gt;~400 classes application when using the file TreeLoader.py of r20582 and 
&lt;br&gt;sticking with the 0.8.3 release for the other files.
&lt;br&gt;&lt;br&gt;./generate.py build (no cache) - 0.8.3 release:
&lt;br&gt;&lt;br&gt;real	1m47.422s
&lt;br&gt;user	1m44.002s
&lt;br&gt;sys	0m1.792s
&lt;br&gt;&lt;br&gt;Memory usage: ~50 MB
&lt;br&gt;&lt;br&gt;&lt;br&gt;./generate.py build (no cache) - r20582:
&lt;br&gt;&lt;br&gt;real	2m19.662s
&lt;br&gt;user	2m17.909s
&lt;br&gt;sys	0m1.612s
&lt;br&gt;&lt;br&gt;Memory usage: ~550 MB
&lt;br&gt;&lt;br&gt;====================================================
&lt;br&gt;&lt;br&gt;./generate.py source (no cache) - 0.8.3 release:
&lt;br&gt;&lt;br&gt;real	0m38.235s
&lt;br&gt;user	0m37.466s
&lt;br&gt;sys	0m0.680s
&lt;br&gt;&lt;br&gt;Memory usage: ~46 MB
&lt;br&gt;&lt;br&gt;&lt;br&gt;./generate.py source (no cache) - r20582:
&lt;br&gt;&lt;br&gt;real	0m40.432s
&lt;br&gt;user	0m39.554s
&lt;br&gt;sys	0m0.720s
&lt;br&gt;&lt;br&gt;Memory usage: up to 280 MB
&lt;br&gt;&lt;br&gt;&lt;br&gt;The new version was always slower and used more memory.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Thanks to all for testing anyway.
&lt;br&gt;Thanks for trying to improve the build speed :)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Loïc Bresson
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281834&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generator-Memory-Usage-tp26268288p26281834.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281814</id>
	<title>Re: Odd error after clearing child widgets in a composite</title>
	<published>2009-11-10T03:20:10Z</published>
	<updated>2009-11-10T03:20:10Z</updated>
	<author>
		<name>Matthew Gregory</name>
	</author>
	<content type="html">Try using .destroy() instead of .dispose().
&lt;br&gt;&lt;br&gt;IIRC destroy() will basically remove the widget from it's parent and the 
&lt;br&gt;dispose it. Without removing it from the parent first you leave a 
&lt;br&gt;reference to it behind which is what I think is causing your error.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281814&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;flj@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have this container:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; var layout = new qx.ui.layout.Grid(4, 4);
&lt;br&gt;&amp;gt; layout.setColumnFlex(1, 1);
&lt;br&gt;&amp;gt; layout.setColumnFlex(4, 1);
&lt;br&gt;&amp;gt; layout.setColumnMinWidth(3, 20);
&lt;br&gt;&amp;gt; this.__fieldsContainer = new qx.ui.container.Composite(layout);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; At some point, I add widgets to it. Later on, I try to remove them, in order to add fresh controls to it, like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; var children = container.getChildren();
&lt;br&gt;&amp;gt; while(children.length &amp;gt; 0)
&lt;br&gt;&amp;gt; 	children[children.length - 1].dispose();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The removal works without problems. However, later on, when executing the same code I executed earlier on to fill the container, I get an odd error with a stack trace comming from deep within qooxdoo itself:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; Line 10748 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if(C==null||r==null){throw new Error(&amp;quot;The layout properties 'row' and 'column' must be defined!&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; Line 11046 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; function(){if(this._invalidChildrenCache){this.__buildGrid();
&lt;br&gt;&amp;gt; &amp;nbsp; Line 8171 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }return this.__sizeHint=this._computeSizeHint();
&lt;br&gt;&amp;gt; &amp;nbsp; Line 4893 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; var cj=ci.getSizeHint();
&lt;br&gt;&amp;gt; &amp;nbsp; Line 4864 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; var z=this._getContentHint();
&lt;br&gt;&amp;gt; &amp;nbsp; Line 4659 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }bl=this.__sizeHint=this._computeSizeHint();
&lt;br&gt;&amp;gt; &amp;nbsp; Line 5613 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; var n=j.getSizeHint();
&lt;br&gt;&amp;gt; &amp;nbsp; Line 5567 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; function(){var r=this.__getSortedQueue();
&lt;br&gt;&amp;gt; &amp;nbsp; Line 6241 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; qx.ui.core.queue.Layout.flush();
&lt;br&gt;&amp;gt; &amp;nbsp; ... &amp;nbsp;Line 2943 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; e[i].handler.call(f,event);
&lt;br&gt;&amp;gt; &amp;nbsp; Line 1294 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if(t.canDispatchEvent(q,event,w)){t.dispatchEvent(q,event,w);
&lt;br&gt;&amp;gt; &amp;nbsp; Line 1538 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; return this.getManager(k).dispatchEvent(k,p);
&lt;br&gt;&amp;gt; &amp;nbsp; Line 6482 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }qx.event.Registration.fireEvent(this.__window,o,qx.event.type.Data,[ba||Y.type]);
&lt;br&gt;&amp;gt; &amp;nbsp; Line 6512 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; function(U){this.__fireEvent(U);
&lt;br&gt;&amp;gt; &amp;nbsp; ... &amp;nbsp;Line 2745 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; function(){if(!self.__callback){return a.apply(this,arguments);
&lt;br&gt;&amp;gt; &amp;nbsp; ... &amp;nbsp;Line 1495 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; function(event){return a.call(self||this,event||window.event);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The code which adds the new controls is executed in the same thread as the code clearing the container, and finishes OK. The error happens later on, when the rendering happens, it seems, so I cannot trace the error back into my code. Unfortunately, this time I also don't have time to run the source build with test data to see what happens.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any ideas?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; br,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; flj
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281814&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Odd-error-after-clearing-child-widgets-in-a-composite-tp26281689p26281814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281765</id>
	<title>Re: doubt about layout</title>
	<published>2009-11-10T03:16:28Z</published>
	<updated>2009-11-10T03:16:28Z</updated>
	<author>
		<name>d_wagner</name>
	</author>
	<content type="html">Hi skar,
&lt;br&gt;&lt;br&gt;maybe I'm missing something here, but wouldn't it be best to dynamically 
&lt;br&gt;set the text field width to the actual table column width? This worked 
&lt;br&gt;for me, after removing the flex setting for field_encapsulator:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tcm.addListener(&amp;quot;widthChanged&amp;quot;, function(e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var col = e.getData().col;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var newWidth = e.getData().newWidth;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container.getChildren()[col].setWidth(newWidth);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;&lt;br&gt;skar schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've got a table with n columns and also a corresponding no.of text 
&lt;br&gt;&amp;gt; fields above the table. I want the input fields to align horizontally 
&lt;br&gt;&amp;gt; with the table's columns. Also, I want the alignment to stay even if the 
&lt;br&gt;&amp;gt; browser is resized or if the container size is set to a fixed size 
&lt;br&gt;&amp;gt; instead of occupying all the browser space.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I assign a flex value of 48% &amp;nbsp;to each of the fields and also to the 
&lt;br&gt;&amp;gt; columns, the size taken by the two aren't equal. And the save button 
&lt;br&gt;&amp;gt; takes more than 4% of the horizontal space.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The sample code is as follows:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; qx.Class.define(&amp;quot;testproject.Application&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; extend : qx.application.Standalone,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; members :
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; main_tab &amp;nbsp; &amp;nbsp;: null,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; titlepanel &amp;nbsp;: null,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; layout_hbox : null,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; fixed_view &amp;nbsp;: &amp;nbsp; &amp;quot;fixed&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; fluid_view &amp;nbsp;: &amp;nbsp; &amp;quot;fluid&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; columns &amp;nbsp; &amp;nbsp; : ['Data1', 'Data2'],
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; col_resize &amp;nbsp;: [
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; { width: &amp;quot;48%&amp;quot;},
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; { width: &amp;quot;48%&amp;quot;}
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; ],
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; save_button_size: &amp;quot;4%&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; //layout of table columns and fields not aligning
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; //main_layout_not_aligning &amp;nbsp;: function() {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; main &amp;nbsp;: function() {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Call super class
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.base(arguments);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Enable logging in debug variant
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (qx.core.Variant.isSet(&amp;quot;qx.debug&amp;quot;, &amp;quot;on&amp;quot;)) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // support native logging capabilities, e.g. Firebug for Firefox
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; qx.log.appender.Native;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // support additional cross-browser console. Press F7 to 
&lt;br&gt;&amp;gt;&amp;gt; toggle visibility
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; qx.log.appender.Console;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APP = &amp;nbsp;this;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APPROOT = &amp;nbsp;this.getRoot();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var view_menu = new qx.ui.menu.Menu;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var view = new qx.ui.menubar.Button(&amp;quot;View&amp;quot;, null, view_menu);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var viewFixedCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+I&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var viewFluidCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+U&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; viewFixedCommand.addListener(&amp;quot;execute&amp;quot;, function(e){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.setSelection([this.fixedButton]);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; viewFluidCommand.addListener(&amp;quot;execute&amp;quot;, function(e){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.setSelection([this.fluidButton]);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fixedButton = new qx.ui.menu.RadioButton(&amp;quot;fixed&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fluidButton = new qx.ui.menu.RadioButton(&amp;quot;fluid&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fixedButton.setCommand(viewFixedCommand);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fluidButton.setCommand(viewFluidCommand);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; view_menu.add(this.fixedButton);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; view_menu.add(this.fluidButton);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Configure and fill radio group
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup = new qx.ui.form.RadioGroup;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.add(this.fluidButton, this.fixedButton);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.addListener(&amp;quot;changeSelection&amp;quot;, function(e){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;viewGroup changed selection, setting appropriate 
&lt;br&gt;&amp;gt;&amp;gt; layout style ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; APP.adjustLayout(e);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var edit_menu = new qx.ui.menu.Menu;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var edit = new qx.ui.menubar.Button(&amp;quot;Edit&amp;quot;, null, edit_menu);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var copyCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+C&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var pasteCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+V&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.copyButton = new qx.ui.menu.Button(&amp;quot;copy&amp;quot;,null,copyCommand);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.pasteButton = new qx.ui.menu.Button(&amp;quot;paste&amp;quot;,null,pasteCommand);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; edit_menu.add(this.copyButton);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; edit_menu.add(this.pasteButton);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var menubar = new qx.ui.menubar.MenuBar;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; menubar.setPaddingRight(10);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; menubar.add(edit);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; menubar.add(view);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //create a scrollbar based container, so that vertical space 
&lt;br&gt;&amp;gt;&amp;gt; isn't a problem from now on
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.scroll = new qx.ui.container.Scroll();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.scroll.set({padding: 0});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APPROOT.add(this.scroll, {edge: 0});
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //have a layout vbox which has left margin, the center and the 
&lt;br&gt;&amp;gt;&amp;gt; right margin
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt;&amp;gt; qx.ui.layout.HBox(3).set({spacing: 0}));
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.set({padding: 0});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin = new qx.ui.container.Composite();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin = new qx.ui.container.Composite();
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //set fluid with zero width for left and right margin
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //create a composite container to hold login box, tab view etc now
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var layout = new qx.ui.layout.VBox;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout.setSeparator(&amp;quot;separator-vertical&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout.setSpacing(0);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.child_container = new qx.ui.container.Composite();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.child_container.setLayout(layout);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add these to layout_hbox and the layout_hbox to the scroll
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.add(this.left_margin);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.add(this.child_container);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.add(this.right_margin);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.scroll.add(this.layout_hbox, {edge: 0});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt;&amp;gt; qx.ui.layout.VBox().set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spacing: 10
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }));
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.child_container.add(this.main_tab, {flex:1});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APPROOT.addListener(&amp;quot;resize&amp;quot;,function(e){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var selected_view = this.viewGroup.getSelection()[0].getLabel();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;App resizing, and current selected layout is :&amp;quot; + 
&lt;br&gt;&amp;gt;&amp;gt; selected_view + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(selected_view == this.fixed_view){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;App resizing, setting fixed layout ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFixedLayout();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(selected_view == this.fluid_view){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;App resizing, setting fluid layout ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFluidLayout();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; },this);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add a composite with vbox and a table and field container
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container &amp;nbsp;= new qx.ui.container.Composite();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var layout = new qx.ui.layout.VBox();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container.setLayout(layout);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.add(menubar);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.add(this.table_container);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add a field container with input fields
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var hbox_layout = new qx.ui.layout.HBox();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container = new 
&lt;br&gt;&amp;gt;&amp;gt; qx.ui.container.Composite(hbox_layout).set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; marginTop: &amp;nbsp; &amp;nbsp;10,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; marginBottom: 10
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(var i=0;i&amp;lt;this.columns.length;i++){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var field_encapsulator = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt;&amp;gt; qx.ui.layout.HBox(1)).set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //paddingLeft &amp;nbsp; : 5,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //paddingRight &amp;nbsp;: 5
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var field = new qx.ui.form.TextField();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; field_encapsulator.add(field, {flex: 1});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting width of field &amp;quot; + i + &amp;quot; to &amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + parseFloat( this.col_resize[i]['width']) + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container.add(field_encapsulator, {flex: 
&lt;br&gt;&amp;gt;&amp;gt; parseFloat( this.col_resize[i]['width'])});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //have a save button too
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.save_button = new qx.ui.form.Button(&amp;quot;Save&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var button_encapsulator = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt;&amp;gt; qx.ui.layout.HBox(1)).set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paddingLeft &amp;nbsp; : 0
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; button_encapsulator.add(this.save_button, {flex: 1});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting width of button &amp;quot; + &amp;quot; to &amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + parseFloat( this.save_button_size) + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //this.field_container.add(button_encapsulator, {flex: 
&lt;br&gt;&amp;gt;&amp;gt; parseFloat(this.save_button_size) - 1.99});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container.add(button_encapsulator, {flex: 
&lt;br&gt;&amp;gt;&amp;gt; parseFloat(this.save_button_size)});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container.add(this.field_container, {flex: 1});
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add a table
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var tableModel = new qx.ui.table.model.Simple();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableModel.setColumns(this.columns);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //resizable table column model
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var resizable_tcm =
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableColumnModel : function(obj) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new qx.ui.table.columnmodel.Resize(obj);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; tcm.addListener(&amp;quot;widthChanged&amp;quot;, function(e) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var col = e.getData().col;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var newWidth = e.getData().newWidth;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;col &amp;quot; + col + &amp;quot; width changed to &amp;quot; + newWidth);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container.getChildren()[col].setWidth(newWidth);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // table created
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var table = new qx.ui.table.Table(tableModel, resizable_tcm);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var tcm = table.getTableColumnModel();
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //set some random data
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var data = [];
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(var i=0;i&amp;lt;50;i++){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data.push(['item'+i, 'value'+i]);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableModel.setData(data);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //set the resize value for each column
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Obtain the behavior object to manipulate
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var resizeBehavior = tcm.getBehavior();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (var i=0,j=0;i&amp;lt; this.col_resize.length;i++) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var col_resize = this.col_resize[i];
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting width of column &amp;quot; + i + &amp;quot; to &amp;quot; + 
&lt;br&gt;&amp;gt;&amp;gt; col_resize + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resizeBehavior.set(i, col_resize);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table = table;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container.add(this.table, {flex: 1});
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; adjustLayout &amp;nbsp;: function(e){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var selected_view = e.getData()[0].getLabel();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(selected_view == this.fixed_view){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting layout to fixed now ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFixedLayout();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(selected_view == this.fluid_view){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting layout to fluid now ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFluidLayout();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; __setFixedLayout &amp;nbsp;: function(){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting fixed layout ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var width = APPROOT.getBounds().width;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var margin_width = Math.floor((width - 960)/2);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; margin_width = margin_width &amp;gt; 0 ? margin_width : 0;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting margin widths to be &amp;quot; + margin_width + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width &amp;nbsp; &amp;nbsp; : 960,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 960,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 960,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minHeight : 600,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding &amp;nbsp; : 10
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: margin_width,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: margin_width
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: margin_width,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: margin_width
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; __setFluidLayout &amp;nbsp;: function(){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting fluid layout ...&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var width = APPROOT.getBounds().width - 20; //20 for 10 each on 
&lt;br&gt;&amp;gt;&amp;gt; either side for padding
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; width = (width &amp;lt; 960)? 960 : width; //greater of the width or 
&lt;br&gt;&amp;gt;&amp;gt; 960, so 960 is min width
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: width,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minHeight : 600,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //maxWidth &amp;nbsp;: width,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding &amp;nbsp; : 10
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin.set({
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt; });
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cheers,
&lt;br&gt;&amp;gt; skar.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/doubt-about-layout-tp26280680p26281765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281689</id>
	<title>Odd error after clearing child widgets in a composite</title>
	<published>2009-11-10T03:08:48Z</published>
	<updated>2009-11-10T03:08:48Z</updated>
	<author>
		<name>A_flj_</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;I have this container:
&lt;br&gt;&lt;br&gt;var layout = new qx.ui.layout.Grid(4, 4);
&lt;br&gt;layout.setColumnFlex(1, 1);
&lt;br&gt;layout.setColumnFlex(4, 1);
&lt;br&gt;layout.setColumnMinWidth(3, 20);
&lt;br&gt;this.__fieldsContainer = new qx.ui.container.Composite(layout);
&lt;br&gt;&lt;br&gt;At some point, I add widgets to it. Later on, I try to remove them, in order to add fresh controls to it, like this:
&lt;br&gt;&lt;br&gt;var children = container.getChildren();
&lt;br&gt;while(children.length &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; children[children.length - 1].dispose();
&lt;br&gt;&lt;br&gt;The removal works without problems. However, later on, when executing the same code I executed earlier on to fill the container, I get an odd error with a stack trace comming from deep within qooxdoo itself:
&lt;br&gt;&lt;br&gt;&amp;nbsp; Line 10748 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; if(C==null||r==null){throw new Error(&amp;quot;The layout properties 'row' and 'column' must be defined!&amp;quot;);
&lt;br&gt;&amp;nbsp; Line 11046 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; function(){if(this._invalidChildrenCache){this.__buildGrid();
&lt;br&gt;&amp;nbsp; Line 8171 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }return this.__sizeHint=this._computeSizeHint();
&lt;br&gt;&amp;nbsp; Line 4893 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; var cj=ci.getSizeHint();
&lt;br&gt;&amp;nbsp; Line 4864 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; var z=this._getContentHint();
&lt;br&gt;&amp;nbsp; Line 4659 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }bl=this.__sizeHint=this._computeSizeHint();
&lt;br&gt;&amp;nbsp; Line 5613 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; var n=j.getSizeHint();
&lt;br&gt;&amp;nbsp; Line 5567 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; function(){var r=this.__getSortedQueue();
&lt;br&gt;&amp;nbsp; Line 6241 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; qx.ui.core.queue.Layout.flush();
&lt;br&gt;&amp;nbsp; ... &amp;nbsp;Line 2943 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; e[i].handler.call(f,event);
&lt;br&gt;&amp;nbsp; Line 1294 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; if(t.canDispatchEvent(q,event,w)){t.dispatchEvent(q,event,w);
&lt;br&gt;&amp;nbsp; Line 1538 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; return this.getManager(k).dispatchEvent(k,p);
&lt;br&gt;&amp;nbsp; Line 6482 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }qx.event.Registration.fireEvent(this.__window,o,qx.event.type.Data,[ba||Y.type]);
&lt;br&gt;&amp;nbsp; Line 6512 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; function(U){this.__fireEvent(U);
&lt;br&gt;&amp;nbsp; ... &amp;nbsp;Line 2745 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; function(){if(!self.__callback){return a.apply(this,arguments);
&lt;br&gt;&amp;nbsp; ... &amp;nbsp;Line 1495 of linked script &lt;a href=&quot;http://localhost/folder/script/myapp.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/folder/script/myapp.js&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; function(event){return a.call(self||this,event||window.event);
&lt;br&gt;&lt;br&gt;The code which adds the new controls is executed in the same thread as the code clearing the container, and finishes OK. The error happens later on, when the rendering happens, it seems, so I cannot trace the error back into my code. Unfortunately, this time I also don't have time to run the source build with test data to see what happens.
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;&lt;br&gt;br,
&lt;br&gt;&lt;br&gt;flj
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281689&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Odd-error-after-clearing-child-widgets-in-a-composite-tp26281689p26281689.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281659</id>
	<title>Re: use codepress into qooxdoo</title>
	<published>2009-11-10T03:05:24Z</published>
	<updated>2009-11-10T03:05:24Z</updated>
	<author>
		<name>acassarino</name>
	</author>
	<content type="html">&lt;br&gt;Hello ,
&lt;br&gt;&lt;br&gt;Thank for your help
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;I think I have solved the problem so:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var doc = this.getRoot();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iframeName = &amp;quot;pippo&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var html =&amp;quot;prova.html&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.iframe = new qx.ui.embed.Iframe() &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.iframe.setSource(html);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; doc.add(this.iframe, {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; left: 100,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; top: 50,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; right : 20,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bottom : 20
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&lt;br&gt;I included &amp;nbsp; prova.html into directory ....\source\ prova.html of my
&lt;br&gt;application
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Antonino
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;panyasan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello Antonino,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; since this might be of interest for others, could you post your working
&lt;br&gt;&amp;gt; solution ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Christian 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; acassarino wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hello Cristian,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks for your help
&lt;br&gt;&amp;gt;&amp;gt; 	
&lt;br&gt;&amp;gt;&amp;gt; I think I have solved the problem.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Regards 
&lt;br&gt;&amp;gt;&amp;gt; Antonino
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; panyasan wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I think you must use a qx.ui.embed.Iframe, not q.xui.embed.Html. Then
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; you create a htmlfile with the content that you have put in a &amp;nbsp;string in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; your snippet, and load it into the iframe. That should work.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Christian 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; acassarino wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I can use code codepress &amp;nbsp;in &lt;a href=&quot;http://codepress.sourceforge.net/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://codepress.sourceforge.net/index.php&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; into my application qooxdoo ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;	
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I tried to do so
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var container = new qx.ui.container.Composite(new
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; qx.ui.layout.HBox());
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	var html = '&amp;lt;html&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;head&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; charset=iso-8859-1&amp;quot;&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;title&amp;gt;prova_andrea&amp;lt;/title&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;script src=&amp;quot;codepress/codepress.js&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/head&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;body&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;textarea id=&amp;quot;myCpWindow&amp;quot; rows=&amp;quot;200&amp;quot; cols=&amp;quot;200&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; class=&amp;quot;codepress javascript &amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp;pippo &amp;nbsp;self.textarea = obj;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/textarea&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/body&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/html&amp;gt; ';
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; var htmlBox = new qx.ui.embed.Html ( html );
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 		htmlBox.setWidth(240);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;htmlBox.setHeight(100);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;htmlBox.setMargin(10,0,0,0);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; container.add ( htmlBox );	 &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;this.getRoot().add(container, {top: 20, left: 20});
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thank you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Regards 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Antonino
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://n2.nabble.com/use-codepress-into-qooxdoo-tp3971835p3978920.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/use-codepress-into-qooxdoo-tp3971835p3978920.html&lt;/a&gt;&lt;br&gt;Sent from the qooxdoo mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281659&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/use-codepress-into-qooxdoo-tp26262912p26281659.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281625</id>
	<title>Re: use codepress into qooxdoo</title>
	<published>2009-11-10T03:02:34Z</published>
	<updated>2009-11-10T03:02:34Z</updated>
	<author>
		<name>panyasan</name>
	</author>
	<content type="html">&lt;br&gt;Hello Antonino,
&lt;br&gt;&lt;br&gt;since this might be of interest for others, could you post your working
&lt;br&gt;solution ?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Christian 
&lt;br&gt;&lt;br&gt;acassarino wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello Cristian,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for your help
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; I think I have solved the problem.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards 
&lt;br&gt;&amp;gt; Antonino
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; panyasan wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I think you must use a qx.ui.embed.Iframe, not q.xui.embed.Html. Then you
&lt;br&gt;&amp;gt;&amp;gt; create a htmlfile with the content that you have put in a &amp;nbsp;string in your
&lt;br&gt;&amp;gt;&amp;gt; snippet, and load it into the iframe. That should work.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Christian 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; acassarino wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I can use code codepress &amp;nbsp;in &lt;a href=&quot;http://codepress.sourceforge.net/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://codepress.sourceforge.net/index.php&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; into my application qooxdoo ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;	
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I tried to do so
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var container = new qx.ui.container.Composite(new
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; qx.ui.layout.HBox());
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 	var html = '&amp;lt;html&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;head&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; charset=iso-8859-1&amp;quot;&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;title&amp;gt;prova_andrea&amp;lt;/title&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;script src=&amp;quot;codepress/codepress.js&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/head&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;body&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;textarea id=&amp;quot;myCpWindow&amp;quot; rows=&amp;quot;200&amp;quot; cols=&amp;quot;200&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; class=&amp;quot;codepress javascript &amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp;pippo &amp;nbsp;self.textarea = obj;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/textarea&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/body&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/html&amp;gt; ';
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; var htmlBox = new qx.ui.embed.Html ( html );
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 		htmlBox.setWidth(240);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;htmlBox.setHeight(100);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;htmlBox.setMargin(10,0,0,0);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; container.add ( htmlBox );	 &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;this.getRoot().add(container, {top: 20, left: 20});
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thank you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Antonino
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://n2.nabble.com/use-codepress-into-qooxdoo-tp3971835p3978907.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/use-codepress-into-qooxdoo-tp3971835p3978907.html&lt;/a&gt;&lt;br&gt;Sent from the qooxdoo mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281625&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/use-codepress-into-qooxdoo-tp26262912p26281625.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281488</id>
	<title>Re: calling components</title>
	<published>2009-11-10T02:49:43Z</published>
	<updated>2009-11-10T02:49:43Z</updated>
	<author>
		<name>Matthew Gregory</name>
	</author>
	<content type="html">You are usually better off just storing a reference to each widget than 
&lt;br&gt;trying to progmatically find it in a child array or similar.
&lt;br&gt;&lt;br&gt;Alex Alvarez wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm sure this has been answered many times before, but I haven't had 
&lt;br&gt;&amp;gt; luck finding a related post.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Q: What is/are the best ways for identifying and calling qooxdoo 
&lt;br&gt;&amp;gt; components anywhere from within a qooxdoo application? &amp;nbsp;For example, if 
&lt;br&gt;&amp;gt; I'm inside a an event handling function and I want to call a button or 
&lt;br&gt;&amp;gt; adjust a contentpane? &amp;nbsp;I was originally looking for something like 
&lt;br&gt;&amp;gt; getRoot().getChildren().
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; qooxdoo-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281488&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281488&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/calling-components-tp26272840p26281488.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281474</id>
	<title>Re: use codepress into qooxdoo</title>
	<published>2009-11-10T02:49:22Z</published>
	<updated>2009-11-10T02:49:22Z</updated>
	<author>
		<name>acassarino</name>
	</author>
	<content type="html">&lt;br&gt;Hello Cristian,
&lt;br&gt;&lt;br&gt;Thanks for your help
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;I think I have solved the problem.
&lt;br&gt;&lt;br&gt;Regards 
&lt;br&gt;Antonino
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;panyasan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think you must use a qx.ui.embed.Iframe, not q.xui.embed.Html. Then you
&lt;br&gt;&amp;gt; create a htmlfile with the content that you have put in a &amp;nbsp;string in your
&lt;br&gt;&amp;gt; snippet, and load it into the iframe. That should work.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Christian 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; acassarino wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I can use code codepress &amp;nbsp;in &lt;a href=&quot;http://codepress.sourceforge.net/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://codepress.sourceforge.net/index.php&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; into my application qooxdoo ?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;	
&lt;br&gt;&amp;gt;&amp;gt; I tried to do so
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var container = new qx.ui.container.Composite(new
&lt;br&gt;&amp;gt;&amp;gt; qx.ui.layout.HBox());
&lt;br&gt;&amp;gt;&amp;gt; 	var html = '&amp;lt;html&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;head&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html;
&lt;br&gt;&amp;gt;&amp;gt; charset=iso-8859-1&amp;quot;&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;title&amp;gt;prova_andrea&amp;lt;/title&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;script src=&amp;quot;codepress/codepress.js&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/head&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;body&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;textarea id=&amp;quot;myCpWindow&amp;quot; rows=&amp;quot;200&amp;quot; cols=&amp;quot;200&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; class=&amp;quot;codepress javascript &amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp;pippo &amp;nbsp;self.textarea = obj;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/textarea&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/body&amp;gt;'+
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '&amp;lt;/html&amp;gt; ';
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 	 &amp;nbsp; var htmlBox = new qx.ui.embed.Html ( html );
&lt;br&gt;&amp;gt;&amp;gt; 		htmlBox.setWidth(240);
&lt;br&gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;htmlBox.setHeight(100);
&lt;br&gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;htmlBox.setMargin(10,0,0,0);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; container.add ( htmlBox );	 &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;this.getRoot().add(container, {top: 20, left: 20});
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thank you
&lt;br&gt;&amp;gt;&amp;gt; Regards 
&lt;br&gt;&amp;gt;&amp;gt; Antonino
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://n2.nabble.com/use-codepress-into-qooxdoo-tp3971835p3978855.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/use-codepress-into-qooxdoo-tp3971835p3978855.html&lt;/a&gt;&lt;br&gt;Sent from the qooxdoo mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281474&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/use-codepress-into-qooxdoo-tp26262912p26281474.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281347</id>
	<title>Re: Generator Memory Usage</title>
	<published>2009-11-10T02:38:32Z</published>
	<updated>2009-11-10T02:38:32Z</updated>
	<author>
		<name>thron7-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;tt&gt;You're right, there's something inherently weird about this patch.
My own measurements do not match with my initial figures (using a
different platform, though). I undid it in trunk (r&lt;/tt&gt;20591). BTW,
your figures look strange too (e.g. build times are *bigger* with cache
than without -&amp;nbsp; if this were true the whole cache would be worthless). &lt;br&gt;
&lt;br&gt;
Thanks to all for testing anyway.&lt;br&gt;
&lt;br&gt;
T.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
skar wrote:
&lt;blockquote cite=&quot;mid:4AF91248.8080607@gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
thron7 wrote:
  &lt;blockquote cite=&quot;mid:4AF848F8.9050208@1und1.de&quot; type=&quot;cite&quot;&gt;
    &lt;meta http-equiv=&quot;Context-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&gt;
    &lt;br&gt;
    &lt;br&gt;
Lo&amp;iuml;c Bresson -- Novlog wrote:
    &lt;blockquote cite=&quot;mid:hd9e23$pn2$1@ger.gmane.org&quot; type=&quot;cite&quot;&gt;
      &lt;pre&gt;Great news :) Since we often run &quot;./generate.py build&quot; with an empty cache, 
this could be really useful for us.

Just to be sure, is it possible to update only the generator to revision 20582 
(files in tool/ if I'm not wrong) and stay with the official 0.8.3 release for 
the other files ? (We don't work with trunk version but we may give a try to 
this new generator.)
  &lt;/pre&gt;
    &lt;/blockquote&gt;
    &lt;br&gt;
No, updating tool/ to trunk alone wouldn't work, as there are
depenpendencies into the framework (concerning part loading). But it's
even simpler: You can simply update the file
tool/pylib/generator/code/TreeLoader.py to its trunk version. This
change is compatible with the 0.8.3 release.&lt;br&gt;
    &lt;br&gt;
Let us know how it works.&lt;br&gt;
  &lt;/blockquote&gt;
For a skeleton app:&lt;br&gt;
  &lt;br&gt;
My &quot;./generate.py source&quot; has reduced from taking 5-6 secs to 3.03 secs
or thereabouts. But my build time has gone from the same 5-6 secs to
around 11-12 secs. I'm on trunk 20583. Both the times are with the
cache available. With no cache, the times are almost the same for both
source and build at around 100-120 secs.&lt;br&gt;
  &lt;br&gt;
Also I couldn't see any memory usage around 500 MB. Without cache,
source and build took around 100 MB RSZ and VSZ was only a little
higher. With cache, source was around 16-20 MB and build took around
36-40 MB. So memory usage isn't a problem for me, nor should it be for
anyone else. &lt;br&gt;
  &lt;br&gt;
For my app:&lt;br&gt;
  &lt;br&gt;
Memory usage is the same for both my project as well as a skeleton app.
Time for source and&amp;nbsp; build also the same around 100-120 secs without
cache. With cache, times are bigger at around 5 secs for source and 13
secs for build. So bigger project takes longer times, but memory
consumption stays the same.&lt;br&gt;
  &lt;br&gt;
If you can quicken the build time also, it'd be awesome :)&lt;br&gt;
  &lt;br&gt;
cheers,&lt;br&gt;
skar.&lt;br&gt;
  &lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
--
The life so short, the craft so long to learn. 
  &lt;/pre&gt;
  &lt;pre wrap=&quot;&quot;&gt;
&lt;hr size=&quot;4&quot; width=&quot;90%&quot;&gt;
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  &lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;/pre&gt;
  &lt;pre wrap=&quot;&quot;&gt;
&lt;hr size=&quot;4&quot; width=&quot;90%&quot;&gt;
_______________________________________________
qooxdoo-devel mailing list
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281347&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281347&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generator-Memory-Usage-tp26268288p26281347.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26280680</id>
	<title>doubt about layout</title>
	<published>2009-11-10T01:39:20Z</published>
	<updated>2009-11-10T01:39:20Z</updated>
	<author>
		<name>skar karthikeyan</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I've got a table with n columns and also a corresponding no.of text 
&lt;br&gt;fields above the table. I want the input fields to align horizontally 
&lt;br&gt;with the table's columns. Also, I want the alignment to stay even if the 
&lt;br&gt;browser is resized or if the container size is set to a fixed size 
&lt;br&gt;instead of occupying all the browser space.
&lt;br&gt;&lt;br&gt;When I assign a flex value of 48% &amp;nbsp;to each of the fields and also to the 
&lt;br&gt;columns, the size taken by the two aren't equal. And the save button 
&lt;br&gt;takes more than 4% of the horizontal space.
&lt;br&gt;&lt;br&gt;The sample code is as follows:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; qx.Class.define(&amp;quot;testproject.Application&amp;quot;,
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; extend : qx.application.Standalone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; members :
&lt;br&gt;&amp;gt; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; main_tab &amp;nbsp; &amp;nbsp;: null,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; titlepanel &amp;nbsp;: null,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; layout_hbox : null,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fixed_view &amp;nbsp;: &amp;nbsp; &amp;quot;fixed&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fluid_view &amp;nbsp;: &amp;nbsp; &amp;quot;fluid&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; columns &amp;nbsp; &amp;nbsp; : ['Data1', 'Data2'],
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; col_resize &amp;nbsp;: [
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; { width: &amp;quot;48%&amp;quot;},
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; { width: &amp;quot;48%&amp;quot;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ],
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; save_button_size: &amp;quot;4%&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; //layout of table columns and fields not aligning
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; //main_layout_not_aligning &amp;nbsp;: function() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; main &amp;nbsp;: function() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Call super class
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.base(arguments);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Enable logging in debug variant
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (qx.core.Variant.isSet(&amp;quot;qx.debug&amp;quot;, &amp;quot;on&amp;quot;)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // support native logging capabilities, e.g. Firebug for Firefox
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; qx.log.appender.Native;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // support additional cross-browser console. Press F7 to 
&lt;br&gt;&amp;gt; toggle visibility
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; qx.log.appender.Console;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APP = &amp;nbsp;this;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APPROOT = &amp;nbsp;this.getRoot();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var view_menu = new qx.ui.menu.Menu;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var view = new qx.ui.menubar.Button(&amp;quot;View&amp;quot;, null, view_menu);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var viewFixedCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+I&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var viewFluidCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+U&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; viewFixedCommand.addListener(&amp;quot;execute&amp;quot;, function(e){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.setSelection([this.fixedButton]);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; viewFluidCommand.addListener(&amp;quot;execute&amp;quot;, function(e){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.setSelection([this.fluidButton]);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fixedButton = new qx.ui.menu.RadioButton(&amp;quot;fixed&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fluidButton = new qx.ui.menu.RadioButton(&amp;quot;fluid&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fixedButton.setCommand(viewFixedCommand);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.fluidButton.setCommand(viewFluidCommand);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; view_menu.add(this.fixedButton);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; view_menu.add(this.fluidButton);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Configure and fill radio group
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup = new qx.ui.form.RadioGroup;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.add(this.fluidButton, this.fixedButton);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.viewGroup.addListener(&amp;quot;changeSelection&amp;quot;, function(e){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;viewGroup changed selection, setting appropriate 
&lt;br&gt;&amp;gt; layout style ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; APP.adjustLayout(e);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, this);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var edit_menu = new qx.ui.menu.Menu;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var edit = new qx.ui.menubar.Button(&amp;quot;Edit&amp;quot;, null, edit_menu);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var copyCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+C&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var pasteCommand = new qx.ui.core.Command(&amp;quot;Control+Shift+V&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.copyButton = new qx.ui.menu.Button(&amp;quot;copy&amp;quot;,null,copyCommand);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.pasteButton = new qx.ui.menu.Button(&amp;quot;paste&amp;quot;,null,pasteCommand);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; edit_menu.add(this.copyButton);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; edit_menu.add(this.pasteButton);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var menubar = new qx.ui.menubar.MenuBar;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; menubar.setPaddingRight(10);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; menubar.add(edit);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; menubar.add(view);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //create a scrollbar based container, so that vertical space 
&lt;br&gt;&amp;gt; isn't a problem from now on
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.scroll = new qx.ui.container.Scroll();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.scroll.set({padding: 0});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APPROOT.add(this.scroll, {edge: 0});
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //have a layout vbox which has left margin, the center and the 
&lt;br&gt;&amp;gt; right margin
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt; qx.ui.layout.HBox(3).set({spacing: 0}));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.set({padding: 0});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin = new qx.ui.container.Composite();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin = new qx.ui.container.Composite();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //set fluid with zero width for left and right margin
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //create a composite container to hold login box, tab view etc now
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var layout = new qx.ui.layout.VBox;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout.setSeparator(&amp;quot;separator-vertical&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout.setSpacing(0);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.child_container = new qx.ui.container.Composite();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.child_container.setLayout(layout);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add these to layout_hbox and the layout_hbox to the scroll
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.add(this.left_margin);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.add(this.child_container);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.layout_hbox.add(this.right_margin);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.scroll.add(this.layout_hbox, {edge: 0});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt; qx.ui.layout.VBox().set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spacing: 10
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.child_container.add(this.main_tab, {flex:1});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; APPROOT.addListener(&amp;quot;resize&amp;quot;,function(e){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var selected_view = this.viewGroup.getSelection()[0].getLabel();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;App resizing, and current selected layout is :&amp;quot; + 
&lt;br&gt;&amp;gt; selected_view + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(selected_view == this.fixed_view){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;App resizing, setting fixed layout ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFixedLayout();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(selected_view == this.fluid_view){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;App resizing, setting fluid layout ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFluidLayout();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; },this);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add a composite with vbox and a table and field container
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container &amp;nbsp;= new qx.ui.container.Composite();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var layout = new qx.ui.layout.VBox();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container.setLayout(layout);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.add(menubar);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.add(this.table_container);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add a field container with input fields
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var hbox_layout = new qx.ui.layout.HBox();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container = new 
&lt;br&gt;&amp;gt; qx.ui.container.Composite(hbox_layout).set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; marginTop: &amp;nbsp; &amp;nbsp;10,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; marginBottom: 10
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(var i=0;i&amp;lt;this.columns.length;i++){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var field_encapsulator = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt; qx.ui.layout.HBox(1)).set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //paddingLeft &amp;nbsp; : 5,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //paddingRight &amp;nbsp;: 5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var field = new qx.ui.form.TextField();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; field_encapsulator.add(field, {flex: 1});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting width of field &amp;quot; + i + &amp;quot; to &amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + parseFloat( this.col_resize[i]['width']) + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container.add(field_encapsulator, {flex: 
&lt;br&gt;&amp;gt; parseFloat( this.col_resize[i]['width'])});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //have a save button too
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.save_button = new qx.ui.form.Button(&amp;quot;Save&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var button_encapsulator = new qx.ui.container.Composite(new 
&lt;br&gt;&amp;gt; qx.ui.layout.HBox(1)).set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paddingLeft &amp;nbsp; : 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; button_encapsulator.add(this.save_button, {flex: 1});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting width of button &amp;quot; + &amp;quot; to &amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + parseFloat( this.save_button_size) + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //this.field_container.add(button_encapsulator, {flex: 
&lt;br&gt;&amp;gt; parseFloat(this.save_button_size) - 1.99});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.field_container.add(button_encapsulator, {flex: 
&lt;br&gt;&amp;gt; parseFloat(this.save_button_size)});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container.add(this.field_container, {flex: 1});
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add a table
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var tableModel = new qx.ui.table.model.Simple();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableModel.setColumns(this.columns);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //resizable table column model
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var resizable_tcm =
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableColumnModel : function(obj) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new qx.ui.table.columnmodel.Resize(obj);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // table created
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var table = new qx.ui.table.Table(tableModel, resizable_tcm);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var tcm = table.getTableColumnModel();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //set some random data
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var data = [];
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(var i=0;i&amp;lt;50;i++){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data.push(['item'+i, 'value'+i]);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableModel.setData(data);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //set the resize value for each column
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Obtain the behavior object to manipulate
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var resizeBehavior = tcm.getBehavior();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (var i=0,j=0;i&amp;lt; this.col_resize.length;i++) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var col_resize = this.col_resize[i];
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting width of column &amp;quot; + i + &amp;quot; to &amp;quot; + 
&lt;br&gt;&amp;gt; col_resize + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resizeBehavior.set(i, col_resize);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table = table;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.table_container.add(this.table, {flex: 1});
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; adjustLayout &amp;nbsp;: function(e){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var selected_view = e.getData()[0].getLabel();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(selected_view == this.fixed_view){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting layout to fixed now ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFixedLayout();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if(selected_view == this.fluid_view){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting layout to fluid now ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.__setFluidLayout();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; __setFixedLayout &amp;nbsp;: function(){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting fixed layout ...&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var width = APPROOT.getBounds().width;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var margin_width = Math.floor((width - 960)/2);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; margin_width = margin_width &amp;gt; 0 ? margin_width : 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting margin widths to be &amp;quot; + margin_width + &amp;quot; ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width &amp;nbsp; &amp;nbsp; : 960,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 960,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 960,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minHeight : 600,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding &amp;nbsp; : 10
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: margin_width,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: margin_width
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: margin_width,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: margin_width
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; __setFluidLayout &amp;nbsp;: function(){
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.debug(&amp;quot;Setting fluid layout ...&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var width = APPROOT.getBounds().width - 20; //20 for 10 each on 
&lt;br&gt;&amp;gt; either side for padding
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; width = (width &amp;lt; 960)? 960 : width; //greater of the width or 
&lt;br&gt;&amp;gt; 960, so 960 is min width
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.main_tab.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: width,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minHeight : 600,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //maxWidth &amp;nbsp;: width,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding &amp;nbsp; : 10
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.left_margin.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.right_margin.set({
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minWidth &amp;nbsp;: 0,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxWidth &amp;nbsp;: 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; });
&lt;/div&gt;&lt;br&gt;cheers,
&lt;br&gt;skar.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;The life so short, the craft so long to learn. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26280680&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/doubt-about-layout-tp26280680p26280680.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26279215</id>
	<title>Re: Generator Memory Usage</title>
	<published>2009-11-09T23:12:08Z</published>
	<updated>2009-11-09T23:12:08Z</updated>
	<author>
		<name>skar karthikeyan</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
thron7 wrote:
&lt;blockquote cite=&quot;mid:4AF848F8.9050208@1und1.de&quot; type=&quot;cite&quot;&gt;
  &lt;meta http-equiv=&quot;Context-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&gt;
  &lt;br&gt;
  &lt;br&gt;
Lo&amp;iuml;c Bresson -- Novlog wrote:
  &lt;blockquote cite=&quot;mid:hd9e23$pn2$1@ger.gmane.org&quot; type=&quot;cite&quot;&gt;
    &lt;pre&gt;Great news :) Since we often run &quot;./generate.py build&quot; with an empty cache, 
this could be really useful for us.

Just to be sure, is it possible to update only the generator to revision 20582 
(files in tool/ if I'm not wrong) and stay with the official 0.8.3 release for 
the other files ? (We don't work with trunk version but we may give a try to 
this new generator.)
  &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;br&gt;
No, updating tool/ to trunk alone wouldn't work, as there are
depenpendencies into the framework (concerning part loading). But it's
even simpler: You can simply update the file
tool/pylib/generator/code/TreeLoader.py to its trunk version. This
change is compatible with the 0.8.3 release.&lt;br&gt;
  &lt;br&gt;
Let us know how it works.&lt;br&gt;
&lt;/blockquote&gt;
For a skeleton app:&lt;br&gt;
&lt;br&gt;
My &quot;./generate.py source&quot; has reduced from taking 5-6 secs to 3.03 secs
or thereabouts. But my build time has gone from the same 5-6 secs to
around 11-12 secs. I'm on trunk 20583. Both the times are with the
cache available. With no cache, the times are almost the same for both
source and build at around 100-120 secs.&lt;br&gt;
&lt;br&gt;
Also I couldn't see any memory usage around 500 MB. Without cache,
source and build took around 100 MB RSZ and VSZ was only a little
higher. With cache, source was around 16-20 MB and build took around
36-40 MB. So memory usage isn't a problem for me, nor should it be for
anyone else. &lt;br&gt;
&lt;br&gt;
For my app:&lt;br&gt;
&lt;br&gt;
Memory usage is the same for both my project as well as a skeleton app.
Time for source and&amp;nbsp; build also the same around 100-120 secs without
cache. With cache, times are bigger at around 5 secs for source and 13
secs for build. So bigger project takes longer times, but memory
consumption stays the same.&lt;br&gt;
&lt;br&gt;
If you can quicken the build time also, it'd be awesome :)&lt;br&gt;
&lt;br&gt;
cheers,&lt;br&gt;
skar.&lt;br&gt;
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
--
The life so short, the craft so long to learn. 
&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279215&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generator-Memory-Usage-tp26268288p26279215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272840</id>
	<title>calling components</title>
	<published>2009-11-09T12:07:10Z</published>
	<updated>2009-11-09T12:07:10Z</updated>
	<author>
		<name>Bugzilla from eeajam@gmail.com</name>
	</author>
	<content type="html">I&amp;#39;m sure this has been answered many times before, but I haven&amp;#39;t had luck finding a related post.&lt;br&gt;
&lt;br&gt;
Q: What is/are the best ways for identifying and calling qooxdoo components anywhere from within a qooxdoo application?  For example, if I&amp;#39;m inside a an event handling function and I want to call a button or adjust a contentpane?  I was originally looking for something like getRoot().getChildren().&lt;br&gt;

&lt;br&gt;
Thanks!
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272840&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/calling-components-tp26272840p26272840.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26269724</id>
	<title>Re: Generator Memory Usage</title>
	<published>2009-11-09T08:53:12Z</published>
	<updated>2009-11-09T08:53:12Z</updated>
	<author>
		<name>thron7-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;br&gt;
&lt;br&gt;
Lo&amp;iuml;c Bresson -- Novlog wrote:
&lt;blockquote cite=&quot;mid:hd9e23$pn2$1@ger.gmane.org&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Great news :) Since we often run &quot;./generate.py build&quot; with an empty cache, 
this could be really useful for us.

Just to be sure, is it possible to update only the generator to revision 20582 
(files in tool/ if I'm not wrong) and stay with the official 0.8.3 release for 
the other files ? (We don't work with trunk version but we may give a try to 
this new generator.)
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
No, updating tool/ to trunk alone wouldn't work, as there are
depenpendencies into the framework (concerning part loading). But it's
even simpler: You can simply update the file
tool/pylib/generator/code/TreeLoader.py to its trunk version. This
change is compatible with the 0.8.3 release.&lt;br&gt;
&lt;br&gt;
Let us know how it works.&lt;br&gt;
&lt;br&gt;
T.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;blockquote cite=&quot;mid:hd9e23$pn2$1@ger.gmane.org&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;
Thanks for the work!


thron7 wrote:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;Hi all,

this is for those of you working with the trunk version. I've applied a 
patch recently (r20582) that is supposed to increase build speed at the 
expense of RAM. The benefit should be particular when running with an 
empty cache, the targeted speed-up being in the range of 25%-30%. The 
trade-off is increased memory usage, peaking for big applications at 
around 500MB. Please keep an eye on it and let us know when this becomes 
an issue.

Thomas
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269724&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generator-Memory-Usage-tp26268288p26269724.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268787</id>
	<title>Re: Generator Memory Usage</title>
	<published>2009-11-09T07:55:48Z</published>
	<updated>2009-11-09T07:55:48Z</updated>
	<author>
		<name>Loïc Bresson -- Novlog</name>
	</author>
	<content type="html">Great news :) Since we often run &amp;quot;./generate.py build&amp;quot; with an empty cache, 
&lt;br&gt;this could be really useful for us.
&lt;br&gt;&lt;br&gt;Just to be sure, is it possible to update only the generator to revision 20582 
&lt;br&gt;(files in tool/ if I'm not wrong) and stay with the official 0.8.3 release for 
&lt;br&gt;the other files ? (We don't work with trunk version but we may give a try to 
&lt;br&gt;this new generator.)
&lt;br&gt;&lt;br&gt;Thanks for the work!
&lt;br&gt;&lt;br&gt;&lt;br&gt;thron7 wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; this is for those of you working with the trunk version. I've applied a 
&lt;br&gt;&amp;gt; patch recently (r20582) that is supposed to increase build speed at the 
&lt;br&gt;&amp;gt; expense of RAM. The benefit should be particular when running with an 
&lt;br&gt;&amp;gt; empty cache, the targeted speed-up being in the range of 25%-30%. The 
&lt;br&gt;&amp;gt; trade-off is increased memory usage, peaking for big applications at 
&lt;br&gt;&amp;gt; around 500MB. Please keep an eye on it and let us know when this becomes 
&lt;br&gt;&amp;gt; an issue.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thomas
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Loïc Bresson
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268787&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generator-Memory-Usage-tp26268288p26268787.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268288</id>
	<title>Generator Memory Usage</title>
	<published>2009-11-09T07:29:01Z</published>
	<updated>2009-11-09T07:29:01Z</updated>
	<author>
		<name>thron7-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;this is for those of you working with the trunk version. I've applied a 
&lt;br&gt;patch recently (r20582) that is supposed to increase build speed at the 
&lt;br&gt;expense of RAM. The benefit should be particular when running with an 
&lt;br&gt;empty cache, the targeted speed-up being in the range of 25%-30%. The 
&lt;br&gt;trade-off is increased memory usage, peaking for big applications at 
&lt;br&gt;around 500MB. Please keep an eye on it and let us know when this becomes 
&lt;br&gt;an issue.
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268288&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generator-Memory-Usage-tp26268288p26268288.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266387</id>
	<title>Re: pass a functions name to a class</title>
	<published>2009-11-09T05:26:57Z</published>
	<updated>2009-11-09T05:26:57Z</updated>
	<author>
		<name>sikd</name>
	</author>
	<content type="html">good idea. i'll make it this way. thanks.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pass-a-functions-name-to-a-class-tp26264754p26266387.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266298</id>
	<title>Re: pass a functions name to a class</title>
	<published>2009-11-09T05:20:57Z</published>
	<updated>2009-11-09T05:20:57Z</updated>
	<author>
		<name>Matthew Gregory</name>
	</author>
	<content type="html">As a small optimization you could replace this:
&lt;br&gt;&lt;br&gt;construct: function(currFn) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; this.addListener(&amp;quot;click&amp;quot;, function(e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currFn(e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; });
&lt;br&gt;});
&lt;br&gt;&lt;br&gt;with this:
&lt;br&gt;&lt;br&gt;construct: function(currFn) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; this.addListener(&amp;quot;click&amp;quot;, currFn);
&lt;br&gt;});
&lt;br&gt;&lt;br&gt;sikd wrote:
&lt;br&gt;&amp;gt; It works!!!
&lt;br&gt;&amp;gt; Thank You very much.
&lt;br&gt;&amp;gt; :D
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26266298&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pass-a-functions-name-to-a-class-tp26264754p26266298.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266082</id>
	<title>Re: pass a functions name to a class</title>
	<published>2009-11-09T05:03:47Z</published>
	<updated>2009-11-09T05:03:47Z</updated>
	<author>
		<name>sikd</name>
	</author>
	<content type="html">It works!!!
&lt;br&gt;Thank You very much.
&lt;br&gt;:D</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pass-a-functions-name-to-a-class-tp26264754p26266082.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266008</id>
	<title>Re: pass a functions name to a class</title>
	<published>2009-11-09T04:57:11Z</published>
	<updated>2009-11-09T04:57:11Z</updated>
	<author>
		<name>sikd</name>
	</author>
	<content type="html">thx
&lt;br&gt;I'm going to try it immediately</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pass-a-functions-name-to-a-class-tp26264754p26266008.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26265935</id>
	<title>Re: pass a functions name to a class</title>
	<published>2009-11-09T04:50:30Z</published>
	<updated>2009-11-09T04:50:30Z</updated>
	<author>
		<name>Christian Schmidt-18</name>
	</author>
	<content type="html">Hi Sikd,
&lt;br&gt;&lt;br&gt;yes, you can pass the reference from the function. Your example is 
&lt;br&gt;nearly correct, only the bracket are sometimes wrong:
&lt;br&gt;&lt;br&gt;&amp;lt;code&amp;gt;
&lt;br&gt;var currentFunction = qx.myFunctions.myFunction1; // &amp;lt;- no bracket necessary
&lt;br&gt;var myButton1 = new qx.myButton(currentFunction);
&lt;br&gt;&lt;br&gt;var currentFunction = qx.myFunctions.myFunction2; // &amp;lt;- no bracket necessary
&lt;br&gt;var myButton2 = new qx.myButton(currentFunction);
&lt;br&gt;&amp;lt;/code&amp;gt;
&lt;br&gt;&lt;br&gt;In the constructor you can call the function like:
&lt;br&gt;&lt;br&gt;&amp;lt;code&amp;gt;
&lt;br&gt;construct: function(currFn) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;this.addListener(&amp;quot;click&amp;quot;, function(e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; currFn(); //&amp;lt;-- here a the bracket necessary
&lt;br&gt;&amp;nbsp; &amp;nbsp;});
&lt;br&gt;});
&lt;br&gt;&amp;lt;/code&amp;gt;
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;sikd schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; My programming skill is not enough to solve this problem. Hope someone could
&lt;br&gt;&amp;gt; help me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a class &amp;quot;myButton&amp;quot; which made a simple button.
&lt;br&gt;&amp;gt; I have a static class &amp;quot;myFunctions&amp;quot; which conatains myFunction1(),
&lt;br&gt;&amp;gt; myFunction2() and so on.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to make instances of myButton class: myButton1, myButton2...
&lt;br&gt;&amp;gt; Is it possible to pass the appropriate myFunction() to the myButton
&lt;br&gt;&amp;gt; constructor, something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;code&amp;gt;
&lt;br&gt;&amp;gt; var currentFunction = qx.myFunctions.myFunction1();
&lt;br&gt;&amp;gt; var myButton1 = new qx.myButton(currentFunction);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; var currentFunction = qx.myFunctions.myFunction2();
&lt;br&gt;&amp;gt; var myButton2 = new qx.myButton(currentFunction);
&lt;br&gt;&amp;gt; &amp;lt;/code&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And in the myButton constructor something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;code&amp;gt;
&lt;br&gt;&amp;gt; construct: function(currFn) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;this.addListener(&amp;quot;click&amp;quot;, function(e) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; currFn;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;});
&lt;br&gt;&amp;gt; });
&lt;br&gt;&amp;gt; &amp;lt;/code&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Christian Schmidt
&lt;br&gt;Software Entwickler
&lt;br&gt;&lt;br&gt;1&amp;1 Internet AG - Web Technologies
&lt;br&gt;Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26265935&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;schmidt.christian@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;Amtsgericht Montabaur / HRB 6484
&lt;br&gt;Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
&lt;br&gt;Aufsichtsratsvorsitzender: Michael Scheeren
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;qooxdoo-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26265935&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qooxdoo-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pass-a-functions-name-to-a-class-tp26264754p26265935.html" />
</entry>

</feed>
