FAQ Database Discussion Community


add a user in a group

xpages,xpages-ssjs
I would like to be able to add a user as a member into an excisting group (Newsletter). With the code I have so far a new group is created with all the users and also the new member. So , instead of inserting the user the code makes a...

How to store a list of dates in a multi-value field using SSJS?

xpages
In the past, I've added multi-value text data to a field putting the values into a simple JavaScript array. For example: doc.replaceItemValue('AlwaysAccess', ["John Doe","Bob Smith"]); Any recommendations on how to store a series of DATES in a multi-value, Time/Date field in a Notes document? ...

Domino Xpages with Reverse Proxy

proxy,xpages,lotus-domino
I have a problem with Domino Web Server with an XPages Application which is placed behind some reverse proxy. The problem is, the proxy forwards all requests from the URL like h2tps://organization/test_server/ to the Domino Web Server. This makes all links in the application brocken. And I don't know how...

dojo.exists fails with IE11

javascript,dojo,xpages,internet-explorer-11,lotus-domino
Since a few days, I have troubles with Internet Explorer 11 in conjunction with dojo toolkit 1.9.4 hosted by a Domino Server. Source Code: if (dojo.exists("btnUpload")) { console.log("btnUpload exist ... do something..."); } else { console.log("btnUpload doesn't exist..."); } With IE11 the return value of dojo.exists() is always false! IE11...

XPages: Sign-In Form Mapping without separate DNS entry?

xpages,lotus-domino
I've built an XPages with an integrated $$LoginUserForm integrated in the nsf. Unfortunately my customer doesn't want to make a specific URL for the application (the process to make local DNS entries is apparently too time-consuming to consider). AFAIK the field 'Web Site/Virtual Server' in the form 'Sign in' Form...

How to implement a proper layer separation in XPages (i.e. talk to Java objects, not DominoViews and DominoDocuments)

xpages
I'm trying to implement a proper layer separation in my XPage project. Ideally I'm trying to get to a point where the XML in the XPage contains no SSJS and uses only EL to access Java objects. So far I've worked out how to load all my data from the...

XPages:dialog box refreshing a panel on close

xpages,xpages-ssjs,xpages-extlib
I have a document that contains a rating custom control (xInvolve, which is excellent!). In this application, administrators want the ability to delete certain ratings for a certain document or all of them (bad ratings on purpose, new version of the document, corrections made to the document ...). I am...

Navigator changing color in browser

css,google-chrome,xpages
I have simple xpage with dynamic views. I can switch between them via Navigator that I added from Extension Library. Everything works OK, but the problem is with the CSS. To the navigator I have 1 style sheet attached, which contains the following: .lotusSelected{background-color:none;} And this is where it gets...

Retrieve column value in xpages view

xpages
I have a view control showing documents with an external url in document fieldA. How can I write a onclick Event to open this URL? Thanks for help.

Export from Xpages using Lotus script

xpages,lotusscript
I need some enlightenment in using Xpages and Lotusscript. I have an export button in Xpages, that takes the ID as parameter sends it to Lotus script agent, which than uses that id to fetch data from web service and exports it to .csv. The agent was tested and is...

XPages Runtime optimized Javascript and CSS resources is not working

javascript,css,runtime,xpages,aggregator
For some time we have not been able to use the "Use runtime optimized JavaScript and CSS resources" feature because the aggregated JS and CSS links are always broken. When I inspect with the F12 IE developer tool, the CSS files just do not load. When I look at script,...

Xpages not fetching file from web service

javascript,xpages
I am using Xpages for show data that I recieved through Web service. Now the problem is that for some unknown reason, instead of URL to the source page, the source html code is sent. Now since it's large to be saved in database, I use the SSJS to send...

Large bootsrap dialog from extlib focus on the bottom

modal-dialog,xpages,bootstrap,xpages-extlib
I have a dialog from the ExtLib and I use the boostrap konfiguration. When the dialog open the focus is on the bottom of the dialog. If the dialog bigger then the screen I don't see the top of the dialog and I must scroll. This is not what I...

How to reset entered data of xp:inputs?

xpages
I've created a simple XPage containing a datasource, an input an a cancel button. As it is a cancel-button, I expect the page to reload and the input gets cleared. <xp:this.data> <xp:dominoDocument var="document1"></xp:dominoDocument> </xp:this.data> <xp:inputText id="inputText1" value="#{document1.Subject}"></xp:inputText> <xp:button value="Cancel" id="button1"> <xp:eventHandler event="onclick" submit="true" refreshMode="complete" immediate="true" save="false"> </xp:eventHandler>...

Is there any difference for XPages urls using action=openDocument and action=readDocument?

xpages
Most times I've seen urls written to open an XPage in read-mode using action=openDocument, but occasionally, I've see action=readDocument used. Just curious if there are pros/cons in using one vs. the other.

Xpage button not running server side script

fullcalendar,xpages
Short Description: Fullcalendar seems to prevent server side javascript in buttons from executing. Long Description: I am running fullcalendar.io in a Domino application. The calendar is run in an XPage. I have another XPage with navigation buttons that is opening this XPage. When opening the calendar Xpage and switching between...

$File URL to attachment not working correctly

javascript,xpages,lotus-notes
I have a strange issue occurring with generating URLs to attachments stored on a notes document. The Xpage that displays the notes document has a repeat that retrieves the embedded objects from the body field with this code: var doc:NotesDocument = docEmail.getDocument(); if (doc.hasEmbedded()){ var rtItem:NotesRichTextItem = doc.getFirstItem("Body"); return rtItem.getEmbeddedObjects()...

Unitegallery not working with repeat control

xpages,repeat
I would like to use Unitegallery carrousel with some pictures who's urls are in a view. I tried the following : <xp:this.resources> <xp:script src="/JQueryXSnippet.js" clientSide="true"></xp:script> </xp:this.resources> <script type='text/javascript' src='unitegallery/js/unitegallery.min.js'></script> <link rel='stylesheet' href='unitegallery/css/unite-gallery.css' type='text/css' /> <script type='text/javascript'...

How to add external third party jar in Notes Xpages application?

java,jar,xpages,lotus-notes
I am Java developer, recently working on Xpages project. we are using Notes 9.0.1. I created Java agent to send email and I want to use some third party jar, something like org.apache.commons.lang3 , end up this issue. how to add third party jar, like commons-lang3-3.4.jar, in my Xpages project?...

extLib / appllicationLayout: how can I define link node to open a page in a new tab?

xpages,xpages-extlib
using extLib's applicationLayout control I'd like to place a link to a different application inside the bannerApplicationLinks node. This basically works fine using a basicLeafNode if it wasn't for the fact that the other application opens in the same browser tab. There apprently isn't any way to set the target...

Is it possible to group or put multiple images inside a folder using xpages, like in FB photo albums?

xpages,lotus-notes,xpages-ssjs,xpages-extlib
we have a client that wants to have an FB like photo album feature, where in the user can upload image(s) and put those uploaded or selected image(s) inside an album. I just want to know first if it's possible using out of the box xpage or I need to...

Using XPages Toolkit Domino Storage Service to load a tree of objects into Java Objects

xpages
I'm building an application that allows user to register for a particular session for a particular course. The data is structured like a tree, i.e. one course can have many sessions who can have many registrations. I've built up views with unique IDs for each object, including the id of...

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

xpages,xpages-ssjs
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...

XPages: context.getUser().getRoles() working sporadically

xpages
This is weird. I've logged in here as Admin Mustermann, but when I try to determine the user's roles, I get nothing: current user: <xp:text escape="true" id="computedField4" value="#{javascript:context.getUser()}"> </xp:text> roles: <xp:text escape="true" id="computedField5" value="#{javascript:context.getUser().getRoles()}"> </xp:text> And if I open my XPages Debug Toolbar, it tells me I'm Anonymous. This is...

Default Scope of XPages Data Sources (xp:dominoDocument and xp:dominoView)

xpages
What is the default scope of xp:dominoDocument data source? Sven Hasselbach posted an answer to another question, where he says that you have to set the scope of the data source to request scope and his answer solves the problem: How can I refresh the XPages File Download Control and...

How to return the image to the url of java without saving to disk

java,xpages,lotus-domino
little work on java, it was necessary to add a captcha to xpages. There is a code in java: public static void getImage() { String text = "Hello"; BufferedImage img = new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB); Graphics2D g2d = img.createGraphics(); Font font = new Font("Arial", Font.PLAIN, 48); g2d.setFont(font); FontMetrics fm =...

When do I know that my project has been really built?

xpages
Following Martin Jinoch's stern admonition to turn 'automatically build' off, I'm doing it the manual way but have some questions: Is there any way to visually determine when the project is built and I can test it? I'm missing some sort of keyboard shortcut to build my current Project (CTRL-B...

How to trigger the onError client side event

javascript,xpages,xpages-ssjs
I have a button with some SSJS code in the click eventhandler. It basically calls a Java method that says true or false. Therefor I'd like to trigger also the onComplete and the onError CSJS scripts: onComplete for success, onError for failure. Unfortunately I didn't figure out yet how to...

Doclink not opening in xpages

xpages,xpages-ssjs,xpages-extlib
i am using this code it is show doclink but it is not opening it show some error. var document1:NotesDocument = database.createDocument(); var rtitem:NotesRichTextItem = document1.createRichTextItem("body"); document1.replaceItemValue("Form", "memo"); document1.replaceItemValue("SendTo", "[email protected]"); document1.replaceItemValue("Subject", "Rajesh"); rtitem.appendText("Some text here... "); rtitem.addNewLine(2); rtitem.appendText("NotesDocument.NotesURL"); rtitem.appendDocLink(document1, "Some comment text"); rtitem.addNewLine(2);...

Setting up XPages Java development in a separate, modern Eclipse instance

xpages
I really miss the newer functions of a modern Eclipse implementation. Things like cool plugins such as Checkstyle, auto-javadoc, ease of JUnit testing. I always did this whilst developing Notes Java Agents, and it was a great time saver. I'm trying to do this with my new XPages project but...

Modify edit box data display type error message

xpages
I have a edit box in my xpage and i've set data display type to number. I also have a error message component so I can display the error which i get if i insert any other char that is not a number. I get this message: This field is...

xpages Date Compare

datetime,xpages,xpages-ssjs
Hi i want to write Style ssjs for plan view. Set on column date variable "01.06.2007" and if document start date + duration contains 01.06.2007 result is background color change. DateConverter.stringToDate = Java.util.date Tommy Valand code. (http://dontpanic82.blogspot.com.tr/2010/04/xpages-code-snippet-for-datestring.html) //------------------------------------------------- col = 0; var zeroDate = DateConverter.stringToDate( '01.06.2007', 'dd.MM.yyyy' ) colDate =...

Partial refresh in XPages causing other controls to not execute event handlers?

xpages
I have an xpage with a bunch of controls on it. One of them is a simple label that I'm updating with a partial refresh every five seconds. (I'm implementing a document locking scheme, and the label indicates whether someone has locked the document.) A button on the page fails...

XPages: I need a full stacktrace

java,xpages
Trying to debug an XPages application here. When there's a Java exception, XPages gives me a lot of lines in log.nsf and just when it gets interesting it says: 09/06/2015 17:32:53 HTTP JVM: ... 81 more This is so annoying, to say the least The first real error is always...

Custom Error XPage: Ability for Browser to Load and Execute JS Script Link or Block After Being Loaded On Error

javascript,dojo,xpages,xpages-ssjs
Situation I'm using a custom error XPage, based highly off of the XSnippet from Tony McGuckin. It works rather well but I would like for the browser to execute a client-side JavaScript block (or load and run a JS file from a given URL). If I navigate directly to the...

Which extra Library or plugin need to install for XPages app using OPENNTF in IBM Notes 9.0.1?

xpages,lotus-notes
I am pretty new to Notes Xpages application. I watched some tutorials from youtube last week, and had some questions here. I am using Notes 9.0.1. Is there any OpenNTF libraries from OpenNTF built-in this release? Do I need install OpenNTF Essentials, OpenNTF Domino API or XPages Extension Library separately?...

iOS favicons (Add to Home Screen)

xpages,bootstrap,xpages-extlib
I am using ExtLib and have an app that uses Bootstrap. I would like to add an favicon when the user selects "Add to Home Screen". I have managed to add my icon to the tab bar in Chrome (on the Mac) by extending the bootstrap theme like this: <control...

Count Parent Document from a “view” in Xpages

javascript,xpages,domino-designer-eclipse
I have table row named "View All Topic" in which there is a computed field which indicates the total count of the document from a view named "topic". This view is categorized view and don't have separate response form. So now I was looking to get the total count of...

xpages: referencing a view from a different database/application

java,database,views,xpages,ssjs
I am very new to xpages. I have been searching the web for an answer to my question for a while now. Seems like the answer should be simple. I have been playing around with a snippet of code that I got from Brad Balassaitis's excellent Xcellerent.net site that populates...

Why am I receiving error http 403 forbidden?

xpages,lotus-notes
I have just made a change to an Xpages application successfully on our development instance on the notes development server. I have deployed the change to out Train instance application on our notes train server for testing by the application administrator. We create an application design template of the development...

xpages session scope AND document data binding

data-binding,xpages,xpages-ssjs
I have a value that I get from a picklist. I set this value as a sessionScope variable. I then want to use this value, do a lookup, and set the value of an input field - which is working. However, I am doing the lookup code in the fields...

I created my own logger in Java. Is it a bad idea? [closed]

java,logging,xpages,lotus-notes
I'm developing a web crawler using Java and XPages. I have had a lot of compatibility issues between log libraries like SLF4J, Log4J, java.util.logging, etc. and Lotus Notes. So, I developed my own very simple logger class. import java.io.PrintWriter; import java.util.Calendar; import org.apache.commons.lang3.exception.ExceptionUtils; public class Logger { private static final...

XPages: Login not working?

login,xpages
im having a huge problem with the login node in the Web Browser. I click "Login" on the top right corner of my layout. It gets me to the login screen. All fine so far. Then im trying to login and as soon as i typed in my login-data and...

XPages: where to get detailed documentation

xpages
This is not a technical question, but rather an inquiry on how to get better information regarding the huge numbr of parameters and properties of the various controls you can put in an XPage. A concrete example: I have a button which had a property save=true in its event Handler....

How to add a docID from one NotesDocument to another using Java Script

java,javascript,xpages,lotus-notes
I have a lotus script that add a organization docID to the contactDoc and it work fine but I would like achieve this in java script Sub AddContactID(contact As NotesDocument, organisation As NotesDocument) contact.TmpIDString = organisation.DocID(0) Dim tmp As Variant tmp = [email protected]("ContactOrganisationIDs";@Trim(@Unique(ContactOrganisationIDs:TmpIDString)))| Dim flag As Variant flag = Evaluate(tmp,contact)...

Xpages sorting date

sorting,xpages
I'm stuck with sorting and showing the correct date in Xpages. It is saved in format "dd.MM.yyyy" and it's a string. Now why it's a string and formated that way, is because my boss has special wishes. And when I want to sort it from the newest date to older...

Adding a document to another document through modal checkbox selection

javascript,html5,twitter-bootstrap,xpages
I'm new to xpages and IBM in general as well as I'm new to JavaScript. So to make you understand my question a little bit easier I've added an example of what I want to do. Example: I create a Person document, now I want to add an event to...

Xpages checkbox group multiple columns?

css,css3,checkbox,xpages,multiple-columns
I want to format a checkbox group into 2 or more columns. I have read about a CSS3 solution using display, width, and float. It doesn't appear to work in IE9+. Is there a simple solution to doing this?...

infiniteScroll with pagerAddRows but Timeago only work for the repeat limit not more

xpages,infinite-scroll,timeago
I use the Timeago for Xpages and the inifinite scrolling Custom Control. If I use ones of them it is good. But if use both not good. The timeago only works on the entries in the repeatlimit. If I scrolling down the other one dont have a Timeago date. The...

Trying to delete the selected item in the XPages repeat control, but does not work

xpages,control,repeat,delete-row
I am trying to delete the selected item in the Xpages repeat control, but it does not work. Please help? Here is my code in the repeat control section <xp:repeat id="repeat1" rows="30" var="eachQuestion" value="#{questions}" indexVar="rowIndex"> <tr> <td>...</td> <td> <xp:link styleClass="btn btn-danger" id="deleteLink"> <xp:eventHandler event="onClick" action="#{javascript:eachQuestion.getDocument().remove(true);}" submit="true" refreshMode="partial" refreshId="listContainer" /> <i...

Use edit box value for dynamic view panel parameter

xpages,lotus-domino
What I am trying to do is have an edit box, a button and a dynamic view panel on an Xpage and a View in the Notes database. Then input a document Id in the edit box which, when the button is clicked will use the edit box value as...

XPages - presenting an application in multiple languages

xpages,lotus-notes,lotus
I have an XPages application which is available in 4 languages. I would like that each user can choose the language in which the application is presented to him. What is the best way of doing this? It seems to me that I need to set a user specific parameter...

session.getDatabase returns null

javascript,xpages
I'm trying to open my own database via Xpage using JS on beforePageLoad event. I have this code: var db:NotesDatabase = session.getDatabase("x", "y",false); var dbCount = db.getAllDocuments().getCount(); X contains the server name and y the database name. I've tried this with other databases and still got null all the time,...

Why error for one user

xpages,lotus-notes
My Xpages application is showing a strange problem. I have an XPage with with a tab control (2 tabs) and each tab has a dynamicviewpanel and a delete button. Each tab shows a different view depending on a condition. The first tab works completely fine for both myself and the...

XPage: OnClick Event Listbox don't work properly

xpages
I'm using a listbox on an xpage which is using computed values <xp:listBox id="listboxAutorInstitution" styleClass="listBoxPicklist"> <xp:selectItems> <xp:this.value><![CDATA[#{javascript:getValuesPicklist("authorRT")}]]></xp:this.value> </xp:selectItems> <xp:eventHandler event="ondblclick" submit="true" refreshMode="partial" refreshId="ccAuthor"> <xp:this.action><![CDATA[#{javascript:view.postScript("console.log('" + getComponent("listboxAuthor").value...

Xpages Open new Database in Same Tab/Windows in XPiNC

xpages
I am trying to creating uniform application layout for multiple applications. I cannot seem to get a link on the AppLayout in one database to open a new database in the same tab/window as the first database. My goal is to have aa uniform application layout control for several databases,...

Xpages source formatting

xpages
I wonder if there is anything more advanced for source formatting of Xpages than what is built-in to the editor. In particular I would like to remove white space from the code. Anything out there?...

XPages checkboxgroup and default value

checkbox,xpages
As a follow up to my question on checkboxgroups, how does one set a default value? Here's the source code for a test XPage: <?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core"> <xp:checkBoxGroup id="checkBoxGroup1" defaultValue="First"> <xp:selectItem itemLabel="First" itemValue="1"></xp:selectItem> <xp:selectItem itemLabel="Second" itemValue="2"></xp:selectItem> <xp:selectItem itemLabel="Third" itemValue="3"></xp:selectItem>...

NotesDatabase search with more than 1 parameter

javascript,xpages
I'm trying to get the documents which match my codes criteria: var allrelevant:NotesDocumentCollection = db.search("Sender='sender'" + "To='addressee'"); db is a NotesDatabase that I have defined earlier in the code. The .search() works okay with 1 string (for example "Sender='sender'") but I can't figure out how to search database with 2...

How do I get the search menu to appear in the Xpages perspective in Domino Designer

xpages,domino-designer-eclipse
In Domino Designer 9, I have a Search menu at the top when I have the Domino Designer perspective open. When I switch to XPages, it disappears. I like the Xpages perspective as it gives easy access to the Faces Config file, but I also like having the search menu...

Setting field read-only depending on errors

xpages
I have few components- combo boxes, edit boxes and error messages. What I'm trying to do is to make combo box read only if the error message (that is attached to the edit box) contains something. I'm trying to use this in the "read-only" computed field: getComponent("message3").value == "" Apparently...

loading a javascript library and not getting an object returned

xpages
I am trying to load a javascript library in XPages. Normally in HTML the reference looks as followed: <html> <head> <script src="https://hammerjs.github.io/dist/hammer.js"></script> </head> <body> </body> </html> which gives me a Hammer object in the DOM which I can work further with. In XPages I have made the following setup: <?xml...

Better way to Add fields up and display total

javascript,xpages
I have a an xpage(see below), that shows several rows with number fields and 3 columns (Regular, Overtime, Total). I have this code on each field under regular and overtime (onBlur): var reg1 = parseFloat(document.getElementById("#{id:reg1}").value) || 0; var over1 = parseFloat(document.getElementById("#{id:over1}").value) || 0; var total1 = reg1 + over1; document.getElementById("#{id:total1}").value...

XPages. Hide column in DataTable

datatable,xpages,lotus-notes
I'm trying to hide a column in the dataTable, but not working. Hiding only header. In example I try hide first column. Domino 9.0.1. I was mistaken or is it a bug? I know about the "display: none" for the column, but I have a lot of data, and not...

Xpages: ExtLib V12: Application Layout with Bootstrap Configuration. Collapsible left column

xpages,bootstrap,collapse,xpages-extlib
I'm using the Application Layout Control with the bootstrapResponsiveConfiguration. The nsf is running on an 9.0.1FP2 server and i'm using the latest Extension Library version v12. The source looks like this: ... <xe:applicationLayout id="applicationLayout1"> <xp:callback facetName="facetMiddle" id="facetMiddle"> </xp:callback> <xe:this.facets> <xp:callback facetName="facetLeft" id="facetLeft" xp:key="LeftColumn"> </xp:callback> <xp:callback facetName="facetRight" id="facetRight"...

Refresh to repeat control not working normal after deleting 1 row

javascript,refresh,xpages,repeat
I have a field named "selectedTime" in a document, this fields stores the selected timings added by user.Adding times is working perfect.This is back-end. Now I will explain this issue of selecting date from front end.I have given a button add to add times.The custom control of date-time gets added...

Date fields and BootStrap Extention Lib

xpages,xpages-extlib
I have a very simple form that I am trying to use BootStrap from the ExtLib with. Everything is fine until I add a field that is of type Date or Time. Any fields after that field are then off in the design. I would like the labels on the...

Xpages error when saving document in different DB in XPiNC

xpages
I am running an Xpages db in XPiNC that I want to use as a "front end" to several other databases in our system. I will store the code in this DB and access the data in other DBs. When I am trying to do a simple CRUD operation on...

Best way to handle multi-valued fields as a view/grid

dojo,xpages
In several notes applications, instead of handling related data as separate documents, if the size of the data is small (less than the 32k limit), I'll make several multi valued fields and display it in what I call a "List Panel". It's a table where each column displays one multi-value...

XPages SSJS: what can prevent a page to enter edit mode when opeing with URL?

xpages,xpages-ssjs
I have a view where I build a URL that should open a document in edit mode. My page has its default action property set to open the document but I thougn that since I am specifying in the URL that I want to open in edit mode, it would...

Is the ExtLib Modal dialog responsive?

xpages,xpages-extlib
The custom control 'dialog' from the ExtLib is not responsive. The value inside is responsive, but the dialog itself not. What I am doing wrong? Or is it so?

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

jsf,xpages
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...

Xpages - Creating Repeat or View from different database with ACL set to No Access

xpages,lotus-notes,xpages-ssjs
I am trying to create a repeat element from a view in a different database that does not allow Anonymous ACL access. PubDb.nsf has ACL set for user Anonymous to Author PrivDb.nsf has ACL set for user Anonymous and Default "no access". The database, PrivDb has information that I want...

Javascript in xPages error

javascript,xpages
I have the following code in an xPage to use gridx. When it runs for some reason it translates the > symbol in my second decorator function to & which causes the javascript interpereter to throw and error. Can anyone see what is wrong? <script> require( [ "gridx/Grid", "dojo/store/Memory", "gridx/modules/ColumnResizer",...

When using localization, how can we omit specific design elements from being translated?

xpages
We have a multilingual XPages application, and we are using the localization feature that comes with XPages. There are certain design elements that we don't need (or don't want) translated. Is there a way to omit certain XPages or custom controls from creating property files, for nothing? Thanks!...

Xpages Extention library dialog box position

dialog,xpages,xpages-extlib
I am using Dialog control from extention library in xpages.The issue is regarding the center position of Dialog box. when I click on link,dialog box appears,but on to the right bottom of the page not in center,I have tried in Chrome,Firefox and Internet Explorer too.Same issue in all the browser....

Xpages display attachment in dialog box from another document

xpages,attachment
I am opening a dialog box in an Xpage. In the dialog box I am displaying some fields from 3 other documents, and allowing the user to save some notes. All of this works, except I want to display attachments if there are any. I entered a file download control...

Edit box in repeat control with default value does not update on delete

xpages,repeat,editbox
I have a Repeat control in which I have a edit box which has passed a default value.There is a Delete button to delete that row. just for test I have used a computed field along with the edit box.Computed field is also passed the same value as edit box.Now...

XPages - extlib 9.0.1v12 and JQuery 2.11

xpages,xpages-extlib
I have always used in my projects the latest version of the extension library for 9.01v12 9.0.1fp3 Domino Everything works properly and well . But in this scenario, I have a large number of clients , with the terrible IE8 browser :-( The problem is that JQuery 2.x broke support...

How to check if currentDocument is availalbe

xpages,xpages-ssjs
I am trying to put some SSJS code together in which I'd like to check, if currentDocument is available. I've tried something like: if(currentDocument != undefined) But it just throws a runtime error. Is it even possible to check if currentDocument is available? Any help would be greatly appreciated....

How to pass a reference to a file from Java in xpages

java,xpages,xpages-ssjs,xpages-extlib,ssjs
I am sorry for my English. I use a translator. There is a code to Java. Reads from the database of the field Posgresql bytea binary data and stores it in a file: <code> public static void saveToFile() throws IOException { try { Connection conn = JdbcUtil.getConnection(FacesContext.getCurrentInstance(), "derby1"); ResultSet rs...

How to open a document not from xpage link?

xpages
I have created a xpage to display a view, and I set the second column as "show values in this column as links". So the second column was shown as a link when I preview in web browser, and when I move the cursor to the link, the IE browser...

Is it possible to develop a login xpages base on Lotus Notes Email Client Account?

xpages,lotus-notes
I would like to develop a web application using IBM Lotus Domino Designer 8.5.2. The web application shall verify user's authentication base on user's Lotus Notes email account information. More information about Lotus Notes in case it is helpful, users using Lotus Notes as email client, they check email using...

xpages SSJS: cannot get rid of “com.ibm.xsp.acl.RedirectSignal” warnings in log

xpages,xpages-ssjs
I am building a multilingual application and I am storing the value of the latest language used in a cookie. When the user opens up the application, the sessionScope variable is not set and the code will look for the cookie value and reload the page if not in the...

Change the looks of selected navigator item

xpages
I've been playing around with Extension Library Navigator for a while and I can't figure out how to make the selected (or the current opened pages basic node) node to change any of the looks properties, for example font or color. I'm trying to do that so that user can...

Xpages best way to loop through view and make changes

xpages
This problem is driving me crazy. I have a view of documents with categories. The docs are in an arbitrary order now but I want to provide the users an easy way to move docs within categories up or down. So I have up/down arrows within the view. I have...

When i am opening xpage in web browser it display error msg page cannot be displayed

xpages,xpages-extlib
my lotus server name is "TESTSAN/SAN" when i am opening xpage in web the address is like "http://testsan/san/testxpages.nsf/test.xsp" , and display an error page cannot be displayed. but i am removing org name from web address it is working. pls tell me wt is the problem. thank u....

font-awesome with xpages does not take effect even after loading

xpages,font-awesome
I am using font-awesome in xpages.I have a theme named securePolling in which I am giving links to the resources code inside securePolling is <theme extends="webstandard" xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:noNamespaceSchemaLocation="platform:/plugin/com.ibm.designer.domino.stylekits/ schema/stylekit.xsd" > <resource rendered="#{javascript:context.getProperty('xsp.resources.aggregate').equals('true')}"> <content-type>text/css</content-type>...

Xpages only passes first character to Agent

xpages,lotusscript
I have created an Xpage to allow the administrator to input a single Notes Document (They are Contracts) ID into an edit box and press a button to delete the Contract. The delete calls an Agent passing the Contract ID. Below is the button script and then the relevant part...

Open mail database in new tab from XPiNC database

xpages
I am running an Xpage database in XPiNC and I want to have a link that will open a mail database (any arbitrary database really) in a new tab. The code below works, IF the database is already on the workspace. If it his not, then I get the very...

Display Dojo Tabs broken in XPages

javascript,dojo,xpages
We use the Dojo Tab Control. We fill this out with a HashMap, the title and the content. Now we want to hide and unhide the tabs with a button. If the control has been loaded before, does the presentation. If the control was hidden from the beginning, the control...

Using Rich Text with Java Managed Bean in XPages

xpages
Can anyone provide an example of how to carry out basic CRUD operations using a managed bean, with a back end RichText field, so the end result is the same as using a Document Data Source in standard XPage development. The following code is clearly wrong or incomplete, but I...

How to get an xsp value from URL link using Java

java,javascript,xpages
I am trying to retrieve the page name(.xsp)from the URL of the current page using Java. i have been able to accomplish the same thing with the Javascript below context.getUrl().getSiteRelativeAddress(context).toString() and it works but i want to get the same thing don using Java....

validate edit box input text length on xPage

xpages,lotus-notes
When I enable field length validation it validates only when I submit the form... <?xml version="1.0" encoding="UTF-8"?> <xp:inputText id="inputText1"> <xp:this.validators> <xp:validateLength maximum="20" message="You can input max 20 characters"> </xp:validateLength> </xp:this.validators> </xp:inputText> <xp:message id="message1" for="inputText1"></xp:message> so how to show the error message once user typed in 21st character? Assume need a...

XPages: How to disable a button in a repeat control

javascript,xpages
i'm using a repeat control in my XPage which contains some repeated buttons. How can i get hold of individual buttons or fade out a particulat button after its been clicked? i have tried the below code on the onClick even of the Clientside but it did not work var...

com.ibm.xsp.extlib.relational.library. This library cannot be found

xpages,xpages-extlib
In domino administrator when I type : tell http osgi ss com.ibm.xsp.extlib I see : 15 INSTALLED com.ibm.xsp.extlib.designer.relational_9.0.1.v00_12_20150311-1316 But I don't see it as active. When I try to use it in an application I get an error "com.ibm.xsp.extlib.relational.library. This library cannot be found" What's wrong ? edit : The...

Xpages: Cannot get OnClick event in Navigator to fire

xpages,xpages-ssjs
I am trying to build a dynamic navigator for a document database. The navigator build correctly by using a repeat node (I got this from a post by Per) and I can put page or basic nodes in the repeat node and everything looks good, but I need to set...

xPages countdown timer

javascript,xpages
I am looking to have a countdown timer (much like the booking agency websites like ticketek use) so the user knows that we will hold a reservation for 10 minutes, and they better hurry up and fill in the form! I have a gap in my knowledge with how I...

XPage: Customize/Localize default validation error message (This field is not a valid integer)

xpages
Is there a internal XPage way to customize/localize the default validation messages like: This field is not a valid integer I was always on assumption that the text depends on the browser language and should display the same thing in different language, however, recently someone pointed out that this ain't...

Refresh edit box after information change

xpages
I have edit box which has validation- it is required field and it has range of values validation as well. The validation works ok, but the problem is that error message does not dissapear when I replace the values in edit box with valid ones. I tried to add full...