xpages

Xpages get a handle on next rowData or Doc in a repeat

随声附和 提交于 2020-01-02 10:07:26
问题 In my repeat control I want to be able to get a handle on data in the next row in order to modify what data is displayed in my current row (I have move up and down actions, and I don't want to display them if the move is not possible). It seems I should be able to do this. Probably I cannot from within in the repeat itself, as when it is writing the repeat it will not know the data for the next repeat. But shouldn't there be a fairly easy way to get the next document? Here is a reduced

How to avoid users getting 500 Errors when server throw exception

牧云@^-^@ 提交于 2020-01-02 09:25:25
问题 I get the following errors in my server log. 2012-03-06 09:20:43 HTTP JVM: CLFAD0211E: Exception thrown. For more detailed information, please consult error-log-0.xml located in D:/Lotus/Domino/data/domino/workspace/logs 2012-03-06 09:20:43 HTTP JVM: CLFAD0229E: Security exception occurred servicing request for: /demo.nsf/home.xsp - HTTP Code: 500. For more detailed information, please consult error-log-0.xml located in D:/Lotus/Domino/data/domino/workspace/logs The user only sees this in the

How to avoid users getting 500 Errors when server throw exception

一笑奈何 提交于 2020-01-02 09:24:15
问题 I get the following errors in my server log. 2012-03-06 09:20:43 HTTP JVM: CLFAD0211E: Exception thrown. For more detailed information, please consult error-log-0.xml located in D:/Lotus/Domino/data/domino/workspace/logs 2012-03-06 09:20:43 HTTP JVM: CLFAD0229E: Security exception occurred servicing request for: /demo.nsf/home.xsp - HTTP Code: 500. For more detailed information, please consult error-log-0.xml located in D:/Lotus/Domino/data/domino/workspace/logs The user only sees this in the

Conditionally hidden edit box in a partially refreshed panel

白昼怎懂夜的黑 提交于 2020-01-01 19:19:18
问题 My custom control consists of a number of combo boxes and text input boxes within a panel. The combo box values depend on one another, so when a combo box is changed, a partial refresh is executed on the panel to refresh the values of the other combo boxes. One of the text input boxes is also dependent on one of the combo boxes - let's say the combo box title is "Do you have any special requirements?" and the values are "Yes" and "No". If the value is "No" then the special_requirements text

Determine all groups for a defined user

我的梦境 提交于 2020-01-01 05:35:08
问题 I am currently creating a java method(part of and XPages managed bean) to retrieve a list groups a user(not necessarly current user) is a member of. Is there any easy method to retieve this information or am i going to have to loop through all the groups to check for the user and also check if those groups are sub groups of other groups? 回答1: Answered this in a blog post here: http://ntf.gbs.com/nathan/escape.nsf/d6plinks/NTFN-8TMHRP Simple version is that what you're looking for is... lotus

Loading Indicator Page Full Refresh in XPages

余生长醉 提交于 2019-12-31 03:55:06
问题 One of my XPages there are mo many design elements. The page takes time to load more than expected according to connection speed. I would like to create an indicator to show the logged user "The page is loading"... I made it for partial refresh and it works great but i couldn't make it for full refresh. I have been looking for a solution for this. I can try jquery, dojo or ajax. Any suggestion is important. Regards C.A. 回答1: I've not yet made a dedicated NotesIn9 show for it yet, but I do a

Is it possible to have data binding in the view?

送分小仙女□ 提交于 2019-12-25 18:36:33
问题 From this post, thank you Simon Delicata's answer and comment. I can save get selected documents from a view and save as separate documents. I have a question about this approach. If I edit the document, I click the link which will redirect me to the edit page, the edit page is similar to previous post's design: a combo box on the top, a view with check box (this view is used for selection), a button for save the selection values from the view and the combo box. Also there will another view

Is it possible to have data binding in the view?

喜夏-厌秋 提交于 2019-12-25 18:36:03
问题 From this post, thank you Simon Delicata's answer and comment. I can save get selected documents from a view and save as separate documents. I have a question about this approach. If I edit the document, I click the link which will redirect me to the edit page, the edit page is similar to previous post's design: a combo box on the top, a view with check box (this view is used for selection), a button for save the selection values from the view and the combo box. Also there will another view

error 500 http web server: command not handled exception

廉价感情. 提交于 2019-12-25 16:20:48
问题 I think this topic a lot of ppl post it already. I also look for lot of thread in stack overflow and some ibm page. They do give some comment of how to solve this problem. But i still facing the same problem, it still give this error. Case start : Actually one of my customer, they have facing this error during running on webpages and also notes ~ error 500 http web server: command not handled exception Action taken but not solve: The user id signing/creating the XPages allowed to run XPages

Xpages, Bootstrap and Data Views

一个人想着一个人 提交于 2019-12-25 09:57:26
问题 I have a Data View in an Xpage application which is using the Bootstrap theme. I started to use a View, but could never get the pagers lines up, and the data view is working better. But I do not understand where to put my table class css. For example, if I want a stripped table I enter "table table-striped" in the styleClass of the view (or maybe it is the dataStyleClass). If I do that in the styleClass of the data view, I do not get strips. I tried the suggestion from Mark below, but