silverstripe/sapphire — pull request #488 by mateusz (2012-05-23 21:20:30+00:00)
Title: Allow dynamic PJAX type change when building a HTTPResponse

Previous approach as done in https://github.com/silverstripe/sapphire/pull/464/ is not very clean. I don't entirely like this (more discussion in https://github.com/silverstripe/sapphire/pull/472), so here is I think a better approach, that allows dynamic modification of the response at the end of the control flow.

It also removes the problem of changing the FormAction API, puts PJAX related stuff into PJAX related class, and removes the css class dependency.