| May 24, 2012 |
Call WebService from Java (SSJS - XPages) |
Java |
1. Create WSDL Stub Files using wsimport
1.1. Open Command Prompt (Run > cmd)
1.2. write "wsimport |
Ferhat BULUT |
| May 24, 2012 |
Call WebService from Java (SSJS - XPages) |
Java |
1. Create WSDL Stub Files using wsimport
1.1. Open Command Prompt (Run > cmd)
1.2. write "wsimport |
Ferhat BULUT |
| May 24, 2012 |
Update DocumentDataSource - Field Values from Java |
Java |
Usage in SSJS under Button : com.domino.openntf.ferhat.UpdateDocumentDataSource.Update();
Actually |
Ferhat BULUT |
| May 23, 2012 |
Focus on CKEditor Rich Text Field |
JavaScript (Client) |
Replace the id: value for your richtext field name |
mark t hughes |
| May 23, 2012 |
Join an array of Strings |
Java |
|
Ulrich Krause |
| May 22, 2012 |
Wrap NotesDocument into NotesXspDocument |
JavaScript (Server) |
Use this function if you have NotesDocument and you need NotesXspDocument (eg. for data binding on x |
Mariusz Jakubowski |
| May 22, 2012 |
Add View DataSource in SSJS |
JavaScript (Server) |
Dynamically adds a new datasource to a XPage.
1. Call this function eg. in afterPageLoad: addViewDa |
Mariusz Jakubowski |
| May 21, 2012 |
Examples of Referencing Managed Bean Instances within other Managed Beans or POJO's |
XPages |
Simple examples of obtaining handles to Managed Bean instances. |
Tony McGuckin |
| May 21, 2012 |
Examples of SSJS and EL Computed Expressions within faces-config.xml for Managed Bean Properties |
XPages |
Simple examples of applying SSJS and EL computed expressions within faces-config.xml to specify Mana |
Tony McGuckin |
| May 20, 2012 |
MultiValueMap ( org.apache.commons.collections ) |
Java |
A MultiMap is similar to a Map, but which may associate multiple values with a single key. If you ca |
Ulrich Krause |
| May 18, 2012 |
Create Calendar Entry with SSJS |
JavaScript (Server) |
Create Appointments in mail files. LS Version here http://openntf.org/XSnippets.nsf/snippet.xsp?id=c |
Ulrich Krause |
| May 18, 2012 |
Set pageBaseUrl using Java and a VariableResolver |
Java |
|
Ulrich Krause |
| May 15, 2012 |
Replace leading ZEROS from String |
Java |
Remove the leading zeros in alphanumeric text |
Ulrich Krause |
| May 15, 2012 |
Access Redmine via sbt.GenericService |
XML |
This snippet shows how to read a list of issues from Redmine. It shows how to use the sbt.GenericSer |
Niklas Heidloff |
| May 15, 2012 |
Access StackOverflow via restJsonData Source |
XML |
This displays the latest questions tagged with xpages from StackOverflow.
You need an app key from |
Niklas Heidloff |
| May 14, 2012 |
OneUI Application Layout Custom Control |
XPages |
If you don't use Extension Library, then this 'Layout' custom control might be handy.
Installation:
|
Jakob Majkilde |
| May 13, 2012 |
boolean isParsableToInt(String i) |
Java |
@param s String, string value to check
@return boolean true|false
Sample:
isParsableToInt("A") re |
Ulrich Krause |
| May 11, 2012 |
Convert long to String |
Java |
3 ways to convert from long to String in Java |
Ulrich Krause |
| May 10, 2012 |
Display XPages as iWidgets in fullpage Mode in Connections |
XML |
This snippet shows how to display XPages as iWidgets in fullpage mode in IBM Connections. See http:/ |
Niklas Heidloff |
| May 9, 2012 |
Advanced Custom Input Conversion: Failover during PROCESS_VALIDATIONS phase before Validators run |
XPages |
Apply this pattern for provision of custom Java Converters. Note during the PROCESS_VALIDATIONS pha |
Tony McGuckin |
| May 9, 2012 |
Simple Custom Input Conversion: Failover during PROCESS_VALIDATIONS phase before Validators execute |
XPages |
Apply this pattern for provision of custom inline SSJS conversion. Note during the PROCESS_VALIDATI |
Tony McGuckin |
| May 8, 2012 |
Custom Error Page c/w Cause and Stacktrace Information |
XPages |
Use this snippet to create a custom error XPage. Remember to set the Error Page in the Application |
Tony McGuckin |
| May 6, 2012 |
class DateHelper |
Java |
A class to handle Dates in Java. It includes some advanced methods |
Ulrich Krause |
| May 6, 2012 |
DateHelper: isValidDate(String dt) |
Java |
A simple class to determine, if a Date that is passed as a String is a valid Date according to a Dat |
Ulrich Krause |
| May 5, 2012 |
getNextBusinessDay(int offset, Date baseDate, int[] excludedDaysOfWeek, String[] excludedDateList) |
Java |
/**
* Use to find out what date is a certain number of days after a base date,
* not counting c |
Ulrich Krause |
| May 5, 2012 |
getWorkDays(Date startDt, Date endDt) |
Java |
A simple method to calculate the number of workDays between two dates. Saturday and Sunday are autom |
Ulrich Krause |
| May 4, 2012 |
Sample VariableResolver |
XML |
Sample VariableResolver. The XPage reference to showRow looks to the variableResolver and calls the |
Paul S Withers |
| May 3, 2012 |
Cancel Partial Refresh |
JavaScript (Server) |
Cancel Partial Refresh via SSJS
Function cancels a partial refresh and prevents client to refresh t |
Sven Hasselbach |
| May 2, 2012 |
Add HTML to Xpages RichText Field |
JavaScript (Client) |
|
mark t hughes |
| Apr 30, 2012 |
Compare dates |
JavaScript (Server) |
This simple snippet shows how to compare dates using the java.util.Date compareTo method. The exampl |
Per Henrik Lausten |