guiltar
Well-known member
Hello Kier and Mike!
I've started to code the Widget System based on user and page criteria (like notices).
I was going to realize it as ResponseView Wrapper which adds widget params to container.
But when one uses Wrapper method preRenderView in Front Controller takes parameters of Wrapper instead of inner Response params.
For example, 'viewName' param is taken from Wrapper.
I doubt that it's designed since even in the core many responces have same Wrapper.
For instance, account wrapper is widely used.
I've started to code the Widget System based on user and page criteria (like notices).
I was going to realize it as ResponseView Wrapper which adds widget params to container.
But when one uses Wrapper method preRenderView in Front Controller takes parameters of Wrapper instead of inner Response params.
For example, 'viewName' param is taken from Wrapper.
I doubt that it's designed since even in the core many responces have same Wrapper.
For instance, account wrapper is widely used.