History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1061
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: tm_jee
Reporter: Mark Eagle
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WebWork

checkboxlist.ftl does not allow disabled parameter handling in WW2.2beta4

Created: 31/Dec/05 10:57 AM   Updated: 01/Jan/06 10:32 PM
Component/s: Views
Affects Version/s: 2.2
Fix Version/s: 2.2

Environment: All platforms

Flags: Patch


 Description  « Hide
Would it be possible to update the \template\simple\checkboxlist.ftl template to include the disabled parameter handling? The checkbox.ftl template already has this and I just think it is missing. I believe all it needs is this:

<input type="checkbox" name="${parameters.name?html}" ><#if parameters.disabled?default(false)>disabled="disabled"<#rt/></#if> value="${itemKey?html}" id="${parameters.name?html}-${itemCount}"<#rt/>
<#if tag.contains(parameters.nameValue, itemKey)>
checked="checked"<#rt/>
</#if>


Regards,

Mark

 All   Comments   Change History      Sort Order:
tm_jee - [01/Jan/06 10:32 PM ]
fixed in cvs head added test cases to reflect this as well. Thanks Mark.