View Single Post
  #2 (permalink)  
Old 02-23-2006, 07:05 AM
marcmac marcmac is offline
Zimbra Employee
 
Posts: 2,103
Default

Did you read the spec?

If you've got something in your .xml file like this
Code:
    <userProperties>
        <property type="string" name="user" minLength="0" maxLength="32" label="Username" />
        <property type="password" name="pass" minLength="0" maxLength="32" label="Password" />
    </userProperties>
In your .js file, you can set them with this:
Code:
this.createPropertyEditor();
and refer to them:
Code:
this.getUserProperty("user");
this.getUserProperty("pass");
Reply With Quote