You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Rees Watkins <ga...@yahoo.co.uk> on 2009/06/04 16:44:20 UTC
How do I return an error from groovy
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
Re: How do I return an error from groovy
Posted by Scott Gray <sc...@hotwaxmedia.com>.
Hi Rees
return "error";
should work.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 5/06/2009, at 2:44 AM, Rees Watkins wrote:
> 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
>
>
>