incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lowe" <chris.lowe...@gmail.com>
Subject Re: Problem with selectRangeChoiceBar
Date Mon, 19 Feb 2007 09:18:22 GMT
Martin,

I've been having a similar problem with getting Ajax4Jsf to render when used
with Trinidad, Seam and Facelets.

I've posted a couple of times here and on the Seam forum, but so far I've
not been able to solve this.  Please feel free to join in on any of the
following and if you do find a solution to then I'd be very grateful if you
could post a solution here (likewise should I get there first).

http://mail-archives.apache.org/mod_mbox/incubator-adffaces-user/200702.mbox/browser

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018713

Cheers,

Chris.



On 18/02/07, Martin Vojtek <voytoo@gmail.com> wrote:
>
> Hi,
>
> I'm using trinidad with JBoss Seam and ajax4jsf and facelets. I want use
> range navigation in my tables (tr:table), but I can't get it work.
>
> I have simple tr:table with more than rows lines, but the
> selectRangeChoiceBar doesn't render. This behaviour stands for facelets.
>
> If I use jsps, I get the following error:
>
> 13:39:45,875 ERROR [[jsp]] Servlet.service() for servlet jsp threw
> exception
> java.lang.IllegalArgumentException: SelectItem with no value
>         at
> org.apache.myfaces.shared_impl.taglib.core.SelectItemTagBase.setProperties(
> SelectItemTagBase.java:60)
>         at javax.faces.webapp.UIComponentTag.findComponent(
> UIComponentTag.java:553)
>         at javax.faces.webapp.UIComponentTag.doStartTag(
> UIComponentTag.java
> :312)
>         at org.apache.jsp.userrelation.table_jsp._jspx_meth_f_selectItem_0
> (table_jsp.java:267)
>         at org.apache.jsp.userrelation.table_jsp._jspx_meth_f_facet_0
> (table_jsp.java:241)
>         at org.apache.jsp.userrelation.table_jsp._jspx_meth_tr_table_0
> (table_jsp.java:186)
>         at org.apache.jsp.userrelation.table_jsp._jspx_meth_tr_document_0
> (table_jsp.java:153)
>         at org.apache.jsp.userrelation.table_jsp._jspx_meth_f_view_0
> (table_jsp.java:121)
>         at org.apache.jsp.userrelation.table_jsp._jspService
> (table_jsp.java:89)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> :97)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at org.apache.jasper.servlet.JspServletWrapper.service (
> JspServletWrapper.java:334)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:314)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> :264)
>         at javax.servlet.http.HttpServlet.service (HttpServlet.java:810)
>         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.doInclude(
> ApplicationDispatcher.java:574)
>         at org.apache.catalina.core.ApplicationDispatcher.include(
> ApplicationDispatcher.java:499)
>         at com.epa.epaweb.taglib.JSPIncluder.includeJSP(JSPIncluder.java
> :29)
>         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 com.sun.el.parser.AstFunction.getValue(AstFunction.java:114)
>         at com.sun.el.ValueExpressionImpl.getValue(
> ValueExpressionImpl.java
> :192)
>         at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java
> :184)
>         at com.sun.facelets.el.ELText$ELTextComposite.writeText(
> ELText.java
> :108)
>         at com.sun.facelets.compiler.TextInstruction.write(
> TextInstruction.java :45)
>         at com.sun.facelets.compiler.UIInstructions.encodeBegin(
> UIInstructions.java:39)
>         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(
> CoreRenderer.java:247)
>         at
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(
> CoreRenderer.java:280)
>         at
>
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent
> (PanelPartialRootRenderer.java:73)
>         at
>
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent
> (
> BodyRenderer.java:137)
>         at
>
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll
> (PanelPartialRootRenderer.java:153)
>         at
>
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll
> (
> BodyRenderer.java:79)
>         at
> org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(
> CoreRenderer.java:297)
>         at
>
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll
> (
> DocumentRenderer.java:81)
>         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(
> CoreRenderer.java:184)
>         at
> org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(
> UIXComponentBase.java :700)
>         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> ComponentSupport.java:252)
>         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> ComponentSupport.java:249)
>         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive (
> ComponentSupport.java:249)
>         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> ComponentSupport.java:249)
>         at com.sun.facelets.FaceletViewHandler.renderView(
> FaceletViewHandler.java:573)
>         at
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView
> (
> ViewHandlerImpl.java:181)
>         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(
> ViewHandlerWrapper.java:101)
>         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView (
> AjaxViewHandler.java:221)
>         at org.jboss.seam.jsf.SeamViewHandler.renderView(
> SeamViewHandler.java:59)
>         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(
> ViewHandlerWrapper.java:101)
>         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(
> AjaxViewHandler.java:221)
>         at org.apache.myfaces.lifecycle.LifecycleImpl.render(
> LifecycleImpl.java:384)
>         at javax.faces.webapp.FacesServlet.service (FacesServlet.java:138)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java :173)
>         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> ExtensionsFilter.java:144)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>         at
>
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter
> (TrinidadFilterImpl.java:210)
>         at
>
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl
> (
> TrinidadFilterImpl.java:167)
>         at
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(
> TrinidadFilterImpl.java :140)
>         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(
> TrinidadFilter.java:93)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter
> (
> BaseXMLFilter.java:75)
>         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter (
> BaseFilter.java:213)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java :173)
>         at org.jboss.seam.security.filter.SeamSecurityFilter.doFilter(
> SeamSecurityFilter.java:68)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(
> SeamRedirectFilter.java:32)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(
> SeamExceptionFilter.java :46)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> ReplyHeaderFilter.java:96)
>         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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
> SecurityAssociationValve.java:175)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(
> JaccContextValve.java:74)
>         at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke (
> CachedConnectionValve.java:156)
>         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
> (Http11BaseProtocol.java:664)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:527)
>         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
> MasterSlaveWorkerThread.java:112)
>         at java.lang.Thread.run( Thread.java:595)
>
>
> It is the same exception as in
>
> http://www.irian.at/trinidad-demo/faces/components/selectRangeChoiceBar.jspx
>
>
> Is it a bug or can anyone give me an explanation or any advice?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message