Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rich Faces

 
Abhi Singh
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ilari Moilanen. Id was used, actually in place h:form I was using form so not getting the id.
Anyways thanks a lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic