RE: Struts 2 Themes

2007-10-09 Thread Jiang, Jane (NIH/NCI) [C]
Thank you, Sami. That helps a lot. Jane -Original Message- From: Sami Dalouche [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 1:55 PM To: Struts Users Mailing List Subject: RE: Struts 2 Themes Hi, your best bet is to look at S2's source code. You can start by looki

RE: Struts 2 Themes

2007-10-09 Thread Sami Dalouche
Hi, your best bet is to look at S2's source code. You can start by looking at org.apache.struts2.views.freemarker.tags.StrutsModels. Each of the tags have an associated "Model", and S2 taglib's models are registered in this class. So, for instance, if you look for TextField's template name : 1] T

RE: Struts 2 Themes

2007-10-09 Thread Jiang, Jane (NIH/NCI) [C]
Sorry, my fault. I did not notice the code I used to test checkbox defined the theme inside the tag. So checkbox.ftl is the template for s:checkbox. I would still like to find out if there is a general rule for map the tag to template and other resource to learn about theme. -Original Messa