private transient Profile profile;
public AddFriend(String id, final ModalWindow window, final FriendAction friendActionModel, final String userX, final String userY){
super(id);
sakaiProxy = ProfileApplication.get().getSakaiProxy();
profile = ProfileApplication.get().getProfile();
<BUG>final String friendName = sakaiProxy.getUserDisplayName(userY);
window.setTitle(new StringResourceModel("title.friend.add", null, new Object[]{ friendName } ));</BUG>
window.setInitialHeight(150);
window.setInitialWidth(500);
window.setResizable(false);

private transient Profile profile;
public AddFriend(String id, final ModalWindow window, final FriendAction friendActionModel, final String userX, final String userY){
super(id);
sakaiProxy = ProfileApplication.get().getSakaiProxy();
profile = ProfileApplication.get().getProfile();
final String friendName = FormattedText.processFormattedText(sakaiProxy.getUserDisplayName(userY), new StringBuilder());
window.setTitle(new StringResourceModel("title.friend.add", null, new Object[]{ friendName } ));
window.setInitialHeight(150);
window.setInitialWidth(500);
window.setResizable(false);
