Hi,
We recently upgraded to v8 and are still using the v7 COE for CTDs. One problem that I'm running into is functionality to obtain the current content instance from a class that implements IValidatable. We are using a Text CCE widget. The code that used to work in v7 is:
ContentInstance ci = (ContentInstance)context.get("CONTEXT_CURRENT_CONTENT_INSTANCE");
But, now on the new system, the ci is returned as null. I looked in the code and it seems that the only two parameters that seem to be getting passed are the request object and the java class name.
Anyone have any ideas on what I'm missing that's causing this to fail?
Thanks,
Eric