Re: [qooxdoo-devel] Qooxdoo: Display and print HTML taller than window?

2011-11-22 Thread Ken MacDonald
d", function() { > > var doc = this.__frame.getDocument(); > > doc.body.innerHTML = 'hello world'; > > }, this); > > And when you want to print: > > this.__frame.getWindow().print(); > > Tested on FF and Chrome. > > John > > From: Ken Ma

Re: [qooxdoo-devel] Qooxdoo: Display and print HTML taller than window?

2011-11-22 Thread Ken MacDonald
We are hoping not to have to open a new window; is there a way to modify the embed.html 'div' settings when it is created, or otherwise get this to work in a single qooxdoo window? Ken On Tue, Nov 22, 2011 at 11:19 AM, thron7 wrote: > > > On 11/22/2011 03:49 PM, Ken MacD

[qooxdoo-devel] Qooxdoo: Display and print HTML taller than window?

2011-11-22 Thread Ken MacDonald
Hi, We are looking for a solution for a client to be able to display some arbitrary html in our qooxdoo app; specifically some html that may turn out to be too tall for the window or for the computer screen. I can get scroll bars which allow me to view the html all of the way to the bottom, but if

Re: [qooxdoo-devel] Fwd: Circular dependency in QX 1.4.1?

2011-06-08 Thread Ken MacDonald
As it turns out, this was a historical problem - a config.json file that had settings that forced the circular dependency (but didn't cause problems in 0.8.3 or 1.1 previously). Created long before I was involved with the project or even worked for the company here; no explanation what it was suppo

Re: [qooxdoo-devel] RowRenderer?

2011-06-07 Thread Ken MacDonald
As far as I can see, you don't need to explicitly send it anything; your row of data gets passed in. To change what happens you can override the RowRenderer class and provide your own createRowStyle() function with your own rules, but you don't have to make a call to createRowStyle() directly. Her

Re: [qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-07 Thread Ken MacDonald
That worked... INITIALIZING: WEBMENUS >>> Configuration: config.json >>> Resolving config includes... - Warning: ! Shadowing job "source-a

Re: [qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-06 Thread Ken MacDonald
Also, FYI, there are no overt references to qx.lang or qx.Bootstrap in the code anywhere. Ken this is mysterious. There is in fact a dependency from qx.core.Assert to > qx.Class. But I've checked the 1.4.1 code base, and couldn't find a > (load) dependency from qx.Class to qx.core.Assert, particul

Re: [qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-06 Thread Ken MacDonald
tripping the UI I have, but would probably take a few days, it's pretty big and I'm not familiar with all of it. On Mon, Jun 6, 2011 at 2:01 PM, thron7 wrote: > Ken, > > On 06/03/2011 08:47 PM, Ken MacDonald wrote: > > Improved output - I did the generate with "-v

Re: [qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-06 Thread Ken MacDonald
> qx.Class > > - *currently explored dependency path: [u'webmenus.Application', > > u'qx.Class', u'qx.lang.Core', u'qx.core.Assert']* > > Circular class dependencies > > > > I can post the entire generate run if anyone is int

Re: [qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-03 Thread Ken MacDonald
qx.Class', u'qx.lang.Core', u'qx.core.Assert']* Circular class dependencies I can post the entire generate run if anyone is interested but it's pretty long. Ken On Fri, Jun 3, 2011 at 1:49 PM, Ken MacDonald wrote: > I'm getting the following error while trying to do a b

[qooxdoo-devel] Circular dependency in QX 1.4.1?

2011-06-03 Thread Ken MacDonald
I'm getting the following error while trying to do a build following migrating my project from qooxdoo 1.1 -> 1.4.1... Is this something folks have seen? Known problem? Or is it something my code is causing? Suggestions welcome. - Sorting 728 classes ... - Warning: Detected

Re: [qooxdoo-devel] Qooxdoo throwing errors after upgrade 1.1 -> 1.4.1

2011-06-02 Thread Ken MacDonald
Ken, > > you don't have to migrate stepwise. Make a backup of the 1.1 state of > your project, then unpack qooxdoo 1.4.1, adapt your config.json > (QOOXDOO_PATH), and run generate.py migration. This will subject your > code to all migration steps from 1.1 to 1.4.1. > &g

Re: [qooxdoo-devel] Qooxdoo throwing errors after upgrade 1.1 -> 1.4.1

2011-06-01 Thread Ken MacDonald
Hi Derrell, I think that I'm using a rowRenderer of some sort. My job is a bit odd, in that I have a couple of major projects that I alternate between on about 4-month intervals, so my qooxdoo brain hasn't replaced my .NET brain yet :-) - I'd forgotten about the migration stuff, so maybe I'll give

Re: [qooxdoo-devel] Qooxdoo throwing errors after upgrade 1.1 -> 1.4.1

2011-06-01 Thread Ken MacDonald
Is there anything more to changing version of qooxdoo than just unpacking the desired version and then running generate.py again? Are there known changes in 1.2 or 1.3 that would cause this kind of incompatibility? Ken On Wed, Jun 1, 2011 at 4:17 PM, Mustafa Sak wrote: > IMHO you should migrate

[qooxdoo-devel] Qooxdoo throwing errors after upgrade 1.1 -> 1.4.1

2011-06-01 Thread Ken MacDonald
I just installed qooxdoo 1.4.1 and rebuilt everything. My app was working fine with qx 1.1, but is now throwing the following when I try to display the results of my db query. The trace in the message looks like it may be coming from qooxdoo and maybe has something to do with new functionality in 1

Re: [qooxdoo-devel] Reclaiming memory from widgets

2010-11-23 Thread Ken MacDonald
I am planning to use something like this for a system I'm working on, where I have several dozen Lists, with perhaps 1000 ListItems. Depending on user interaction, I want to show the corresponding Lists/Items for a different month, but instead of deleting all of the Items/lists, I want to re-use th

Re: [qooxdoo-devel] Reclaiming memory from widgets

2010-11-23 Thread Ken MacDonald
I'm with Dave. I've been fighting with this for weeks now. Unfortunately, even when I've run the destroyAll() mentioned here and explicitly call IE's CollectGarbage() function, memory size seems unaffected and continually growing. IE seems perfectly willing to completely ignore hints or even explic

Re: [qooxdoo-devel] qooxdoo: close() event not being seen?

2010-11-22 Thread Ken MacDonald
re of the deletion, until there were no more objects to kill. Does this seem reasonable to anyone? Thanks, Ken "close" is a method defined by qx.application.AbstractGui, you just need >> to override it in your application and return a string. >> >> Regards, >> Da

Re: [qooxdoo-devel] qooxdoo: close() event not being seen?

2010-11-22 Thread Ken MacDonald
Works slick. Thanks, Daniel! Ken On Mon, Nov 22, 2010 at 11:32 AM, Daniel Wagner wrote: > Hi Ken, > > "close" is a method defined by qx.application.AbstractGui, you just need > to override it in your application and return a string. > > Regards, > Daniel &g

[qooxdoo-devel] qooxdoo: close() event not being seen?

2010-11-22 Thread Ken MacDonald
Hi, I'm attempting to catch the "close" event (i.e. actually the browser's 'onbeforeunload' event), but am not seeing the event triggered at all, in any browser. My app is running as a qx.application.Standalone, and I've added a 'close' listener to it with an alert message, and returns a string to

Re: [qooxdoo-devel] qooxdoo: size of my space?

2010-11-19 Thread Ken MacDonald
Thanks Daniel, this is just what I needed. I did this without qx's layout system because client had some rather specific size constraints; should never be smaller than x, or bigger than y, and some other stuff. Having the actual size seemed the easiest way to handle it all. Ken On Fri, Nov 19, 201

[qooxdoo-devel] qooxdoo: size of my space?

2010-11-19 Thread Ken MacDonald
How can I tell how big an area I have to work with in qooxdoo? Ideally, I'd like to know how much space I can give a widget I'm trying to layout; in other words, if I start my app in a browser window that's 800 pixels tall, with 200 pixels of toolbars and menus, I'd like to get back "600" from qoox

Re: [qooxdoo-devel] Qooxdoo - how to set/get scrolling position?

2010-11-16 Thread Ken MacDonald
Hi Martin, Your suggestion sent me in the right direction - apparently the selected ListItem in the List was NOT focused, and it seems like it was not focusable at all. So now when I select an item, I set its 'focusable' property, and focus it. I don't have to capture an event (such as 'blur') at a

Re: [qooxdoo-devel] Qooxdoo - how to set/get scrolling position?

2010-11-15 Thread Ken MacDonald
this? I've thought about setting a timer to scroll back to the correct position, but that would be only a guess. Other suggestions appreciated! Ken On Fri, Nov 12, 2010 at 11:33 AM, Ken MacDonald wrote: > Yikes. This is proving a bunch more difficult than expected. The "appear&quo

Re: [qooxdoo-devel] qooxdoo: your script is running too slowly.....

2010-11-12 Thread Ken MacDonald
e framework. run this in > > your ie and see how it feels: > > > > > http://demo.qooxdoo.org/current/demobrowser/index.html#progressive~ProgressiveLoader.html<http://demo.qooxdoo.org/current/demobrowser/index.html#progressive%7EProgressiveLoader.html> > > > > t. > >

[qooxdoo-devel] qooxdoo: your script is running too slowly.....

2010-11-12 Thread Ken MacDonald
We have to support IE for customers, and frequently we get this complaint box where IE thinks the .js is probably caught in an endless loop and asks the user if they want to kill the script or continue. Well, we're aren't stuck, it's just that IE's js engine is about 8-10x slower than Firefox. I'm

Re: [qooxdoo-devel] Qooxdoo - how to set/get scrolling position?

2010-11-12 Thread Ken MacDonald
to detect when the jump has taken place. Thanks, Ken On Thu, Nov 11, 2010 at 2:58 PM, Ken MacDonald wrote: > Thanks, T. - > Don't think the exact workaround will do the trick, as it would involve a > ton of re-structuring, but by browsing bugzilla, discovered Scroll methods >

Re: [qooxdoo-devel] Qooxdoo - how to set/get scrolling position?

2010-11-11 Thread Ken MacDonald
which offers a work-around. The other is > wontfix. You might want to search bugzilla, maybe there are a few other > bugs interesting to you. > > T. > > On 11/11/2010 05:27 PM, Ken MacDonald wrote: > > I have some odd behavior dealing with scrolling in IE8. I have a > >

[qooxdoo-devel] Qooxdoo - how to set/get scrolling position?

2010-11-11 Thread Ken MacDonald
I have some odd behavior dealing with scrolling in IE8. I have a container.Scroll, with a container.Composite inside, and a couple of lists inside that, in a Grid. The Composite is just about guaranteed to be taller than the Scroll region, so I set the Y scrollbar on. If I scroll to the bottom of t

Re: [qooxdoo-devel] qooxdoo: defining attributes on a cell for rowrenderer

2010-11-08 Thread Ken MacDonald
> On Fri, Nov 5, 2010 at 17:25, Ken MacDonald wrote: > >> Hi, >> I've been displaying a table, but now we have a request to highlight >> certain rows in the table. I have a RowRenderer to handle the rendering, >> does highlights when row selected, etc. but

[qooxdoo-devel] qooxdoo: defining attributes on a cell for rowrenderer

2010-11-05 Thread Ken MacDonald
Hi, I've been displaying a table, but now we have a request to highlight certain rows in the table. I have a RowRenderer to handle the rendering, does highlights when row selected, etc. but wondering the best way to pass the "is a header" attribute for a particular row to be highlighted. So, someth

Re: [qooxdoo-devel] qooxdoo: getting the desired size for a widget?

2010-07-08 Thread Ken MacDonald
Thanks, folks I tried the playground example, and indeed it doesn't give the right value. I then tried getting the sizeHint from the List (not adding up the ListItem's hints) and got 200, which is the default height for a List, which is even worse as far as layout. Finally I set the List heig

[qooxdoo-devel] qooxdoo: getting the desired size for a widget?

2010-07-07 Thread Ken MacDonald
I'd like to find out what size a List would like to be - given a certain number of ListItems in a certain font, padding, (i.e. all the layout info), how can I figure out the size the widget should be, in order to display without scrollbars? Right now, I am setting the minHeight() to be a multiple o

Re: [qooxdoo-devel] Best way to display tabular data with varying sizes in qooxdoo?

2010-07-01 Thread Ken MacDonald
Oh, I took the code out that failed to set the visibility. Added it back in, and it works fine now :-/ - I must have done something a bit brain-damaged on the first implementation. Ken And no, you should not need to set the visibility of anything except the >> container, if you show a code snippet

Re: [qooxdoo-devel] Best way to display tabular data with varying sizes in qooxdoo?

2010-07-01 Thread Ken MacDonald
Hi Jim, I've started using a Grid, with each cell having a List inside. I've defined the rows as being flex:1 but they don't seem to be stretching to fit; each populated cell has a scroll bar in it (boss actually likes this, maybe we'll keep it), and the bottom cells are off the bottom of the scree

Re: [qooxdoo-devel] Best way to display tabular data with varying sizes in qooxdoo?

2010-06-30 Thread Ken MacDonald
gt; [1] http://demo.qooxdoo.org/current/apiviewer/index.html#qx.ui.virtual > [2] > http://demo.qooxdoo.org/current/demobrowser/#virtual~CellEvents.html<http://demo.qooxdoo.org/current/demobrowser/#virtual%7ECellEvents.html> > > Ken MacDonald schrieb: > > Hi, I'm loo

[qooxdoo-devel] Best way to display tabular data with varying sizes in qooxdoo?

2010-06-29 Thread Ken MacDonald
Hi, I'm looking to display a 2-dimensional calendar of items in qooxdoo. Each cell in this table can have a varying number of line items, sort of like an event calendar - so columns could be Sunday -> Saturday, and time slots could be the rows. In my case, a single cell can have anywhere from 10 to

Re: [qooxdoo-devel] qooxdoo weirdness using 'flex' sizing?

2010-04-16 Thread Ken MacDonald
I seem to have suggested the fix myself; I set all 4 controls (List, Table, and 2 buttons in a second column) with minHeight = 120; height = 2000; and {flex: 1} And they all shrink/grow proportionally with each other. Cool. Ken On Fri, Apr 16, 2010 at 9:59 AM, Ken MacDonald wrote: > I

[qooxdoo-devel] qooxdoo weirdness using 'flex' sizing?

2010-04-16 Thread Ken MacDonald
I've got an interesting problem here - I've created a column in a Composite container, and I'm populating it with some things. There's a header and footer for the column that are fixed size and they seem to be working fine; but I'm trying to get the table.Table and form.List in the middle to be the

Re: [qooxdoo-devel] IE Protected mode and downloads

2010-02-22 Thread Ken MacDonald
Hi Miron, I had a similar problem with IE with opening/displaying a generated PDF in a separate window in response to a user-initiated event - invoking the "print" button. Eventually, I got it to work in IE in a few cases, and had to bail on the others. I started a number of threads in the forum ab

Re: [qooxdoo-devel] Qooxdoo 1.0.1 - possible bug in table.Table behavior

2010-01-29 Thread Ken MacDonald
Hi T., Fabian, Thanks for getting this into the demo browser and figuring out what was going on. Appears to work fine now w/Fabian's changes. Migration from 0.8.3 -> 1.0.1 seems to be overall rather easier than the 0.7.x -> 0.8.3 was; this is the only real problem I've found so far; although there

Re: [qooxdoo-devel] Qooxdoo 1.0.1 - possible bug in table.Table behavior

2010-01-28 Thread Ken MacDonald
Yes, ran migration; there were no messages besides "processed file"-type messages. Ken On Thu, Jan 28, 2010 at 2:55 PM, thron7 wrote: > Did you run 'generate.py migration'? Did you go through the messages of > the migration.log? > > T. > > > I have been migrating from 0.8.3 to 1.0.1. Most things

[qooxdoo-devel] Qooxdoo 1.0.1 - possible bug in table.Table behavior

2010-01-28 Thread Ken MacDonald
I have been migrating from 0.8.3 to 1.0.1. Most things went OK, although I had a brief run-in with some artifacts I referred to as "luminous squids". Amusing for a bit, but they're gone now :-) In 0.8.3 the following table appeared as desired, having a simple line border around the table, no colum

Re: [qooxdoo-devel] key events and execute on a button

2010-01-12 Thread Ken MacDonald
> zIndex: 20 > }); > > var qxElement = new qx.html.Element(); > qxElement.useElement(domElement); > button.getContainerElement().addAt(qxElement, 0); > > qxElement.addListener("click", function(e) { > qx.bom.Win

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Ken MacDonald
rmyMouseupHandler = function(e) { if (e instanceof > qx.event.type.Event) {alert("event fired by user!"); } else { > alert("handler invoked programmatically!"); }}button1.addListener("mouseup", > myMouseupHandler); > //invoke mouseup handler prog

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Ken MacDonald
>alert("event fired by user!"); > } > else { >alert("handler invoked programmatically!"); > } > } > button1.addListener("mouseup", myMouseupHandler); > > //invoke mouseup handler programmatically > myMouseupHandler(); > > Regards, &

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-24 Thread Ken MacDonald
ammatically firing events on > widgets, where you actually got it to work? > > Thanks, > >Gene > > > On Wed, 2009-12-23 at 17:58 -0500, Ken MacDonald wrote: > > Thanks Gene, > That gets rid of one bunch of errors. The event's init() method doesn't >

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-23 Thread Ken MacDonald
Thanks Gene, That gets rid of one bunch of errors. The event's init() method doesn't document what the array should contain, or if it's even necessary, as it has a null default - the fireEvent() doesn't toss errors now, but still doesn't appear to work. the listener for the 'mouseup' event is s

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-23 Thread Ken MacDonald
pe.Mouse' but found 'qx.event.type.Event' Ken On Wed, Dec 23, 2009 at 4:49 PM, Fritz Zaucker wrote: > fireEvent? > > Cheers, > Fritz > > -- > Fritz Zaucker > Oetiker+Partner AG > Aarweg 15 > CH-4600 Olten > +41 62 755 9903 > > On 23.12.2009, a

[qooxdoo-devel] artificially getting to a listener

2009-12-23 Thread Ken MacDonald
I'm beginning to think that there is no way to do this in qooxdoo: create a widget add a listener to that widget for an event, e.g. "mouseup" somehow trigger that listener programmatically instead of physically clicking the widget with the mouse var button1 = new qx.ui.form.Button("First Button",

Re: [qooxdoo-devel] short-range date chooser

2009-12-23 Thread Ken MacDonald
whatever > you like. > > What do you think? > > On Wed, Dec 23, 2009 at 12:48 PM, Ken MacDonald wrote: > >> Thanks Helder & Chris, >> >> I've entered an enhancement request: >> http://bugzilla.qooxdoo.org/show_bug.cgi?id=3277 >> >>

Re: [qooxdoo-devel] key events and execute on a button

2009-12-23 Thread Ken MacDonald
250Avar%2520doc%2520%253D%2520this.getRoot%28%29%253B%250Adoc.add%28button%252C%2520%257Bleft%253A%2520200%252C%2520top%253A%252050%257D%29%253B%250Adoc.add%28win%252C%2520%257Bleft%253A%252020%252C%2520top%253A%252020%257D%29%253B%250A%250Abutton.addListener%28%2522execute%2522%252C%2520function%28e%29%2

Re: [qooxdoo-devel] short-range date chooser

2009-12-23 Thread Ken MacDonald
Thanks Helder & Chris, I've entered an enhancement request: http://bugzilla.qooxdoo.org/show_bug.cgi?id=3277 If I get some time, I may take a stab at it myself. Ken On Wed, Dec 23, 2009 at 8:53 AM, Christian Schmidt < schmidt.christ...@1und1.de> wrote: > Hi Ken, > > thanks for sharing your idea

[qooxdoo-devel] short-range date chooser

2009-12-22 Thread Ken MacDonald
I am wondering if there's any way within qooxdoo to implement a short-range date chooser, where I could limit the choices to a short period of time. For example, I might wish to have a site displaying weather info, but restrict the chooseable dates to the last couple of days and the next week, sinc

Re: [qooxdoo-devel] key events and execute on a button

2009-12-22 Thread Ken MacDonald
ng the keyboard. Could you > please provide a short code snippet which reproduce your issue. And > which qooxdoo version do you use? > > Thanks, > Chris > > Am 21.12.2009 18:58, schrieb Ken MacDonald: > > I am having difficulty with events on a button. I have a &quo

Re: [qooxdoo-devel] key events and execute on a button

2009-12-21 Thread Ken MacDonald
On looking further at this problem, I have gotten rid of the 'execute' listener and replaced it with a 'mouseup' listener. By doing this, I've eliminated one problem - of both listeners being called. Now the 'keyup' listener is called directly, but it is still not being recognized as a "user-initia

[qooxdoo-devel] key events and execute on a button

2009-12-21 Thread Ken MacDonald
I am having difficulty with events on a button. I have a "Print" button, and having a listener attached to the "execute". Inside the listener, I open a window (or tab) to receive a .PDF file. If I mouseclick the button, the listener is fired, and everything works OK, the window opens and eventually

Re: [qooxdoo-devel] how to get fireEvent() working

2009-12-17 Thread Ken MacDonald
%252020%257D%29%253B%250Adoc.add%28button%252C%2520%257Bleft%253A%252020%252C%2520top%253A%252050%257D%29%253B%250A%250A%22%7D> > > Cheers, > Chris > > Am 16.12.2009 23:21, schrieb Derrell Lipman: > > On Wed, Dec 16, 2009 at 16:50, Ken MacDonald wrote: > >> Hi, >

[qooxdoo-devel] how to get fireEvent() working

2009-12-16 Thread Ken MacDonald
Hi, I'm trying to figure out how to trigger a 'changeSelection' event. Situation is that I have a SelectBox(), have added a listener on 'changeSelection'. When I add the first item to the SelectBox, the listener fires. Adding more items after that, the listener does NOT fire. After I'm done adding

[qooxdoo-devel] listener questions / ideas

2009-12-16 Thread Ken MacDonald
I recently got into some hot water with listeners being invoked when I really wasn't expecting them or ready for them, and I suspect I'm not the first one. Or maybe I am... Anyway, I guess I can just removeListener() when I want the listener not to fire, then add it back after I'm through messing

Re: [qooxdoo-devel] removeAll() on form.SelectBox problem?

2009-12-15 Thread Ken MacDonald
t does the listener on menuCombo do in your code? Could the source of > the error be because the listener fires due to the removal of all the > entries? > >Gene > > > On Tue, 2009-12-15 at 18:16 -0500, Ken MacDonald wrote: > > Bug 3255 added for this. Gene - yes, it f

Re: [qooxdoo-devel] removeAll() on form.SelectBox problem?

2009-12-15 Thread Ken MacDonald
Bug 3255 added for this. Gene - yes, it fails if I make the 2nd item 'var xx2' also. Ken On Tue, Dec 15, 2009 at 6:07 PM, Ken MacDonald wrote: > I've collapsed the test case to this: > >(menuCombo is the SelectBox() defined elsewhere) > var xx = new qx.u

Re: [qooxdoo-devel] removeAll() on form.SelectBox problem?

2009-12-15 Thread Ken MacDonald
ll(); // dies Ken On Tue, Dec 15, 2009 at 5:31 PM, Ken MacDonald wrote: > I have a form.SelectBox() and have added 2 items to the selection, added a > listener but I think that's about it for what's happened to that widget. I > think maybe I set some userData() on it, as

[qooxdoo-devel] removeAll() on form.SelectBox problem?

2009-12-15 Thread Ken MacDonald
I have a form.SelectBox() and have added 2 items to the selection, added a listener but I think that's about it for what's happened to that widget. I think maybe I set some userData() on it, as well. On my form I have a 'reset' button, which I want to reload the app from the DB, including the sele

Re: [qooxdoo-devel] problem with TAB focus on table.Table

2009-12-10 Thread Ken MacDonald
bugzilla 3213. On Thu, Dec 10, 2009 at 3:03 PM, Ken MacDonald wrote: > > I tried to see why tabindex 4 is never hit, and using the isTabable() >> function the var 'tabable' gets the value "null" instead of a Boolean, so >> that seems odd. Is there some othe

Re: [qooxdoo-devel] problem with TAB focus on table.Table

2009-12-10 Thread Ken MacDonald
> I tried to see why tabindex 4 is never hit, and using the isTabable() > function the var 'tabable' gets the value "null" instead of a Boolean, so > that seems odd. Is there some other property I need to set to be able to TAB > to this table? > Ken > > This appears to be a bug in qooxdoo initiali

Re: [qooxdoo-devel] Update display in qooxdoo?

2009-12-10 Thread Ken MacDonald
On Tue, Dec 8, 2009 at 3:04 PM, Ken MacDonald wrote: > Ah, but stopping them is precisely what it appears you want to do. If 200 >> requests are going to go out and their responses processed, when in fact all >> you really need is for a single (final) request to go out (i.

[qooxdoo-devel] problem with TAB focus on table.Table

2009-12-10 Thread Ken MacDonald
I've defined this table: var dm = new qx.ui.table.model.Simple(); dm.setColumns(["value"]); dm.setEditable(false); dm.setColumnSortable(0, false); this.menuItemTable = new qx.ui.table.Table(dm); this.menuItemTable.getContainerElement().setAttribute("id",

Re: [qooxdoo-devel] Update display in qooxdoo?

2009-12-08 Thread Ken MacDonald
> > Ah, but stopping them is precisely what it appears you want to do. If 200 > requests are going to go out and their responses processed, when in fact all > you really need is for a single (final) request to go out (i.e. all of those > first 199 requests and processed responses are simply wasting

Re: [qooxdoo-devel] Update display in qooxdoo?

2009-12-07 Thread Ken MacDonald
> I don't understand what you mean by changing the display panels. What > exactly are you trying to achieve? Preventing your remote request from being > issued except for the last one, or something else? > > I'd like to display something to tell the user that the app hasn't just 'frozen'. Even be a

Re: [qooxdoo-devel] Update display in qooxdoo?

2009-12-07 Thread Ken MacDonald
On Mon, Dec 7, 2009 at 3:40 PM, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > On Mon, Dec 7, 2009 at 15:28, Ken MacDonald wrote: > >> I have a qx.ui.table.Table, single select, with 100's of entries. As I >> select a new entry, details of that entry a

[qooxdoo-devel] Update display in qooxdoo?

2009-12-07 Thread Ken MacDonald
I have a qx.ui.table.Table, single select, with 100's of entries. As I select a new entry, details of that entry are queried from our DB server, and displayed in two other panels on the page; one is another Table, and the other is a qx.ui.embed.html. That works well. However, if I go to the origin

Re: [qooxdoo-devel] De-deprecation problems

2009-12-04 Thread Ken MacDonald
On Fri, Dec 4, 2009 at 11:49 AM, thron7 wrote: > Ken, > > I'm not sure I fully get what you are doing, but here is a hint. > > First off, you should change the event you are listening on to > 'changeSelection', I think this is what you're after. Then, the event object > passed to your event liste

Re: [qooxdoo-devel] De-deprecation problems

2009-12-04 Thread Ken MacDonald
!), not any > scalar value like a string or number. So with e.getData() you should get the > newly selected ListItem, and e.getData().getUserData() should provide you > with 1234. (I'm not sure what it means when you're fiddling around with > private members like __data). > >

[qooxdoo-devel] De-deprecation problems

2009-12-04 Thread Ken MacDonald
Hi, I'm trying to de-deprecate my qooxdoo app (get rid of all the deprecation warnings). Most of them are around get/setValue() calls and Lists/ListItems I'm working with. Previously I was constructing ListItems something like this: // item has __value field set to '1234' item = new ListItem('bake

Re: [qooxdoo-devel] Show Deprecated warnings

2009-10-09 Thread Ken MacDonald
Speaking of which, I see this message appearing all the time, pointing to "Native.js (line 61)", which is part of qooxdoo. When I open Native.js, it doesn't appear to refer to the method mentioned, but it sure would cut down on console-noise if this got fixed before the next distribution. Ken *038

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-08 Thread Ken MacDonald
We've pretty much given up on trying to figure this out. We also tried serving the app with nginx, but it doesn't work there either. So, if we want to have a qooxdoo app with Tables, we need to serve it with Apache in order for it to work with IE 6. At some point I may have to rewrite the app witho

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-07 Thread Ken MacDonald
it correct with its default mime type > setting for Javascript files - application/javascript is the right way to > go! > >Gene > > On Wed, 2009-10-07 at 11:13 -0400, Ken MacDonald wrote: > > Running twisted on the dev machine. > Ken > > On Wed, Oct 7, 2009

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-07 Thread Ken MacDonald
Running twisted on the dev machine. Ken On Wed, Oct 7, 2009 at 11:07 AM, thron7 wrote: > > > headers being passed back from my dev server when .js was > > served, and then at the headers from the Apache server, and found the > > "Content-Type" was "application/javascript" on Apache, > > "applicat

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-07 Thread Ken MacDonald
to see if it would help, but didn't find anything, so I'm a bit puzzled what the difference is between javascript and x-javascript, why IE6 should care, and how to see if we could change the headers to plain app/js. Ken On Tue, Oct 6, 2009 at 4:25 PM, Gene Amtower wrote: > On Tue, 20

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-06 Thread Ken MacDonald
FYI, I don't think I mentioned it before, but this problem occurs in both the build and source versions of the application. Something else interesting - I got a brand-new laptop when I started here in August. Came with Windows XP - SP3. And IE 6. I'd have thought a new computer would come with a m

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-06 Thread Ken MacDonald
I have re-installed a new download of qooxdoo 0.8.3, and created a brand-new application (recipe2) using the create-application.py script. (The 'hello world' button). This app works fine with IE6 and all others. I took the code from my Application.js, and used it to replace the 'hello world' code w

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-06 Thread Ken MacDonald
ng to load, leading to the hang behavior in IE6??? Anyway, it appears to require being built as an entire application for the problem to surface, as I was able to run the code fine as a standalone in the playground. Ken On Tue, Oct 6, 2009 at 9:44 AM, Ken MacDonald wrote: > Hmmm. The playgro

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-06 Thread Ken MacDonald
Hmmm. The playground example works fine in my IE6, while the actual code still fails. I have repeatedly cleared cache, restarted server. This past time, I used generate.py to distclean/clean/source-all to see if that helped. My client/IE6 machine is XP/SP3, and my server is the same (actually runni

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-05 Thread Ken MacDonald
it with IE6, as the playground doesn't even work for me with > IE6 (error in line ...). > > Anyway, one thing I spotted in your example: > >table width = 278 >column0 width = 284 > > Could this be a problem? > > Cheers, > Fritz > &g

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-05 Thread Ken MacDonald
Fritz, Stefan: Here is an app which demo's the problem; works in FF/IE 8/IE 7 but hangs IE 6 every time. As noted before, running XP w/qoox 0.8.3. In earlier example, 'this.viewer' was a rather complicated subclass/override to the container.Composite(), so I simplified it for this example (the sub

Re: [qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-05 Thread Ken MacDonald
Stefan > > PS I remember there are differences in IE 6 on XP vs Win2K. Which OS did > the problem occur in? > > Ken MacDonald wrote: > > We have an app with several tables as well as a variety of lists, > > buttons, etc. All seems fine on IE 7 & 8, as well as FF and o

Re: [qooxdoo-devel] IE forces reloading of page instead of downloading PDF?

2009-10-05 Thread Ken MacDonald
Well, The request to the server now returns a server URL as a string, something like "foo/temp/2479.pdf", which is grabbed by my callback routine, and fed to Acrobat on the client side. Simplified a bit, but was planning to basically let the server grab the PDF as text buffer and return it in plac

[qooxdoo-devel] IE 6 weirdness when adding table.Simple()

2009-10-05 Thread Ken MacDonald
We have an app with several tables as well as a variety of lists, buttons, etc. All seems fine on IE 7 & 8, as well as FF and other browsers. Except for IE 6. we've figured out that everything else seems to be fine, EXCEPT when we try to add the table. We stripped out all of the setting table a

Re: [qooxdoo-devel] IE forces reloading of page instead of downloading PDF?

2009-10-05 Thread Ken MacDonald
On Fri, Oct 2, 2009 at 4:37 PM, Gene Amtower wrote: > Ken, > > I doubt that you can set this at the Qooxdoo level because it's a secur > Generity feature outside of the page itself in the browser functionality. > Imagine how it would compromise security if browser applications could > override t

[qooxdoo-devel] IE forces reloading of page instead of downloading PDF?

2009-10-02 Thread Ken MacDonald
Hi, I inherited a number of qooxdoo projects, they all have a problem with IE (8 & 6, at least). In my app, I can select a bunch of options, go thru a bunch of menus and get a result that I want to print. After clicking my print button, app makes a call to the server, which creates a .pdf file th

Re: [qooxdoo-devel] Very obscure problem seen with size of windows in IE8????

2009-09-22 Thread Ken MacDonald
lthough the vertical scrollbar is now always > visible). > It can be easily implemented as a mixin until the pb gets fixed in the > codebase. > > HTH, > Vincent > > 2009/9/22 Ken MacDonald > >> Hi, >> I've been looking all morning at a very odd behavi

Re: [qooxdoo-devel] Very obscure problem seen with size of windows in IE8????

2009-09-22 Thread Ken MacDonald
Setting the vertical bar "on" for my Table unconditionally seems to make it work. I reverted the patch, and the problem returned. Thanks much - this would have been a bear to figure out; sounds like it was for the first one who found it. Ken On Tue, Sep 22, 2009 at 1:36 PM, Ken MacDon

[qooxdoo-devel] Very obscure problem seen with size of windows in IE8????

2009-09-22 Thread Ken MacDonald
Hi, I've been looking all morning at a very odd behavior in IE8. I have an app with a bunch of cascading queries triggered by a change to a combo box. combo box changes its selection, which fires a DB query which updates List 1; the resulting changed selection in List 1 fires a second query which

Re: [qooxdoo-devel] Controlling scrollbars?

2009-09-18 Thread Ken MacDonald
On Thu, Sep 17, 2009 at 11:20 AM, Ken MacDonald wrote: > Thanks for the tip - it got me going in the proper direction. I was able to > get it to work a bit simpler without getting down to the DOM: > > this.labelHtml.setHtml(html); > var elem = this.labelHtml.getContentElement();

Re: [qooxdoo-devel] disabling focus on a table?

2009-09-18 Thread Ken MacDonald
Bug 2818 submitted. Ken The "selectable" property is unused by the Table widget. It does nothing. > That's why it's a reasonable request to enhance Table so that it implements > what you're now using. > > Derrell > > > > > ---

Re: [qooxdoo-devel] disabling focus on a table?

2009-09-18 Thread Ken MacDonald
> It would be a reasonable "enhancement bug report" to request that > table.setElectable(false) set the selection mode to NO_SELECTION. Feel free > to post that to bugzilla. > > Um, so what DOES it do now??? The doc for the "selectable" property says "Whether the widget contains content which may b

Re: [qooxdoo-devel] disabling focus on a table?

2009-09-18 Thread Ken MacDonald
> > Because we were all answering the wrong question. We answered how to get > rid of the mouseover focus highlight. You're asking about the selection > highlight. Somehow that was missed. > > Instead of listening for the changeSelection event, does this work instead: > > > table.getSelectionModel(

Re: [qooxdoo-devel] disabling focus on a table?

2009-09-18 Thread Ken MacDonald
> I also tried creating a listener on "changeSelection" for the table (to do > a "clearSelection()") but it doesn't get fired. > > Sorry, I created the listener wrong for this approach. This DOES seem to solve the problem, once the listener was attached properly. recipeTableChangeSelection: f

Re: [qooxdoo-devel] disabling focus on a table?

2009-09-18 Thread Ken MacDonald
On Fri, Sep 18, 2009 at 1:40 PM, thron7 wrote: > Try one of the following: > > - on the table itself, you can invoke recipeTable.setFocusable(false) > This doesn't work > - on the *row renderer* for that table, you can invoke > .setHighlightFocusRow(false). Check the Table API how to get at

  1   2   >