| 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 |
| Apr 30, 2012 |
@URLEncode and @URLDecode / extension to the extension Library |
Java |
This is the source code that can be used to build a plugin that adds two new @formulas that can be u |
Ulrich Krause |
| Apr 29, 2012 |
Get Information on all network adapters |
Java |
This is a quick and dirty solution to retrieve some information on all installed network interfaces |
Ulrich Krause |
| Apr 28, 2012 |
Xpages iFrame for JFreeChart (Notes Form) |
XPages |
Use this XSnippet to compliment the LotusScript added last night, reading Java(Script) that in fact |
Köll S Cherizard |
| Apr 28, 2012 |
Server-side Value Change Events / Listeners |
XPages |
Example illustrating use of a valueChangeListener by way of a Managed Bean method. |
Tony McGuckin |
| Apr 27, 2012 |
Java Listens to LotusScript, Runs JFreeChart |
Java |
This XSnippet is not much different than an earlier one added, except that this one runs as a Java * |
Köll S Cherizard |
| Apr 27, 2012 |
LotusScript Tells Java Run JFreeChart |
LotusScript |
Code amassed through recycled information, results being readied to load to Xpages; this should be s |
Köll S Cherizard |
| Apr 27, 2012 |
Advanced Custom Input Validation: Failover during PROCESS_VALIDATIONS phase |
XPages |
Advanced example illustrating use of a dedicated Validator class. When the submitted value is not a |
Tony McGuckin |
| Apr 27, 2012 |
Intermediate Custom Input Validation: Failover during PROCESS_VALIDATIONS phase |
XPages |
Intermediate example illustrating use of a Managed Bean with a validation method. When the submitte |
Tony McGuckin |
| Apr 27, 2012 |
Simple Custom Input Validation: Failover during PROCESS_VALIDATIONS phase |
XPages |
Simple example of providing a custom validation handler using SSJS. When the length of the submitte |
Tony McGuckin |
| Apr 27, 2012 |
Rich Text Editor: Toolbar Customization |
XPages |
Simple snippet illustrating toolbar customization of the Rich Text Editor (c/w 'Source' toolbar opti |
Tony McGuckin |
| Apr 24, 2012 |
ViewPanel.Disable.Header.Footer |
Themes |
Disables headers and footers in a ViewPanel when not used by a pager
Put this snippet into your the |
Ulrich Krause |
| Apr 24, 2012 |
XPages Compatible Dojo Dijit Dialog with Non-Closable option |
JavaScript (Client) |
This dojo dialog is a extension of the existing dojo dialog from Jeremy Hodge: http://openntf.org/XS |
Sven Hasselbach |