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");