How to set up a managed bean to work with Notes document

前端 未结 2 904
故里飘歌
故里飘歌 2020-12-10 18:12

I would like to set up a managed bean that manages a Notes document in Notes view where I store application preferences in (e.g. path on server to store attachments, applic

2条回答
  •  遥遥无期
    2020-12-10 18:44

    The application-scoped bean is definitely a good way to go for this. Once you get more comfortable with Java, you might want to consider using a VariableResolver instead or even an OSGi plugin if some of those options are server-wide. I've also posted an XSnippet for retrieving values from xsp.properties, which may also be appropriate for some settings http://openntf.org/s/retrieve-property-from-xsp.properties-in-nsf-server-or-notes.ini

提交回复
热议问题