JavaScud | Forum | JIRA | Blog |
  Dashboard > WebWork2文档中文化计划 > ... > Tags > Themes and Templates
  WebWork2文档中文化计划 Log In View a printable version of the current page.  
  Themes and Templates
Added by scud, last edited by scud on Apr 29, 2006  (view change)
Labels: 
(None)

WebWork提供的Html 标签的核心是 themestemplates.我们首先定义三个关键术语:

  • tag - 一小段代码,在 JSP, FreeMarker 或者 Velocity 里执行.
  • template(模板) - 一点代码,通常使用 FreeMarker 编写, 能被特定的标签(HTML tags)输出
  • theme - 一系列 templates 打包在一起,提供通用的功能

Tag在Tags章节被涵盖,除了要讨论它和theme以及模板之间规定的关系,我们在这里不再更多地讨论它.作为替代,我们把注意力集中在几个重要的主题上:

ajax theme (WebWork2文档中文化计划)
css_xhtml theme (WebWork2文档中文化计划)
Extending Themes (WebWork2文档中文化计划)
Selecting Themes (WebWork2文档中文化计划)
simple theme (WebWork2文档中文化计划)
Template Loading (WebWork2文档中文化计划)
xhtml theme (WebWork2文档中文化计划)
Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators