getting outputText value from getViewRoot
Hi guys,
well I am on page2 and I m trying to retrieve the value of a outputText component(of page1) using function which takes arguments
FacesContext.getCurrentInstance().getViewRoot(), "componentName"
As I m on a different page therefore it is giving null pointer exception. Does anybody know that how I can get the value of outputText component(using its ID) from different page.
Anyother workarounds would also be appreciated.
Regards,
Arsalan

