[
https://issues.jboss.org/browse/RF-11872?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-11872:
------------------------------------
This is the simplest possible example I could come up with to replicate this behaviour
(note, it does not require a4j:region)
{code}
<!DOCTYPE html>
<html lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j">
<h:head>
<script type="text/javascript">
window.addEventListener('load', function (e) {
handleHashChange()
}, false);
</script>
</h:head>
<h:body>
<div id="browser">
<h:form>
<a4j:jsFunction name="handleHashChange"
render="@form"/>
<div>
<h:form/>
<h:form>
User Name:
<h:inputText id="input"
value="#{myBean.value}"/>
<h:commandButton value="submit">
<a4j:ajax render="echo"
execute="input"/>
</h:commandButton>
<br/>
Entered name:
<h:outputText id="echo"
value="#{myBean.value}"/>
</h:form>
</div>
</h:form>
</div>
</h:body>
</html>
{code}
Notice the pair of nested forms. If I remove the first nested form (the empty one) the
problem goes away. Similarly if I switch the order of the nested components.
Mobile Showcase and a4j:region demo: submit button doesn't
respond on the first click
-------------------------------------------------------------------------------------
Key: RF-11872
URL:
https://issues.jboss.org/browse/RF-11872
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: mobile, showcase
Affects Versions: 4.2.0.CR1
Environment: richfaces-showcase-4.1.1-20120106.230242-18 /
richfaces-showcase-4.2.0-20120123.231757-13
JBoss AS 7.0.2.Final / 7.1.0.Beta1
Firefox 8.0 / Google Chrome 16.0.912.63 / Android 2.2 / iPhone 4.2.1
Reporter: Jan Papousek
Assignee: Brian Leathem
Fix For: 4.2.1.CR1
Attachments: richfaces-showcase-4.2.0-20120123.231757-13-jbas7.war
--
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