else if(StringUtils.isEmpty(lform.getUrl())){
msgs.add("url", new ActionMessage("error.link_url_empty"));
}
else{
LinkBean lbean = new LinkBean();
lbean.setCreateTime(new Date());
lbean.setSiteId(lform.getSid());
lbean.setTitle(lform.getTitle());
lbean.setUrl(lform.getUrl());
lbean.setType(lform.getType());
lbean.setStatus(lform.getStatus());