Modify

Ticket #718 (closed task: fixed)

Opened 6 years ago

Last modified 6 years ago

Develop an ActionForm

Reported by: ejhernandez@… Owned by: ejhernandez@…
Milestone: 0.12 Component: base
Severity: major Keywords: MVC form
Cc:

Description (last modified by ejhernandez@…) (diff)

Currently, model form works basically as a model table with a single row. However, there are cases when some actions should be performed without storing things at GConf or whatever. We name them ActionForm, its behaviour is specialized to perform an action.

Some examples are restoreFromBackup, halt, ...

Attachments

Change History

comment:1 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)

comment:2 Changed 6 years ago by ejhernandez@…

  • Milestone changed from 0.10.1 to 0.12

Re-schedule

comment:3 Changed 6 years ago by ejhernandez@…

  • hours changed from 0 to 2.0
  • Status changed from new to closed
  • Resolution set to fixed
  • totalhours changed from 0.0 to 2.0

(In [8657]) * Added Action form to perform an action without modifying persistent data

  • ForcePurge? model now inherits from an ActionForm?
  • Fixed bug in setRow to call always setTypedRow
  • Added printableActionName property to forms in order to change the showed button when a form is submitted. Default value is 'Change'.

closes #718 (spent 2)

comment:4 Changed 6 years ago by ejhernandez@…

(In [8658]) Now button on forms shows what printableActionName determines refs #718

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.