xpages

Set default font/text size in RTF Control

≯℡__Kan透↙ 提交于 2019-12-23 03:13:06
问题 I found this answer Default font for Rich Text field but it doesn't help me. I need to be able to set it in the application as this is an XPiNC (Xpages in Notes Client for those reading this in the CKEditor forum) app and I have no control over what is on the system beyond IBM Notes 8.5.3FP4. Because the config.js is server side for the CKEditor, I need to do this in the code or css somehow. Is this even possible? 回答1: Add the following script block to your XPage. It will set the initial font

XPages Extensions library and Object Data Source usage

◇◆丶佛笑我妖孽 提交于 2019-12-23 02:59:14
问题 Included in extensions library (default in Domino 9) there is an 'Object Data Source' feature. Its very handy thing but I cant find any documentation on this. I have a question on 'ignoreRequestParams' property ... what does it mean and how this can be used? By enabling this can URL params be automaticly bound to datasource object properties? 回答1: The original two data sources (Domino Document and Domino View) both support a behavior that allows URL query string parameters to override

Custom Pager in xpages

强颜欢笑 提交于 2019-12-23 02:52:16
问题 I am trying to create a go to page counter combined with the pager and I found this interesting article: http://www.mydominolab.com/2010/10/repeat-control-better-navigation.html I have it working, but would like to change the page no. in the combo box when a page no. is clicked on in the pager (pager is doing a partial refresh at the moment). I thought of the defaultValue property at first of the combo box but that didn't work. Any ideas please? Here is some example code: <xp:panel styleClass

XPages view control link manipulation

淺唱寂寞╮ 提交于 2019-12-23 02:46:09
问题 I have a view control and at least one column has the option "Display as link" set. The link is generated manually. What I want to achieve is to add a url parameter which is added to a view column link. The usual link would like this "http://host/path/file.nsf/$$OpenDominoDocument.xsp?databaseName=server!!path/file.nsf&documentId=03871DD0B47F88D4C12576AB00623137&action=editDocument" What I would like to have is: "http://host/path/file.nsf/$$OpenDominoDocument.xsp?databaseName=server!!path

How to call ad hoc SSJS from a Java Bean

送分小仙女□ 提交于 2019-12-23 02:44:48
问题 I need to call ssjs from a java bean similar to this this issue. The issue is that the code I need to execute comes from a configuration document, and may look like: getComponent("xxx").getValue(); I have built a version that does : String compute = doc.getItemValueString("SSJSStuff"); String valueExpr = "#{javascript:" + compute + "}"; FacesContext fc = FacesContext.getCurrentInstance(); Application app = fc.getApplication(); ValueBinding vb = app.createValueBinding(valueExpr); String vreslt

Hiding document changed message for name picker after enabling enableModifiedFlag property

谁说我不能喝 提交于 2019-12-23 02:44:10
问题 I have a enabled this property on the form. The form has various fields along with few name pickers. When I click the Name picker I get the document changed message. How can I stop this message for Name pickers? 回答1: This issue fixed in Domino 9.0 - and should be present in the Public Beta of 9.0 published before Christmas 2012. Also, this fix should also be available in the Extension Library releases post November 2012. If it is not working for you let me know. 回答2: We recently upgraded to

XPages: How to acces an application scope bean from a session scope bean

混江龙づ霸主 提交于 2019-12-23 02:33:01
问题 I need a value from my application scope managed bean in my session scope managed bean. Not sure how to get this done. Saw a poste here: https://guedebyte.wordpress.com/2012/05/19/accessing-beans-from-java-code-in-xpages-learned-by-reading-the-sourcecode-of-the-extensionlibrary/ But I get a bunch of errors... I also found this: JSF 2.0 Accessing Application Scope bean from another Bean so IM thinking maybe I need to redefine my application bean??? Totally clueless... How can I make that

Adding numbering to documents in Xpages

感情迁移 提交于 2019-12-23 01:36:07
问题 I needs some tips on this one, since I couldn't find anything on this, though it's probably pretty simple to do, but I can't think of a way. Ok, so I need a hidden field which will automatically compute so called id numbers for every document, the numbers must start from 00001 and forward and must never ever repeat. For instance i create a document with numberId = 00001 and another document which creates numberId = 00002, if I ever delete the first or second document, the third created

Installing Source Control with Lotus Notes Designer 8.5.3 GEF SDK missing

那年仲夏 提交于 2019-12-22 16:18:29
问题 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

Installing Source Control with Lotus Notes Designer 8.5.3 GEF SDK missing

我的梦境 提交于 2019-12-22 16:16:32
问题 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