问题
Can you (partly) hide the design of your XPages application when distributing them and how should you do so?
回答1:
Patrick we hide the entire design for our IQJam and IdeaJam evaluations and all works fine. Not sure about how to hide only "portions" of the app.
回答2:
Not possible to partly hide specific objects, use these steps to hide the application design completly
- Create a two new templates (ntf's) from your nsf application
- do replace design using one of the templates to the other with the checkbox "hide forumlas and "lotusscript" ticked
回答3:
Did not test it for myself, but I would try to pack .class and .xml definitions of code generated for XPages (generally, content of WebContent\WEB-INF folder) into single JAR and deploy it to another database. This would work very well in case your code relies on views and forms in different database so you need not to bother with hiding regular Notes design elements.
There is still the option to decompile such classes what will reveal all bindings/scripts and component names, but at least you make it hard for someone.
来源:https://stackoverflow.com/questions/13234107/how-can-you-partly-hide-the-design-of-your-xpages-application