-
1. events is not supported for the UICalendar
r.silva Feb 14, 2011 8:34 AM (in response to nimo22)The 'onchange' event was changed to 'change', yet this does not working with attribute listener...
I'm having the same problem!
Could anyone help?<rich:calendar ..>
<a4j:ajax event="change" listener="#{..}" render="test"/>
</rich:calendar>
-
2. events is not supported for the UICalendar
nbelaevski Feb 14, 2011 6:42 PM (in response to r.silva)Ronan,
'change' should work, how does the listener method signature look like?
-
3. Re: events is not supported for the UICalendar
r.silva Feb 15, 2011 7:14 AM (in response to nbelaevski)Nick, My example:
@SessionScoped
@ManagedBean(name="managerBean")
public class ManagerBean {
private Date date;
private String valueDate;public void calendarAction(AjaxBehaviorEvent event){
this.valueDate = date.toString();
System.ou.println(date);
}
.
.
.
Getters and Setters
}My XHTML
<r:calendar value="#{managerBean.date}" enableManualInput="true">
<a:ajax event="change" render="outCalendar" listener="#{managerBean.calendarAction}" />
</r:calendar>
<h:outputText id="outCalendar" value="#{managerBean.valueDate}" />
Don't work Ajax Event... and don't render outputText.Thank's for help Nick...
-
4. Re: events is not supported for the UICalendar
nbelaevski Feb 15, 2011 7:19 AM (in response to r.silva)What is RichFaces version used?
-
5. events is not supported for the UICalendar
r.silva Feb 15, 2011 7:25 AM (in response to nbelaevski)I tested with the version M5 and the current version 'richfaces-showcase-4.0.0-20110214.230401-193'.
-
6. events is not supported for the UICalendar
r.silva Feb 17, 2011 9:35 AM (in response to r.silva)I tested with build version ' richfaces-showcase-4.0.0-20110217.110318-197 ' and still not working. MyFaces Lib's used:
myfaces-api-2.0.3.jar
myfaces-impl-2.0.3.jar
Nick could you help me??
Thank's