User is unable to clean the existing date in <rich:calendar> if <a4j:support> 
is used to re-render the input
------------------------------------------------------------------------------------------------------------

                 Key: RF-5591
                 URL: https://jira.jboss.org/jira/browse/RF-5591
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
            Reporter: Igor Dikhtyaruk


example:

xhtml:
        <rich:calendar id="selectedDate" datePattern="dd MMM yyyy"
                value="#{myBean.selectedDate}" enableManualInput="true"
                popup="true">
                <a4j:support ajaxSingle="true" event="oninputchange"
                        reRender="selectedDate" bypassUpdates="true" />
                <a4j:support ajaxSingle="true" event="onchanged"
                        reRender="selectedDate" bypassUpdates="true" />
        </rich:calendar>

java bean:

package au.gov.austrac;

import java.util.Arrays;
import java.util.Date;
import java.util.List;

import org.jboss.seam.annotations.Name;

@Name("myBean")
public class MyBean {
        private Date selectedDate = new Date();

        public Date getSelectedDate() {
                return selectedDate;
        }

        public void setSelectedDate(Date selectedDate) {
                this.selectedDate = selectedDate;
        }
}


-- 
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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to