I'm just learning Wicket, and Googling yields different results about how to theme/template a site using Wicket. It appears that the common methods are:
- Markup Inheritance (description)
- Borders (description)
- Reusable Panels (description)
- Fragments (description)
What is the best practices / "right" way to do this in Wicket? Or do these different methods each have specific kinds of uses?
From stackoverflow
-
Have a look at wicket localizer. I think "styles" is what you are looking for.
So if you have only one locale and you want to make "styles" for the Home page, you create:
- Home.html
- Home_style1.html
- Home_styleanother.html
Wicket styles are also applicable to the strings and others resources.
0 comments:
Post a Comment