How do I do something like this:
public class CustomFreemarkerManager extends FreemarkerManager {
@Override
protected BeansWrapper getObjectWrapper() {
BeansWrapper beansWrapperInstance = super.getObjectWrapper();
// !!! This won't compile due to "root". What is that object
and how do I
get a reference to it? !!!
root.put("statics", beansWrapperInstance.getStaticModels());
root.put("enums", beansWrapperInstance.getEnumModels());
return beansWrapperInstance;
}
}
--
View this message in context:
http://www.nabble.com/FreeMarker-Question-tf4889630.html#a13996035
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]