[Seaside] How to dynamically add to list of sub-components withAjax?

itsme213 itsme213 at hotmail.com
Mon Jul 31 06:49:58 UTC 2006


From: "Damien Cassou" <damien.cassou at laposte.net>
> I don't know about SUComponents but you may try to create a component 
> rendering a collection of other components. On '++' callback, ask for this 
> collection component to refresh.

By refresh do you mean:

    html render: collectionSubcomponent
?

I can get this to work without ajax. With Ajax it renders fine but the newly 
rendered elements are no longer 'active' i.e. they don't have the javascript 
bits to activate them. I don't know how to force the re-creation or 
re-evaluation of the client-side javascript code associated with each 
element.

Thanks for the help. 



More information about the Seaside mailing list