def setValues(self,lst):
        """ Set the values of this field as values-list.
            Replaces all previous filed values! If you need to just add a value - use addValue method."""
        while self.getTag('value'): self.delChild('value')
        for val in lst: self.addValue(val)
 Set the values of this field as values-list.
            Replaces all previous filed values! If you need to just add a value - use addValue method.
chrome-cordova/gcmServer/xmpp/protocol.py