[ https://issues.jboss.org/browse/JBSEAM-5020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713218#comment-12713218 ]
Marek Novotny commented on JBSEAM-5020: --------------------------------------- Right, we know about this issue and that is primary JSF 2 problem - look at http://stackoverflow.com/questions/10337015/should-partial-state-saving-be-set-to-false, where is detailed explanation. Right now it seems that only what helps is turn off partial state saving by {code:xml} <context-param> <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name> <param-value>false</param-value> </context-param> {code} or use full state saving only for selected viewIds, which requires to have restored conversation for Page and conversation context like: {code:xml} <context-param> <param-name>javax.faces.FULL_STATE_SAVING_VIEW_IDS</param-name> <param-value>/some.xhtml;/other.xhtml</param-value> </context-param> {code} > Binding component does not restore conversation > ----------------------------------------------- > > Key: JBSEAM-5020 > URL: https://issues.jboss.org/browse/JBSEAM-5020 > Project: Seam 2 > Issue Type: Bug > Affects Versions: 2.3.0.BETA2 > Environment: 2.3.0.BETA2 or 2.3.0.CR1-SNAPSHOT > Reporter: Tiago Peruzzo > > Here is a simple scenario that demonstrates that when a binding is done in > some component of view the conversation is no longer restored, if removed > binding that conversation is restored with success. > {code:xml} > <h:form> > <h:outputText value="ConversationId: #{conversation.id}"/> > <br/> > <h:inputText value="#{myComponent.value}" > binding="#{myBackingBean.input}"/> > <br/> > <h:commandButton action="test" value="Submit" /> > </h:form> > {code} > {code:title=MyComponent.java} > @Scope(ScopeType.CONVERSATION) > @Name("myComponent") > public class MyComponent implements Serializable { > > private static final long serialVersionUID = 1L; > > public String value; > > @Create > @Begin() > public void begin(){ > > } > public String getValue() { > return value; > } > > public void setValue(String value) { > this.value = value; > } > > } > {code} > {code:title=MyBackingBean.java} > @Scope(ScopeType.EVENT) > @Name("myBackingBean") > public class MyBackingBean implements Serializable { > > private UIInput input; > public UIInput getInput() { > return input; > } > > public void setInput(UIInput input) { > this.input = input; > } > } > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ seam-issues mailing list seam-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/seam-issues