Feature #620
Client command API
Status: | CLOSED | Start date: | 10/28/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Sigma | |||
Resolution: | NEEDINFO: |
Description
Define an API to invoke commands on the client
Related issues
Associated revisions
WIP: Refactored Client command API. Refs #620 - Client package
- Dropped Client/Command subpackage
- Renamed Nethgui_Core_View into Client package
- Renamed Nethgui_Core_Request into Client package
- Renamed Nethgui_Core_DialogBox into Client package
- Renamed Nethgui_Core_ModuleSurrogate into Client package
- Renamed Nethgui_Core_ReadonlyView into Renderer package
- ViewInterface: added getCommandFactory() operation
- Widget/Abstract: added Command handler
- Renderer/Json: added Command marshalling
All tests green. Refs #620 - Client package
WIP: Applied Command pattern. Refs #620 - Client Package
Added new tests: All tests green.
See in Core package
- CommandInterface
- CommandReceiverInterface
- CommandReceiverAggregateInterface
- Dropped CommandFactory
- Nethgui_Renderer_HttpCommandReceiver HTTP command equivalence layer
WIP. Missing HttpCommandReceiver file.. - Refs #620
ViewInterface: added resolvePath() method. Refs #620 - Client package
Changed operations:- getUniqueId()
- getModuleUrl()
- resolvePath()
- Widget
- Client
- Renderer
- Module
Fixed activateAction command on Renderer. Refs #620 - Client package.
Updated Tests for delayed commands. Refs #620 - Client package
Widget package: Only one receiver is now allowed for a widget. Refs #620 - Client command API
Commands: fixed command receiver chains. Refs #620 - Client command API
Commands are now dispatched through a builtin target: COMMANDS
Controller: applied UNOBSTRUSIVE flag rendering to Tabs and Table controller. Refs #620 - Client command API.
Added requireFlag(), rejectFlag() commands to set the sub-view wrapping styles. Refs #620 - Client command API
Fixed Controller nesting: added default Action container. Refs #620 - Client command API
Added setTemplateDecorator command on Main module. Refs #620.
Refactored Help Module
Sending cache headers for dynamically created file resources. Refs #620 - Client command API
This affects:
- Help
- Resource
Refactored the command API: method Refs #620 - Client command API
- removed getCommandListFor()
- hasCommandListFor() was renamed hasCommandList()
New command package. Refs #620 - Client command API
History
#1 Updated by Davide Principi over 9 years ago
- Status changed from NEW to ON_DEV
- % Done changed from 0 to 80
#2 Updated by Davide Principi over 9 years ago
- Subject changed from Client package to Client command API
#3 Updated by Davide Principi over 9 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 80 to 100