1.My environment:
~~~~~~~
JDK1.6
JBOSS 4.2.1
jboss-seam-2.0.0.BETA1
richfaces-3.0.1
~~~~~~~
2.I use s:selectDate, but gaving.king said it has been deprecated in seam2.0.
3.So, i use rich:calendar, but it said:
~~~~~~~
/pages/sys/user/register.xhtml @79,43 <rich:calendar> Tag Library supports namespace: http://richfaces.ajax4jsf.org/rich, but no tag was defined for name: calendar
~~~~~~~
4.Now, i use "richfaces-api-3.1.2.GA.jar+richfaces-impl-3.1.2.GA.jar+richfaces-ui-3.1.2.GA.jar" instead of "richfaces-3.0.1.jar".
But, After ear is deployed, jboss said
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2007-10-23 12:18:18 WARN [org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:101)] InitialContext did not implement EventContext
2007-10-23 12:18:21 ERROR [org.apache.commons.digester.Digester.endElement(Digester.java:1069)] End event threw exception
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:208)
at org.apache.commons.digester.Rule.end(Rule.java:228)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shall i change web.xml? And how???