mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
WW-4265 Allows dynamic attributes in checkboxlist tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1554158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -44,7 +44,11 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@StrutsTag(name="checkboxlist", tldTagClass="org.apache.struts2.views.jsp.ui.CheckboxListTag", description="Render a list of checkboxes")
|
||||
@StrutsTag(
|
||||
name="checkboxlist",
|
||||
tldTagClass="org.apache.struts2.views.jsp.ui.CheckboxListTag",
|
||||
description="Render a list of checkboxes",
|
||||
allowDynamicAttributes = true)
|
||||
public class CheckboxList extends ListUIBean {
|
||||
final public static String TEMPLATE = "checkboxlist";
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@
|
||||
<#include "/${parameters.templateDir}/${parameters.expandTheme}/css.ftl" />
|
||||
<#include "/${parameters.templateDir}/${parameters.expandTheme}/scripting-events.ftl" />
|
||||
<#include "/${parameters.templateDir}/${parameters.expandTheme}/common-attributes.ftl" />
|
||||
<#include "/${parameters.templateDir}/${parameters.expandTheme}/dynamic-attributes.ftl" />
|
||||
/>
|
||||
<label for="${parameters.name?html}-${itemCount}" class="checkboxLabel">${itemValue?html}</label>
|
||||
</@s.iterator>
|
||||
|
||||
@@ -20,7 +20,7 @@ Please do not edit it directly.
|
||||
<!-- START SNIPPET: tagattributes -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
|
||||
<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6"> </td>
|
||||
|
||||
Reference in New Issue
Block a user