On Thu, Dec 08, 2005 at 10:56:29PM -0200, Jorge Godoy wrote:
> 
> Jason Chu <[EMAIL PROTECTED]> writes:
> 
> > We ran into a point where being able to pass a kid template (from a
> > non-form (let's refer to it as display) widget) to a javascript function as
> > DOM calls would be really really nice.  Then to refresh a widget, your JSON
> > method returns this specially rendered kid template and you can eval it and
> > just call swapDOM().
> > 
> > I just wanted to let everyone know that it's done, but I'm not quite sure
> > who I should submit it to.  It's a Kid serializer, but it only outputs
> > Mochikit DOM calls, and the project that uses both of them (turbogears)
> > leaves the rendering/serialization up to Kid.
> > 
> > If anyone is interested, it's very easy to use (drop in replacement), I can
> > submit it as a ticket.
> 
> Please!
> 
> I think this might help solving another problem that I'm having (I'll post it
> in another message, asking for opinions on how to mount a form with a variable
> number of input fields).
> 
> 
> Be seeing you,

Attached.

http://trac.turbogears.org/turbogears/ticket/204

Remember that the css and javascript of the widgets won't/can't be added to
the page dynamically in this case.  You only get the javascript and css of
the widgets that exist when the page is first loaded.

Jason

-- 
If you understand, things are just as they are.  If you do not understand,
things are just as they are.

Attachment: pgpQStB8Sh27g.pgp
Description: PGP signature

Reply via email to