--- Jacob Levy <[EMAIL PROTECTED]> wrote:

> Is it possible to update the template after its set?

Yes

> That is, let's say I
> get another template from the server and then do
> tmpl.setHTML(newHTML),
> will that update the layout to the new template? Any
> other requirements so
> as not to leak memory (like destroying something
> before calling setHTML
> again)?

Once you call setHTML() it will replace content of the
Template those removeing the elements of the
DynLayers, etc. For best use call clearTemplate() to
deleteAllChildren from the template before changing
the content. this will prevent memory leaks.

> 
> Thanks! --JYL
> 
> 
> 
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
>
http://www.mail-archive.com/[EMAIL PROTECTED]/


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to