Found the soln to the problem....method to be used is ServiceUtil.returnMessage('MEESAGE_TO_BE_SENT_TO_CONTROLLER', null);
Thanks Sascha for the idea.. On Fri, May 28, 2010 at 4:25 PM, varun bhansaly <vbhans...@gmail.com> wrote: > Thanks Sascha, could u plz help further by pasting some example code. > > On Fri, May 28, 2010 at 2:19 PM, Sascha Rodekamp > <sascha.rodekamp.lynx...@googlemail.com> wrote: >> Hi Varun, >> >> jep thats possible. The controller can work with different response >> messages, just return something different from success or error and make a >> mapping in your request-map. >> >> Cheers >> Sascha >> >> >> 2010/5/28 varun bhansaly <vbhans...@gmail.com> >> >>> Hi, >>> I have developed a custom service which would send different values >>> for an OUT param. >>> Depending on the value of the OUT param, the controller should >>> redirect to the appropriate view. >>> >>> Please let me know if such conditional redirect is possible & has any >>> precedence in existing components. >>> >>> -- >>> Regards, >>> Varun Bhansaly >>> >> >> >> >> -- >> http://www.lynx.de >> > > > > -- > Regards, > Varun Bhansaly > -- Regards, Varun Bhansaly