jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help

2007-07-20 Thread RobertBln

Hi,

I'm new to JSF and have managed it to get a very simple Application running
with jsf-1.2 ri on Tomcat 6.0.13.

When I try to replace jsf ri with myfaces 1.2, the Result is a

exception

javax.servlet.ServletException: Unable to convert string "OK" to class
"javax.el.ValueExpression" for attribute "value": Property Editor not
registered with the PropertyEditorManager
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)

root cause

javax.faces.FacesException: Unable to convert string "OK" to class
"javax.el.ValueExpression" for attribute "value": Property Editor not
registered with the PropertyEditorManager

org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:340)

org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)

org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)

org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)

root cause

org.apache.jasper.JasperException: Unable to convert string "OK" to class
"javax.el.ValueExpression" for attribute "value": Property Editor not
registered with the PropertyEditorManager

org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887)

org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175)

org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145)

org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105)
org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)

org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)

org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)

org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)

=
Error Log:
org.apache.jasper.JasperException: Unable to convert string "OK" to class
"javax.el.ValueExpression" for attribute "value": Property Editor not
registered with the PropertyEditorManager
at
org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887)
at
org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175)
at
org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145)
at
org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105)
at org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.ap

Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help

2007-07-26 Thread RobertBln


hamidaga wrote:
> 
> hi, i've the exact same problem.
> have you solved the problem?
> thanks
> 

No, I'm sorry, I am waiting for 1.2.01 now.

Maybe in the meantime one could give a try to facelets ...
-- 
View this message in context: 
http://www.nabble.com/jsf-1.2-RI--%3E-myfaces-1.2%3A-Newbie-seeking-for-help-tf4116746.html#a11808896
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help

2007-07-26 Thread RobertBln


Werner Punz-2 wrote:
> 
> 
> anyway guys in the meanwhile give this package a try, it contains
> the latest versions of the core, and the missing jar:
> 
> http://people.apache.org/~werpu/myfaces12custom.zip
> 
> 

Werner, thank you very much, this package is working very well for me! :-D
-- 
View this message in context: 
http://www.nabble.com/jsf-1.2-RI--%3E-myfaces-1.2%3A-Newbie-seeking-for-help-tf4116746.html#a11823688
Sent from the MyFaces - Users mailing list archive at Nabble.com.