Thanks Martin, IMarkupResourceStreamProvider and IMarkupCacheKeyProvider did the trick.
I'm trying to reduce form boilerplate code. So I've made a general form component which, based on constructor values, pojo annotations and reflection, can create any html5 input field with or without label, validation, component feedbackpanel, ajax updating behavior and styling. I found it easier to manipulate the small amount of html required for this in java. And the component works by the way :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-use-setMarkup-tp4634090p4640769.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