MassimoH wrote:
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;
        }
}


I think you might do better asking this in a FreeMarker forum (or list). Or put the question into a Struts context (if it's related to struts).

- Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to