You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mr...@apache.org on 2007/01/07 07:24:21 UTC
svn commit: r493663 -
/struts/maven/trunk/struts-annotations/src/main/resources/org/apache/struts/annotations/taglib/apt/tag.ftl
Author: mrdon
Date: Sat Jan 6 22:24:20 2007
New Revision: 493663
URL: http://svn.apache.org/viewvc?view=rev&rev=493663
Log:
Added emphasis for required attributes
WW-1392
Modified:
struts/maven/trunk/struts-annotations/src/main/resources/org/apache/struts/annotations/taglib/apt/tag.ftl
Modified: struts/maven/trunk/struts-annotations/src/main/resources/org/apache/struts/annotations/taglib/apt/tag.ftl
URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-annotations/src/main/resources/org/apache/struts/annotations/taglib/apt/tag.ftl?view=diff&rev=493663&r1=493662&r2=493663
==============================================================================
--- struts/maven/trunk/struts-annotations/src/main/resources/org/apache/struts/annotations/taglib/apt/tag.ftl (original)
+++ struts/maven/trunk/struts-annotations/src/main/resources/org/apache/struts/annotations/taglib/apt/tag.ftl Sat Jan 6 22:24:20 2007
@@ -30,7 +30,13 @@
<#list tag.attributes as att>
<tr>
<td align="left" valign="top">${att.name}</td>
- <td align="left" valign="top">${att.required?string}</td>
+ <td align="left" valign="top">
+ <#if att.required>
+ <strong>true</strong>
+ <#else>
+ false
+ </#if>
+ </td>
<td align="left" valign="top">${att.defaultValue}</td>
<td align="left" valign="top">${att.rtexprvalue?string}</td>
<td align="left" valign="top">${att.type}</td>