views:

266

answers:

2

Which Template-Engine and Ajax-Framework/-Toolkit is able to load template information from JAR-Files?

+1  A: 

If you mean server-side template engines, you can get Velocity to load its templates from the classpath (which includes JAR files). Check out the section "Configuring the Resource Loaders (template loaders)" in the Developer Guide.

Thilo
+1  A: 

Take a look at http://www.ztemplates.org which is simple and easy to learn. This one allows you to put all related templates, javascript and css into one jar and use it transparently. Means you even have not to care about declaring the needed javascript in your page when using a provided component, as the framework does it for you.