SimpleText message = new SimpleText(new StringBuilder("Selected office: ").append(office.getName()).toString());
// Create an ajax action for setting the message and hi:
ReplaceContentAction setMessageAction = new ReplaceContentAction("message", message);
// Create an highlighting effect action for the appearing message:
Effect highlightAction = new Effect("Highlight", "message");
highlightAction.addOption("duration", 0.5);
// Create the components to render (a list of html table rows):
List rows = new LinkedList();
for(IEmployee emp : employees) {
TableRow row = new TableRow(emp, new String[]{"firstname", "surname", "matriculationCode"}, null);