[Seasar-user:4098] Re: [S2JSF] m:renderedの使用とSESSIONスコープについて
[E-MAIL ADDRESS DELETED]
[E-MAIL ADDRESS DELETED]
2006年 7月 16日 (日) 09:51:14 JST
須藤です。
度々の返答ありがとうございます。
> あと、S2JSFのバージョンも教えて欲しいです。
s2-jsf-1.0.14.jarを使用しています
> "list.empty"は使えると思っているのですが、スタックトレースを
> 見ないと何とも言えません。。。
失礼しました。こちらが根本的なエラーでした。
以下、例外
javax.faces.el.ReferenceSyntaxException: Invalid expression: '${cookingList == null || cooki
ngList.empty}'
at org.apache.myfaces.el.ELParserHelper.parseExpression(ELParserHelper.java:120)
at org.apache.myfaces.el.ValueBindingImpl$2.newInstance(ValueBindingImpl.java:161)
at org.apache.myfaces.util.BiLevelCacheMap.get(BiLevelCacheMap.java:139)
at org.apache.myfaces.el.ValueBindingImpl.<init>(ValueBindingImpl.java:194)
at org.apache.myfaces.application.ApplicationImpl$1.newInstance(ApplicationImpl.java:91)
at org.apache.myfaces.util.BiLevelCacheMap.get(BiLevelCacheMap.java:139)
at org.apache.myfaces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:6
53)
at org.seasar.jsf.util.BindingUtil.setValueBinding(BindingUtil.java:114)
at org.seasar.jsf.component.UIElement.setValueBindingAttribute(UIElement.java:91)
at org.seasar.jsf.taglib.ElementTag.setProperties(ElementTag.java:96)
at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:429)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:256)
at org.seasar.jsf.processor.TagProcessorImpl.processTag(TagProcessorImpl.java:224)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:217)
at org.seasar.jsf.processor.ElementProcessor.process(ElementProcessor.java:93)
at org.seasar.jsf.processor.TagProcessorImpl.processChildren(TagProcessorImpl.java:269)
at org.seasar.jsf.processor.InsertProcessor.process(InsertProcessor.java:78)
at org.seasar.jsf.processor.InsertProcessor.process(InsertProcessor.java:70)
at org.seasar.jsf.processor.TagProcessorImpl.processChildren(TagProcessorImpl.java:269)
at org.seasar.jsf.processor.TagProcessorImpl.processTag(TagProcessorImpl.java:225)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:217)
at org.seasar.jsf.processor.ElementProcessor.process(ElementProcessor.java:93)
at org.seasar.jsf.processor.TagProcessorImpl.processChildren(TagProcessorImpl.java:269)
at org.seasar.jsf.processor.TagProcessorImpl.processTag(TagProcessorImpl.java:225)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:217)
at org.seasar.jsf.processor.ElementProcessor.process(ElementProcessor.java:93)
at org.seasar.jsf.processor.TagProcessorImpl.processChildren(TagProcessorImpl.java:269)
at org.seasar.jsf.processor.TagProcessorImpl.processTag(TagProcessorImpl.java:225)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:217)
at org.seasar.jsf.processor.ElementProcessor.process(ElementProcessor.java:93)
at org.seasar.jsf.processor.TagProcessorImpl.processChildren(TagProcessorImpl.java:269)
at org.seasar.jsf.processor.TagProcessorImpl.processTag(TagProcessorImpl.java:225)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:217)
at org.seasar.jsf.processor.ElementProcessor.process(ElementProcessor.java:93)
at org.seasar.jsf.processor.TagProcessorImpl.processChildren(TagProcessorImpl.java:269)
at org.seasar.jsf.processor.TagProcessorImpl.processTag(TagProcessorImpl.java:225)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:217)
at org.seasar.jsf.processor.ElementProcessor.process(ElementProcessor.java:93)
at org.seasar.jsf.processor.TagProcessorImpl.processChildren(TagProcessorImpl.java:269)
at org.seasar.jsf.processor.TagProcessorImpl.processBodyTag(TagProcessorImpl.java:243)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:213)
at org.seasar.jsf.processor.TagProcessorImpl.process(TagProcessorImpl.java:196)
at org.seasar.jsf.processor.ViewProcessor.process(ViewProcessor.java:162)
at org.seasar.jsf.processor.ViewProcessor.process(ViewProcessor.java:160)
at org.seasar.jsf.runtime.ViewRendererImpl.renderView(ViewRendererImpl.java:101)
at org.seasar.jsf.application.S2ViewHandler.renderView(S2ViewHandler.java:123)
at org.seasar.jsf.lifecycle.LifecycleImpl.render(LifecycleImpl.java:186)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173
)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java
:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalCo
ntextImpl.java:405)
at org.seasar.jsf.application.S2ViewHandler.renderView(S2ViewHandler.java:125)
at org.seasar.jsf.lifecycle.LifecycleImpl.render(LifecycleImpl.java:186)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
java:252)
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.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:1
12)
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:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Ht
tp11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.j
ava:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.el.parser.ParseException: Encountered "empty" at line 1, colum
n 38.
Was expecting:
<IDENTIFIER> ...
at org.apache.commons.el.parser.ELParser.generateParseException(ELParser.java:1895)
at org.apache.commons.el.parser.ELParser.jj_consume_token(ELParser.java:1779)
at org.apache.commons.el.parser.ELParser.Identifier(ELParser.java:872)
at org.apache.commons.el.parser.ELParser.PropertySuffix(ELParser.java:783)
at org.apache.commons.el.parser.ELParser.ValueSuffix(ELParser.java:765)
at org.apache.commons.el.parser.ELParser.Value(ELParser.java:655)
at org.apache.commons.el.parser.ELParser.UnaryExpression(ELParser.java:626)
at org.apache.commons.el.parser.ELParser.MultiplyExpression(ELParser.java:479)
at org.apache.commons.el.parser.ELParser.AddExpression(ELParser.java:428)
at org.apache.commons.el.parser.ELParser.RelationalExpression(ELParser.java:315)
at org.apache.commons.el.parser.ELParser.EqualityExpression(ELParser.java:238)
at org.apache.commons.el.parser.ELParser.AndExpression(ELParser.java:188)
at org.apache.commons.el.parser.ELParser.OrExpression(ELParser.java:163)
at org.apache.commons.el.parser.ELParser.Expression(ELParser.java:120)
at org.apache.commons.el.parser.ELParser.AttrValueExpression(ELParser.java:96)
at org.apache.commons.el.parser.ELParser.ExpressionString(ELParser.java:43)
at org.apache.myfaces.el.ELParserHelper.parseExpression(ELParserHelper.java:102)
... 80 more
よろしくお願いします。
----- Original Message -----
送信者: Hirotaka HONMA<[E-MAIL ADDRESS DELETED]>
宛先: [E-MAIL ADDRESS DELETED]
日付:Sunday, July, 16, 2006, 01:50 AM
件名: [Seasar-user:4092] Re:[S2JSF] m:renderedの使用とSESSIONスコープについて
>
>
> ほんまです。
>
> on Sat, 15 Jul 2006 22:27:20 +0900
> in [Seasar-user:4088] Re: [S2JSF] m:renderedの使用とSESSIONスコープについて
> [E-MAIL ADDRESS DELETED] wrote:
>
> > > m:rendered="#{list != null && !list.empty}"
> > > m:rendered="#{list == null || list.empty}"
> > 早速試してみましたが、
> >
> > java.lang.IllegalStateException: parent is null?
> > となってしまいました。
>
> 画面(など)にスタックトレースが出ているようでしたら、転記して
> 頂けますか?
>
> > 不正または不適切なときにメソッドが呼び出されたことを示します。と
> > APIに書いてあったのですが、list.emptyというのは使えるのでしょうか?
>
> "list.empty"は使えると思っているのですが、スタックトレースを
> 見ないと何とも言えません。。。
> あと、S2JSFのバージョンも教えて欲しいです。
>
> よろしくお願いします。
>
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://www.seasar.org/mailman/listinfo/seasar-user
>
Seasar-user メーリングリストの案内