I think you may discover that more than one type of data is being passed as arg2 and that you'll need to determine which type arg2 has as part of the conversion function so that the appropriate conversion code (including type-casting) can be selected and executed.
It's also possible that you've configured your converter to convert one or more non-Calendar properties.
Incidentally, I think that the standard JSF date converter handles both Date and Calendar objects, so you might not actually need a custom converter.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jun 09, 2012
well i tried standard converter
<f:convertDateTime dateStyle="full"/> also <f:convertDateTime pattern="mm/dd/yyyy"/>
but it gives error
Servlet.service() for servlet Faces Servlet threw exception
javax.servlet.jsp.JspException: Not nested in a tag of proper type. Error for tag with handler class:com.sun.faces.taglib.jsf_core.ConvertDateTimeTag.