Re: blank screen while calling java event

Posted by Bob Morley on
URL: http://ofbiz.116.s1.nabble.com/blank-screen-while-calling-java-event-tp162983p162994.html

Should we we create a jira to render the std error page in these  
situations?  Perhaps "response name x for controller request y is  
undefined"?

Bob

On 2009-09-02, at 4:57 PM, Scott Gray <[hidden email]>  
wrote:

> Check the logs, if the event is throwing an exception or returning a  
> string other than "success" then the success view won't be rendered.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 3/09/2009, at 8:39 AM, su2 wrote:
>
>>
>> Hello All,
>>
>> I have a request-map where I am calling a java event.
>>
>> ------------------------------------------------------------------
>> <request-map uri="CheckAccess">
>>        <security auth="true"/>
>>        <event type="java" path="org.ofbiz.test.test.testEvents"
>> invoke="checkAccess"/>
>>        <response name="success" type="view" value="CheckAccess"/>
>>    </request-map>
>> ------------------------------------------------------------------
>>
>> When I try to access the screen it goes to correct uri but screen  
>> is blank.
>> And when I remove <event>. It shows the screen(of course not with the
>> process which is in java event).
>>
>> I have jar file class-path in ofbiz-component.xml file.
>>
>> I would really appreciate the help.
>>
>> Thanks in advance.
>> --
>> View this message in context: http://www.nabble.com/blank-screen-while-calling-java-event-tp25265335p25265335.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>