On 10/25/06, jvanasco <[EMAIL PROTECTED]> wrote:
>
> i need to serialize a storable object

I think you mean Sortable.

> while the version built-in is really nice for many applications, I
> really need to create a ':' delimited list of url encoded items to toss
> into a form field
>
> i've had way too much coffee to think stariaght on this one.  can
> someone give me a starting point - I'm a bit uneasy on how storable is
> organized internally?  the only way i can figure out how to do this
> right now, is to add a new method to Storable, and I'd really rather
> not have to patch mochikit every time i want to do this.

You don't have to patch MochiKit to write your own serialization
function. It doesn't even have to be a method on Sortable.

Look at the code for Sortable's serialize, and write something similar
to it that does what you want. If it's a function instead of a method
change "this" to the name of the sortable argument.

-bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to