On Tue, Nov 4, 2008 at 12:27 AM, prody <[EMAIL PROTECTED]> wrote:
> Thanks for your response. Could you please tell me how to generate
> meta tag dynamically using GWT?
> I know it's pretty simple using JSP but I have not been able to figure
> out how to generate meta tag dynamically using GWT code. Thanks in
> advance!

I don't think it can be done.  By the time you're executing GWT code,
it's too late to change the meta tag.

The host page (which is the page that needs to contain a meta tag)
executes the GWT bootstrap script.  It's the bootstrap script that
looks at, amongst other things, the chosen locale, and then downloads
a script specific to the execution environment.  It's that
environment-specific script that is your GWT app and, by the time it's
executing, the locale has already been chosen.

Ian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to