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

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

Open
ThomasJunk opened this issue Aug 8, 2017 · 0 comments
Open

Comments

@ThomasJunk
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant