Description
Since JQuery Templates are more and more commonly used, it could be a nice feature to let <script>-Tags act as WebMarkUpContainer.
e.g. adding an InputField with an AjaxEventBehavior...
<script type="text/x-jquery-template" wicket:id="scriptMarkUpContainer"> <input wicket:id="inputXYZ" type="text" /> </script>
WebMarkUpContainer scriptAsTemplate = new WebmarkUpContainer("scriptMarkUpContainer"); TextField t = new TextField("inputXYZ"); t.add(new AjaxEventBehavior("click"){...}); scriptAsTemplate.add(t);