ServiceUtil.returnError(listOfMessages) is a good solution.
On Fri, Jul 9, 2010 at 10:28 PM, Adrian Crum <
[hidden email]> wrote:
> There are two lists that can be returned from a service - a regular
> (non-error) message list and an error message list. Take a look at some the
> existing services for examples.
>
> -Adrian
>
>
> On 7/9/2010 9:54 AM, varun bhansaly wrote:
>
>> Thanks Adrian, is there any existing precedent as to how to send back
>> multiple messages from a service ?
>>
>> On Fri, Jul 9, 2010 at 10:18 PM, Adrian Crum<
[hidden email]> wrote:
>>
>> The default behavior is that each message is on a separate line - each
>>> message is inside a<p> element.
>>>
>>> -Adrian
>>>
>>>
>>> On 7/9/2010 9:41 AM, varun bhansaly wrote:
>>>
>>> Hi,
>>>> I am working on a service which might have to send back multiple error
>>>> messages.
>>>> Whats the best to achieve the same so that each error message is
>>>> displayed
>>>> on a separate line ?
>>>>
>>>>
>>>>
>>>>
>>
>>
--
Regards,
Varun Bhansaly