Highlighted

Output Parameters

Avatar

Avatar

DavidLaine

Avatar

DavidLaine

DavidLaine

09-11-2008

I'm using weborb to connect flex to my .Net data layer. I
have always passed an error string from a stored procedure for the
application to be able to use to display info to the user as an
output parameter. In flex I can get the resulting records no
problem but if no records are returned I want to check the output
parameter so I knw how to handle the error.



I haven't been able to find any docs anywhere explaining how
to do this

Replies

Highlighted

Avatar

Avatar

Achire

Avatar

Achire

Achire

12-11-2008

whatever you pass from data layer to flex will be available

Watch event.result in resulthandler



Or You can through exception from .net layer so that it will
come to flex fault handler

Mansoor Achire