Hi Scott, Thanks for the pointer!
Unfortunately, I am a total groovy-newbie.... Would selectedExperiences = parameter.selectedExperiences; if (selectedExperiences==""){ experienceItemList = delegator.findByAnd("ProfileExperience", [profileOwnerId : profileOwnerId]); } else{ experienceItemList = delegator.findList("ProfileExperience", [experienceId : selectedExperiences]); } do the trick? Regards, Pierre 2010/8/20 Scott Gray <scott.g...@hotwaxmedia.com> > Hi Pierre, > > You'll want to use delegator.findList(...) with an EntityOperator.IN > condition for the experience field. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 20/08/2010, at 10:31 PM, Pierre Smits wrote: > > > In a url I pass following parameters: > > > > ?profile=10000&experience=10000,100010 > > > > In a groovy file I get the parameters.... > > parameter.profile > > parameter.experience > > > > My question is: how do I get the delegator to find entities in the > database > > based on both parameter.profile and parameter.experience? > > > > In all the other codes in groovy files that I see it seems that > parameters > > have only 1 value... Or I might be overlooking one... > > > > Regards,, > > > > Pierre > >