BeanUtils.copyProperties(form, req.getAttribute(WebKeys.VIRTUAL_LINK_EDIT));
String linkUrl = vl.getUrl();
if (linkUrl != null) {
String[] splittedLink = linkUrl.split(":");
if (splittedLink.length > 1) {
Host host = hostAPI.findByName(splittedLink[0], user, false);
if ( host != null ) {
((VirtualLinkForm) form).setUrl( splittedLink[1] );
((VirtualLinkForm) form).setHostId( host.getIdentifier() );
} else {
Logger.error( this, "Host not found OR Unexpected URL format for Vanity URL: " + linkUrl );