From: Edmund L. <el...@in...> - 2003-04-09 18:41:37
|
On 04/09/2003 10:11:06 AM funformkit-discuss-admin wrote: >Not sure if this is in CVS? Just a "+" instead of "%". > >- Luke > >class RadioField(SelectField): > > def htInputRender(....): > ... > out.write(html.label( >>> for_='%s_%i' + (nameMap(self.name()), id), ><< for_='%s_%i' % (nameMap(self.name()), id), > c=htmlEncode(value))) > out.write(html.br()) What's the effect of having a "+" there? I've not noticed any problems, and looking at the code, it looks like a % is correct since there is a string substitution going on. ...Edmund. |