Re: Trying to add string literal to Javascript for Google Analytics

2009-07-04 Thread Neil Ferguson
t; rendered)." >>>>> >>>>> The Java code for my panel looks like the following: >>>>> >>>>> public class FooterPanel extends Panel { >>>>> >>>>>        private static final long serialVersionUID = >>>>> 9196070061210793618L; >>>>&

Re: Trying to add string literal to Javascript for Google Analytics

2009-06-23 Thread Neil Ferguson
;>                label.setRenderBodyOnly(true); >>>>                add(label); >>>>        } >>>> >>>> } >>>> >>>> I didn't really expect this to work, but I can't think of a better >>>> way

Re: Trying to add string literal to Javascript for Google Analytics

2009-06-22 Thread Juan Carlos Garcia M.
name); >>>                label.setRenderBodyOnly(true); >>>                add(label); >>>        } >>> >>> } >>> >>> I didn't really expect this to work, but I can't think of a better >>> way. I'm sure that I'm missing something really obvious here, so can >>

Re: Trying to add string literal to Javascript for Google Analytics

2009-06-22 Thread Neil Ferguson
Thanks for the reply. I'd rather keep the script in my markup if possible. Is there any way to do this so that I don't have to output the entire Javascript block from my Java code? Thanks. Neil. On Mon, Jun 22, 2009 at 6:24 AM, Igor Vaynberg wrote: > output the entire javascript block as a strin

Re: Trying to add string literal to Javascript for Google Analytics

2009-06-21 Thread Igor Vaynberg
output the entire javascript block as a string using new label().setescapemodelstrings(false) -igor On Sun, Jun 21, 2009 at 11:18 AM, Neil Ferguson wrote: > Hi all. > > I'm trying to set a string literal in some Javascript, in order to try > and pass a page URL to Google Analytics. I've tried cre

Trying to add string literal to Javascript for Google Analytics

2009-06-21 Thread Neil Ferguson
Hi all. I'm trying to set a string literal in some Javascript, in order to try and pass a page URL to Google Analytics. I've tried creating a panel with the following markup, and putting it just before the end of my body tag: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w