开发者

ViewScoped bean destroyed when ajax=false

开发者 https://www.devze.com 2023-03-31 22:20 出处:网络
This issue is connected with my previous question I\'ve had here. So, I made a workaround with a simple p:confirmDialog where I extracted the problematic ajax=false command link, so I sele开发者_开发

This issue is connected with my previous question I've had here.

So, I made a workaround with a simple p:confirmDialog where I extracted the problematic ajax=false command link, so I sele开发者_开发技巧ct the attachment by clicking it in p:datatable and execute the download from the p:confirmdialog.

Now it seems like the bean is destroyed. It downloads the right file, but when I try some action after that from the datatable (such as deleting a row), i get this:

SEVERE: com.sun.faces.mgbean.ManagedBeanCreationException: An error occurred performing resource injection on managed bean offerBean

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号