Ah, but how do you know that selecting a user means that
the username should be passed out? What if I threw you 
this curveball?

<in>
  <recordset name="users">
    <number name="userid"/>
    <string name="username"/>
    <string name="email"/>
    <string name="name"/>
  </recordset>
</in>

Now, when a user is selected, do you pass the userid, 
username, or email, or a combination thereof? And of course
it gets more complicated with more exits and variables. For
example, what if there's a form used to edit user information
and a button to delete that user, do you pass all the user's
info with the delete button? If not, what do you pass?

Patrick

> -----Original Message-----
> From: Matthew W Jones [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 2:48 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Fusedoc XFAs
> 
> 
> For this situation, I do this
> 
> <IO>
>   <in>
>     <structure name="xfa" Scope="variables" Optional="False" 
> format="CFML">
>       <String name="selectUser" Optional="False" 
> format="CFML" comments="Use
> this eXitFuseAction for when a user is selected"/>
>       <String name="selectGroup" Optional="False" format="CFML"
> comments="Use this eXitFuseAction for when a group is selected"/>
>     </structure>
>   </in>
>   
>   <out>
>     <String name="fuseaction" Scope="FormOrUrl" Optional="False"
> format="CFML" comments="Use the appropriate eXit FuseAction"/>
>     <String name="username" Scope="FormOrUrl" Optional="True" 
> format="CFML"
> comments="Pass when a user is selected."/>
>     <String name="groupID" Scope="FormOrUrl" Optional="True" 
> format="CFML"
> comments="Pass when a group is selected."/>    
>   </out>
> </IO>
> 
> 
> -----Original Message-----
> From: The Elegant [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Fusedoc XFAs
> 
> 
> This doesn't conform to the DTD, but here's what I do:
> 
> <out xfa="selectUser">
>   <string name="username">
> </out>
> <out xfa="selectGroup">
>   <string name="groupID">
> </out>
> 
> That way I know that "selectUser" exit should pass out
> a username and the "selectGroup" exit should pass out a
> groupID, etc. 
> 
> Patrick
> 
> > -----Original Message-----
> > From: Michael Slatoff [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 10, 2002 1:29 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Fusedoc XFAs
> > 
> > 
> > Maybe I shoulda asked it this way... How are people 
> > fusedocing their XFAs?
> > 
> > : Yes, all the time....you can't not document XFAs.
> > 
> > 
> 
> 

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to