For that you have to use another technologie, like ASP, PHP or JSP. for instance, in JSP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="keywords" value="<%= ServerSide.executeAwesomeCode() %>"> <title>test</title> <script type="text/javascript" language="javascript" src="package.module/package.module.nocache.js"></script> </head> <body> </body> </html> HTH Michael On Feb 22, 11:54 am, Dariusz <darius...@gmail.com> wrote: > Hi Michael, > > Thanks, but acutally this is what I would like to do. I would like to > render the page after I received the keywords from database. > > I thought, I could do it via the DOM object. Something like: > > DOM.setAttribute( "meta", "value", "My keywords" ); > > If I do this, I can't see the changes inside my rendered html page. > Did you do it before? > > On Feb 22, 11:35 am, mmoossen <mmoos...@gmail.com> wrote: > > > hi Dariusz! > > > you should NOT set the keywords via a RPC call. > > since that info is only usefull to search engine robots, and they do > > not understand nor execute js code, your rpc call wont never be > > executed... > > > just do it the 'OLD' way, getting the keywords from DB when rendering > > the page. > > > HTH > > Michael > > > On Feb 22, 10:28 am, Dariusz <darius...@gmail.com> wrote: > > > > I have a page with content coming from the database. I would like to > > > modify my meta tag to be able to put in some keywords coming from the > > > database. > > > > For example: > > > <meta name="keywords" value="some keywords coming from the database"> > > > > This meta tag attribute value for "content" should be modified after > > > my RPC call. Does anybody know what's the best approach to get it done? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.