File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Rich Faces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Rich Faces" Watch "Rich Faces" New topic

Rich Faces

Abhi Singh

Joined: Feb 02, 2010
Posts: 13
<td align="left" scope="col" >
<rich:calendar datePattern="yyyy-MM-dd" id="calHolidayDate" value="#{holiday.holidayCalDate}" inputClass="calendarTextBox" mode="ajax" dataModel="#{currentCalForward}" boundaryDatesMode="scroll" />

I am using rich:calendar. When I change the month or year, the name of the month doesn't change. But on selecting any date after changing month it shows the correct data. In error console it gives the error

Error: this._form is null
Source File: http://localhost:8084/abs/spring/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript
Line: 201

Although I am using the above code at many other places where it is working fine.
Ilari Moilanen
Ranch Hand

Joined: Apr 15, 2008
Posts: 199
Since the error message tells that it can not find form have you checked if there is something different with this form compared to other forms where you have used this input. I presume that there is a form. Does it have an id? Do you have multiple forms on your page and do they all have id attributes? etc etc
Abhi Singh

Joined: Feb 02, 2010
Posts: 13
Thanks Ilari Moilanen. Id was used, actually in place h:form I was using form so not getting the id.
Anyways thanks a lot
I agree. Here's the link:
subject: Rich Faces
It's not a secret anymore!