| A simple LifeCycleListener |
Put some print statemants into your code and LifeCycleListener displays on the console in which phas |
Ulrich Krause |
Feb 20, 2012 |
| Access Resource Bundle in XPages from JAVA |
Assume, you have included myButtonLabels.properties as a language resource in your XPage. How can yo |
Ulrich Krause |
Apr 17, 2012 |
| Access .properties files |
This is another method of accessing a .properties file located in the resources section of your app |
Ulrich Krause |
Apr 20, 2012 |
| Backing Bean Results from NSF Back-end |
This Backing Bean code is a re-make of a JSF/SQL-Specific code, customized to work with NSF data; a |
Köll S Cherizard |
Mar 20, 2012 |
| boolean isParsableToInt(String i) |
@param s String, string value to check
@return boolean true|false
Sample:
isParsableToInt("A") re |
Ulrich Krause |
May 13, 2012 |
| Build CSV file from XML Data - Bean |
Load XML file from C Drive using Java, create a CSV file, staty tuned for Xpages that loads this ite |
Köll S Cherizard |
Apr 21, 2012 |
| class DateHelper |
A class to handle Dates in Java. It includes some advanced methods |
Ulrich Krause |
May 6, 2012 |
| Convert long to String |
3 ways to convert from long to String in Java |
Ulrich Krause |
May 11, 2012 |
| DateHelper: isValidDate(String dt) |
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 6, 2012 |
| DBConnector + LoginBean (SQLite) |
This XSnippet is a simple connection to SQLite using a connector class and a JavaBean. SQLite is a |
Köll S Cherizard |
Apr 10, 2012 |
| Email Validator |
An alternative to the built-in email validator shipped with Xpages 8.5.2... |
Köll S Cherizard |
Mar 6, 2012 |
| get global SSJS Object for use in JAVA |
As the VariableResolver class resolves value bindings it may be used in the following cases:
- get |
Josef Prantauer |
Dec 15, 2011 |
| Get Information on all network adapters |
This is a quick and dirty solution to retrieve some information on all installed network interfaces |
Ulrich Krause |
Apr 29, 2012 |
| get Submitted Value of Component in Java |
to use this snippet, you need both methods, but from your Java code call the method getSubmittedValu |
F van der Linden |
Dec 2, 2011 |
| getBean |
If you want in Java a bean, then you can use this method |
F van der Linden |
Dec 2, 2011 |
| getDirectoryUsersByGroup |
This code recursively searches through the NAB on the current Domino Server and returns back a HashS |
Toby Samples |
Jan 31, 2012 |
| getNextBusinessDay(int offset, Date baseDate, int[] excludedDaysOfWeek, String[] excludedDateList) |
/**
* 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) |
A simple method to calculate the number of workDays between two dates. Saturday and Sunday are autom |
Ulrich Krause |
May 5, 2012 |
| Grab Server and IP, redirect user |
A quick and dirty option to reading a user's IP and Server information and decide whether this user |
Köll S Cherizard |
Mar 20, 2012 |
| Java Grab CSV Data Load JFreeChart |
This XSnippet queries CSV data into Java Application, add results to JFreeChart Bar chart. As usual |
Köll S Cherizard |
Apr 23, 2012 |
| Java Listens to LotusScript, Runs JFreeChart |
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 |
| Java Search Unique Documents using buttons/links |
Use this XSnippet when building results to your Xpages with Java, give users the ability to page thr |
Köll S Cherizard |
Mar 23, 2012 |
| JavaAgent JFreeChart Conversion to Backing Bean |
Sample converted from an original JavaAgent, nothing fancy, just a lazy way of building charts, good |
Köll S Cherizard |
Mar 28, 2012 |
| JavaAgent XML/Bean Handshake |
Build a connection to a Lotus Notes Domino Database, create an XML document using a JavaAgent, perfo |
Köll S Cherizard |
Apr 9, 2012 |
| Method to get the version number from an Eclipse Plugin |
Most plugins have an Activator class, which is created and set up when the plugin is loaded. Adding |
Nathan T Freeman |
Nov 21, 2011 |
| Query CSV File from Java - Backing Bean |
Query CSV file into Java Application, add results to console. To be honest, not too much testing on |
Köll S Cherizard |
Apr 21, 2012 |
| Refresh applicationScope variables with individual timeout |
applicationScope is a great way to store data, that is available without constantly reading the valu |
Ulrich Krause |
Apr 17, 2012 |
| Replace leading ZEROS from String |
Remove the leading zeros in alphanumeric text |
Ulrich Krause |
May 15, 2012 |
| Settings bean - parameterized method call from EL |
This code allows you to call parameterized methods in a bean from EL. For example:
Settings.value[' |
Thimo Jansen |
Apr 24, 2012 |
| Submit User IP Address to back-end |
This XSnippet can be used with the LoadServers() method to submit user IP information to a NSF back- |
Köll S Cherizard |
Mar 20, 2012 |