Hi Holger, Where should the RDF/SPIN file locate usually? I looked at the folder for TopBraidComposerME, and am quite confused about the location of my current project. There are folders for '.install4j', 'configuration', 'dropins', 'features', 'jre', 'p2','plugins', and 'readme'. I did not see any clue to find my project in the hard driver.
Thank you for your help, Mingzhen On Apr 13, 3:40 pm, Holger Knublauch <[email protected]> wrote: > Hi Mingzhen, > > if you have a spin:Function my:testFunction then you just need to > create a JavaScript file in the same folder as your RDF/SPIN file and > point to that file using spinx:javaScriptFile. The file either needs > to contain a JavaScript function called testFunction, or you can call > any other function from that file using spinx:javaScriptCode. > > Holger > > On Apr 13, 2009, at 1:30 PM, mwz wrote: > > > > > > > Hi Everyone, > > > I am testing how TopBraid can access a user defined javascript file > > and therefore the functions in the file. For example, I am defining a > > subclass of spin:Function, there are options like spinx:javaScriptCode > > and spinx:javaScriptFile. If I want to use the second option, where > > should I put the file (assuming there is only one function in the > > file) and how should I infer to the file. Thank you very much. > > > Mingzhen- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
