[
https://jira.jboss.org/jira/browse/RF-5591?page=com.atlassian.jira.plugin...
]
Alexander Dubovsky closed RF-5591.
----------------------------------
Assignee: Nick Belaevski (was: Tsikhon Kuprevich)
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
Components: component-input
Affects Versions: 3.2.2
Reporter: Igor Dikhtyaruk
Assignee: Nick Belaevski
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