I set modelClass in yaml. Override execute method to add prerender logic. And
it executes fine. And i have public method getData in my model class. As i
thought i can execute it in my freemarker template by ${model.data}, but i see
no execution in debug.
I render just model by ${model} to see what is wrong with my model and i found
that class is
[code]info.magnolia.rendering.model.RenderingModelImpl[/code]
not my implementation
Signature of my method class is
[code]public Collection<Data> getData()[/code]
Any ideas?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=1fe8e5ee-21c3-4921-9e98-aa26989537d9
----------------------------------------------------------------
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]>
----------------------------------------------------------------