Good catch... you know what to do ;)

----- Original Message ----- 
From: "Francisco Hernandez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 5:01 AM
Subject: [OS-webwork] checkboxlist.vm bug


> found a bug in checkboxlist.vm
> 
> if a List (of selected checkboxes) is passed to the value attribute in 
> the tag it wont select those checkboxes.
> 
> this:
> 
>    <div><input type="checkbox" name="${tag.Name}" 
> id="${tag.Name}$!{itemValue}" value="$!{itemValue}" #if( 
> $tag.ActualValue && $itemValue && $tag.ActualValue == $itemValue ) 
> checked="checked"#end/> <label class="label" 
> for="${tag.Name}$!{itemValue}">$!{itemKey}</label></div>
> 
> should be changed to this:
> 
>    <div><input type="checkbox" name="${tag.Name}" 
> id="${tag.Name}$!{itemValue}" value="$!{itemValue}" #if( 
> $tag.contains($tag.ActualValue,$itemValue) ) checked="checked"#end/> 
> <label class="label" 
> for="${tag.Name}$!{itemValue}">$!{itemKey}</label></div>
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by Dice.com.
> Did you know that Dice has over 25,000 tech jobs available today? From
> careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
> best hiring companies. http://www.dice.com/index.epl?rel_code=104
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to