Port GetHelpItemsAction

Registered by Henrik Wingerei

Port the GetHelpItemsAction from the dhis-web-commons project to a Spring MVC Controller.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Henrik Wingerei
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Henrik Wingerei
Completed by
Henrik Wingerei

Sprints

Whiteboard

Defined one HelpController that renders the help view, and exposes the correct javascripts.
Created a StreamControllerSupport abstract class that prepares the response. This includes setting content type and cache control on the response object. GetHelpItemsController extends from this class and calls the prepareResponse method, before writing the help content to the output stream.

The view renders correctly but gets the following error when executing the command:

java.lang.IllegalStateException: STREAM
 at org.mortbay.jetty.Response.getWriter(Response.java:616)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.