xpages

Dates are adjusted for users only at midnight on my xpages

落花浮王杯 提交于 2020-01-11 10:32:33
问题 We have a really strange problem in xpages regarding dates, the Notesdocument we have contain a date field and the value is only a date, there is no time portion. In the xpage I have specified to display the date as a date/time value. the date display correctly on the webpage but we are now getting reports from users who login at night (around midnight) and see the date as adjusted by one day. if the same people login at daytime the date is correct so this only seem to happend around midnight

Inconsistent Times being stored in XPages

旧街凉风 提交于 2020-01-11 09:42:33
问题 If I have an XPage with a Time field on it: <xp:inputText id="inputText2" value="#{document1.Time}" defaultValue="#{javascript:@Now()}"> <xp:this.converter> <xp:convertDateTime type="time" ignoreUserTimeZone="false" timeStyle="full"> </xp:convertDateTime> </xp:this.converter> </xp:inputText> My server is set to UK time, when I save the document and then view it again the time will have moved on by one hour. In my xsp.properties file I have: xsp.user.timezone=true xsp.user.timezone.roundtrip

Inconsistent Times being stored in XPages

假如想象 提交于 2020-01-11 09:42:09
问题 If I have an XPage with a Time field on it: <xp:inputText id="inputText2" value="#{document1.Time}" defaultValue="#{javascript:@Now()}"> <xp:this.converter> <xp:convertDateTime type="time" ignoreUserTimeZone="false" timeStyle="full"> </xp:convertDateTime> </xp:this.converter> </xp:inputText> My server is set to UK time, when I save the document and then view it again the time will have moved on by one hour. In my xsp.properties file I have: xsp.user.timezone=true xsp.user.timezone.roundtrip

xPage with multiple datasources has the second datasource always opened in edit mode

江枫思渺然 提交于 2020-01-10 04:23:12
问题 I have an xPage with 2 datasources. I open the page and the first datasource is readonly, while the second datasource is in edit mode. Adding ignoreRequestParms=true seems to cause this behavior, but its the only way that the document will save to a different datasource. I have found this link that someone has found similar behavior. http://www-10.lotus.com/ldd/nd85forum.nsf/7756aedc25e6d81285256324005ac76c/5e2f855ea18ff802852576e3007c34f2?OpenDocument There is something going on that I don't

Lotus Domino Internet site document

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-07 08:26:54
问题 Am developing my first Xpage application and have designed a login screen in domcfg.nsf. So when user types my url like Myrequest.com(dummy url) this should redirect me to the login page and then on succesful login attempt the page should be redirected to Myrequest pplication. Could you please let me know how to configure in server document or Internet site document. ? As a first step,I executed the below points. Enabled Load Internet configurations from server/Internet sites documents in the

How do I get the parent NotesViewEntry from the NotesXSPViewEntry?

倖福魔咒の 提交于 2020-01-07 07:43:07
问题 Using SSJS I have a handle to a NotesXSPViewEntry which is a category in view,now I need to get the parent category from that entry as a NotesViewEntry, so I tried to use NotesXSPViewEntry.getParent() but that returns a notesViewNavigator instead of a NotesViewEntry. How do I get the parent NotesViewEntry from the notesXSPViewEntry? or how do I convert a notesXSPViewEntry to a NotesViewEntry? 回答1: One solution: get the position with getNavigatorPosition() . The get the NotesViewNavigator with

Xpages: get count of values in multi-value field in view

北慕城南 提交于 2020-01-07 06:18:51
问题 I have 100 documents with a multi-value field. The field holds 5 possible values (Albert,Ben,Chris,Don,Ed) let's say. The field must contain 1 value, but can contain up to 5. I need to compute the number of docs that contain each value, so Albert 56 Ben 22 Chris 79 etc. This seemed easy. I constructed a view that contains the docs, the first column is the field, and I selected show multiple documents for multiple feeds. In SSJS loop through my master list of values in the field, and for each

Xpages xe:namePicker only returns the first 50 names in the selection dialog

↘锁芯ラ 提交于 2020-01-07 05:05:11
问题 I am using the xe:namepicker for some time and setting the source as a xe:dominoViewNamePicker as follows: <xe:namePicker id="namePicker5" for="SiteAdm" dialogTitle="Add one Site Administrator"> <xe:this.dataProvider> <xe:dominoViewNamePicker viewName="CoordinatorsByEmail" labelColumn="CoordEmail"> </xe:dominoViewNamePicker> </xe:this.dataProvider> </xe:namePicker> The problem I am having is the returned list of names is being cut off at 50. Users can use the search box in the dialog to start

Xpages xe:namePicker only returns the first 50 names in the selection dialog

对着背影说爱祢 提交于 2020-01-07 05:05:02
问题 I am using the xe:namepicker for some time and setting the source as a xe:dominoViewNamePicker as follows: <xe:namePicker id="namePicker5" for="SiteAdm" dialogTitle="Add one Site Administrator"> <xe:this.dataProvider> <xe:dominoViewNamePicker viewName="CoordinatorsByEmail" labelColumn="CoordEmail"> </xe:dominoViewNamePicker> </xe:this.dataProvider> </xe:namePicker> The problem I am having is the returned list of names is being cut off at 50. Users can use the search box in the dialog to start

Xpages Bootstrap Upload Control

怎甘沉沦 提交于 2020-01-06 16:52:29
问题 I need to include a Bootstrap style file upload control in my application. The file attachments will be stored in a document in a richtextfield called "attachments". Using Java to save fields. I have looked at the web sites listed below as well as one that Oliver Busse did, but I cannot find his link now. I would like a custom control eventually. I have added the bootstrapfileinput4 folder to my WebContent folder. When I run the following Xpage code I get an error. Xpage code: <?xml version=