Beautiful. Thanks!

- rdo

Matt Chotin wrote:

There is a call object created for send() and send(params).



var call = hs.send();

call.marker = 'foo';



elsewhere: if (event.call.marker == 'foo') do something.



Matt



-----Original Message-----
*From:* Ryan Olson [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, June 02, 2004 2:49 PM
*To:* [email protected]
*Subject:* [flexcoders] Using Responder pattern with HTTPService



Hi flexcoders,

I was looking over the very interesting sample chapter of the upcoming
Flex book available at

http://www.theserverside.com/articles/content/Flex/Flex_Chapter20.pdf

and was wondering if anyone has tackled using the Responder pattern
described there with the HTTPService class instead of RemoteObject. The
problem I'm having is that with HTTPService there's no event.call object
created when invoking send() to which I can attach a reference to a
result event handler. So if I'm creating business delegate objects using
references to the calling command (Responder), I have to add result and
fault event listeners to the HTTPService for each business delegate,
which causes all delegates to receive those events each time the
HTTPService is invoked (instead of just the delegate that actually
submitted the request). I suppose I could serialize requests and keep
the appropriate responder as a static property of the delegate, but that
seems like a restrictive solution. Any ideas? Thanks

- rdo




*Yahoo! Groups Sponsor*
ADVERTISEMENT
<http://rd.yahoo.com/SIG=129qgs6cs/M=298184.5022502.6152625.3001176/D=groups/S=1705007207:HM/EXP=1086299892/A=2164330/R=0/SIG=11eamf8g4/*http://www.netflix.com/Default?mqso=60183350>




------------------------------------------------------------------------
*Yahoo! Groups Links*

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/>.







Reply via email to