Schlagwort-Archive: JSF

XPages: compositeData is undefined

An interesting question was asked on StackOverflow.com: The compositeData of custom control is undefined in beforeRenderResponse event. I have never noticed this before, but if you are accessing the compositeData object in the before-, afterRenderResponse or the afterRestoreView event, the … Weiterlesen

Veröffentlicht unter Java, JSF, ServerSide JavaScript, XPages | Verschlagwortet mit , , , , , , , | Hinterlasse einen Kommentar

Quick-n-Dirty: Use your own Factory classes in XPages

Here is a easy way to use your own factory classes in XPages: 1. Create a file named “com.ibm.xsp.factories.properties” in the WEB-INF-Folder of your NSF     2. In this file, define the factory classes you want to use in … Weiterlesen

Veröffentlicht unter Extensibility API, Java, JSF, Server, ServerSide JavaScript, XPages | Verschlagwortet mit , , , , , , , | 4 Kommentare

XPages: Run your own Servlets

A really interesting article about running your own servlets on domino server can be found here: http://www.ibm.com/developerworks/cn/lotus/xpage-servlet/index.html It’s chinese, but you can translate f.e. with Google’s Translator. With 8.5.3 I had have some problems because the required interface IServletFactory could … Weiterlesen

Veröffentlicht unter Extensibility API, Java, JSF, Server, Web, XPages | Verschlagwortet mit , , , , , , | 6 Kommentare

XPages application events: Create your own ApplicationListener (2)

There is another interface available which provides the additional method applicationRefreshed. This event is always raised if the method refresh() of the Application-Object is fired. Instead of implement the interface described in the previous posting, you have to use the … Weiterlesen

Veröffentlicht unter Extensibility API, Java, JSF, XPages | Verschlagwortet mit , , , , , , | 2 Kommentare

XPages application events: Create your own ApplicationListener

If you want to get a handle to application events and want to know if a XPages application is created or destroyed (which means the application was destroyed because of a time out), you can implement this by creating your … Weiterlesen

Veröffentlicht unter Extensibility API, Java, JSF, XPages | Verschlagwortet mit , , , , , , | 1 Kommentar

DocumentDataSource with Signer/SignerWithFullAccess-Rights

Yesterday I read the very interessting question from Daniele Grillo at stackoverflow.com: Is a datasource available for XPages who can access the underlying document with different access levels? I have never seen one before, so I decided to do some … Weiterlesen

Veröffentlicht unter Java, JSF, Security, ServerSide JavaScript, XPages | Verschlagwortet mit , , , , , , | 5 Kommentare

Controlling the HTTP Expires Header

After reading a question on stack overflow about setting an own HTTP expires header and the problem that an additional header is generated automatically,  I made some tests how the domino server can be forced to stop this behaviour programmatically. … Weiterlesen

Veröffentlicht unter Java, JSF, Server, ServerSide JavaScript, Web, XPages | Verschlagwortet mit , , , , , , , , | Hinterlasse einen Kommentar

Quick-n-Dirty: HTML5 UIComponents without effort

Obviously it was Chris Toohey who first has discovered the way of manipulation UIComponents with the tagName attribute: http://www.dominoguru.com/pages/xpage_xptext_tagName_options.html   The xp:text – element can easily manipulated to add HTML5 functionality to a XPages. By overriding the property tagName, the component … Weiterlesen

Veröffentlicht unter Allgemein, HTML, Java Script, JSF, Web, XPages, XSP | Verschlagwortet mit , , , , , , , , , , | 2 Kommentare

XSnippets: XPages Localization Setter

I have submitted some XSnippets for the XSnippets-Contest. This is the first one, the XPages Localization Setter: The Snippet allows to change the language settings of a XPage “On-The-Fly”, including the used browser language, the dojo settings, the ressource files … Weiterlesen

Veröffentlicht unter Allgemein, Java, JSF, Server, Web, XPages, XSnippet | Verschlagwortet mit , , , , , , , | Hinterlasse einen Kommentar

LotusScript in XPages (3): Quick-n-Dirty-Aktivierung

LotusScript in XPages Dies ist der dritte Teil des Artikels “LotusScript in XPages”. Der erste Teil befindet sich hier, der zweite Teil hier.   Die Quick-n-Dirty-Aktivierung Damit die BindingFactory verwendet werden kann, müsste eigentlich ein Plugin erstellt werden, doch es … Weiterlesen

Veröffentlicht unter Allgemein, Expression Language, Extensibility API, Java, JSF, Lotus Script, XPages, XSP | Verschlagwortet mit , , , , , , , , , | 6 Kommentare