17 Commits

Author SHA1 Message Date
Samuel Georges
fa250927d0 New events for components: runAjaxHandler + beforeRunAjaxHandler 2015-01-03 12:51:09 +11:00
Samuel Georges
3170dd61ea Add new methods propertyName() and paramName() to Component base class for accessing names of external properties. 2014-12-16 15:41:50 +11:00
Sam Georges
03e9f48333 Deprecate propertyOrParam 2014-10-31 20:01:17 +11:00
alekseybobkov
9a05a408c9 Added support for components in partials 2014-10-29 22:12:42 -07:00
Stefan Talen
202e8869b1 Updating modules/cms/classes 2014-10-11 01:22:03 +02:00
Sam Georges
37291a0c63 Throw ApplicationException when AJAX handler not found 2014-08-13 07:52:47 +10:00
alekseybobkov
2018215c44 Implemented the view bag. Minor UX fix. 2014-08-06 22:42:09 +11:00
Sam Georges
fdac3416e1 Added new layout and page method onInit() called after components are initialized and before AJAX requests are processed. 2014-07-07 17:39:22 +10:00
alekseybobkov
5488429fe4 Fixed the unknown component caching problem. Added the unknown component handling to the back-end. AJAX request can now be stopped with preventing default action in the oc.beforeRequest event. Fixes #46. 2014-06-26 17:09:25 +11:00
Sam Georges
eccf96222d Components now support a shared /components/partials directory used as a fallback when a partial is not found. 2014-06-24 16:08:02 +10:00
Sam Georges
0f082bd160 Comment out code until determined if it is needed 2014-05-27 13:14:02 +10:00
Sam Georges
9b542efe6f Add complex page link handling to ComponentBase 2014-05-25 00:57:10 +10:00
Sam Georges
a89eda62cf Add notes 2014-05-24 22:03:20 +10:00
Sam Georges
e2fa45e264 Adds new override for components, onInit() 2014-05-24 21:59:30 +10:00
Sam Georges
4951393986 Fixes bug in propertyOrParam() 2014-05-24 21:26:48 +10:00
Sam Georges
6788a32e8c Components have a new override method onRender() called before a component is rendered.
The `{% component %} tag now supports passing parameters that override the component properties when they are rendered.
Calling `addJs()` and `addCss()` in components without a starting slash (/) will now reference the component directory, instead of the theme.
2014-05-22 20:27:44 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00