Hi Adrian, thanks for the reply but it makes no sense at least to me. On Sat, May 30, 2009 at 12:54 AM, Adrian Crum <[email protected]> wrote:
> > Maybe your first condition-list element should be: > > <condition-list combine="or"> > > -Adrian > > --- On Fri, 5/29/09, Muhammad Aamir <[email protected]> wrote: > > > From: Muhammad Aamir <[email protected]> > > Subject: entity-condition question > > To: [email protected] > > Date: Friday, May 29, 2009, 2:19 PM > > If a I pass a social security number, > > it doesn't bring any thing, however > > searching by name works: > > > > <entity-condition > > list="parties" entity-name="Person"> > > > > <condition-list combine="and"> > > > > <condition-list combine="or"> > > > > <condition-expr field-name="firstName" > > operator="like" > > > > value="${parameters.name}%" > > ignore-case="true" /> > > > > <condition-expr field-name="middleName" > > operator="like" > > > > value="${parameters.name}%" > > ignore-case="true" /> > > > > <condition-expr field-name="lastName" > > operator="like" > > > > value="${parameters.name}%" > > ignore-case="true" /> > > > > </condition-list> > > > > <condition-expr field-name="socialSecurityNumber" > > > > operator="equals" > > from-field="parameters.socialSecurityNumber" > > ignore-if-empty="true" > > ignore-if-null="true"/> > > > > </condition-list> > > </entity-condition> > > > > Thanks > > Muhammad Aamir > > > > > >
