Binds all nodes whose names are names of fields on the specified mapper.
Binds all nodes whose names are names of fields on the specified mapper. This makes it unnecessary to write repetitious bindings like "field1" -> field1.toForm, "field2" -> field2.toform Instead it automates such bindings but you have to pass it a function that will generate a NodeSeq from the field, e.g., (f: MappedField[_,_]) => f.toForm Usage: Pass as a Full Box to the bind overload that takes a nodeFailureXform argument.
Iterates over the fields of the specified mapper.
Iterates over the fields of the specified mapper. If the node currently being processed by bind has an attribute "fields" then it is taken as a whitespace-delimited list of fields to iterate over; otherwise all form fields are used. The specified function returns a BindParam for doing processing specific to that field. Returns a bind function (NodeSeq=>NodeSeq) that can be used to bind an xml node that should be repeated for each field. Usage: if you want to repeat xml markup for each field, the view should use the "field:" prefix for field-specific nodes. The snippet should bind the containing (repeating) node to the function returned by this method, passing this method the mapper instance whose fields should be used and a function that returns BindParams to process the "field:" prefixed nodes. This method takes an additional filter function to restrict certain fields from being displayed. There is an overload without it too.
Provides a number of methods that make complex Mapper-based view snippets easier to build.