Expand my Community achievements bar.

Output Parameters

Avatar

Level 1
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
1 Reply

Avatar

Level 1
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