dcsimg
Difference between RequestContext.getCurrentInstance.launchdialog() and RequesContext.getCurrentInstance.getDialogService().launchDialog()
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Britto_Rajan
Posted On:   Wednesday, April 23, 2008 08:57 AM

I get a null pointer exception while returning from the dialog RequestContext.getCurrentInstance().returnFromDialog(null,null); when i launch a dialog from RequestContext.getCurrentInstance().launchdialog()


This null pointer exception does not occur when the page is returned from RequestContext.getCurrentInstance().getDialogService().returnFromDialog(null,null).


When googled it, i got the information that the former pushes and pops the pageflowscope and the latter does not. What difference does it make?


Please clarify this. Please use html tags to format code blocks.

About | Sitemap | Contact