-
1. Re: Problem with rich:calendar component children
nbelaevski Oct 16, 2007 10:49 AM (in response to romaintaz)Hello,
Thank you, we'll check that: http://jira.jboss.com/jira/browse/RF-1130. -
2. Re: Problem with rich:calendar component children
romaintaz Oct 17, 2007 3:22 AM (in response to romaintaz)Hi Nick,
Thanks for your reply.
So I will wait the RichFaces 3.2.0 release to use my component with the calendar. -
3. Re: Problem with rich:calendar component children
shikida Oct 14, 2010 2:52 PM (in response to romaintaz)sorry for reopening this, but I am getting this very same problem when generating a calendar with a ajax support component as a child, programatically.
I am using RF 3.3.3.
for example
HtmlCalendar cal = (HtmlCalendar)application.createComponent(HtmlCalendar.COMPONENT_TYPE);
UIAjaxSupport ajax =(UIAjaxSupport)application.createComponent(UIAjaxSupport.COMPONENT_TYPE);
(...)
ajax.setEvent("onblur");
cal.getChildren().add(ajax);generates
new Calendar('form:j_id68',"pt_BR",{'selectedDate':new Date(2010,9,14,15,37,0),'currentDate':new Date(2010,9,14),'datePattern':'dd/MM/yyyy hh:mm'} ,{'dayListMarkup':null} ).load();
TIA
Leo K.
-
4. Re: Problem with rich:calendar component children
nbelaevski Oct 14, 2010 8:48 PM (in response to shikida)Hi Leo,
This is is because UIAjaxSupport doesn't render anything and is a child. Put it to any arbitrary-named facet (except the ones used by calendar component) instead.