Ticket #698 (closed task: fixed)
Model composite
| Reported by: | ejhernandez@… | Owned by: | ejhernandez@… |
|---|---|---|---|
| Milestone: | 0.10 | Component: | base |
| Severity: | major | Keywords: | composite layout |
| Cc: |
Description
Currently, eBox data model in the MVC framework can work only alone.
This ticket is intended to generate a model composite which contains as many models as you may require. It is also required to have a layout. The default layout will be the following:
- Top-bottom -> model viewers will be called sequentially from top to bottom
- Tab -> model viewers will be called at runtime the tab will be selected
For instance, if you want two tables with a form to be shown at the same page, the model composite can be created to achieve so. The model will comprise two models EBox::Model::DataTable and a model EBox::Model::DataForm.
When we finish this, the developing of eBox will be done as easy as my work will be spoiled out.
Attachments
Change History
comment:1 Changed 6 years ago by ejhernandez@…
- Status changed from new to assigned
- estimatedhours changed from 0 to 20
comment:4 Changed 6 years ago by ejhernandez@…
(In [7814]) * Added Composite model whose content is models and other composites
- A Composite manager is used to instantiate Composite models using CompositeProvider? interface
- Added Composite simple test
- Some doc bugs
refs #698