Test 01: No id attribute XHTML: Hello world. no Java code Result: Hello world. Test 02: id attribute with empty model XHTML: Hello world. no Java code Result: Hello world. Test 03: model changing the text XHTML: Hello world. // Populate attributes of Test 03. text = new TextModel (); text.getAttributes ().appendAttribute ("style", "background: blue;"); text.getAttributes ().appendAttribute ("style", "foreground: red;"); text.getAttributes ().setAttribute ("class", "totoClass"); text.setText ("mummy"); datas.put ("test03", text); Result: Hello world. Test 04: model changing title XHTML: Hello world. // Populate attributes of Test 04. text = new TextModel (); text.getAttributes ().setAttribute ("title", "another title"); datas.put ("test04", text); Result: Hello world. Test 05: model adding style attributes XHTML: Hello world. // Populate attributes of Test 05. text = new TextModel (); text.getAttributes ().appendAttribute ("style", "background: blue;"); text.getAttributes ().appendAttribute ("style", "foreground: red;"); text.getAttributes ().setAttribute ("class", "aClass"); datas.put ("test05", text); Result: Hello world. Test 06: model appending style attributes XHTML: Hello world. // Populate attributes of Test 06. text = new TextModel (); text.getAttributes ().appendAttribute ("style", "foreground: red;"); text.getAttributes ().setAttribute ("class", "aClass"); datas.put ("test06", text); Result: Hello world. Test 07: image XHTML: A picture pinguoin flottant. // Populate attributes of Test 07. text = new TextModel (); text.getAttributes ().setAttribute ("width", "50%"); datas.put ("test07", text); Result: A picture pinguoin flottant.