I am trying to include a javascript to the jsp page and have a function call to 
javascript function. I am getting an SyntaxErro-Parse error on the js page. 
I have added :

function thisistest(){

        alert('this is js include test');
}

in my javascript page.
If i look at the javascript console, I have a lots of code included in the js 
page like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>


   JBoss Portal 2.6.0-SNAPSHOT
   <meta http-equiv="Content-Type" content="text/html;"/>
   <!-- to correct the unsightly Flash of Unstyled Content. -->
   
   <!-- inject the theme; default to the renaissance theme if nothing is 
selected for the portal or the page -->
   



to start with. 

The error is on the first line .
I am new to this portlet stuff. An example to how to include a javascript and 
call the javascript will help a lot.
I am deploying on jboss-portal-2.6.0 DR12.
Thanks in advance for any help



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027238#4027238

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027238
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to