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: Problems binding <tr:table> in backing bean
Date Thu, 01 Feb 2007 08:42:27 GMT
Nice to know I'm not alone ;)

Cheers,

Chris.

On 31/01/07, Reinhard Kiesswetter <Reinhard.Kiesswetter@hms.org> wrote:
>
> Hi Chris,
>
> thank´s for the link, that helped a lot, we realy had libraries in the
> .ear and a .war of our app. So they Casting went wrong since the ids of the
> classes ware not the same.
>
> Understandable that you freak out about the post of the jboss-guy. We used
> jboss-portal first and had similar probs with postings form the developers
> of this project.
>
> @mathias
> THX for your hint too, that was how I actualy realized that the tag and my
> bean used different libraries.
>
> Best wishes
>
> Reinhard
>
> -----Ursprüngliche Nachricht-----
> Von: Chris Lowe [mailto:chris.lowe.uk@gmail.com]
> Gesendet: Montag, 29. Jänner 2007 23:02
> An: adffaces-user@incubator.apache.org
> Betreff: Re: Problems binding <tr:table> in backing bean
>
> Looking at your code, I'd say your trouble is to do with the binding of
> the
> table - the setter/getter on sandboxBean are probably of the wrong type.
> You can test this theory by changing the types of the binding target to
> Object and add some trace to the setter that prints the value of
> Object.class.
>
> <tr:table binding="#{sandboxBean.table}"
>
> I think I can save you some time here - I couldn't get the trinidad table
> selection model working with Seam.  I assume you're using the above
> binding
> to get at the actual table UIComponent so that you can set the selected
> row
> key items?  Read my story here:
>
>
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70540&postdays=0&postorder=asc&start=20
>
> In the post I made some naive and embarrasing speculation about AOP which
> got, er, 'criticised' (face turning red just thinking about it), however
> it
> details what I was trying to do and why it wasn't working, and it looks
> like
> you're attempting something similar...
>
> Best Regards,
>
> C.
>
>
>
> On 26/01/07, Reinhard Kiesswetter <Reinhard.Kiesswetter@hms.org> wrote:
> >
> > Hi all,
> >
> > We try to write a Sandbox to get in touch with Trinidad Faces.
> >
> > We use SEAM and ajax4jsf which works just fine, BUT:
> >
> > My xhtml file looks like:
> >
> > <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> >         xmlns:ui="http://java.sun.com/jsf/facelets"
> >         xmlns:h="http://java.sun.com/jsf/html"
> >         xmlns:f="http://java.sun.com/jsf/core"
> >         xmlns:s="http://jboss.com/products/seam/taglib"
> >         xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
> >         xmlns:tr="http://myfaces.apache.org/trinidad">
> >
> >         <!-- sandbox-page -->
> >
> >         <tr:form>
> >                 <tr:table value="#{sandboxBean.myPersons}" var="person"
> > rows="3" rowBandingInterval="1">
> >                         <tr:column>
> >                                 <f:facet name="header">
> >                                         <h:outputText value="Name" />
> >                                 </f:facet>
> >                                 <tr:column>
> >                                         <f:facet name="header">
> >                                                 <h:outputText
> value="Vor"
> > />
> >                                         </f:facet>
> >                                         <h:outputText value="#{
> > person.vorname}" />
> >                                 </tr:column>
> >                                 <tr:column>
> >                                         <f:facet name="header">
> >                                                 <h:outputText
> value="Nach"
> > />
> >                                         </f:facet>
> >                                         <h:outputText value="#{
> > person.nachname}" />
> >                                 </tr:column>
> >                         </tr:column>
> >                         <tr:column>
> >                                 <f:facet name="header">
> >                                         <h:outputText value="Gruppen" />
> >                                 </f:facet>
> >                                 <tr:table binding="#{sandboxBean.table}"
> > value="#{person.groups}" var="group"
> >                                         rowSelection="multiple">
> >                                         <f:facet name="footer">
> >                                                 <tr:commandButton
> > text="Gruppe entfernen" actionListener="#{sandboxBean.removeGroup}"/>
> >                                         </f:facet>
> >                                         <tr:column>
> >                                                 <h:outputText
> > value="#{group}" />
> >                                         </tr:column>
> >                                 </tr:table>
> >                         </tr:column>
> >                 </tr:table>
> >
> >                 <tr:messages />
> >
> >                 <tr:inputText label="Vorname: " value="#{
> > sandboxBean.tmpPerson.vorname}"/>
> >                 <tr:inputText label="Nachname: " value="#{
> > sandboxBean.tmpPerson.nachname}"/>
> >
> >                 <tr:selectManyShuttle id="gruppenShuttle"
> >                         leadingHeader="Verfuzegbare Gruppen:"
> >                         trailingHeader="Ausgewaehlte Gruppen:"
> >                         value="#{sandboxBean.tmpPerson.groups}">
> >                         <f:selectItems value="#{sandboxBean.allGroups}"
> />
> >                 </tr:selectManyShuttle>
> >
> >                 <tr:commandButton text="Person anlegen"
> actionListener="#{
> > sandboxBean.createPerson}"/>
> >
> >         </tr:form>
> >
> > </ui:composition>
> >
> > In the sandboxBean I try following
> >
> > private CoreTable table;
> >
> >         .
> >         .
> >         .
> >
> >         public CoreTable getTable() {
> >                 return table;
> >         }
> >
> >         public void setTable(CoreTable table) {
> >                 this.table = table;
> >         }
> >         .
> >         .
> >         .
> >
> >         public void removeGroup(ActionEvent event) {
> >                 CoreTable tmpTable = getTable();
> >
> >                 Collection<String> tmpGroups = (Collection<String>)
> > tmpTable.getValue();
> >                 Iterator selection = tmpTable.getSelectedRowKeys
> > ().iterator();
> >                 // Iterator iter = tmpGroups.iterator();
> >                 while (selection.hasNext()) {
> >                         Object rowKey = selection.next();
> >                         tmpTable.setRowKey(rowKey);
> >                         String row = (String) tmpTable.getRowData();
> >                         if (tmpGroups.contains(row)) {
> >                                 tmpGroups.remove(row);
> >                         }
> >                 }
> >                 tmpTable.setValue(tmpGroups);
> > }
> >
> > Which leads to following Exception as soon as I call the page in the
> > browser:
> >
> > ERROR [STDERR] 26.01.2007 09:14:13
> > org.apache.myfaces.trinidad.component.UIXComponentBase _createType
> > SCHWERWIEGEND: Could not load type properties
> > java.lang.ClassCastException:
> > org.apache.myfaces.trinidadinternal.uinode.UINodeFacesBean$Type
> >         at
> > org.apache.myfaces.trinidad.component.UIXComponentBase._createType(
> > UIXComponentBase.java:1316)
> >         at org.apache.myfaces.trinidad.component.UIXComponentBase
> > .<clinit>(UIXComponentBase.java:65)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:164)
> >         at $Proxy107.<clinit>(Unknown Source)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance(
> > NativeConstructorAccessorImpl.java:39)
> >         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> > DelegatingConstructorAccessorImpl.java:27)
> >         at java.lang.reflect.Constructor.newInstance(Constructor.java
> :494)
> >         at org.jboss.ejb3.stateful.StatefulLocalProxyFactory.createProxy
> (
> > StatefulLocalProxyFactory.java:102)
> >         at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(
> > JndiProxyFactory.java:52)
> >         at javax.naming.spi.NamingManager.getObjectInstance(
> > NamingManager.java:304)
> >         at org.jnp.interfaces.NamingContext.getObjectInstance(
> > NamingContext.java:1125)
> >         at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure
> (
> > NamingContext.java:1142)
> >         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java
> :705)
> >         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java
> :587)
> >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> >         at org.jboss.seam.Component.instantiateSessionBean(
> Component.java
> > :1033)
> >         at org.jboss.seam.Component.instantiate(Component.java:1019)
> >         at org.jboss.seam.Component.newInstance(Component.java:1724)
> >         at org.jboss.seam.Component.getInstance(Component.java:1631)
> >         at org.jboss.seam.Component.getInstance(Component.java:1598)
> >         at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(
> > SeamVariableResolver.java:91)
> >         at
> >
> org.apache.myfaces.trinidadinternal.el.TrinidadVariableResolver.resolveVariable
> > (TrinidadVariableResolver.java:52)
> >         at
> >
> org.apache.myfaces.trinidadinternal.el.TrinidadVariableResolver.resolveVariable
> > (TrinidadVariableResolver.java:52)
> >         at
> > org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(
> > LastVariableResolverInChain.java:42)
> >         at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue
> (
> > LegacyELContext.java:134)
> >         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java
> :65)
> >         at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
> >         at com.sun.el.ValueExpressionImpl.getValue(
> > ValueExpressionImpl.java:192)
> >         at com.sun.facelets.el.TagValueExpression.getValue(
> > TagValueExpression.java:71)
> >         at com.sun.facelets.el.LegacyValueBinding.getValue(
> > LegacyValueBinding.java:56)
> >         at
> org.apache.myfaces.application.ApplicationImpl.createComponent(
> > ApplicationImpl.java:424)
> >         at org.jboss.seam.jsf.SeamApplication11.createComponent(
> > SeamApplication11.java:75)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.createComponent(
> > ComponentHandler.java:218)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:135)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
> > ComponentHandler.java:295)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:165)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
> > ComponentHandler.java:295)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:165)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
> > ComponentHandler.java:295)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:165)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:119)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:248)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:294)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:273)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(
> > DefaultFaceletContext.java:143)
> >         at com.sun.facelets.tag.ui.IncludeHandler.apply(
> > IncludeHandler.java:60)
> >         at com.sun.facelets.tag.ui.DefineHandler.apply(
> DefineHandler.java
> > :58)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:128)
> >         at
> > com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(
> > DefaultFaceletContext.java:306)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition
> (
> > DefaultFaceletContext.java:279)
> >         at com.sun.facelets.tag.ui.InsertHandler.apply(
> InsertHandler.java
> > :68)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:248)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:294)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:273)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(
> > DefaultFaceletContext.java:143)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:113)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:248)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:294)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:273)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(
> > DefaultFaceletContext.java:143)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:113)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.apply(
> DefaultFacelet.java
> > :95)
> >         at com.sun.facelets.FaceletViewHandler.buildView(
> > FaceletViewHandler.java:510)
> >         at com.sun.facelets.FaceletViewHandler.renderView(
> > FaceletViewHandler.java:553)
> >         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(
> > ViewHandlerWrapper.java:101)
> >         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(
> > AjaxViewHandler.java:197)
> >         at
> >
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView
> > (ViewHandlerImpl.java:178)
> >         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.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter
> > (TrinidadFilterImpl.java:327)
> >         at
> >
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl
> > (TrinidadFilterImpl.java:291)
> >         at
> > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(
> > TrinidadFilterImpl.java:214)
> >         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(
> > TrinidadFilter.java:90)
> >         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:91)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:202)
> >         at org.apache.catalina
> > 09:14:13,984 ERROR [STDERR] .core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:173)
> >         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(
> > SeamRedirectFilter.java:63)
> >         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:67)
> >         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(
> > BaseFilter.java:223)
> >         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.tc5.session.ClusteredSessionValve.invoke
> (
> > ClusteredSessionValve.java:87)
> >         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)
> > 09:17:14,343 ERROR [ApplicationImpl] Exception while creating component
> of
> > type [org.apache.myfaces.trinidad.CoreTable] for binding [#{
> > sandboxBean.table}]
> > 09:17:14,359 ERROR [STDERR] 26.01.2007 09:17:14
> > com.sun.facelets.FaceletViewHandler handleRenderException
> > SCHWERWIEGEND: Error Rendering View[/sandbox/index.xhtml]
> > javax.faces.el.EvaluationException: /WEB-INF/xhtml/sandbox/sandbox.xhtml
> > @57,30 binding="#{sandboxBean.table}": Exception setting property table
> of
> > base with class
> org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$382c0704
> >         at com.sun.facelets.el.LegacyValueBinding.setValue(
> > LegacyValueBinding.java:74)
> >         at
> org.apache.myfaces.application.ApplicationImpl.createComponent(
> > ApplicationImpl.java:443)
> >         at org.jboss.seam.jsf.SeamApplication11.createComponent(
> > SeamApplication11.java:75)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.createComponent(
> > ComponentHandler.java:218)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:135)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
> > ComponentHandler.java:295)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:165)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
> > ComponentHandler.java:295)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:165)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(
> > ComponentHandler.java:295)
> >         at com.sun.facelets.tag.jsf.ComponentHandler.apply(
> > ComponentHandler.java:165)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:119)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:248)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:294)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:273)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(
> > DefaultFaceletContext.java:143)
> >         at com.sun.facelets.tag.ui.IncludeHandler.apply(
> > IncludeHandler.java:60)
> >         at com.sun.facelets.tag.ui.DefineHandler.apply(
> DefineHandler.java
> > :58)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:128)
> >         at
> > com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(
> > DefaultFaceletContext.java:306)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition
> (
> > DefaultFaceletContext.java:279)
> >         at com.sun.facelets.tag.ui.InsertHandler.apply(
> InsertHandler.java
> > :68)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.tag.CompositeFaceletHandler.apply(
> > CompositeFaceletHandler.java:47)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:248)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:294)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:273)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(
> > DefaultFaceletContext.java:143)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:113)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:248)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:294)
> >         at com.sun.facelets.impl.DefaultFacelet.include(
> > DefaultFacelet.java:273)
> >         at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(
> > DefaultFaceletContext.java:143)
> >         at com.sun.facelets.tag.ui.CompositionHandler.apply(
> > CompositionHandler.java:113)
> >         at com.sun.facelets.compiler.NamespaceHandler.apply(
> > NamespaceHandler.java:49)
> >         at com.sun.facelets.compiler.EncodingHandler.apply(
> > EncodingHandler.java:25)
> >         at com.sun.facelets.impl.DefaultFacelet.apply(
> DefaultFacelet.java
> > :95)
> >         at com.sun.facelets.FaceletViewHandler.buildView(
> > FaceletViewHandler.java:510)
> >         at com.sun.facelets.FaceletViewHandler.renderView(
> > FaceletViewHandler.java:553)
> >         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(
> > ViewHandlerWrapper.java:101)
> >         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(
> > AjaxViewHandler.java:197)
> >         at
> >
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView
> > (ViewHandlerImpl.java:178)
> >         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.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter
> > (TrinidadFilterImpl.java:327)
> >         at
> >
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl
> > (TrinidadFilterImpl.java:291)
> >         at
> > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(
> > TrinidadFilterImpl.java:214)
> >         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(
> > TrinidadFilter.java:90)
> >         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:91)
> >         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:63)
> >         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:67)
> >         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(
> > BaseFilter.java:223)
> >         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.tc5.session.ClusteredSessionValve.invoke
> (
> > ClusteredSessionValve.java:87)
> >         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:
> > 09:17:14,359 ERROR [STDERR] 595)
> > Caused by: javax.faces.el.EvaluationException: Bean:
> > org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$382c0704, property:
> table
> >         at org.apache.myfaces.el.PropertyResolverImpl.setProperty(
> > PropertyResolverImpl.java:410)
> >         at org.apache.myfaces.el.PropertyResolverImpl.setValue(
> > PropertyResolverImpl.java:173)
> >         at com.sun.facelets.el.LegacyELContext$LegacyELResolver.setValue
> (
> > LegacyELContext.java:201)
> >         at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
> >         at com.sun.el.ValueExpressionImpl.setValue(
> > ValueExpressionImpl.java:255)
> >         at com.sun.facelets.el.TagValueExpression.setValue(
> > TagValueExpression.java:93)
> >         at com.sun.facelets.el.LegacyValueBinding.setValue(
> > LegacyValueBinding.java:68)
> >         ... 89 more
> > Caused by: 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.myfaces.el.PropertyResolverImpl.setProperty(
> > PropertyResolverImpl.java:406)
> >         ... 95 more
> >
> > I searched the mailinglist and other sourcec on this issue but can�t
> find
> > a solution.
> >
> > THX in advance for help
> >
> > Greets
> > Reinhard
> >
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message