Hi,
The following is a code snippet from my custom reference data class. This works fine in V7 Style Editor(AppConsole context) but throws null pointer exception from PropertyUtils.getPropertyPage(request); call in V8 Syle Editor(content context)...I need an API that works in both context. "CONTEXT_REQUEST" ); out .println( "Searching for..request" + request); null ; out .println( "Searching for..thisPage...." + thisPage);
Log out from V7 SE: (Used IE 6 )
Searching for..request
weblogic.servlet.internal.ServletRequestImpl@25b0998[
GET /AppConsole/secure/properties.do?spfOT=cd1b778b093be110VgnVCM1000009c508c30RCRD&spfProjId=738a697ad9965210VgnVCM10000027c27f30PROJ&VgnSessionKey=b769c0858c75d210VgnVCM1000001dbc7b30SESN HTTP/1.1
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Connection: Keep-Alive
Cookie: JSESSIONID=21B6NkcTN1rFNdvwFRTqQFzLvqgtmYmVfCXf1YJKZgnv7ZyhDPJT!582678168!NONE]
Searching for..thisPage....com.vignette.as.ui.common.property.PropertyPage@1968b2c
Log Out From V8 SE:(Used FireFox)
Thanks,
Selvi
Searching for..request
weblogic.servlet.internal.ServletRequestImpl@23529e5[
GET /contentapi/editor/load.json?_=1294259684048&vui.context.rootType=folder&vui.context.rootId=&vui.context.rootName=All+Folders&vui.context.rootXmlName=&vui.context.locale=en_us&vui.context.timezone=%7B%22id%22%3A%22America%2FNew_York%22%2C%22offset%22%3A%22-18000000%22%2C%22usesDaylight%22%3A%22true%22%7D&vui.context.activeContainerId=ca8a697ad9965210VgnVCM10000027c27f30PROJ&vui.context.activeContainerType=Project&.vui.editor.type=ContentInstance&.vui.editor.type.id=0d1b778b093be110VgnVCM1000009c508c30____&.vui.editor.type.xml.name=FLOATER_TEXT&.vui.editor.id=vui-editor-object-new-0 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/plain, */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Referer: http://w-djd47wh1:27110/content/
Cookie: JSESSIONID=9XKMNkVTZdGps1gL2yZN0QyhB7M1JlshGLSM1bdhwjhLhzNJ50WX!582678168!NONE
]
Searching for..thisPage....null
java.lang.NullPointerException
Map context = getContext();
HttpServletRequest request = (HttpServletRequest)context.get(
System.
PropertyPage thisPage =
thisPage = PropertyUtils.getPropertyPage(request); // throws null pointer exception
System.