Hi Pierre,
afaik this is not possible.
You could use simple JS objects for this:
myClass {
prop1 : {
check : "object"
}
}
myObject.setProp1({subProp1:42});
alert (myObject.getProp1().subProp1);
But if you change the supProps, no setter will be called.
Or you can make a data class for your
Hi guys.
Thank you both for your assistance :)
Richard Sternagel wrote:
> But this wasn't your initial issue - it's an OO misunderstanding
> (or you just forgot "new" :D).
Thanks for that excellent explanation. Definitely a Javascript OO
misunderstanding, I think :)
thron7 wrote:
> To put it i
Hey guys,
just a short question:
How exactly can I retrieve the entered value in a qooxdoo mobile input
dialog? The code would be the following:
qx.ui.mobile.dialog.Manager.getInstance().input(title, text,
function(index) {
if (index==1) {
//Button 1 pressed
} else {
Hey guys,
can someone explain to me how I can create a model class with a structured
property?
By structured property I mean the following:
myClass {
Properties : {
prop1 : {
},
prop2 : {
subprop1 : {
}
subprop2 : {
}
}
}
}
afterwards I would be able to
On Mon, Feb 24, 2014 at 11:40 AM, Richard Sternagel
wrote:
> Hi Peter,
>
>> Does the filename actually make a difference?
>
> Yes it does. Keep it always in sync with the class name.
>
> But this wasn't your initial issue - it's an OO misunderstanding
> (or you just forgot "new" :D).
>
> Either do
> you could set userdata to your widgets and use the target, which is passed
> in the event args:
>
>var myObjectArray = [];
>var changeSelectionHander = function(e) {
>var widget=e.getTarget();
>var rowIndex = widget.getUserData("ro
Hi Peter,
> Does the filename actually make a difference?
Yes it does. Keep it always in sync with the class name.
But this wasn't your initial issue - it's an OO misunderstanding
(or you just forgot "new" :D).
Either do it like this:
.---
| ...
| button1.addListener("execute", padded_online.D
Thank you for your help! But unfortunately, this is not a solution.
The "changeLocale" events will be fired and will need to update all the
components properly.
I can't change the setLocale, when I enter the form, because multiple forms
will be visible at the same time (and also other components)