Accessing IN attribute of a service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Accessing IN attribute of a service

Muhammad Aamir
Hi,

By seeing the existing code I understood that IN attributes of a service are
available in parameters variable. However, I am unable to access it in the
following line:

<condition-expr field-name="firstName" operator="like"
value="${parameters.firstName}" ignore-case="true"/>

I tried the above by putting a constant in value attribute and it works.

Thanks
Muhammad Aamir
Reply | Threaded
Open this post in threaded view
|

Re: Accessing IN attribute of a service

Scott Gray-2
Hi Muhammad,

It could possibly be a bug, I'll look into further when I get a chance.  But regardless you should be using from-field="parameters.firstName" rather than value="${parameters.firstName}", that should solve your problem.

Regards
Scott


On 28/04/2009, at 7:42 AM, Muhammad Aamir wrote:

Hi,

By seeing the existing code I understood that IN attributes of a service are
available in parameters variable. However, I am unable to access it in the
following line:

<condition-expr field-name="firstName" operator="like"
value="${parameters.firstName}" ignore-case="true"/>

I tried the above by putting a constant in value attribute and it works.

Thanks
Muhammad Aamir


smime.p7s (3K) Download Attachment