{
public void onClick(final ClickEvent event)
{
buttonsPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().waitActive());
PendingGroupsModel.getInstance().update(new ReviewPendingGroupRequest(group.getShortName(), true));
}
});
denyButton.addClickHandler(new ClickHandler()
{
public void onClick(final ClickEvent event)
{
if (new WidgetJSNIFacadeImpl().confirm("Are you sure you want to deny creation of this group?"))
{
buttonsPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().waitActive());
PendingGroupsModel.getInstance()
.update(new ReviewPendingGroupRequest(group.getShortName(), false));
}
}
});
final EventBus eventBus = Session.getInstance().getEventBus();