|
DEFUITag Name: Definition User Interface (DEFUI)Tag: <DEFUI>Arguments: entries, types This tag encapsulates the HTML for any properties that must be set when the Server.CreateObject call is made for the email object. Some email objects require additional parameters to be set when the email object is declared. This tag allows you to define the user interface for the additional parameters. Leave blank if no UI is necessary. You can build a user interface with as many form elements as you like but there are some necessary naming conventions that must be followed. Helpful functions, an explanation of naming conventions, and all other necessary information for the Definition user interface can be found in the Creating a Definition User Interface section of this documentation. There are two arguments available in this tag:
Sample 1:Tag argument examplesCDO Mail does not require any extra input for defining the email object: <WA_UniversalEmail name="CDO Mail"...> <DEFUI entries="0" types=""></DEFUI> However, SoftArtisans' SMTP Mail does. <WA_UniversalEmail name="SoftArtisans SMTP Mail"> <DEFUI entries="4" types="t,af,t,t"> ... </DEFUI> Sample 2:SMTPmail interface (also refer to the email object XML file)<WA_UniversalEmail name="SoftArtisans SMTP Mail"> <DEFUI entries="4" types="t,af,t,t"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="30%"> </td> <td width="50%"> </td> <td width="20%"> </td> </tr> <tr> <td align="right" valign="baseline">Remote Host:</td> <td colspan="2" valign="baseline"> <input type="text" value='<%=Request.ServerVariables("SERVER_NAME")%>' name="def1" style="width:260px"> <input type="image" src="../shared/UltraDev/images/Boltup.gif" onClick="openDynamicBinding('def1');"></td> </td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td align="right" valign="baseline">SMTP Log:</td> <td colspan="2" valign="baseline"> <input type="text" value="" name="def2" style="width:195px"> <input type="button" value="Browse..." name="d2browse" onClick="openFileBrowse('def2');"> <input type="image" src="../shared/UltraDev/images/Boltup.gif" onClick="openDynamicBinding('def2');"> </td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td valign="baseline" align="right">Server Login:</td> <td colspan=2 valign="baseline"> <input type="text" name="def3" style="width:100px"> (Only available with full version) </td> </tr> <tr> <td valign="baseline" align="right">Password:</td> <td> <input type="text" name="def4" style="width:100px"> </td> <td valign="baseline"> </td> </tr> </table> </DEFUI> ... |
|
||