Another thing that I'm missing is the ability to use the "set" method
without to worry about it's item.

I explain: I want the items that exists in the array to be set, the others,
ignored. But qooxdoo gives me "No such property X".

This error is really helpful when you are setting wrong properties so I
would like to let qx.debug ON to see those errors. But there is some case
(especially data fetched from the server) that has a lot of other data that
has no relation to that relative model but has to be fetched to be used
somewhere else in the application.

And it's good to get all the data at once to reduce the calls to the server.
Removing all items that won't be used in the model can be annoying depending
on the data length. That would be better ignored.

I suggest a third parameter to that function to let the developer decide if
he wants the errors or not and the default set to the same value of
qx.debug.

On Thu, Jan 28, 2010 at 1:55 PM, Guilherme Aiolfi <[email protected]> wrote:

> The object was created by:
>
>            var modelSkeleton = {
>          telephone: null,
>          current: {name: null, address: null, city: null, city_id: 0,
> categories: [], type: 'r', tags: null, neighborhood: null, cep: null },
>          substitute: {name: null, address: null, city: null, city_id: 0,
> categories: [], type: 'r', tags: null, neighborhood: null, cep: null }
>          };
>
>              myModel = qx.data.marshal.Json.createModel(modelSkeleton,
> false);
>
> So, I don't think It could be a group property.
>
> Bug #3386 opened.
>
> Regarding the map question: qx.lang.Type has some methods to test if
> isArray, isFunction, isSomethingElse. But there isn't an isMap(). Is it to
> possible to distinguish between maps and objects they way I want?
>
> On Thu, Jan 28, 2010 at 12:53 PM, Jonathan Weiß 
> <[email protected]>wrote:
>
>>
>> Hello Krycek
>>
>>
>> have you tried to define a property group?
>>
>> http://qooxdoo.org/documentation/1.0/understanding_properties#property_groups
>>
>> If this is no what you wanted, feel free to upen a bug report for with
>> your
>> suggestion.
>>
>> Cheers
>> Jonathan
>>
>> -----
>> Jonathan Weiß
>> Framework Engineer
>>
>> http://mysterycity.de/blog Blog  -
>> http://www.linkedin.com/in/jonathanrass
>> LinkedIn  -  http://www.xing.com/profile/Jonathan_Weiss5 XING
>> --
>> View this message in context:
>> http://n2.nabble.com/Recurtion-in-Object-set-tp4473427p4473706.html
>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> The Planet: dedicated and managed hosting, cloud storage, colocation
>> Stay online with enterprise data centers and the best network in the
>> business
>> Choose flexible plans and management services without long-term contracts
>> Personal 24x7 support from experience hosting pros just a phone call away.
>> http://p.sf.net/sfu/theplanet-com
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to