[richfaces-issues] [JBoss JIRA] Created: (RF-4571) onclick event on checkbox won't rerender another component in conjunction with facelets!

Kim Eik (JIRA) jira-events at lists.jboss.org
Tue Oct 7 02:51:22 EDT 2008


onclick event on checkbox won't rerender another component in conjunction with facelets!
----------------------------------------------------------------------------------------

                 Key: RF-4571
                 URL: https://jira.jboss.org/jira/browse/RF-4571
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2, 3.2.1
         Environment: Linux
Apache Tomcat 5.5/6.0
Facelets
Richfaces 3.2.2/3.2.1
            Reporter: Kim Eik


This code:

<h:form id="form">
  <h:selectBooleanCheckbox value="#{testBean.bool}">
    <a4j:support event="onclick" bypassUpdates="false" ajaxSingle="true"/> 
  </h:selectBooleanCheckbox>
  
  <a4j:commandButton value="FORCE RERENDER" id="button" />

  <a4j:outputPanel ajaxRendered="true">
    <h:outputText value="#{testBean.bool}" />
  </a4j:outputPanel>
</h:form>


worked great when i didn't add facelets to my project, i could click on the checkbox (mark as true), and the output text would be shown as true. However, after adding facelets filter, the checkbox refused to rerender the outputtext, and i had to click the FORCE RERENDER button after clicking on the checkbox, to actually rerender the output text. Its really strange because it seems to me that the html output of richfaces doesn't even assosciate an event handler for the checkbox, and also this is the only bug i have found that appears when using facelets. All other functionality in richfaces as far as i can tell, works fine.

more information can be found on http://www.jboss.com/index.html?module=bb&op=viewtopic&t=143354

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list