Hi Decebal, I see you did something similar to what Wicket Velocity<https://github.com/apache/wicket/tree/master/wicket-velocity> and Wicket Mustache <https://github.com/l0rdn1kk0n/wicket-mustache> do. I think it would be much cooler if the Jade template/panel supports children components, i.e. have div(wicket:id=someId) inside . For this you will have to create a custom MarkupFactory and set it with org.apache.wicket.settings.IMarkupSettings#setMarkupFactory(). Looking at the code I think Wicket is not well prepared for custom markup factories but if you want to try it then I'll try to help you with improvements in Wicket whenever you need such.
On Tue, Aug 6, 2013 at 12:44 PM, Decebal Suiu <[email protected]> wrote: > Hi > > I implemented a tiny wicket-jade [1] integration solution. It's the first > version and it's a quick and dirty implementation (Proof of concept). > Jade [2] is a cool, high-performance (and probably the most used template > engine for Node.js) template engine. I like the HAML-like syntax of > Jade's; > it's very simple and intuitive. > > Best regards, > Decebal > > [1] https://github.com/decebals/wicket-jade > [2] http://jade-lang.com > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-jade-tp4660722.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
