[
http://jira.jboss.com/jira/browse/RF-3357?page=comments#action_12411986 ]
Alex Peelman commented on RF-3357:
----------------------------------
Sorry for the bug in the title, it should say h:commandButton instead of h:commandLink
h:commandLink does not work at first click in simpleTogglePanel
---------------------------------------------------------------
Key: RF-3357
URL:
http://jira.jboss.com/jira/browse/RF-3357
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Jboss 4.2.2.GA, Seam 2.0.1.GA, Ubuntu Linux 8.04
Reporter: Alex Peelman
Priority: Minor
When I open a simpleTogglePanel that is initially closed and click a h:commandButton
inside this panel nothing happens the first time. When I press the same h:commandButton a
second time the action is triggered.
<h:form styleClass="form">
<rich:simpleTogglePanel label="#{messages['search']}"
switchType="client" opened="false">
...
<div class="buttons">
<h:commandButton action="#{artifactCrud.search}"
value="Search" /> </div>
</rich:simpleTogglePanel>
</h:form>
remark : the switchType is set to "client" if it is changed to "ajax"
the button works after the first click
Gr. Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira