http://stackoverflow.com/questions/2086732/dynamic-markup-in-wicket
Am 08.02.2012 00:55, schrieb Alinoor:
Hi everyone, I want to load some markup stored in a string, this markup also has references to wicket components that I need to create and then add to whatever will contain the markup. Is this possible and how can I do this? private static String getHtml() { String html = "<form wicket:id=\"form\">" + "my text" + "<input wicket:id=\"myinput\" type=\"input\" />" + "<input type=\"submit\" value=\"submit\"/>" + "</form>"; return html; } Cheers, Alinoor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-markup-and-components-tp4366970p4366970.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org