![]() |
|
|
|
|
Change By:
|
Roman Kovařík
(26/Jun/13 2:10 PM)
|
|
Description:
|
We need some logic to be done before/after call of renderer for {{direct area rendering implementation}}. Although we have tried several places where it can be done, we agreed on usage of
so called
{{listeners}}
, see [DAR review II|https://www
.
evernote.com/shard/s260/sh/9bc8f54e-3909-47f0-8b37-b302be5a2901/a503a09d16ce4027962cb494025107d1].
Such set of
listener
listeners
is called before/after every call of render and we can reuse listeners in the future for different purposes (for example push/pop actions can be called in appropriate listeners).
- Register such listener in rendering engine config ({{RenderingContext}}). - New instance of such listener per request. - Registering of multiple listeners is possible. - Listener is registered and instantiated by rendering engine and passed into rend. context.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------