Speaking of caching, I found that it was necessary to set:
shindig.content-rewrite.expires=0
shindig.cache.http.defaultTtl=0
shindig.cache.http.negativeCacheTtl=0
in shindig\java\common\conf\shindig.properties to fully disable
server-side caching (allowing gadget changes to immediately reflect in
the browser).
-Dave
-----Original Message-----
From: Matthew Russell [mailto:[email protected]]
Sent: Thursday, January 08, 2009 12:38 PM
To: [email protected]
Subject: Re: Container title
Hmm. I just verified that gadgets.window.setTitle seems to be working
fine with the latest code I checked out a day or two ago. Maybe you
are experiencing a caching problem of some kind? Have you tried adding
nocache=1 into your url and all that? (My layout manager inherits
directly from gadgets.LayoutManager similar to the sample code.)
On Jan 8, 2009, at 11:24 AM, karthi keyan wrote:
> Thanks for your reply dave. I exactly tried the below. It didn't
> throw me any error. But the title didn't appeared instead title was
> displayed as "title". I don't know what is wrong ? should I include
> any files ?
>
> I am just using the sample container page as template and I build
> other gadgets with that. Please let me know if I am wrong in any
> place.
>
> Thanks,
> Karthi
>
>
>
> ----- Original Message ----
> From: "Citron, David" <[email protected]>
> To: [email protected]
> Sent: Thursday, January 8, 2009 12:16:52 PM
> Subject: RE: Container title
>
> Was this one of the things you tried?
>
> <Module>
> <ModulePrefs title="Put your title here">
> ...
>
> To support dynamic title modification, you can then add:
>
> <Require feature="settitle"/>
> </ModulePrefs>
>
> and then in JavaScript, do:
>
> gadgets.window.setTitle("Some other title");
>
> assuming that the container supports it.
>
> What else did you try?
> -Dave
>
> -----Original Message-----
> From: karthi keyan [mailto:[email protected]]
> Sent: Thursday, January 08, 2009 12:14 PM
> To: [email protected]
> Subject: Container title
>
> Hi,
>
> I need to set the title to my gadget. I tried a lot and nothing
> worked for me. Can anyone please help me ? Thanks in Advance.
>
> Thanks,
> Karthi
>
>
>