Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.
This repository was archived by the owner on May 29, 2024. It is now read-only.

Dynamically load form(configs) from file independent of context #83

@ThomasJunk

Description

@ThomasJunk

In form.py is a basic mechanism implemented to load formconfigs dynamically
https://github.com/ringo-framework/ringo/blob/master/ringo/lib/form.py#L100

The parameterlist name, filename, formname suggests, that there is the possibility to provide an application name as parameter in case you have overriden forms.

Say you are in APP1 and want a form of APP2 you could pass the name of APP2 as a context parameter.

Unfortunatly the implementation only provides loading of forms in APP1 or special ringo_ prefixed forms.

A solution to that would be to extend the usage of the name parameter to a real context-name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions