Ticket #347 (closed Enhancement: fixed)
Update the association form immediately when choosing from the association type menu
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.1 |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.12 |
Keywords: | Cc: | dgf, Malte, joern, tsc | |
Complexity: | 5 | Area: | GUI / Usability |
Module: | deepamehta-webclient |
Description
This is of interest in particular for associations which have a custom definition.
Currently the user must press OK first, an then Edit again to see the custom form.
Thanks, tsc, for reporting.
Change History
comment:2 Changed 12 years ago by Jörg Richter
Webclient: update form on assoc retype (#347).
When the user changes an association's type the form is updated immediately.
The assoc type's specific fields are displayed on the spot.
The user must no longer leave and re-enter the edit form to edit the retyped association.
For developers:
Webclient API changes:
- dm4c.do_update_association() takes an optional 2nd boolean argument: "stay_in_edit_mode"
RenderHelper? API changes:
- dm4c.render.topic_menu() takes an optional 3rd argument: a menu handler (callback function)
BREAKING CHANGES
Webclient API changes (3rd-party plugins are usually not affected):
- dm4c.enter_edit_mode() replaces dm4c.begin_editing()
PanelPanel? API changes (3rd-party plugins are usually not affected):
- render_page() replaces display()
- render_page_if_selected() replaces display_conditionally()
- render_form() replaces edit()
- render_form_if_selected() is new method (not a braking change actually)
See ticket 347.
Webclient: update form on assoc retype (#347).
When the user changes an association's type the form is updated immediately.
The assoc type's specific fields are displayed on the spot.
The user must no longer leave and re-enter the edit form to edit the retyped association.
For developers:
Webclient API changes:
RenderHelper? API changes:
BREAKING CHANGES
Webclient API changes (3rd-party plugins are usually not affected):
PanelPanel? API changes (3rd-party plugins are usually not affected):
See ticket 347.