Programmatically getting iView Properties
Alright.. I am about to throw my laptop out of the window.. So before I do that I thought I would post my issue here.
Basically, I am trying to get some properties of an iView. Should be pretty basic.. Here is a code snipet..
Hashtable env = new Hashtable();
InitialContext iCtx = null;
iCtx = new InitialContext(env);
IiView result =(IiView)iCtx.lookup("portal_content/Folder/iView");
What ALWAYS happens is that I get a NULLPOINTEREXCEPTION at the 'IiView result=IiView result =(IiView)iCtx.lookup("portal_content/Folder/iView");' line..
Any ideas.. is it something to do with my content configuration??