Subistituir Requestcontext by Facescontext

Asked

Viewed 80 times

0

I currently use the following functions which are from Primefaces:

  • RequestContext.getCurrentInstance().update("ComponentTal")

  • RequestContext.getCurrentInstance().execute("FuncaoJavaScript")

How can I upgrade them using the facescontext()?

Note: You may have noticed that my purpose is to access components of the screen through the bean, then if you have any solution Prime, let me know.

  • What is the reason for the exchange?

  • I’m taking Primefaces out of my application! I already have! The Framework doesn’t suit me, so I created my own! just missing this function so I can take it off at once! @Karanalvespereira you know how to do?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.