boxlang-express-mvc 0.3.0
Released .
- Flash:
event.getFlash()and aflashvariable in views, kept in the BoxExpress session. this.prehandler_only/_except, the same forposthandlerandaroundhandler, andaroundHandler( event, targetAction, eventArguments, rc, prc ).- Routes:
get(),post(),put(),patch(),delete(),group(),toView(),toRedirect(),apiResources(), andresources()with a pattern and a handler for nesting. - A POST with
_method=PUT,PATCHorDELETEin its body is routed as that method._methodno longer appears inrc. - Event:
paramValue(),getOnly(),getExcept(),populateModel(),isAjax(),getHTTPContent(). onMissingActionandonInvalidHTTPMethodon a handler.- Interceptors: an
interceptorssetting,event.announce()andmvc.announce(). - Changed:
aroundHandler,onMissingActionandonInvalidHTTPMethodare reserved names and can't be actions. examples/todouses flash for its messages andthis.prehandler_only;examples/starterusesget()andtoView().