xpages

JDBC Ordeal: it shouldn't be that difficult (Partial Solved, New Errors)

一笑奈何 提交于 2019-12-20 06:38:40
问题 I have been trying to get the JDBC portion of the Extension library to work with our Oracle databases now for about 2 months. I've worked through various issues and misunderstandings. Currently, I can run the sample database that comes with the Extension Library with no apparent issues. But, it doesn't like something about my Oracle setup. My jdbc file is ojdbc14.jdbc and I am using ojdbc14 as my connection name. I put the ojdbc14.jdbc file in the WEB-Inf folder in the package explorer. I put

How to open an attachment using a link in an xpage?

只愿长相守 提交于 2019-12-20 05:55:26
问题 How to open an attachment in an xpage using a link url? What are all the fields iln the url? Pls explain. Also about the document folder created in the 'xsppers' folder. 回答1: The short answer how to open a attached Image is: http://pathToyourDatabase/DatabaseName.nsf/0/DocumentUniversalID/$File/MyImage.jpg you can create this link with: var imageurl = facesContext.getExternalContext().getRequest().getContextPath() + "/0/" + /*in my case: viewEntry.getDocument().getUniversalID()*/ + "/$File/"+

TitleBar tabs in ApplicationLayout control (extlib) generating invalid code

雨燕双飞 提交于 2019-12-20 05:25:06
问题 I am using an ApplicationLayout control (8.5.3 UP1) and have added Basic Nodes to be displayed as tabs. I want the tabs to run JavaScript to set a sessionScope variable when clicked. I have a sessionScope.put in the onClick but the variable is not set properly when the tab is clicked. Worse, when I look at the source of the page, this is what I see for the tabs: <ul id="view:_id1:_id2:applicationLayout1_tb" class="lotusTabs lotusTabsIndented"> <li class="lotusTabs li"> <div> <a style="text

Onclick event in Outline gets executed on page open

放肆的年华 提交于 2019-12-20 04:58:25
问题 I have an extension library outline control. I have two basicLeafNodes in the outline. The onclick event on each of these nodes is supposed to run some code. The problem is both of those onClick events are being executed when the page is open but does not seem to execute when you actually click on the node. Any idea what could be wrong? <xe:outline id="outline1"> <xe:this.treeNodes> <xe:basicLeafNode label="Set Value 1"> <xe:this.onClick><![CDATA[#{javascript:getComponent("inputText1").value

AMD Loader disable, enable in theme

99封情书 提交于 2019-12-20 04:53:53
问题 I have a problem with the AMD Loader. I want bind the bootstrap-slider.js and the css into the application. All the javascript and css are declare in a theme. Now the slider js don't harmonize with the dojo js. I found the explains from Marky Roden and the XSnippet von Ferry Kranenburg. In the custom control the code is very good. But I want all that in the theme for all the application. But it don't work. Can I disable, enable the AMD Loader in a theme? 回答1: I think that's possible. Create 2

Deploying OSGi Servlet to Domino

南笙酒味 提交于 2019-12-20 04:15:17
问题 I have written a servlet using the directions in this tutorial: http://www.slideshare.net/fiorep/domino-osgi-development slides 34 to 57. This worked well and was easy to debug when deployed via the pde.launch.ini. Now I want to work out how to deploy it to another server. From what I can figure out, I think the preferred way is to create an OSGi bundle and deploy it via an updatesite.nsf. When I try to add a new local update site to the update site, it prompts me for a site.xml. This is

xpages view panel column multivalue separator

大城市里の小女人 提交于 2019-12-20 02:34:58
问题 There is a column from a view which have the multi-value separator the new line. But when I drag and drop this view inside my XPage ( as a <xp:viewpanel> ) the multiple values are display within , and not in different lines. I couldn't find any property in the view column. How can I achive this? Thanks in advance. 回答1: You have to use customConverter here. Because convertList takes only one character as the seperator. <xp:viewColumn columnName="SomeColumn" id="viewColumn1" contentType="html">

Xpages browser error

随声附和 提交于 2019-12-20 02:29:41
问题 I have the following error: Error 403 HTTP Web Server: You are forbidden to perform this operation I had this application on local and it worked fine both client and browser. But when I created a copy on our server (I have access to the server) the application works fine on client, but on web I have the above error. Any ideas? Thank you, Florin 回答1: Sign your database with an id which is allowed to "Sign or run unrestricted methods and operations". This is a setting in Domino Directory Server

Expand only some of the categorized columns in a viewPanel upon opening

我的梦境 提交于 2019-12-20 02:05:12
问题 I am using a ViewPanel to show a categorized view. This view has 4 columns of categories. There are 3 additional columns that are totaled. I want to open this view so that the first 3 categorized columns are expended and the 4th one is collapsed. Is there some type of SSJS / CSJS that I can add to the view that can do this? I didn't see an option to expand/collapse a column upon opening the view in the Properties of the viewPanel. I tried using the collapse option on the back-end view but

Stop generation tables and fieldset tag in output of Check box / Radio button Group control

青春壹個敷衍的年華 提交于 2019-12-19 10:53:14
问题 When using a checkbox group XPage generates fieldset and table tags around it. Is there a way to not generate that? For e.g. if my XPage source looks like this - <xp:checkBoxGroup id="checkBoxGroup" disableTheme="true" value="#{document1.CheckboxGroup}"> <xp:selectItems> <xp:this.value><![CDATA[#{javascript:new Array("Option 1", "Option 2", "Option 3");}]]></xp:this.value> </xp:selectItems> </xp:checkBoxGroup> Then my generated code is <fieldset id="view:_id1:checkBoxGroup"> <table> <tr> <td>