Re: [qooxdoo-devel] How to get the displayed data from a filtered table?

2018-10-04 Thread John Spackman
Hi Jeff, Please can you re ask your question on gitter at https://gitter.im/qooxdoo/qooxdoo ?  We don't use this mailing list any more, and gitter allows much more responsive conversations. Regards John Sent from my phone On Thu, Oct 4, 2018 at 10:01 PM +0100, "Jeffrey Grossm

[qooxdoo-devel] How to get the displayed data from a filtered table?

2018-10-04 Thread Jeffrey Grossman
Hello, I have applied a filter to a table. I want to retrieve the rows that remain visible. I seem only to be able to fetch "all rows" or "all selected rows". I suppose I want "all non-hidden rows" but I don't know how to make that request. Would someone here please show me? Thank you

Re: [qooxdoo-devel] How to use an external css url

2017-09-25 Thread John Spackman
Hi Please can you ask your question at StackOverflow and be sure to add “qooxdoo” as a tag? Asking on StackOverflow gets your question to as many people as possible and helps us build the public documentation. This mailing list isn’t used very much any more – but we are on Gitter at https://g

[qooxdoo-devel] How to use an external css url

2017-09-25 Thread sathiyaraj
HI, In my project is require some external CSS file. I follow the instruction into Qooxdoo config.json but not yet get any result. "build-script" : { "copy-files" : { "files" : [ "vendor/*.js", "login.html", "favicon.png

[qooxdoo-devel] How to use an external css url

2017-09-25 Thread sathiyaraj
HI, In my project is require some external CSS file. I follow the instruction into Qooxdoo config.json but not yet get any result. "build-script" : { "copy-files" : { "files" : [ "vendor/*.js", "login.html", "favicon.png

[qooxdoo-devel] How to use an external css url

2017-09-25 Thread sathiyaraj
HI, In my project is require some external CSS file. I follow the instruction into Qooxdoo config.json but not yet get any result. "build-script" : { "copy-files" : { "files" : [ "vendor/*.js", "login.html", "favicon.p

Re: [qooxdoo-devel] How to control qx.data.Array via qx.ui.table.Table

2016-06-30 Thread woprandi
Hi Please could you re-ask this question at StackOverflow and make sure you add the tag “qooxdoo”? We’re trying to develop a more public set of Q&A and StackOverflow is a great way to do it Regards William -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-control-qx-d

[qooxdoo-devel] How to control qx.data.Array via qx.ui.table.Table

2016-06-30 Thread Karol Gryger
Hi, I have qx.data.Array variable consits of objects. How to connect Array to table ? I supose I need kind of mapping in code below var rowData = theStore.getModel(); //it is qx.data.Array type var tableModel = new qx.ui.table.model.Simple(); tableModel.setData(rowData); var table = new q

Re: [qooxdoo-devel] How to add css class to list item in qx mobile?

2016-04-01 Thread SQville
Tomas, I get my desired result by just simply using the "addCssClass" function on the item itself, rather than calling the "getContent" function first (see my code below). If you are trying to style a subset of the list items then you will need to uniquely identify each item by placing something

[qooxdoo-devel] How to add css class to list item in qx mobile?

2016-03-30 Thread Tomás Antunes
I'm trying to modify the appearance of a subset of items in a list using qx mobile. How can I achieve this? list.setDelegate({ configureItem : function(item, data) { item.setTitle(data.title); item.getContent().addCssClass('my-class'); // no effect } });

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-10 Thread voger
Thanks. I tried it and it works. This a really nice trick. I haven't thought about using the timer like this. On 10/03/2016 09:03 πμ, Dietrich Streifert wrote: > Hi Voger, > > wouldn't decoupling the disposal from the event do the magic? > > In > https://github.com/voger/fsmtest/blob/master/sourc

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-09 Thread Dietrich Streifert
Hi Voger, wouldn't decoupling the disposal from the event do the magic? In https://github.com/voger/fsmtest/blob/master/source/class/fsmtest/Application.js#L157 Instead of doing fsm.dispose() console.log("fsm.isDisposed(): "+ fsm.isDisposed()); I'd do qx.event.Timer.once(funct

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-09 Thread voger
Thank you. I will just set it null and let GC do it's magic. Just in case it is of any help I created a simple project with the test case from the playground example. I posted it in github https://github.com/voger/fsmtest The problem is this line in qx.util.fsm.FiniteStateMachine this.__savedSt

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-09 Thread Derrell Lipman
Yeah, I see. That makes sense. For now, just set your fsm variable to null. This doesn't help you if you're trying to use the dispose debugging, but at least should ensure that the memory does actually get garbage collected. At some point, I may try to work out how to allow the dispose debugging t

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-09 Thread voger
I did this and the result is that the "terminated" event is not even handled. I get this debug line: 005436 qx.util.fsm.FiniteStateMachine[52-0]: Fsm_1: Cannot listen to event 'terminated', because the finite state machine is not running. On 08/03/2016 11:42 μμ, Derrell Lipman wrote: > So I'v

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-08 Thread Derrell Lipman
So I've been thinking about this. Although what I told you is correct -- modern browsers, and even old ones, should have no problem automatically garbage collecting an FSM because it has no references to DOM objects and no circular references -- qooxdoo debug display logic could still be applied to

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-08 Thread voger
Thanks Derrell. It is great to hear from the author itself. It's just that I saw in the qx.util.fsm.FiniteStateMachine#destruct() code that it does some clean up functionality and wanted to be in the safe side. Plus if I wouldn't understand why it didn't work how I thought it should, I would l

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-08 Thread Derrell Lipman
Right. My suggestion is that you shouldn't need to call fsm.dispose(). Instead, just set fsm = null; so it will be garbage collected. I don't believe there is anything here that needs "help" with disposing. Here's the modified example: http://tinyurl.com/zxmbrcj Cheers, Derrell On Tue, Mar

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-08 Thread voger
I did a simple example of the problem. http://tinyurl.com/zg8nse2 After some investigation with the debugger it seems that the problem is the fact that I am trying to dispose the fsm object using it's own event handler. A walk through to explain better what I mean: 1. In the final state I clic

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-07 Thread Derrell Lipman
The finite state machine doesn't use any DOM element nor anything else that shouldn't be very normally garbage collected. It (at least theoretically) shouldn't require any manual disposing. In very old browsers, I think it needed some help, but I don't think it's required in today's browsers. Be su

Re: [qooxdoo-devel] How to dispose a finite state machine?

2016-03-07 Thread John Spackman
My guess would be that qx.data.Array is being disposed twice, but without a stack trace it’s impossible to know - please can you put together a playground example? Regards John On 06/03/2016, 22:23, "voger" wrote: >I am using qx.util.fsm.FiniteStateMachine to describe the behaviour of >th

[qooxdoo-devel] How to dispose a finite state machine?

2016-03-06 Thread voger
I am using qx.util.fsm.FiniteStateMachine to describe the behaviour of the "miniapps" that compose the app I am developing. So far I have used it in one and it works great. The problem is I don't know how to dispose it. When I close the the "miniapp" in the destructor of that class I have t

Re: [qooxdoo-devel] How to write to Test Runner log?

2016-02-18 Thread Tina
Thanks! On Thu, Feb 18, 2016 at 12:50 AM, John Spackman [via qooxdoo] < ml-node+s678n7588034...@n2.nabble.com> wrote: > Hi Tina > > For instances of objects you can use this.debug(), this.warn(), etc or for > static use you can use qx.log.Logger.debug() etc. > > Regards > John > > > > > On 17/02/

Re: [qooxdoo-devel] How to write to Test Runner log?

2016-02-17 Thread John Spackman
Hi Tina For instances of objects you can use this.debug(), this.warn(), etc or for static use you can use qx.log.Logger.debug() etc. Regards John On 17/02/2016, 21:00, "Tina" wrote: >How do I write to the Test Runner log seen in browser? I tried >console.log("AlertEditorTest->Test1 exe

[qooxdoo-devel] How to write to Test Runner log?

2016-02-17 Thread Tina
How do I write to the Test Runner log seen in browser? I tried console.log("AlertEditorTest->Test1 execution complete"); but I do not see this anywhere. -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-write-to-Test-Runner-log-tp7588028.html Sent from the qooxdoo mai

Re: [qooxdoo-devel] How to make parts independent

2016-02-13 Thread John Spackman
@lists.sourceforge.net Subject: Re: [qooxdoo-devel] How to make parts independent John, Thank you for you efforts, and please be sure you've got another beta- tester and probably contributor(s). Some background first. We are developing a massive qooxdoo Desktop application. When we were a

Re: [qooxdoo-devel] How to make parts independent

2016-02-11 Thread Dimitri
John, Thank you for you efforts, and please be sure you've got another beta- tester and probably contributor(s). Some background first. We are developing a massive qooxdoo Desktop application. When we were about to roll integration tests, it turned out that our app doesn't run in PhantomJS - beca

Re: [qooxdoo-devel] How to make parts independent

2016-02-10 Thread John Spackman
Hi Defero Sorry, I really haven’t forgotten - I’ve just been so flat out with work this year. I do think that I’ll be able to do the docs etc this week, but I’ll put what I have up regardless and then we’ll chat over the ML Regards John On 10/02/2016, 14:28, "Defero" wrote: >Hi, > >me ag

Re: [qooxdoo-devel] How to make parts independent

2016-02-10 Thread Defero
Hi, me again :) normally i wouldn't bug people this much, but i need to find a viable and fully operational solution here at work this year. I really love how this one works and i'm just getting eager too try it out :) Regards, Defero -- View this message in context: http://qooxdoo.678.n2.n

Re: [qooxdoo-devel] How to add a listener to Tree widget on open item event?

2016-02-09 Thread Sadykov, Yuri (NIH/NLM/NCBI) [E]
items in the tree. -Original Message- From: Dietrich Streifert [mailto:dietrich.streif...@googlemail.com] Sent: Tuesday, February 09, 2016 5:58 AM To: qooxdoo-devel@lists.sourceforge.net Subject: Re: [qooxdoo-devel] How to add a listener to Tree widget on open item event? Hi Yuri, did yo

Re: [qooxdoo-devel] How to add a listener to Tree widget on open item event?

2016-02-09 Thread Dietrich Streifert
Hi Yuri, did you try the "changeOpen" event which is fired upon change of the open property? http://demo.qooxdoo.org/current/apiviewer/#qx.ui.tree.core.AbstractItem~open The getData method of the changeOpen event should be true if open changes to true. Regards Dietrich Am 08.02.2016 um 23:19

[qooxdoo-devel] How to add a listener to Tree widget on open item event?

2016-02-08 Thread yuri
I am using Tree widget in qx.Desktop application and want to populate it on demand. Let say there is a TreeFolder in the Tree widget which is not opened yet, so tchnicaly it is empty. Once user open it (click on +) I want to populate the TreeFolder with items on that click and show expended content

Re: [qooxdoo-devel] How to make parts independent

2016-01-06 Thread Defero
Hi, really good news then :) Yes, count me in. Will right away probably try implement something like parts to it. Regards, Defero -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-make-parts-independent-tp7587856p7587917.html Sent from the qooxdoo mailing list archive

Re: [qooxdoo-devel] How to make parts independent

2016-01-06 Thread John Spackman
Hi Defero Yes, there is and I think it’s good news :) My original implementation was based on Esprima and I’ve had to rejig it to make it work with Babel for ES6 - I think it’s ready for alpha release baring one issue with environment settings and some documentation. Sorry it’s a bit later th

Re: [qooxdoo-devel] How to make parts independent

2016-01-05 Thread Defero
Hi, any news on this maybe? Also, if you need any help, i would be happy to help. Defero -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-make-parts-independent-tp7587856p7587915.html Sent from the qooxdoo mailing list archive at Nabble.com. --

Re: [qooxdoo-devel] How to make parts independent

2015-12-23 Thread John Spackman
Hi Dietrich Yes, completely independent - it’s just a node app that is self contained; the code is written using Qx classes and the command line interface is a thin wrapper around them. I’m not intending to use grunt at all, I prefer that it’s focused on analysing code, generating dependency t

Re: [qooxdoo-devel] How to make parts independent

2015-12-23 Thread Dietrich Streifert
Hi John, is this completely independent from the latest grunt toolchain works in qx? http://manual.qooxdoo.org/devel/pages/tool/grunt.html Am 23.12.2015 um 10:40 schrieb John Spackman: > Well I’ve talked about it now so I’d better put it up! :) > > My plan is to get it finished off and release

Re: [qooxdoo-devel] How to make parts independent

2015-12-23 Thread John Spackman
Well I’ve talked about it now so I’d better put it up! :) My plan is to get it finished off and release on github as an alpha before getting-paid work starts again on the 4th, I’ll post up here when it’s ready John On 23/12/2015, 09:31, "Defero" wrote: >Hi, > >that does sound cool ye :) >

Re: [qooxdoo-devel] How to make parts independent

2015-12-23 Thread Defero
Hi, that does sound cool ye :) I would definitely like to volunteer to be one of the testers Regards, Defero -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-make-parts-independent-tp7587856p7587871.html Sent from the qooxdoo mailing list archive at Nabble.com.

Re: [qooxdoo-devel] How to make parts independent

2015-12-23 Thread John Spackman
: [qooxdoo-devel] How to make parts independent John, that sounds incredibly cool! Derrell On Tue, Dec 22, 2015, 8:06 PM John Spackman wrote: Hi Defero To make that work you’d need to be able to analyse the dependencies of each plugin on demand, and then load those classes to the client; I dont think

Re: [qooxdoo-devel] How to make parts independent

2015-12-22 Thread Derrell Lipman
John, that sounds incredibly cool! Derrell On Tue, Dec 22, 2015, 8:06 PM John Spackman wrote: > Hi Defero > > To make that work you’d need to be able to analyse the dependencies of > each plugin on demand, and then load those classes to the client; I dont > think you can do this with the curren

Re: [qooxdoo-devel] How to make parts independent

2015-12-22 Thread John Spackman
Hi Defero To make that work you’d need to be able to analyse the dependencies of each plugin on demand, and then load those classes to the client; I dont think you can do this with the current generator but as it happens I think I’ll have something that will do the job in the next week or so.

Re: [qooxdoo-devel] How to make parts independent

2015-12-22 Thread Defero
Hi, it might work, but i think it's quite a dangerous hack. It's hard to find any data of how the compiler works, is there any extensive documentations on that? Does anyone have any ideas in general, how would you guy handle 1000 plugins for example. (These are loaded only per user specific reque

Re: [qooxdoo-devel] How to make parts independent

2015-12-22 Thread panyasan
Hi Defero, Defero wrote > is there anyway to ensure that 1 part is also 1 built part? > > So if i change my config automatically to include only the "newly updated" > part. Then i build the project. I would be able to copy only the changes > (and the main build) to the production. And in this ca

Re: [qooxdoo-devel] How to make parts independent

2015-12-21 Thread Defero
Hi, is there anyway to ensure that 1 part is also 1 built part? So if i change my config automatically to include only the "newly updated" part. Then i build the project. I would be able to copy only the changes (and the main build) to the production. And in this case leave all the other plugins

Re: [qooxdoo-devel] How to make parts independent

2015-12-21 Thread panyasan
Defero wrote > Hi, > > in this case your project has to be recompiled everytime for the changes > to appear? > > > Regards, > Defero Yes, beacause the generator needs to resolve all the dependencies ... So in the sense of your original question, yes, you will need their source to create the com

Re: [qooxdoo-devel] How to make parts independent

2015-12-21 Thread Defero
Hi, in this case your project has to be recompiled everytime for the changes to appear? Regards, Defero -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-make-parts-independent-tp7587856p7587859.html Sent from the qooxdoo mailing list archive at Nabble.com. --

Re: [qooxdoo-devel] How to make parts independent

2015-12-21 Thread panyasan
Hello, I had a similar problem trying to implement plugins via the parts architecture. I've been told that this was not what the parts system had been designed for, so it is kind of a hack. But it works: Since the part loader system depends on static code analysis, you need to name the parts expl

[qooxdoo-devel] How to make parts independent

2015-12-21 Thread Defero
Hi, for a while now we were using parts in our applications, which work well when we're the one defining these parts. But soon, alot of external programmers will start using the communication (and some ui) layers that we setup. So my question is, is there any flexibility in the way the applicatio

Re: [qooxdoo-devel] How to put a menu in a bubble?

2015-11-22 Thread voger
I finally did it. I wrote a decorator mixin to add that triangle on the bottom. I am posting it here just in case someone else finds it useful. It does have some hardcoded values and some assumptions but it is good enough for now. qx.Mixin.define("qssite.util.MNubbin", { properties: {

Re: [qooxdoo-devel] How to put a menu in a bubble?

2015-11-20 Thread voger
Thanks. This makes me notice that many online tutorials use the ::after pseudo-element to create the arrow (they call it "nubble"). This hints me that I need to write a decorator mixin. But how do I get the ::before and ::after pseudo-classes? I have found this older example from Phyo Arkar ht

Re: [qooxdoo-devel] How to put a menu in a bubble?

2015-11-20 Thread Sanne Peters
Hi, You will probably need to do some advanced css. I'd suggest asking this on stack overflow. regards, Sanne Peters *Interaction Design* Realtime Solutions B.V. Torenallee 20 5617 BC Eindhoven *Tel:* 040 4022 726 | *E-mail:* sanne.pet...@realtimesolutions.nl

[qooxdoo-devel] How to put a menu in a bubble?

2015-11-19 Thread voger
I am trying to replicate the bubble menu of the OS X menu without much success. Here is a sample of what I mean http://i.imgur.com/ib6wVkL.jpg My biggest stumbling block is how to add that arrow in the bottom of the menu. What I tried so far is 1. Create a custom widget subclassed from qx.ui

Re: [qooxdoo-devel] How to listen click events inside or outside the container?

2015-11-15 Thread voger
I made some progress with this. Here are the results http://tinyurl.com/nnhr6st The problem now is that in line 22 there is a conditional check that calls twice the function targetInArray(target, array) defined in line 30. That function loops to check if the target is child of the container or

[qooxdoo-devel] How to listen click events inside or outside the container?

2015-11-15 Thread voger
I made this playground example to show what I am trying to do http://tinyurl.com/pm6rvvb This is a ContainerComposite that contains a ToolBar. The ToolBar itself contains two buttons. What I am trying to do is that no mater where I click __inside__ the ContainerComposite, even the buttons, the

Re: [qooxdoo-devel] How to tell what nodes in a tree have been selected?

2015-10-08 Thread Norbert Schroeder
You're welcome - and thank you, too :-) Norbert NelsonAz schrieb am 08.10.2015 17:15: > Hello Norbert, > > Thank you very much for all your help. > > Also, thank you for all your work on the revised Dark Theme. > > Out of all the available themes, Dark Theme has been the most visually > plea

Re: [qooxdoo-devel] How to tell what nodes in a tree have been selected?

2015-10-08 Thread NelsonAz
Hello Norbert, Thank you very much for all your help. Also, thank you for all your work on the revised Dark Theme. Out of all the available themes, Dark Theme has been the most visually pleasing / functional theme I've seen thus far. Nelson -- View this message in context: http://qooxdoo.67

Re: [qooxdoo-devel] How to tell what nodes in a tree have been selected?

2015-10-08 Thread Norbert Schroeder
Hello Nelson, I have created a little demo (based on your source code) showing how to iterate an array of selected tree nodes: http://tinyurl.com/nrssqw5 The example should, hopefully, answer the questions you asked below. One additional point regarding your first question: You shouldn't use "f

[qooxdoo-devel] How to tell what nodes in a tree have been selected?

2015-10-07 Thread NelsonAz
Hello, I've been trying to implement a tree for a few days, but have been unable to figure out how to tell what nodes of a tree have been selected by a user. I've constructed a tree in the following manner: = ===

Re: [qooxdoo-devel] How to filter VirtualTree nodes via text that is inputed by user

2015-10-03 Thread Đăng Khoa Trần Quang
Hi rsantiagopaz, I have rendered the VirtualTree successfully, whenever click on the combobox, a tree structure will be showed under the combobox. But I got an issue with thr last node. Somehow it does not work correctly, the tree does not show up until we scroll up/down. So i believe the DataMod

Re: [qooxdoo-devel] How to filter VirtualTree nodes via text that is inputed by user

2015-09-21 Thread rsantiagopaz
Hi (sorry the english!) hey, I need that combobox+virtualtree. Years ago I try a selectbox+virtualtree but my expertise fail. check this example of filter, I hope this help http://tinyurl.com/paxvasy -- View this message in context: http://qooxdoo.678.n2.nabble.

[qooxdoo-devel] How to filter VirtualTree nodes via text that is inputed by user

2015-09-17 Thread Đăng Khoa Trần Quang
Hi Qooxdoo team, I have developed a custom combobox that allow to show value in tree form instead of list form as usual. And now, I want to improve the custom combobox to allow user to type text value and then the tree will be filtered by input value. Any nodes (parent nodes or child nodes) that m

Re: [qooxdoo-devel] How to refresh RequiredInvalidMessage on demand?

2015-08-31 Thread voger
On 30/08/2015 05:58 μμ, rsantiagopaz wrote: > voger wrote >> I would like to provide an error message relevant to that >> new meaning. > > <(sorry the english!!)> > > if you select a item AND fill the textbox, the error message is not relevant > again. So, why not call manager.validate() ? > Or you

Re: [qooxdoo-devel] How to refresh RequiredInvalidMessage on demand?

2015-08-30 Thread rsantiagopaz
voger wrote > I would like to provide an error message relevant to that > new meaning. <(sorry the english!!)> if you select a item AND fill the textbox, the error message is not relevant again. So, why not call manager.validate() ? Or you can subclass qx.ui.form.validation.Manager, override val

Re: [qooxdoo-devel] How to catch exception from asynchronous function?

2015-08-24 Thread voger
Thank you very much. Your code was exactly what I needed. With your help the complete working example becomes this: http://tinyurl.com/qxvp8vo On 24/08/2015 06:56 πμ, John Spackman wrote: > For your first example you have implemented validateUsername as an > asynchronous function but asynchron

Re: [qooxdoo-devel] How to catch exception from asynchronous function?

2015-08-23 Thread John Spackman
For your first example you have implemented validateUsername as an asynchronous function but asynchronous validations need to be implemented via qx.ui.form.AsyncValidator. To handle the asynchronous exception, you need to catch it in an AsyncValidator’s callback. You’re already doing this for

[qooxdoo-devel] How to catch exception from asynchronous function?

2015-08-23 Thread voger
I have this example http://tinyurl.com/nay2rnr I am trying to validate asynchronously the username. So on changeValue of that field I call a function that asynchronously validates the username and if it is invalid it throws an error. Unfortunately since the call is asynchronous, when the functio

[qooxdoo-devel] How to refresh RequiredInvalidMessage on demand?

2015-08-23 Thread voger
I have a text field whose value is associated with a select box. When the select box selection changes the meaning of the value of the texbox changes also. I would like to provide an error message relevant to that new meaning. I modified this example from the demo browser to show what I mean. h

[qooxdoo-devel] How to get child control of currenly selected list item.

2015-08-03 Thread Phyo Arkar
Here is i want to do: When a list item get selected , i want its children to be "selectable" `listitem.getChildControl("content").setSelectable(true)` When a list item lose selection , i want its children to `listitem.getChildControl("content").setSelectable(false)` How can i get the currenly sel

Re: [qooxdoo-devel] How to catch the throw from Widget.renderLayout

2015-06-26 Thread Cyril
Hi Mustafa, Thank you for your answer, this is a good trick but we were hoping for a more classical solution, I don't think this should be the right way to catch an error. Anyway problem solved :) Thx again -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-catch-the-th

Re: [qooxdoo-devel] How to catch the throw from Widget.renderLayout

2015-06-26 Thread Mustafa Sak
afa@1und1.de | Web: www.1und1.de -Ursprüngliche Nachricht- Von: Cyril [mailto:cyril.du...@effigenie.com] Gesendet: Freitag, 26. Juni 2015 14:47 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] How to catch the throw from Widget.renderLayout Hi all ! When we forgot to s

[qooxdoo-devel] How to catch the throw from Widget.renderLayout

2015-06-26 Thread Cyril
Hi all ! When we forgot to set a layout to a widget, the renderLayout function throw an error (Widget.js, method renderLayout line 1059 of current build) But I don't know how to catch this throw. This is not in the widget constructor, not in the parent constructor, I also tried every piece of

Re: [qooxdoo-devel] How to add googlemaps api in playground?

2015-06-15 Thread voger
On 15/06/2015 05:06 μμ, Dietrich Streifert wrote: > Hi voger! > > I think the qx.bom.request.Script() should do it: > > http://tinyurl.com/pozmqhq > > First click on "Load Geoapi", then click on "Retreive Lng Lat". > Output is in the log. > > Regards > Dietrich > > Am 15.06.2015 um 02:25 schrie

Re: [qooxdoo-devel] How to add googlemaps api in playground?

2015-06-15 Thread Dietrich Streifert
Hi voger! I think the qx.bom.request.Script() should do it: http://tinyurl.com/pozmqhq First click on "Load Geoapi", then click on "Retreive Lng Lat". Output is in the log. Regards Dietrich Am 15.06.2015 um 02:25 schrieb voger: > Hi, I want to create a little sample code to ask for an iss

[qooxdoo-devel] How to add googlemaps api in playground?

2015-06-14 Thread voger
Hi, I want to create a little sample code to ask for an issue that I have with google maps. Unfortunately while I was preparing a simple example of the problem, I faced another problem. I can't include the google maps library in playground so the example always fails. What I tried is this var

Re: [qooxdoo-devel] how to make circular images with decorator/CSS

2015-05-28 Thread slah
MartinWittemann wrote > Hey, > you could use an incredible high integer value to get that done. Usually > the browser do not care of the radius is higher than it could be. > Regards, > Martin > > >> Am 27.05.2015 um 17:42 schrieb slah < > slachtar@ > >: >> >> Hello, >> I'm trying to show an im

Re: [qooxdoo-devel] how to make circular images with decorator/CSS

2015-05-27 Thread Martin Wittemann
Hey, you could use an incredible high integer value to get that done. Usually the browser do not care of the radius is higher than it could be. Regards, Martin > Am 27.05.2015 um 17:42 schrieb slah : > > Hello, > I'm trying to show an image in a circular shape like google+ do for avatars, > etc

Re: [qooxdoo-devel] how to make circular images with decorator/CSS

2015-05-27 Thread Vincent Vandenschrick
Hi Slah, I would go for a decorator mixin in order to deal with a percentRadius property that you can later handle in a stylePercentRadius method. Take the following mixin as an example and this should be quite straightforward : https://github.com/jspresso/jspresso-ce/blob/master/qooxdoo/client/s

[qooxdoo-devel] how to make circular images with decorator/CSS

2015-05-27 Thread slah
Hello, I'm trying to show an image in a circular shape like google+ do for avatars, etc. seems I've to use CSS * border-radius: 50%;* trying to use decorator for this purpose fails because *qx.ui.decoration.Decorator().setRadius()* only accepts integers and not %. Can someone show me how to use

Re: [qooxdoo-devel] How to programmatically close a qx.ui.tabview.Page

2015-03-27 Thread Fritz Zaucker
Thanks, Fritz On Fri, 27 Mar 2015, Daniel Wagner wrote: > Hi Fritz, > > using this.fireEvent('close') is perfectly fine. The TabView doesn't > care if the event was originally triggered by a button click or not. > It's a simple event without any data so there won't be any side effects. > > Regard

Re: [qooxdoo-devel] How to programmatically close a qx.ui.tabview.Page

2015-03-27 Thread Daniel Wagner
Hi Fritz, using this.fireEvent('close') is perfectly fine. The TabView doesn't care if the event was originally triggered by a button click or not. It's a simple event without any data so there won't be any side effects. Regards, Daniel On 27.03.2015 12:59, Fritz Zaucker wrote: > Hi, > > how ca

[qooxdoo-devel] How to programmatically close a qx.ui.tabview.Page

2015-03-27 Thread Fritz Zaucker
Hi, how can I close a qx.ui.tabview.Page programmatically from the page itself? - this.fireEvent('close') seems to work, but it also seems like a hack and I am not sure if it has side effects I don't see. - this.getChildControl('button').fireDataEvent('close', this) seems to work a

Re: [qooxdoo-devel] How to get an Object from existing HTML source

2015-03-10 Thread Andreas Parusel
Hi, qooxdoo has an own query-API which is equivalent to jQuery in most cases. Simply replace ‚$‘ with ‚q‘ or ‚qxWeb‘: qxWeb('.CodeMirror')[0].CodeMirror; This should do the trick! Best regards Andreas Am 10.03.2015 um 12:02 schrieb bober1...@gmx.de: Hi, in my Deskto

[qooxdoo-devel] How to get an Object from existing HTML source

2015-03-10 Thread Bober1990
Hi,   in my Desktop-App, I would like to get an Instance of an Object for an CodeMirror Object that is created in an qx.ui.embed.Html("...").   In the _javascript_ Console I can access the Object by using JQuerry:   var editor = $('.CodeMirror')[0].CodeMirror;   Then I can edit the code in

Re: [qooxdoo-devel] How to use more than one namespaces?

2015-03-09 Thread voger
This is strange. While I was preparing a small example to upload, I saw that really it works as I wanted in the beginning. Then, in the original project, I reverted back as it was in my first message, and again it works. I can't find any differences with what I did yesterday. On 09/03/2015 04

Re: [qooxdoo-devel] How to use more than one namespaces?

2015-03-09 Thread Richard Sternagel
Hi voger, this should work, as long as you stay within the same namespace (i.e. assuming that "qssite" is your top level namespace which would mean that your app was created as "qssite"). Can you provide a stripped down downloadable example somewhere? Regards Richard ---

Re: [qooxdoo-devel] How to use more than one namespaces?

2015-03-08 Thread voger
Update: I found this message from 2012. http://qooxdoo.678.n2.nabble.com/How-to-set-up-a-custom-shared-namespace-and-use-in-my-project-in-Qooxdoo-td7365092.html I did what mr. Herchenroeder suggested in the second post and it works great and looks like a more clean solution. Still I would like t

[qooxdoo-devel] How to use more than one namespaces?

2015-03-08 Thread voger
I have this directory structure (with the default stuff removed) └── qssite ├── ui │ ├── STaskBarButtons.js │ ├── STaskBar.js │ ├── STaskButton.js │ ├── SToolBar.js │ ├── SUserActions.js │ ├── SWindow.js │ └── window │ └── SManager.j

Re: [qooxdoo-devel] How to preserve container width while adding widgets?

2015-03-02 Thread voger
This is amazing. My attempted solution was a function with 45 lines including empty lines. You solved it with one line and works fantastic. On 02/03/2015 10:59 πμ, Peter Schneider wrote: > ...Addendum: > > Additionally setting 'maxWidth' value of the buttons might get closer to the > "Windows-Tas

Re: [qooxdoo-devel] How to preserve container width while adding widgets?

2015-03-02 Thread Peter Schneider
...Addendum: Additionally setting 'maxWidth' value of the buttons might get closer to the "Windows-Taskbar" experience you are after ;) http://tinyurl.com/qacph8k /Peter Am 3/2/2015 um 9:51 AM schrieb Peter Schneider: > Hi 'Voger', > > you were close ;) > Add the buttons with 'minWidth' & 'w

Re: [qooxdoo-devel] How to preserve container width while adding widgets?

2015-03-02 Thread Peter Schneider
Hi 'Voger', you were close ;) Add the buttons with 'minWidth' & 'width' set to 1 and 'allowShrinkX set true. http://tinyurl.com/pvxyu3s In my example I've added the buttons to the toolbar(-part) with 'flex'. Hope this helps, Peter Am 3/1/2015 um 10:57 PM schrieb voger: > I have this li

[qooxdoo-devel] How to preserve container width while adding widgets?

2015-03-01 Thread voger
I have this little playground code http://tinyurl.com/pouvej7 In the areaB marked in blue I want to add as many buttons as possible. Unfortunately when the buttons start to overflow the qx.ui.container.Composite then it gets stretched to fit the buttons. I want it to stay still. I have another

Re: [qooxdoo-devel] How to fix unknow global symbol warning

2015-02-26 Thread Richard Sternagel
Hi paragasu, yes you can do something about that. For the "Unknown global symbol"-warnings have a look at: http://manual.qooxdoo.org/current/pages/development/api_jsdoc_at_ignore.html For the "... Shadowing job ..."-warnings see: http://manual.qooxdoo.org/current/pages/tool/generator/generator

[qooxdoo-devel] How to fix unknow global symbol warning

2015-02-25 Thread paragasu
>>> Processing configuration - Warning: ! Shadowing job "build-script" with local one - Warning: ! Shadowing job "libraries" with local one Executing: source::source-script

Re: [qooxdoo-devel] How to easily use a new icon set.

2015-02-17 Thread SQville
Sanne, I was able to control the height and width via the theme (Appearance.js) using this approach: *Step 1* - Turn *on* image scaling. It is turned off by default ( Reference ) - I added the appearance entry below to my theme's

Re: [qooxdoo-devel] How to easily use a new icon set.

2015-02-11 Thread Tobias Oberrauch
Hi Sanne, Could you please provide us an example how you're including, creating and using this icons? You're using the svg version? Cheers Tobias Von: Sanne Peters Gesendet: Mittwoch, 11. Februar 2015 17:47 An: qooxdoo Development Betreff: [qoo

[qooxdoo-devel] How to easily use a new icon set.

2015-02-11 Thread Sanne Peters
Hi all, I am setting up a new theme for my company and in it I am using the Entypo icon set (www.entypo.com). The problem however is that for some reason I need to set the width and height of the icon widget via the properties, while I would like to do this via the theme itself. The essence

Re: [qooxdoo-devel] How to listen to model change

2015-01-21 Thread halcwb
John Spackman-3 wrote >> 1. Why is it completely unnecessary to use underscore? > > I don’t see the need for using it - I’m no expert on underscore but > looking through the API again there’s nothing in there that I miss. If > you want to load another library that’s up to you. Pfew, I am glad

Re: [qooxdoo-devel] How to listen to model change

2015-01-21 Thread John Spackman
> 1. Why is it completely unnecessary to use underscore? I don’t see the need for using it - I’m no expert on underscore but looking through the API again there’s nothing in there that I miss. If you want to load another library that’s up to you. > 2. Why is it not good to enable loose coup

Re: [qooxdoo-devel] How to listen to model change

2015-01-21 Thread halcwb
John Spackman-3 wrote > Looking at your first post, the reason that “changeModel” was not > supported is because formModel will have events for changing each > individual property, not an event for any/all changes to the properties; > so for this code: > > var formModel = qx.data.marshal.Json.crea

  1   2   3   4   5   6   7   8   9   10   >