[
http://jira.codehaus.org/browse/DISPL-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201563#action_201563
]
Ealden EscaƱan commented on DISPL-630:
--------------------------------------
This looks like a duplicate of DISPL-596
> CheckboxTableDecorator uses hardcoded "_chk" instead of fieldName
> -----------------------------------------------------------------
>
> Key: DISPL-630
> URL: http://jira.codehaus.org/browse/DISPL-630
> Project: DisplayTag
> Issue Type: Bug
> Components: Decorators
> Reporter: Ivan
> Priority: Critical
>
> Problem:
> In the "[org.displaytag.decorator.]CheckboxTableDecorator" class
> ("getCheckbox" method) there is a line:
> buffer.append("<input type=\"checkbox\" name=\"_chk\" value=\"");
> As long as "_chk" is hardcoded there is no practical use of this class. And
> only one table on the page can be decorated with this decorator.
> Solution:
> This line for sure must be rewritten in such a way:
> buffer.append("<input type=\"checkbox\" name=\"" + fieldName + "\" value=\"");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel