This makes the most sense so far (to me, anyway).
Rand Thacker Sr. Open Systems Application Developer (630) 924-6700x4439 Comark, Inc. "I am the most humble person in the world!" -----Original Message----- From: Erki Esken [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 3:39 PM To: [EMAIL PROTECTED] Subject: Re: Fusedoc XFAs Matthew, I'd write your example as: <io> <in> <structure name="xfa"> <string name="selectUser" comments="Use this eXitFuseAction for when a user is selected"/> <string name="selectGroup" comments="Use this eXitFuseAction for when a group is selected"/> <string name="deleteuser" comments="Use this eXitFuseAction for when a user is selected for deletion"/> <string name="save" comments="Use this eXitFuseAction for when a users information is saved"/> </structure> <recordset name="users"> <number name="userid"/> <number name="groupid"/> <string name="username"/> <string name="email"/> <string name="name"/> </recordset> </in> <out> <string name="fuseaction" scope="FormOrUrl" comments="Use the appropriate eXit FuseAction"/> <number name="userid" scope="FormOrUrl" optional="true" oncondition="XFA.selectUser OR XFA.save"/> <number name="groupID" scope="FormOrUrl" optional="true" oncondition="XFA.selectGroup OR XFA.save"/> <string name="username" scope="FormOrUrl" optional="true" oncondition="XFA.selectUser OR XFA.save"/> <string name="email" scope="FormOrUrl" optional="true" oncondition="XFA.save"/> <string name="name" scope="FormOrUrl" optional="true" oncondition="XFA.save"/> </out> </io> So instead of describing in comments what XFA to use, use the oncondition attribute. PS: You don't need to specify optional="false" and format="CFML" explicitly, because they're this by default anyway according to the DTD. .erki ==^================================================================ 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 ==^================================================================
