Mingzhen;  What exactly do you mean by "'JavaScript' bar" and "as
shown in the help section of advanced javascript topic"?

In terms of adding a JavaScript file, the way it works in Composer is
that you provide a URL for a JavaScript file in the
spinx:javaScriptFile.  I.e. just like a Web page would address a js
page.

Working from a defined JS file, the way to create a SPIN function for
a function myJSfunc() from the file http://myserver.org/myJSfunctions.js
would be as follows:
 1. Create a subclass of spin:Functions named myJSfunc
 2. Insert  "http://myserver.org/myJSfunctions.js"; in a value for
spinx:javaScriptFile

The details are if arguments are passed and defining the return type.

-- Scott

On Apr 16, 10:54 am, mwz <[email protected]> wrote:
> Hi,
>
> I am having problem to import a JavaScript library so I can use
> functions defined in them. I looked at the project properties (by
> right clicking on the project), there is no 'JavaScript' bar to expand
> as shown in the help section of advanced javascript topic.
>
> What could I do for the system to get the featuer I need? Thank you
> veyr much.
>
> Mingzhen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to