On 15/03/2006, at 17:14, Michele Cella wrote:

>
>
> Alberto Valverde wrote:
>> Sorry, stupid bug in sample app. This is the good one:
>> http://www.turbogears.org:7779/turbogears/attachment/wiki/
>> SimpleWidgetForm/forms_tut.tar.3.gz?format=raw
>>
>
> Hey Alberto, the app looks pretty nice and interesting really well  
> done
> (the css is also good IMHO).

Try it in Safari... :(

>
> Regarding pre_bind, I've totally removed it (I've done it while  
> offline
> and noticed you modified it in another way) I think it makes even more
> sense in this way and makes clear what we are doing is also done in  
> the
> same way we are doing it for value_for, error_for... the app seems to
> work still right so I think it's still good, take a look and tell me
> what you think.
>

Yep, it seems to work...  but I'm not sure it will handle the case  
where we want to override value and options in the template (if this  
use case really exists...):

display_field_for("name", value="sfsdfsdf")

Anyway, the change you made is equivalent to what pre_bind_dff was  
doing so for the moment it's fine, thanks :)

Alberto


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to