dhanji/sitebricks — pull request #45 by gerco (2012-11-26 05:02:46+00:00)
Title: Allow non headless pages to return Reply<?>

Non-headless pages currently cannot return Reply. Sitebricks throws NPE (WidgetRoutingDispatcher:115) because it mistakes the Reply object for a Page to be used for Page Chaining.

This simple change fixes that issue. I also added a few tests. This doesn't seem to have broken anything, but I'd still appreciate if you'd give it a good look before merging. I'm too unfamiliar with the internals of SiteBricks to be totally comfortable with this change.