Jun 14, 2012 at 6:19 AM
Edited Jun 14, 2012 at 6:38 AM
I'm trying to change how a specific widget is rendered, target by its technical name.
Using the shape tracer I can either override the whole widget by name (as wanted) or the specific part but not by widget name.
When I override the whole widget, I only get @Display(Model.Content) inside my alternate.
Problem is that I need to restyle a custom part of mine that is part of the widget, but I dont know how or if I can do it by accessing the data contained in the 'Model.Content'.
edit: Found a way to access the actual 'view model' data => In my part driver's Display method I now store the view model inside the Part too so that I can access the viewmodel from within my alternate. Is there another way to access
the Model (in my case it is Model.Model) from an alternate?