You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by George Ludwig <ge...@gmail.com> on 2013/03/02 00:44:45 UTC

Re: OLark script block

I'm dealing with this exact issue right now, and it makes me wonder why the
UserVoice script works fine, but Olark does not.

Harry, did you have to put this code on every page, or did you put it in
the layout? Also, did you hard-code the script, or load it from a file?

-George


On Sun, Feb 26, 2012 at 7:26 PM, harry <su...@gmail.com> wrote:

> Iprimak,
>
> It worked like a charm!  Thank you.
>
> So it turns out using the JavaScriptSupport @Environmental and a call to
> its
> addScript in the layout page's afterRender does the trick.  Wonder why
> that's the case.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/OLark-script-block-tp5517659p5517890.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: OLark script block

Posted by harry <su...@gmail.com>.
George,

Sorry about the late reply.

I hard-coded the OLark script in the afterRender() function of the Layout
component, using javaScriptSupport.addScript(....=)

Best,

Harry



--
View this message in context: http://tapestry.1045711.n5.nabble.com/OLark-script-block-tp5517659p5720501.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org