Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamic markup in Wicket

Tags:

wicket

Is it possible to generate the markup for a MarkupContainer dynamically, i.e. without storing an HTML file for it?

I thought about reading the markup as a plain string from the database to offer CMS-like functionality.

like image 697
Wolfgang Avatar asked Jan 18 '10 14:01

Wolfgang


1 Answers

Interesting question and I'm not sure if it is possible, but my guess would be to start off looking at the IMarkupLoader and IMarkupResourceStreamProvider interfaces and implementing classes and see how far you get from there.
I'd be interested in anything you find / implement that actually gets this done!

like image 87
Tim Avatar answered Sep 19 '22 17:09

Tim