How can you (partly) hide the design of your XPages application?

天大地大妈咪最大 提交于 2019-12-24 15:41:23

问题


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

  1. Create a two new templates (ntf's) from your nsf application
  2. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!