Class f.i.IBinding(Interface):

Part of formless.iformless View Source View In Hierarchy

A Binding corresponds (very) roughly to a <form> tag in HTML. A Binding is an object which associates a string name with a Typed instance. At the most basic level, Binding instances represent named python properties and methods.
Line # Kind Name Docs
50 Method getArgs Return a copy of this bindings Typed instances; if this binding is a
62 Method getViewName Todo: remove?
66 Method configure Configure the object "boundTo" in the manner appropriate
72 Method coerce TODO This is dumb. remove it and leave it on ITyped
78 Attribute default The default value for this binding.
def getArgs(): (source)

Return a copy of this bindings Typed instances; if this binding is a Property binding, it will be a list of one Typed istance; if this binding is a MethodBinding, it will be a list of all the Typed instances describing the method's arguments.

These copies are used during the duration of a form post (initial rendering, form posting, error handling and error correction) to store the user-entered values temporarily in the case of an error in one or more input values.
def getViewName(): (source)
Todo: remove?
def configure(boundTo, results): (source)
Configure the object "boundTo" in the manner appropriate to this Binding; if this binding represents a property, set the property; if this binding represents a method, call the method.
def coerce(val, configurable): (source)

TODO This is dumb. remove it and leave it on ITyped

Make the code that calls coerce call it on the typed directly
default =
The default value for this binding.
API Documentation for Nevow, generated by pydoctor.