Using Dynamic Dictionaries
Posted: Wed Dec 10, 2014 11:26 pm
Hi guys,
I'm trying to use Dynamic Dictionaries and I have never used them previously so I was doing some research on them including looking at the JADE Manual (https://secure.jadeworld.com/downloads/ ... ng.String)).
According to the JADE Manual, it states that Dynamic Dictionaries do not allow persistence, nor do they offer a facility to sort objects not entirely based on a comparison of embedded attribute values; for example, the ability for you to provide your own sort compare routine is not supported. I was slightly confused here; I noticed that the addMemberKey() function requires a property value and two boolean values for sort descending and case insensitive. If the sort descending is false, does that mean that when records are added to the DynaDictionary, they will go in Ascending order or do I have key in true for descending order and then iterate backwards?
Thanks
Omash
I'm trying to use Dynamic Dictionaries and I have never used them previously so I was doing some research on them including looking at the JADE Manual (https://secure.jadeworld.com/downloads/ ... ng.String)).
According to the JADE Manual, it states that Dynamic Dictionaries do not allow persistence, nor do they offer a facility to sort objects not entirely based on a comparison of embedded attribute values; for example, the ability for you to provide your own sort compare routine is not supported. I was slightly confused here; I noticed that the addMemberKey() function requires a property value and two boolean values for sort descending and case insensitive. If the sort descending is false, does that mean that when records are added to the DynaDictionary, they will go in Ascending order or do I have key in true for descending order and then iterate backwards?
Thanks
Omash