Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-09 Thread James Cicenia
Well yes it is used ERD2WQueryPage which everyone subclasses. Maybe I am just the first to used grouped keys with it. :-/ I basically just created my own subclass and overrode it. I think it needs to first check the enum if it is an array and then go check the properties in the array. James O

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Ramsey Gurley
Is that actually used anywhere? On Feb 7, 2012, at 1:24 PM, James Cicenia wrote: > Here is the code: > > if (null == _nullablePropertyKeys) { > NSMutableArray array = new NSMutableArray(); > String preKey = propertyKey(); > D2WContext d2wContext = d2wC

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Farrukh Ijaz
My bad, I just overlooked you're using d2wContext(). Is this something you're writing? If yes, where exactly? Farrukh On 2012-02-08, at 5:25 PM, James Cicenia wrote: > Not sure that is relevant. > > When instantiating a D2WQueryPage and you pass in "Grouped" or "Sectioned" > property keys it

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread James Cicenia
Not sure that is relevant. When instantiating a D2WQueryPage and you pass in "Grouped" or "Sectioned" property keys it will fail: >> String key = (String)keysEnum.nextElement(); James On Feb 8, 2012, at 6:13 AM, Farrukh Ijaz wrote: > Hi James, > > In practice you should use either d2wConte

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Farrukh Ijaz
Hi James, In practice you should use either d2wContext.setDynamicPage(...) or d2wContext.setEntity(...) and d2wContext.setTask(...) methods prior to call d2wContext.valueForKey(...). Farrukh On 2012-02-07, at 11:24 PM, James Cicenia wrote: > Here is the code: > > if (null == _nullabl

bug : nullablePropertyKeys won't work with an array as a property...

2012-02-07 Thread James Cicenia
Here is the code: if (null == _nullablePropertyKeys) { NSMutableArray array = new NSMutableArray(); String preKey = propertyKey(); D2WContext d2wContext = d2wContext(); for (Enumeration keysEnum = displayPropertyKeys().objectEnumerator(); ke