Modify

Ticket #698 (closed task: fixed)

Opened 6 years ago

Last modified 6 years ago

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:2 Changed 6 years ago by ejhernandez@…

(In [7807]) First version Composite class (work in progress) refs #698

comment:3 Changed 6 years ago by ejhernandez@…

(In [7809]) Added components, layout and Viewer methods to the Composite refs #698

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

comment:5 Changed 6 years ago by ejhernandez@…

(In [7818]) Added name and printableName methods common with EBox::Model::Composite. Enhanced some doc. refs #698

comment:6 Changed 6 years ago by ejhernandez@…

(In [7819]) Added printableName and actions so composite can accept actions: currently view and changeView refs #698

comment:7 Changed 6 years ago by ejhernandez@…

(In [7821]) Added subcomposite in order to test composite of composites refs #698

comment:8 Changed 6 years ago by ejhernandez@…

(In [7822]) Module which is used to test refs #698

comment:9 Changed 6 years ago by ejhernandez@…

  • hours changed from 0 to 7.5
  • Status changed from assigned to closed
  • Resolution set to fixed
  • totalhours changed from 0.0 to 7.5
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.