I validate the modelin my case then pass it on to the RO.
I think this is typical of anyone using Cairngorm.
 
Jimmy Gianninas
Software Developer - Optimal Payments Inc.
 


From: Matt Chotin [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 13, 2005 6:28 PM
To: [email protected]
Subject: [flexcoders]do you validate WS/RO requests?

Quick survey, do you ever use the Validators on RemoteObject, WebService, or
HTTPService requests?

E.g.,

<mx:RemoteObject ...>
  <mx:method name="someMethod">
    <mx:arguments>
      <arg1>...</arg1>
      <arg2>...</arg2>
    </>
  </>
</>

<mx:StringValidator field="myRO.someMethod.arg1" ... />
<mx:StringValidator field="myRO.someMethod.arg2" ... />

I tend to think that peoplehave a Model that gets validated, and then only
if it's validated will it be passed on to the service.  But I'm checking my
hunches and want to know if anyone uses the above technique.

Matt

Reply via email to