Did I find the right examples for you? yes no

All Samples(16)  |  Call(16)  |  Derive(0)  |  Import(0)

src/p/r/Products.TALESField-1.1.3/Products/TALESField/_field.py   Products.TALESField(Download)
    def set(self, instance, value, **kwargs):
        if not isinstance(value, Expression.Expression):
            value = Expression.Expression(value)
        ObjectField.set(self, instance, value, **kwargs)
 
    def set(self, instance, value, **kwargs):
        value = [isinstance(expr, Expression.Expression) and expr or
                 Expression.Expression(expr) for expr in value]
        ObjectField.set(self, instance, value, **kwargs)
 

src/p/r/Products.UserField-3.0/src/Products/UserField/field.py   Products.UserField(Download)
    def set(self, instance, value, **kwargs):
        res = ObjectField.set(self, instance, value, **kwargs)
        if value is None:
            return res
 

src/p/r/Products.PloneFormGen-1.7.14/Products/PloneFormGen/content/likertField.py   Products.PloneFormGen(Download)
        if type(value) in (str, unicode):
            value = [v.strip() for v in value.split(',')]
        ObjectField.set(self, instance, value, **kwargs)
 
    security.declarePublic('getQuestionSet')

src/p/r/Products.PloneFormGen-HEAD/Products/PloneFormGen/content/likertField.py   Products.PloneFormGen(Download)
        if type(value) in (str, unicode):
            value = [v.strip() for v in value.split(',')]
        ObjectField.set(self, instance, value, **kwargs)
 
    security.declarePublic('getQuestionSet')

src/p/r/Products.ATGoogleMaps-0.7/Products/ATGoogleMaps/field.py   Products.ATGoogleMaps(Download)
            value = new_value
 
        ObjectField.set(self, instance, value, **kwargs)
 
InitializeClass(LatLngField)

src/p/r/Products.ECAutoAssessmentBox-1.4.2/Products/ECAutoAssessmentBox/content/DynamicDataField.py   Products.ECAutoAssessmentBox(Download)
 
        # fill in data
        ObjectField.set(self, instance, value, **kwargs)
 
 

src/p/r/Products.ATExtensions-1.1/Products/ATExtensions/field/record.py   Products.ATExtensions(Download)
        value = self._to_dict(value)
        value = self._decode_strings(value, instance, **kwargs)
        ObjectField.set(self, instance, value, **kwargs)
 
    def _to_dict(self, value):

src/p/r/Products.DataGridField-1.9.0/Products/DataGridField/DataGridField.py   Products.DataGridField(Download)
 
        # fill in data
        ObjectField.set(self, instance, value, **kwargs)
 
    security.declarePrivate('get')

src/u/w/uwosh.pfg.d2c-2.4.3/uwosh/pfg/d2c/extender.py   uwosh.pfg.d2c(Download)
            value = newval
 
        ObjectField.set(self, instance, value, **kwargs)
 
    class XLikertField(ExtensionField, LikertField):

src/p/r/Products.IntelliDateTime-1.3.2/src/Products/IntelliDateTime/field.py   Products.IntelliDateTime(Download)
        if not value:
            value = None
        ObjectField.set(self, instance, value, **kwargs)
 
    security.declarePrivate('validate_required')

  1 | 2  Next