Hi,

   I have updated Tapestry 5.0.13 version beacause of which I am facing
javascript issues.
   I have written some function(for example 'fun1' ) in zzz.js files and
including this using annotation @IncludeJavaScriptLibrary on the page
MyPage.java. Within the page content in 'MyPage.tml' I am using some
function written in zzz.js in <script> tag which are called line by line
when the content loads. For example html code written like following...

content...content...
content...content...
<script>fun1()</script>
content...content...
content...content...

Now because js file zzz.js loads after content load on screen I am getting
javascript error that fun1() does not exist.
What can be resolution for this? How can I load the file zzz.js before the
content loads on screen?
Please help me out.

Harish Kudriyal
Fiserv
-- 
View this message in context: 
http://www.nabble.com/After-using-Tapestry-5.0.13-Javascript%28.js%29-files-loads-after-loading-content-causing-problem-when-use-the-functions-written-in-.js-files-within-content-tp18274564p18274564.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to