class documentation
class RenderableFormParam: (source)
Implements interfaces: klein.interfaces.IDependencyInjector
, klein.interfaces.IRequiredParameter
A RenderableFormParam
implements IRequiredParameter
and IDependencyInjector
to provide a RenderableForm
to your route.
Method | finalize |
Nothing to do upon finalization. |
Method | inject |
Create the renderable form from the request. |
Method | register |
Register the given injector at method-decoration time, informing it of its Python parameter name. |
Instance Variable | _action |
Undocumented |
Instance Variable | _encoding |
Undocumented |
Instance Variable | _enctype |
Undocumented |
Instance Variable | _form |
Undocumented |
Instance Variable | _method |
Undocumented |
Register the given injector at method-decoration time, informing it of its Python parameter name.
Parameters | |
injectionComponentized | Undocumented |
parameterstr | Undocumented |
requestIRequestLifecycle | Undocumented |
lifecycle | An IRequestLifecycle provider which contains hooks that will be run before and after each request. If this injector has shared per-request dependencies that need to be executed before or after the request is processed, this method should attach them to those lists. These hooks are supplied here rather than relying on injectValue to run the requisite logic each time so that DependencyInjectors may cooperate on logic that needs to be duplicated, such as provisioning a session. |
Returns | |
RenderableFormParam | Undocumented |
Note | |
this happens at route definition time, after all other injectors have been registered by IRequiredParameter.registerInjector . |