EventBus.getInstance().addObserver(GotResourceActorsEvent.class, new Observer<GotResourceActorsEvent>()
{
public void update(final GotResourceActorsEvent event)
{
PersonRenderer renderer = new PersonRenderer(false);
FlowPanel scrollable = new FlowPanel();
scrollable.addStyleName(StaticResourceBundle.INSTANCE.coreCss().likersContent());
widget.add(scrollable);
for (PersonModelView person : event.getResponse())
{
scrollable.add(renderer.render(person));
}
}
});
HashMap<String, Serializable> req = new HashMap<String, Serializable>();