[JBoss JIRA] Created: (RF-2450) rich:calendar - currentDateChangeListener not working
by Nick Belaevski (JIRA)
rich:calendar - currentDateChangeListener not working
-----------------------------------------------------
Key: RF-2450
URL: http://jira.jboss.com/jira/browse/RF-2450
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: Nick Belaevski
Assigned To: Nick Belaevski
Fix For: 3.2.0
Listener method is not invoked.
RichFaces version 3.1.4
-----------------------------------
<h:form>
<rich:calendar value="#{calBean.now}"
currentDateChangeListener="#{calBean.changeSendDate}">
<a4j:support event="ondateselect"></a4j:support>
</rich:calendar>
</h:form>
----------------------------------
/**
*/
package example;
import org.richfaces.event.CurrentDateChangeEvent;
/**
@author max
*
*/
public class CalBean {
private java.util.Date now = new java.util.Date ();
public java.util.Date getNow() { return now; }
public void setNow(java.util.Date now) { this.now = now; }
public CalBean() {
}
public void changeSendDate (CurrentDateChangeEvent event){ System.out.println("ValueChangeEvent"); }
}
--
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
16 years, 4 months