Source

webwork / docs / tagreference.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>WebWork Documentation</title>
  <link type="text/css" href="main.css" rel="STYLESHEET"/>
</head>
<body>
  <div id="page-logo">
    <a href="index.html"><img src="logo-small.png" border="0"/></a>
  </div>
    <div class="snip-title">
	  <h1 class="snip-name">WebWork 2 Tag Reference
  
  </h1>
  </div>
<div id="snip-content" class="snip-content">

 <div class="snip-attachments"></div>
 
 This guide will be a reference to all of the JSP tags in <a href="index.html">WebWork2</a>, including their attributes and some usage examples.
<h3 class="heading-1">Overview
</h3><p class="paragraph"/>There are 6 broad categories of JSP tags:
<ul class="star">
<li><span class="nobr"><img src="http://wiki.opensymphony.com/images/external-link.png" alt="&gt;&gt;" border="0"/><a href="#common">Common tags</a></span> - the most frequently used, basic tags</li>
<li><span class="nobr"><img src="http://wiki.opensymphony.com/images/external-link.png" alt="&gt;&gt;" border="0"/><a href="#componentisation">Componentisation tags</a></span> - foster componentisation within your views</li>
<li><span class="nobr"><img src="http://wiki.opensymphony.com/images/external-link.png" alt="&gt;&gt;" border="0"/><a href="#flow">Flow control tags</a></span> - govern the flow of control within the JSP page</li>
<li><span class="nobr"><img src="http://wiki.opensymphony.com/images/external-link.png" alt="&gt;&gt;" border="0"/><a href="#iteration">Iteration tags</a></span> - iterate over elements and manipulate iterable objects</li>
<li><span class="nobr"><img src="http://wiki.opensymphony.com/images/external-link.png" alt="&gt;&gt;" border="0"/><a href="#ui">UI tags</a></span> - generate HTML form fields and controls</li>
<li><span class="nobr"><img src="http://wiki.opensymphony.com/images/external-link.png" alt="&gt;&gt;" border="0"/><a href="#i18n">Internationalisation tags </a></span> - internationalise your views.</li>
<li><a href="http://wiki.opensymphony.com/space/tag_properties">tag_properties</a> - overview of properties for all tags</li>
</ul><p class="paragraph"/><b class="bold">Note:</b> At the moment this tag reference just lists which tags have been completed in <a href="index.html">WebWork2</a> and which haven't - it does not give full syntax examples and attribute lists.<p class="paragraph"/><i class="italic">Tags which have not been implemented yet are in italics.</i>
<h3 class="heading-1"><a href="http://wiki.opensymphony.com/space/Common+Tags">Common Tags</a> <a name="common"/><a href="tagreference.html#common" title="Permalink to common"><img src="http://wiki.opensymphony.com/images/permalink.png" alt="" border="0"/></a>
</h3>
<ul class="star">
<li>property</li>
<li>push</li>
<li>param</li>
<li>set</li>
<li>url</li>
</ul>
<h3 class="heading-1">Componentisation Tags <a name="componentisation"/><a href="tagreference.html#componentisation" title="Permalink to componentisation"><img src="http://wiki.opensymphony.com/images/permalink.png" alt="" border="0"/></a>
</h3>
<ul class="star">
<li>action</li>
<li>bean</li>
<li>component</li>
<li><i class="italic">include</i></li>
</ul>
<h3 class="heading-1">Flow Control Tags <a name="flow"/><a href="tagreference.html#flow" title="Permalink to flow"><img src="http://wiki.opensymphony.com/images/permalink.png" alt="" border="0"/></a>
</h3>
<ul class="star">
<li>if</li>
<li>elseif</li>
<li>else</li>
</ul>
<h3 class="heading-1"><a href="iterationtags.html">Iteration Tags</a> <a name="iteration"/><a href="tagreference.html#iteration" title="Permalink to iteration"><img src="http://wiki.opensymphony.com/images/permalink.png" alt="" border="0"/></a>
</h3>
<ul class="star">
<li>iterator</li>
<li><i class="italic">generator</i></li>
<li><i class="italic">append</i></li>
<li><i class="italic">subset</i></li>
<li><i class="italic">merge</i></li>
<li><i class="italic">sort</i></li>
</ul>
<h3 class="heading-1"><a href="uitags.html">WW2 UI Tags</a> <a name="ui"/><a href="tagreference.html#ui" title="Permalink to ui"><img src="http://wiki.opensymphony.com/images/permalink.png" alt="" border="0"/></a>
</h3>
<ul class="star">
<li>form</li>
<li>checkbox</li>
<li>label</li>
<li>password</li>
<li>hidden</li>
<li>submit</li>
<li>radio</li>
<li>select</li>
<li>textfield</li>
<li>textarea</li>
<li>token</li>
<li><i class="italic">combobox</i></li>
</ul>
<h3 class="heading-1">Internationalisation Tags <a name="i18n"/><a href="tagreference.html#i18n" title="Permalink to i18n"><img src="http://wiki.opensymphony.com/images/permalink.png" alt="" border="0"/></a>
</h3>
<ul class="star">
<li>text</li>
<li><i class="italic">i18n</i></li>
</ul>
<h3 class="heading-1">Miscellenious Tags
</h3>
<ul class="star">
<li>token</li>
</ul>
  </div>
</body>
</html>