/**
* Add the available tags to the current view. Expects a logged in user.
*/
private void initView()
{
AccountController accountController = PluginContext.instance().getAccountController();
StringBuffer tags = new StringBuffer();
boolean notFirstTag = false;
UserAccount account;
try
{
account = UserSession.getCurrentAccount();
if( account == null)
{
throw new BusinessException("no active user session (no user logged in)");
}
List<TagTO> tagList = accountController.findAllTags(account.getId());
for( TagTO tag : tagList)
{
if( notFirstTag)
{