xpages

Installing Source Control with Lotus Notes Designer 8.5.3 GEF SDK missing

混江龙づ霸主 提交于 2019-12-22 16:16:08
问题 We want to use subversion as source control for our Lotus Notes Applications. Niklas Heidloff published a documentation how to add the necessary applications to our 8.5.3 Designers to make a connection to the repository http://heidloff.net/home.nsf/dx/09152011024951AMNHEA28.htm Unfortunately someone changed the folder for the GEF SDK resource on the eclipse download page. The needed 3.6.2 SDK was moved from update releases to an archive folder. We tried to modify the associates.xml file to

autosave function in Ajax mode

橙三吉。 提交于 2019-12-22 11:27:54
问题 I would realize a custom control for every XPages with a Notes Document Datasouces that have autosave funcionality (like google mail) So that the event-handler is with "no validation"... My question is...how execute this handler in Ajax Mode..so that the user don't refresh the current page? Have someone any idea? 回答1: Yes, you can use the good old CSJS executeOnServer method for this. The method can be found here: http://xpages.info/XPagesHome.nsf/Entry.xsp?documentId

How to use multiple themes at the same time

谁说我不能喝 提交于 2019-12-22 11:00:04
问题 I'm looking for a way to use multiple themes in one XPages application, each theme active in a different section of the application. For instance to support an single .nsf application with both a public facing website (custom theme) and a CMS with a OneUI theme. You can set which theme is used through the whole application on the XPage Properties tab in Application Properties. It's also possible to change the theme for a user's session with this code: context.setSessionProperty("xsp.theme",

Extlib dialog appears to be pinned to the right window border

孤者浪人 提交于 2019-12-22 10:55:25
问题 I'm having this strange phenomenon with an extlib dialog which I've never encountered before. The scenario is pretty much straight-forward: there's a link control calling the dialog.show() method through it's serverside conclick event. As soon as the dialog appears, however, it somehow is glued to the right edge of the browser's window. Dragging the dialog to the left doesn't actually move it but increases its width instead! I can't see anything special at all looking at the source code

XPages: Handle Browser Back Button

放肆的年华 提交于 2019-12-22 10:31:31
问题 I created a XPage for a Notes form. I added an edit-button which performs some logic and then switches the document-mode to "edit" and a save-and-close-button which saves the document and redirects to a XPage of a Notes view. This works fine but when the browsers back-button is pressed after returning to the view, the document gets shown again in edit-mode. Is it possible to return to the document but in read-only-mode? Because some logic is performed when pressing the edit-button and i need

Can JDBC connection files contain computed properties?

主宰稳场 提交于 2019-12-22 09:15:17
问题 In the book "XPages Extension Library", Chapter 12, page 409 there is an example of JDBC connection file: <jdbc> <driver>org.apache.derby.jdbc.EmbeddedDriver</driver> <url>jdbc:derby:${rcp.data}\derby\XPagesJDBC;create=true</url> <user>phil</user> <password>phil</password> </jdbc> It is also mentioned in the text that "notice in previous example the use of the configuration property rcp.data in the computed expression ${rcp.data}. The connection files can take advantage of computed properties

Using a Dynamic View Panel

纵饮孤独 提交于 2019-12-21 20:37:14
问题 I am using a Dynamic View Panel to display various views inside a single XPage . This has resulted in a few problems. Firstly, column styling set inside the views is not displayed on the XPage (eg: making column headers bold). More importantly, while the view contains links to the documents inside the view, links are all appended with action=editDocument , which I would like to change to action=openDocument . However, I cannot find any way to change this property. 回答1: You need to use a

Complex Xpage takes long for partial refreshs

早过忘川 提交于 2019-12-21 20:35:23
问题 I have a complex xpage with lots of nested custom controls. Everytime I execute a partial refresh it takes over 4 seconds to finish. If I remove the complexity it works just fine and is fast as wished. I put a test on this complex Xpage and even with partial execution mode this simple test takes over 4 seconds to finish. <xp:button value="Label" id="button1"> <xp:eventHandler event="onclick" submit="true" refreshMode="partial" refreshId="refreshPanel" disableValidators="true" execMode=

Getting Application Layout to work with Bootstrap4Xpages

十年热恋 提交于 2019-12-21 20:33:51
问题 I'm using Domino 9.0.1 and have managed to install correctly the Bootstrap Library 1.0.0.201403171254. Under Application Configuration/Xsp Properties/General I have set the theme to be bootstrapv3.1.1 and under Application Configuration/Xsp Properties/Page Generation. I have set up com.ibm.xsp.extlib.library org.openntf.xsp.bootstrap.library as needed XPages Libraries. I'm having trouble making the Application Layout control work as I expected. In the first tab, Application Layout, there is a

Theme not working for Button

匆匆过客 提交于 2019-12-21 20:27:35
问题 I started playing with themes. I was able so create CSS and associated the CSS to various table elements. Works fine. Now I am trying to do the same with a button. But it does not seem to work. If I apply the styleclass right to the button then it works. <theme extends="oneuiv2.1"> <resource> <content-type>text/css</content-type> <href>app.css</href> </resource> <resource> <content-type>text/css</content-type> <href>viewpicklistCC.css</href> </resource> <control> <name>Button</name> <property