Other way to get this is to create a dict on session object and associate the object with an ID. In the hidden field put the ID,

At save function expect the ID, search it on the dict, get the object a proccess according the other results.

On this way you don't deppend whether the object could be represented as a string.

IMO this could be put in a CP filter.

Regards.

On 4/11/06, Steven James <[EMAIL PROTECTED]> wrote:

You could make "publish_object" the contents of a hidden form field
(assuming you are using a form to access the "save" method.

Try the following in your mytemplate.kid file. This only works, of
course, if publish_object can be represented as a string.

<input type="hidden" value="${publish_object}"></input>



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