## 1) Environment
- version: poseidon-1.0.0
- Affected browsers: Tested in IE , Chrome and Firefox (looks like all browsers )
## 2) Expected behavior
menu-button -- fa-angle-left should always work
...
## 3) Actual behavior
menu-button -- fa-angle-left does not work when there is a button click that has **update="@(form)"**.
..
## 4) Steps to reproduce
Place a button in form
Code: Select all
<p:commandButton value="Ajax Submit" id="ajax"
action="#{buttonView.buttonAddLabel}"
update="@(form)"
styleClass="ui-priority-primary" />
1. Click after place load , Menu working
2. Click on button , Menu not working
3. Click again on the button , Menu working
4. Click again on the button , Menu not working
looks like it works after alternate click.
..
## 5) Sample XHTML
Use the empty.xhtml from poseidon-1.0.0.war
Code: Select all
<ui:define name="content">
<div class="ui-g">
<div class="ui-g-12">
<div class="card">
<h1>Empty Page</h1>
<p>Use this page to start from scratch and place your custom
content.</p>
<p:button outcome="dashboard" value="Home"
style="display:inline-block;margin-top:5px" />
<h:form id="form">
<p:commandButton value="Ajax Submit" id="ajax"
action="#{buttonView.buttonAddLabel}" update="@(form)" />
</h:form>
</div>
</div>
</div>
</ui:define>
No change to ButtonView.java from poseidon-1.0.0.war
..