Hello,

I was looking into the possibility to override some default behaviour which is 
built into the WorkbenchPresenter (specifically, defaulting to ListView when 
the search field is empty), and tried to create a CustomWorkbenchPresenter, but 
apparently I cannot specify the new class in my app yaml definition, as guice 
will not be able to inject the necessary dependencies:

[code]
nfo.magnolia.objectfactory.MgnlInstantiationException: Unable to resolve 
parameters for constructor public 
info.magnolia.ui.workbench.WorkbenchPresenter(info.magnolia.ui.workbench.WorkbenchView,info.magnolia.objectfactory.ComponentProvider,info.magnolia.ui.workbench.WorkbenchStatusBarPresenter,info.magnolia.ui.vaadin.integration.contentconnector.ContentConnector).
 Unresolved parameter(s) are: 1st parameter which is of type 
info.magnolia.ui.workbench.WorkbenchView, 3rd parameter which is of type 
info.magnolia.ui.workbench.WorkbenchStatusBarPresenter, 4th parameter which is 
of type 
info.magnolia.ui.vaadin.integration.contentconnector.ContentConnector[/code]


Therefore, my question is whether is possible at all to create a custom 
WorkbenchPresenter, and if so, how and where this should be configured. 

Regards,
Federico

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=0d4ac598-af67-4454-b3e8-fcabbe13fcf1


----------------------------------------------------------------
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: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to