xPages API - your good friend ...
David Marko 15 May 2011 17:58:19
As xPages developer you should really appreciate accessible xPages API. Its realy nice overview of xPages internals at least. You can find many nice utils, that mostly work as static shortcuts to many other objects.http://public.dhe.ibm.com/software/dw/lotus/Domino-Designer/JavaDocs/XPagesExtAPI/8.5.2/index.html
Some interesting helper classes mostly with easily accessible static methods ... are available for you. Just mentioning a few:
com.ibm.xsp.model.domino.DominoUtils
### the good set of very common static methods like getCurrentSession(), getDocumentById(), getFilePath() available from syntax:
DominoUtils.getCurrentSession()
com.ibm.commons.util.StringUtil
com.ibm.commons.util.PathUtil
### these can be a 'lite' alternative to Apache Commons class. But here I would definitely recommend Apache Commons http://commons.apache.org/ especialy 'Lang' subproject.
com.ibm.xsp.util.FacesUtil
com.ibm.xsp.util.HtmlUtil
### many nice helper methods as this one: FacesUtil.addErrorMessage(java.lang.String summary, java.lang.String detail)
- Comments [0]