I'm not sure what you are doing but i wanted to add help text for all the input fields in a beadeditform. Here is how I did it with a mixin.
@AfterRender void afterRender(MarkupWriter writer) { Element element = writer.getElement(); element.visit(addHelp(element)); } private Visitor addHelp(Element element) { return new Visitor() { public void visit(Element element) { if ( element.getName().equals("input")) { String name = element.getAttribute("name"); if ( name != null && messages.contains(name + "-help")) { String help = messages.get(name + "-help"); element.element("div", "class","help-block").text(help); } } } }; } This finds all the input tags then looks in messages for 'name'-help and puts them in the html stream. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Serialize-Messages-tp5463756p5466912.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org