[Seasar-user:2849] Re: [S2JSF] m:immediate の動作について
松山 大樹
t.matsuyama
2005年 11月 17日 (木) 10:04:48 JST
松山です。
少し訂正です。
先ほどのメールの手順に追加して、
/WEB-INF/src/*.dicon の先頭3行を、
-------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.3//EN"
"http://www.seasar.org/dtd/components23.dtd">
-------------------------------------------------
と全て変更し、app.dicon を、
-------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.3//EN"
"http://www.seasar.org/dtd/components23.dtd">
<components>
<include path="jsf.dicon"/>
<include path="examples/jsf/dicon/add.dicon"/>
<include path="examples/jsf/dicon/validator.dicon"/>
<include path="examples/jsf/dicon/allconverter.dicon"/>
<include path="examples/jsf/dicon/allvalidator.dicon"/>
</components>
-------------------------------------------------
と変更すると、add.html の画面は出るようになりました。
ただ、数字を入力して、どれかのボタンを押すと、次のエラーが発生しました。
-------------------------------------------------
2005-11-17 10:03:38,000 [http-8080-Processor24] ERROR org.apache.myfaces.el.ValueBindingImpl - Cannot set value for expression '#{addDto.arg1}' to a new value of type java.lang.String
javax.faces.el.PropertyNotFoundException: Base is null: addDto
at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:523)
at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:309)
at javax.faces.component.UIInput.updateModel(UIInput.java:252)
at javax.faces.component.UIInput.processUpdates(UIInput.java:191)
at javax.faces.component.UIForm.processUpdates(UIForm.java:81)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:173)
at org.seasar.jsf.component.S2UIViewRoot.processUpdates(S2UIViewRoot.java:64)
at org.seasar.jsf.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:167)
at org.seasar.jsf.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
2005-11-17 10:03:38,046 [http-8080-Processor24] ERROR org.apache.myfaces.el.ValueBindingImpl - Cannot set value for expression '#{addDto.arg2}' to a new value of type java.lang.String
javax.faces.el.PropertyNotFoundException: Base is null: addDto
at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:523)
at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:309)
at javax.faces.component.UIInput.updateModel(UIInput.java:252)
at javax.faces.component.UIInput.processUpdates(UIInput.java:191)
at javax.faces.component.UIForm.processUpdates(UIForm.java:81)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:438)
at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:173)
at org.seasar.jsf.component.S2UIViewRoot.processUpdates(S2UIViewRoot.java:64)
at org.seasar.jsf.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:167)
at org.seasar.jsf.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
--
::: 株式会社ワウワウ・コミュニケーションズ http://www.wowcom.co.jp/
::: ITシステム・インテグレートDiv.
::: Web・マーケティング&コマンドセンターUnit.
::: 松山 大樹 - [E-MAIL ADDRESS DELETED]
Seasar-user メーリングリストの案内