aspose file tools*
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
Author

Rich Faces

Abhi Singh
Greenhorn

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" />
</td>


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: 198
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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Rich Faces
 
Similar Threads
JavaScript problem with IE
JSF/RichFaces calendar; value loses one day
Problems with rich:calendar
Rich Faces Calendar
best option for implementing form