userView = new ListView("users", tweets) {
@Override
public void populateItem(final ListItem item) {
final MyTweet tweet = (MyTweet) item.getModelObject();
String twitterUrl = Helper.TURL + "/" + tweet.getUserName();
ExternalLink userNameLink = new ExternalLink("userNameLink", twitterUrl, tweet.getUserName());
item.add(userNameLink);
item.add(new Label("tweetText", tweet.getText()));
item.add(new Label("createdAt", Helper.toLocalDateTime(tweet.getCreatedAt())));
}
};
add(userView);
}