Derrell Lipman | 9 Feb 21:50

Creating an extended ListItem class

I'm trying to create a replacement ListItem class, which I'm specifying with the createItem element of the delegate map. I've almost got it working, but I am forced to specifically call two of the properties "label" and "icon" instead of "title" and "image1" that I'd like for them to be, and I can't figure out how to do the binding for any other properties in the replacement class.


This is a stripped-down playground example where I have only three fields being displayed: title (which must be called label), image1 (which must be called icon), and numLikes. As you can see, the numLikes field displays its initial value ("wrong") instead of the value in the model. I'm probably missing a single line of code that would add all of the proper bindings, but I can't figure out what it is. Help greatly appreciated!

Here's the playground sample: http://tinyurl.com/78tfzdz

Thanks!

Derrell

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
fprijate | 9 Feb 17:40
Favicon

Multiple spaces in table row converted to one

Hi

Multiple spaces in string column in table are compressed to one.
I know that this is html feature, and that we can use <pre> tag or
white-space:pre CSS property.
But this is on HTML level.
I get data over qx.io.remote.Rpc , and there are intentional blanks
in my db records.
The problem sould be solved in framework

http://bugzilla.qooxdoo.org/show_bug.cgi?id=6123

Franček

--
View this message in context: http://qooxdoo.678.n2.nabble.com/Multiple-spaces-in-table-row-converted-to-one-tp7269776p7269776.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
A Matías Quezada | 9 Feb 10:45
Picon
Gravatar

Inject Keyboard events on Qooxdoo

Hi all,


I have a problem integrating Qooxdoo with another library than uses an iframe to display content. I need the events fired on this Iframe to be injected in Qooxdoo event system so it will fire Commands with shortcuts.

I've looked at qx.event.handler.Keyboard but every method I found is private or protected, what I need is to call keyPress handler like if the event comes from browser

(on the iframe)

document.addEventListener('keypress', function(evt) {
  var qx = window.parent.qx;
  var handler = qx.event.Manager.getHandler(qx.event.handler.Keyboard);

  // I'ts private!
  handler.__onKeyPress(evt);
}, true);

Is there any way to do this?

---
A. Matías Q.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Phyo Arkar | 9 Feb 09:36
Picon

Should i use setinterval() or something provided by Qooxdoo?

I want to pool status checking for a process via jsonRPC . should i use setinterval or which timer class provided by qooxdoo ?


i saw TimeManager and a event.Timer i don't know what to use.

Thanks.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Jim Hunter | 8 Feb 23:10

FireBug Native Console issues

Has anyone else recently stopped getting logging messages in the
FireBug Native console? I noticed it about a week or more ago that all
my ".info()" type calls were no longer showing up in the FireBug
console. They are showing up in the qooxdoo Console window though. I
don't have any code in my app for setting the default log level
because for now I always want all messages to display so there should
not be any problems there. Could this be a recent change to FireBug?
Any suggestions anyone on where to look for the solution to this? I
want to start creating a more sophisticated debugging environment for
the end user, and will need the Native console to work.

One hint, if I am in the console of FireBug and I type
"mainWin.info('test')" I get 'undefined' returned. But in the qooxdoo
Console I do get the message 'Test' displayed so the call is working
to the Console but not Native (I do have qx.log.appender.Native
declared when the application starts up).

Thanks,
Jim

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Derrell Lipman | 8 Feb 15:43

Wrapping label without 'rich'?

I don't recall the simple way to display wrapping text without using a qx.ui.basic.Label() with the 'rich' property enabled. (I can't allow HTML input to the label because the data being displayed is user-produced.) This should be a simple, common use case...???


Thanks,

Derrell


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Fink, Andreas | 8 Feb 11:48
Favicon

backspace on readonly field (IE)

Hi all,

we mentioned a ugly behavior of our app when someone set the cursor in a read-only text field an press the
backspace key.
The browser then loads the previous visited website. At least IE 9 is doing this this, it doesn't happen with
Firefox. I've not tested other Browsers yet.

I've implemented a workaround by adding a listener to the root:

this.getRoot().addListener("keypress", function(e) {
  if (e.getKeyIdentifier() === "Backspace") {
    e.stop();
  }
}, this);

Is there already some workaround in the framework or is Firefox more "intelligent" to not invoke the back button?
Should I file a bug report?

Regards,
Andreas
Attachment (winmail.dat): application/ms-tnef, 8177 bytes
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
alexandr | 8 Feb 12:12
Picon
Gravatar

Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)

Hi, Qooxdoo Team!

I have strange exception, when I try to set selection in tabView to first
page. I can't to get exception in playground, but in my application it
occurs... Exception:

[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIDOMHTMLInputElement.*setSelectionRange*]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
http://localhost:8080/app_qx/script/com.colvir.js :: <TOP_LEVEL> :: line
6599"  data: no]

The code in which exception occurs:

this.__tabView.setSelection([this.__tabPage1]);

"this" is instance of qx.ui.window.Window.

1. Maybe anyone knows reasons of this exception?
2. How can I catch this exception in code, for not to show it to user? I try
to use try-catch block, but it didn't caught the exception...

Will be glad for any help...

-----
Best regards, 
Alexandr
--
View this message in context: http://qooxdoo.678.n2.nabble.com/Component-returned-failure-code-0x80004005-NS-ERROR-FAILURE-tp7265346p7265346.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
John Spackman | 7 Feb 20:28

Performance profiling in Firefox and the effect of qx.event.Idle

Hi

I've been trying to profile my app and found that there is a surprising amount of activity caused by qx.event.Idle – if I start my app, wait 10 seconds, and then run the Firebug profiler for the next 10 seconds I get 9,000 function calls logged and 13.9% of the time profiled is spent in qx.event.Manager.dispatchEvent because qx.event.Idle has a timer running.

The time taken up by Idle was only a few milliseconds but I found the extra output misleading and got in the way of what I was trying to debug in my own code.  Looking further it turns out that qx.event.Idle is not being used in my app, i.e. nothing has registered a listener for it's "interval" event so there was no need for it to have a timer and have those 9,000 calls.

I've modified qx.event.Idle so that it only creates a timer if there is at least one listener (and removes the timer when the last listener goes) and the profiler now records no actions for the same test.  

Please can this be reviewed for inclusion in the trunk?  Here's the patch on github (is this a pull request??) https://github.com/johnspackman/qooxdoo/commit/0c7864e53316a150bbe4ebec5deec488020e2f48

John
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Phyo Arkar | 7 Feb 11:43
Picon

Making a Tree Grid.

Hello Qooxdoo!


I am going to implement a TreeGrid like those exist in JqGrid and EXTJS .

I need some pointers.

1. Should i base it off on qx's Table ? It seems hard to do one in Qooxdoo table but , I will need Remote Table Model. Coz it will grow to million of rows easily.
2. Virtual Tree  (or Tree Virtual? ) with multiple is a good candidate but they do not have Remote Table Model.

Can you guys suggest please?

 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Gravatar

no qoox-noopt

Hello, I'm new in Qooxdoo, I like to use the option qxoo-noopt, but in my version 1.6 doesn't appear. I like to debug, and it is hard without this option. I was try by command line parameter, and changing it in the config file, but doesn`t work. Any idea?

Regards

Juan Fernando Jaramillo

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Gmane