Melloware created MYFACES-4661: ---------------------------------- Summary: SearchExpressions: Infinite Loop with SubView Key: MYFACES-4661 URL: https://issues.apache.org/jira/browse/MYFACES-4661 Project: MyFaces Core Issue Type: Improvement Affects Versions: 4.1.0-RC1, 4.0.2, 2.3-next-M8, 3.0.2, 2.3.10 Reporter: Melloware Attachments: subview.zip
Attached is reproducible example using only core JSF code. [^subview.zip] {code:java} <h:form id="frmTest"> <f:subview id="subview1"> <!-- Components within the first subview --> <h:outputText value="This is subview 1" /> <h:inputText id="txtString" value="#{testView.string}" /> </f:subview> <p></p> <f:subview id="subview2"> <!-- Components within the second subview --> <h:outputText value="This is subview 2" /> <h:inputText value="#{testView.integer}" /> </f:subview> <p></p> <h:commandButton value="Submit (Error Response Committed)"> <f:ajax render=":subview1:txtString" event="click" ></f:ajax> </h:commandButton> <h:commandButton value="Submit (Works)"> <f:ajax render="subview1:txtString" event="click" ></f:ajax> </h:commandButton> </h:form> {code} ^The subview `render=":subview1:txtString"` gets stuck an infinite loop while `render="subview1:txtString"` works fine.^ ^The request for the failed infinite loop...^ {code:java} javax.faces.partial.render"j_id__v_0" {code} ^Running this same code with Mojarra 2.3 using `mvn clean jetty:run -Pmojarra23` the button works fine and the request looks like...^ ^^ {code:java} javax.faces.partial.render"frmTest:subview1:txtString" {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)