public void onClick(final ClickEvent event)
{
StreamScope scope = postToPanel.getPostScope();
if (scope == null)
{
ErrorPostingMessageToNullScopeEvent error = new ErrorPostingMessageToNullScopeEvent();
error.setErrorMsg("The stream name you entered could not be found");
Session.getInstance().getEventBus().notifyObservers(error);
return;
}
EntityType recipientType = DomainConversionUtility.convertToEntityType(scope.getScopeType());