Re: Response status problem

2011-07-27 Thread Rajmander Matharu
Stop non Sense Ofbiz On 7/27/11, Ajay Lashkari wrote: > Hi All, > > I want to set the Response status 400 in the groovy and result should be > displayed on the ftl. On screen i am using conditional check. For this i > have written fail-widgets code in the screen. when i am using > response.setStat

Re: Response status problem

2011-07-27 Thread Scott Gray
If you're trying to do this from within the screen widget then it is too late at that point because the response has moved past that point. You'll need to do it from a request event. Regards Scott HotWax Media http://www.hotwaxmedia.com On 27/07/2011, at 7:53 PM, Ajay Lashkari wrote: > Hi Al

Response status problem

2011-07-27 Thread Ajay Lashkari
Hi All, I want to set the Response status 400 in the groovy and result should be displayed on the ftl. On screen i am using conditional check. For this i have written fail-widgets code in the screen. when i am using response.setStatus(response.SC_BAD_REQUEST); in the groovy it is showing "null" va