• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Little help with a qualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little help with a qualifier


  • Subject: Re: Little help with a qualifier
  • From: Gustavo Pizano <email@hidden>
  • Date: Wed, 15 Jul 2009 13:50:23 +0200


sorry I misclicked


On Wed, Jul 15, 2009 at 1:46 PM, Gustavo Pizano <email@hidden> 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@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Little help with a qualifier (From: Gustavo Pizano <email@hidden>)
 >Re: Little help with a qualifier (From: David Avendasora <email@hidden>)
 >Re: Little help with a qualifier (From: Gustavo Pizano <email@hidden>)
 >Re: Little help with a qualifier (From: Gustavo Pizano <email@hidden>)
 >Re: Little help with a qualifier (From: David Avendasora <email@hidden>)
 >Re: Little help with a qualifier (From: Gustavo Pizano <email@hidden>)
 >Re: Little help with a qualifier (From: David Avendasora <email@hidden>)
 >Re: Little help with a qualifier (From: Gustavo Pizano <email@hidden>)
 >Re: Little help with a qualifier (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Re: Little help with a qualifier
  • Next by Date: PDF-printing
  • Previous by thread: Re: Little help with a qualifier
  • Next by thread: Re: Little help with a qualifier
  • Index(es):
    • Date
    • Thread