public void hintsToPageParameters(Map<String,String> hints, PageParameters pageParameters) {
if(hints.isEmpty()) {
return;
}
MementoServiceDefault vms = new MementoServiceDefault();
Memento memento = vms.create();
Set<String> hintKeys = hints.keySet();
for (String key : hintKeys) {
String safeKey = key.replace(':', '_');
Serializable value = hints.get(key);
memento.set(safeKey, value);