public void visualizeOrientationEvent(ClientOrientationEvent e) {
Element rotateMe = Document.get().getElementById("rotateMe-" + e.getClientId());
if (rotateMe == null) {
// must be a new client! We will clone the template for this new client.
Element template = Document.get().getElementById("rotateMeTemplate");
rotateMe = (Element) template.cloneNode(true);
rotateMe.setId("rotateMe-" + e.getClientId());
rotateMe.getFirstChildElement().setInnerText(e.getClientId());
template.getParentElement().appendChild(rotateMe);
}