Ok, I have one strand of hair left so I figured it was time to ask the experts. ![]()
I have 19 years of Notes/Domino development experience and I’ve recently started using Xpages. I’m ok with the concept of creating an Xpage and binding it to a data source (document). I did a simple database of that and it saved to the document beautifully. I’m also ok with Custom Controls and how they work. I’m running with an 8.5.1 Client.
My problem is, in my customers environment, we use Subforms for a header and footer that need to be on every document. These subforms collect customized information for the document. On the subforms I have a button that calls the jsheader script event on the subform. For the custom control I wrote (since I can’t use a subform in Xpages!), I have converted that jsheader into a js scriptlibrary and that works just peachy. I make the call to my function and it executes the code from the js script library.
My problem is there is code in that js script library that calls obfuscated .js files that reside in the Resource Files of another notes database on the same server. There are a total of 5 Resource files that I use from this other db, 2 are obfuscated and the other three are not. The first call is to the obfuscated file.
When the call to the function in the Resource File didn’t work, I thought, no problem, I’ll just copy these resource files from the other db to the Resource files of my database where my new custom control resides. Still I cannot call them successfully. The Firefox error console message states the function could not be found.
Can anyone help me with this problem? Could it be the obfuscation and if so, how would I fix that? I’m happy to provide whatever additional information is needed to help resolve the issue. I’m just totally at a loss and this header and footer must be up and working on Xpages before our customers developers can start using Xpages in our production system so I have a bit of stress on my part right now…FYI, I’ve also done searches via Google looking for this information but have not found any. I’ve also printed off tons of Xpages documentation too but honestly I can’t find a thing…
Thanks in advance for any information you can provide.!!
Tammy