i think this was discussed already (for this exact usecase even), search the archives.
-igor On Mon, Jul 26, 2010 at 8:42 AM, Sam Barrow <s...@sambarrow.com> wrote: > Is there a way to pass a raw value to be displayed in a wicket markup > file? I'm trying to create a google analytics panel that takes an id > string and puts it directly in the markup with no tag. > > <script type="text/javascript"> > var _gaq = _gaq || []; > _gaq.push(['_setAccount', ${MY_RAW_VALUE}]); > _gaq.push(['_trackPageview']); > (function() { > var ga = document.createElement('script'); ga.type = > 'text/javascript'; ga.async = true; > ga.src = ('https:' == document.location.protocol ? 'https://ssl' : > 'http://www') + '.google-analytics.com/ga.js'; > var s = document.getElementsByTagName('script')[0]; > s.parentNode.insertBefore(ga, s); > })(); > </script> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org