I have a bunch of *.js files that I would like to be accessible by my ECS
generated HTML page.
Here is what I have tried:
Here is the "snippet" of code that I am using:
Script scrolling = new Script()
.setLanguage("JavaScript")
.setSrc("scripts.js");
Html html = new Html()
.addElement(new Head()
.addElement(new org.apache.ecs.html.Title("Entry Form")))
.addElement(new Body()
.setBgColor(HtmlColor.SILVER)
.addElement(today)
.addElement(scrolling)
.setOnLoad("scrollMsg()")
......
......
The syntax I am using MUST be incorrect. No matter what the next line of
code is I get the following compiler error message:
"Can't invoke a method on a Void"
Any help would be appreciated.
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]