Wednesday, July 31, 2013

Error: Parameter 'translate' of component is bound to null This parameter is not allowed to be null.

Error in Tapestry:
An unexpected application exception has occurred.

Render queue error in BeginRender[DepartmentMasterPG:createddatetextbox]: Parameter 'translate' of component DepartmentMasterPG:createddatetextbox is bound to null. This parameter is not allowed to be null.

Solution:
if the column is a date or timestamp column and if it is editable, then change the textfield to datefield component like shown below

<t:textfield t:id="createdDateTextbox" value="department.createdDate" size="5" />
change to

<t:datefield t:id="createdDateTextbox" value="department.createdDate" size="5" />

No comments: