sorry I misclicked
On Wed, Jul 15, 2009 at 1:46 PM, Gustavo Pizano <[email protected]>wrote: > MM I think I know why.. because when Im selecting the item im doing the > follwoing. > > contentsList = (NSMutableArray<TRANSLATIONSET>) > selectedWG.toTranslationSets().valueForKey(_WGxTS.T_RANSLATIONSET_KEY); > > which will fetch all the TRANSLATIONSETS > > which will fetch all the TRANSLATIONSETS from the selectedWG.. so what I would have to do its to create the qualifier again this time on the way back something like that no? G. > > On Wed, Jul 15, 2009 at 11:58 AM, Gustavo Pizano < > [email protected]> wrote: > >> >> >>> What Im receving is, 4 times the same WG name in the left list, and when >>> I select any it will display all of the TRANSLATIONSET that WG has. >>> >>> >>> Well, you could always do an >>> ERXArrayUtilities.arrayWithoutDuplicates(yourArray) >>> >> >> mmm.. no this removed the duplicates of WG in the main lsit, thats ok but >> anyway when I select the item I can see all the TRANSLATIONSETS of that WG >> item.. what I want is to see the TRANSLATIONSET that are assigned to me, but >> those TRANLATIONSET belongs to a WG. >> >> ie. >> WG : CoreServices >> >> HAS 12 TRANSLATIONSETS (for the sake of simplicity Im gonn ajust write id) >> >> 2001 >> 2002 >> . >> . >> . >> 2012 >> >> but from those I have assigned only 2001, 2005, 2006 >> >> >> so what I will wnat in the output is somehting like >> >> List of WG : >> >> CoreServices >> >> when selecting that item I would see another list which has 3 >> TRANLATIONSETS : 2001,2005,2006. >> >> I have done this qual. >> EOQualifier tsQual = >> TRANSLATIONSET.TO_USER.eq(((Session)session()).authenticatedUser()); >> and when I fetch data I get an NSarrya with 3 elements, so now I would >> want to merge to get the WG/WGs where they belong to in this case its just >> one CoreServices >> >> .thx for the help >> >> G >> > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
