jjzjj

ViewScope

全部标签

java - JSF 2.0 : Why my ViewScope Beans is re-created even though still on same View

这个问题在这里已经有了答案:@ViewScopedcalls@PostConstructoneverypostbackrequest(1个回答)关闭6年前。在我的.xhtml页面中,我有以下形式:......CustomerTemplate.xhtml是:...//importcss,jsfiles...//Otherthingsonthepage...这是我的ManagedBean:@ManagedBean@ViewScopedpublicclassMrBean{...privateListitems;...@PostConstructpublicvoidprepareItemLis