I've done some CompoundWidget that contain several field and some hidden
too (for preload options in the ajaxian procedure).
this is injected in a RepeatingFieldTable (dynamic, some row are hidden
and other not) ...
so i use the value(for) for test if user have inserted some data.
exaclty i use this TR style
style="${ reduce ( lambda x,y: x or y, [value_for(x) for x in fields ] )
and 'display:table-row' or 'display:none' }"
now....
my problem is that mi hyddenField inserted in the compound are present
in fields list.....
so all TR are visible...
How to tell to my CompoundWidget to send to the value_for function only
specifyc field and not he hidden one?
Sorry for my poor english
Thank you
Glauco
--
+------------------------------------------------------------+
Glauco Uri - Programmatore
glauco(at)allevatori.com
Sfera Carta Software(r) [EMAIL PROTECTED]
Via Bazzanese,69 Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---