My
delegates don't know about the model locator, but my commands do.
So I vote for commands.
Cheers,
Ralf.
On 10/11/06, hank williams <[EMAIL PROTECTED]com>
wrote:
> So we have Tom saying do it in the delegate and Bjorn saying do it in
> the command.
>
> Any tie breakers?
>
> Hank
>
> On 10/11/06, Tom Chiverton <tom.chiverton@halliwells.com>
wrote:
> > On Wednesday 11 October 2006 02:12, Robin Burrer
wrote:
> > > However I also want to send the userID
when I do my server request.
> > > Should the SearchDatabaseCommand
get the userID from the model or from
> >
> > I reasoned that passing any parameters not connected with what to do
was no
> > business of the Command, and had the service delegate look up the
additional
> > parameters from the model:
> > public function search(r:String,c:String,o:String,d:String,h:String):void
{
> > var call:Object =
serviceInstance.search(model.sessionToken,r,c,o,d,h);
> > call.resultHandler = responder.onResult;
> > call.faultHandler = responder.onFault;
> > }
> >
> > --
> > Tom Chiverton
> > Helping to efficiently transform magnetic systems
> >
> > ****************************************************
> >
> > This email is sent for and on behalf of Halliwells
LLP.
> >
> > Halliwells LLP is a limited liability
partnership registered in England and Wales under registered number OC307980
whose registered office address is at St James's Court Brown Street Manchester
M2 2JF. A list of members is available for inspection at the registered office.
Any reference to a partner in relation to Halliwells
LLP means a member of Halliwells LLP. Regulated by
the Law Society.
> >
> > CONFIDENTIALITY
> >
> > This email is intended only for the use of the addressee named above
and may be confidential or legally privileged. If you are not the addressee you
must not read it and must not use any information contained in nor copy it nor
inform any person other than Halliwells LLP or the
addressee of its existence or contents. If you have received this email in
error please delete it and notify Halliwells LLP IT
Department on 0870 365 8008.
> >
> > For more information about Halliwells LLP
visit www.halliwells.com.
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
--
Ralf Bokelberg <ralf.bokelberg@gmail.com>
Flex & Flash Consultant based in Cologne/Germany