[richfaces-issues] [JBoss JIRA] Assigned: (RF-2450) rich:calendar - currentDateChangeListener not working

Vladislav Baranov (JIRA) jira-events at lists.jboss.org
Tue Mar 25 06:02:40 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-2450?page=all ]

Vladislav Baranov reassigned RF-2450:
-------------------------------------

    Assignee: Sergey Halipov  (was: Vladislav Baranov)

This eventListener should be invoked when current month or year is changed in the calendar popup. If you'd want to listen to event invoked when the current day is changed in the calendar popup, try to use <a4j:support event="onchanged" />

> 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: Sergey Halipov
>             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="oncurrentdateselect"></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

        



More information about the richfaces-issues mailing list