the normal model for groovy is to marshal data for either a widget or FTL. to return to controller the groovy would need to be called by the controller, so the Groovy would need to have a service interface. I am not sure a groovy can be called as service. your groovy can call the controller thru and URI though. Look at ServiceUtil.returnError() and ServiceUtil.returnSucess()
Rees Watkins sent the following on 6/4/2009 7:44 AM: > Hi > > > I would like to return an error from a groovy script so that the > controller.xml error responce view is displayed. Is this possible? > > Thank you > Rees > > > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator.
