Having a problem with the JavaScript call (of Google Analytics) on axis2 html 
after a maven site build
------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2790
                 URL: https://issues.apache.org/jira/browse/AXIS2-2790
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: documentation, samples, build,site
         Environment: Windows XP/JDK1.5/Firefox 2.x
            Reporter: Chatra Nakkawita


The JavaScript call [1] to track a download on click is not correctly displayed 
after a maven build site.

See 
https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/download/1_2/download.html

Here you will find 
<a href="[preferred]/ws/axis2/1_2/axis2-1.2.zip"
        title="[preferred]/ws/axis2/1_2/axis2-1.2.zip" 
onClick="javascript:urchinTracker ('/downloads/axis2-1.2.zip'); ">zip</a>

After a maven site build the JavaScript call will read as :
<a href="[preferred]/ws/axis2/1_2/axis2-1.2.zip" 
title="[preferred]/ws/axis2/1_2/axis2-1.2.zip" 
onclick="javascript:urchinTracker (&apos;/downloads/axis2-1.2.zip&apos;); 
">zip</a>

Diff : 
onClick="javascript:urchinTracker ('/downloads/axis2-1.2.zip'); " |    
onclick="javascript:urchinTracker (&apos;/downloads/axis2-1.2.zip&apos;); "

Note that the single quotes ( ' ) in the function is converted to &apos;

How can we make the call remain as : onClick="javascript:urchinTracker 
('/downloads/axis2-1.2.zip'); "

This is required for the tracking of downloads of Google Analytics [2]

Thanks,
Chatra
[1]http://www.google.com/support/analytics/bin/answer.py?answer=27242&topic=7292
[2]http://www.google.com/support/analytics/bin/answer.py?answer=26908


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to