IterableCommonNameConverter
Added a number of methods
isMobile()
reloadPage() to redirect to current URL
isNumeric() to check a whole string is numeric
isRenderingPhase() reproducing view.isRenderingPhase() functionality for Java
Reformatted the Java class (sorry!)
Added properties on XPageController for mobile, navigationPath and showSearch methods.
On DocumentController:-
Added cancelPath property with methods to allow path to go to after cancelling to be computed (I use this so that if I open a deleted doc, I can redirect to a view of deleted docs instead of the main view)
Added methods:
save(boolean) to allow developer to redirect to a view after saving
getCurrentPath
isDeleted (in my own app that checks a MarkForDeletion field, but could here be used to check soft deletions)
getEditSummary to get who created / last modified doc
getEditPage to redirect to a specific other edit page
preventEdit
isNewNote
Fix for opening document using $$OpenDocument - pageName then needs to be "/"+pageClassName
Setting isMobile on each page