cancel
Showing results for 
Search instead for 
Did you mean: 

[Solved] Very big problem => Browse.jsp : forcing refresh

zomurn
Champ in-the-making
Champ in-the-making
Hello,

I created a custom action via Java API. In the browse view, the user execute the action on a node (document).
This action delete the node.
The big (very) problem is that the view browse.jsp is not refresh although I set <action>browse</action> in the custom action web-client-config-custom.xml.
I tried thousands of tricks so as to refresh this page (not to see the deleted document done by the action) but nothing work !

Please help me !!
1 REPLY 1

zomurn
Champ in-the-making
Champ in-the-making
Yes I found the magic line of code that do this !!! YES !! (1 day to correct this "bug")

Put this code in your managed bean at the end of your action process :

UIContextService.getInstance(FacesContext.getCurrentInstance())
            .notifyBeans();