[richfaces-issues] [JBoss JIRA] Reopened: (RF-2450) rich:calendar - currentDateChangeListener not working
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Fri Apr 4 07:33:22 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-2450?page=all ]
Ilya Shaikovsky reopened RF-2450:
---------------------------------
Assignee: Vladislav Baranov (was: Aleksej Yanul)
please revert your changes. Add additional attribute oncurrentdateselected whcih will be fired after the date changed.
oncurretdateselect - should be fired before the change.
> 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: Vladislav Baranov
> 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