|
RE: Understanding LCA readData method [message #76580 is a reply to message #76527] |
Wed, 05 March 2008 08:43 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi Tiago,
readPropertyValue reads the value of an given attribute from the request
sent by the client. If there is no value for the given attribute it
returns null. As the label is from the perspective of the client is a
read-only widget, it doesn't sent any values back to the server - this
explains why you always get null.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Tiago [mailto:tiago.bugzilla@gmail.com]
Bereitgestellt: Dienstag, 4. März 2008 13:07
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Understanding LCA readData method
Betreff: Understanding LCA readData method
I have a question regarding readData method in the LCA class.
My widget extends "qx.ui.basic.Label" so I belive it should inherit all
properties from Label. Thing is that when I do:
String text = WidgetLCAUtil.readPropertyValue(widget, "text");
The text variable is always null. Am I doing something wrong here? How
can I get in Java the JS text property on-demand (like when doing a
getText())?
Thanks
Tiago
|
|
|
Powered by
FUDForum. Page generated in 0.04815 seconds