Just downloaded v 1.61.4 (Mac), and I'm having a problem w/ widgets. For example:
def ta_widget(field,value,nr): "Widget to allow size of textarea to be specified"" return TEXTAREA("xyz", _type="text", _class="text", _rows=nr, _cols=40, _name=field.name, _id=field._tablename+'_'+field.name) ... SQLField('textfield','text',widget=lambda a,b:ta_widget(a,b,1)), ... Yields the following HTML, which presents as a text area w/ a copy of the tag included in the content: <textarea class="text" cols="40" id="worksheets_heatdist_defects" name="heatdist_defects" rows="1" type="text"><textarea class="text" cols="40" id="worksheets_heatdist_defects" name="heatdist_defects" rows="1" type="text">xyz</textarea></textarea> I have a similar problem w/ a widget that yields a SELECT producing one SELECT inside another (which the browser can handle). I'd used the ta_widget in earlier versions of web2py (01/09?). Thanks for the help, Scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---