> If this kind of inline definition is too hard to implement could it at least > be > possible to create a component which can choose the template from a set of > <wicket:panel>'s.
components support what we call variations (setVariation(string)). The associated markup is found by <filename>_<style>_<variation>_<locale>.html (though the order might be different). By setting the variation a single Panel class can have multiple markup files. Juergen. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user