The selectionList would consists of the descriptions of the selected objects. It has been fixed to contain the selected objects as per the spec. Also the TYPE=check in the html has been changed to TYPE=checkbox.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@6778 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
karl 2000-06-22 20:22:30 +00:00
parent 31fefa9269
commit 71c3472945

View file

@ -198,7 +198,7 @@ static char rcsId[] = "$Id$";
{ {
if (!_selections) if (!_selections)
_selections=[NSMutableArray array]; _selections=[NSMutableArray array];
[_selections addObject:_valueValue]; [_selections addObject:[item valueInComponent:_component]];
}; };
}; };
}; };
@ -283,7 +283,7 @@ static char rcsId[] = "$Id$";
_displayStringValue=[displayString valueInComponent:_component]; _displayStringValue=[displayString valueInComponent:_component];
[response_ appendContentString:@"<INPUT NAME=\""]; [response_ appendContentString:@"<INPUT NAME=\""];
[response_ appendContentString:_name]; [response_ appendContentString:_name];
[response_ appendContentString:@"\" TYPE=check VALUE=\""]; [response_ appendContentString:@"\" TYPE=checkbox VALUE=\""];
_valueValue=[value valueInComponent:_component]; _valueValue=[value valueInComponent:_component];
[response_ appendContentHTMLAttributeValue:_valueValue]; [response_ appendContentHTMLAttributeValue:_valueValue];
[response_ appendContentCharacter:'"']; [response_ appendContentCharacter:'"'];