NIHVIVO-3114 Fix problems with dump of IndividualTemplateModel.qrData()
This commit is contained in:
parent
d438bca997
commit
1f9bcac9b1
4 changed files with 41 additions and 14 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
package freemarker.ext.beans;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* Class to extract wrapper used to wrap an object into a template model object.
|
||||
* Used as workaround to gap in Freemarker template model API (can't get wrapper
|
||||
|
@ -16,4 +18,5 @@ public class WrapperExtractor {
|
|||
public static int getWrapperExposureLevel(BeanModel model) {
|
||||
return model.wrapper.getExposureLevel();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue