0
我试图将对象传递给另一个站点。所以,我有我的Gallery.xhtml,我设置对象为当前和重定向到另一页:JSF将对象传递给另一页
<h:form>
<a4j:commandButton value="Edit Skin"
action="#{helloBean.setCurrentSkin(skin)}"
onclick="window.location.href = 'resources/html/Editor.xhtml';" />
</h:form>
但是,当第二页上,调用getter时,当前对象为空一次。
是为每个页面生成的bean吗?我怎么能做到这一点?