Em Quarta 26 Abril 2006 17:45, Michele Cella escreveu:

> I think you should really go for a custom template since here you have
> a specific need, we can't put hidden fields in the normal order since
> they will take up an entire row without displaying something and
> leaving an empty row, that's why they are grouped at the beginning of
> the form layout.

A FieldSet serves me well instead of the HiddenWidget.  And now I understand 
why it is relocated.  It makes a lot of sense :-)

> Other than that, any good motivation for using a hidden field to
> replace it instead of the div you were using? :- /

Eliminating some templates and using widgets instead of hand written HTML 
code.  I'll be using this construction at least three times for this client 
so I wanted to minimize my code.

But I believe that I can turn this into something more useful and even make a 
widget out of it.  I'll see what I do.  At least I understand that why hidden 
fields are reordered. ;-)

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
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