Hi Patrick,

com.vaadin.data.util.HierarchicalContainer is the default (empty) container 
which is created by the TreeTable component when no other container is provided 
in constructor. It is then replaced when calling setContainerDataSource() with 
new container. So I suspect something wrong/missing with setting such container.

Other thing to note is that if provided container doesn't implement 
Container.Hierarchical, TreeTable tries to wrap it with a 
ContainerHierarchicalWrapper (though it's probably irrelevant here anyway).

Anyway, I am also wondering: wouldn't it make more sense to inject your 
container directly in your action rather than fetching it from the view+vaadin 
component and having to cast it?

Cheers,

Mika

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=15f57892-4d28-4606-a9c2-8d25740aa278


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to