New "formats" and "formatsView" argument to renderdata so it can automatically marshall and setup a request for rendering with the passed in formats

Description

New "formats" argument to renderdata so it can automatically marshall and setup a request for rendering with the passed in formats.

Instead of doing something like this:

You will now do this:

This will marshall the data for you and param the incoming format variable to a default of html. It will also render views by convention. If you don't want the convention you can use the formatsView argument to tell ColdBox what view to use for PDF and HTMl rendering.

Status

Assignee

Luis Majano

Reporter

Luis Majano

Labels

None

Components

Fix versions

Priority

Major
Configure