Thank you all for your suggestions!
I am afraid that it wouldn't fully answer my problem though...
Should I encode this object in a hidden field, or a session dict on the
server, then the object's parameter won't be updated by the user.

.i.e. In my kid template I want:
<form action="save">
Modify Bar: <input name="publish_object.bar"
value="${publish_object.bar}" />
</form>

And then in my save method, I want to be able to retrieve the value
that the user submitted (without having to type all the form's input
fields one by one in the method signature, but just the
publish_object):
turbogears.expose("mytemplate2")
    def save(self, publish_object):
        print "value is: %d" % publish_object.bar
        return dict() 


Thanks,
Yannick


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

Reply via email to