#742: TextArea value-setting inconsistent with other widgets
-----------------------------------+----------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  anonymous
     Type:  defect                 |      Status:  new      
 Priority:  normal                 |   Milestone:           
Component:  Widgets                |     Version:  0.9a4    
 Severity:  normal                 |    Keywords:           
-----------------------------------+----------------------------------------
 using 0.9a4.

 class Form(w.WidgetsList):
     desc = w.TextArea(label="Description", default="wrongtext")

 in controller:
     form.get_field_by_name("desc").attrs["value"] = "correct text"

 result:
 <textarea value="correct text">wrongtext</textarea>

 If there's a better way to do what I'm trying to do, please also point
 this out? :) Thanks -- Andy

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/742>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to