Dynamic markup in Wicket

前端 未结 2 2215
孤独总比滥情好
孤独总比滥情好 2021-02-19 07:53

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 p

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-19 08:29

    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!

提交回复
热议问题