jsf - Issue with rowSelector in ice faces -
i have ice faces jspx page following structure
<ice:datatable..> <ice:columns> <ice:rowselector .../> <f:facet name="header"> <ice:outputtext ..../> </f:facet> <ice:outputtext ...../> </ice:columns> </ice:datatable..>
on load of page following exception thrown saying datatable not parent of rowselector . have verified data table parent component of rowselector .
has faced similar issue ? not find issue, has solution.
java.lang.runtimeexception: rowselectorrenderer: decode. not find ice:datatable parent componenent @ com.icesoft.faces.component.ext.rowselector.getparentdatatable(rowselector.java:505) @ com.icesoft.faces.component.ext.rowselector.updatecurrentselection(rowselector.java:131) @ com.icesoft.faces.component.ext.rowselector.setvalue(rowselector.java:125) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.sun.facelets.tag.beanpropertytagrule$literalpropertymetadata.applymetadata(beanpropertytagrule.java:49) @ com.sun.facelets.tag.metadataimpl.applymetadata(metadataimpl.java:36) @ com.sun.facelets.tag.metataghandler.setattributes(metataghandler.java:62) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:144) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.ui.definehandler.applydefinition(definehandler.java:64) @ com.sun.facelets.tag.ui.decoratehandler.apply(decoratehandler.java:116) @ com.sun.facelets.impl.defaultfaceletcontext$templatemanager.apply(defaultfaceletcontext.java:337) @ com.sun.facelets.impl.defaultfaceletcontext.includedefinition(defaultfaceletcontext.java:307) @ com.sun.facelets.tag.ui.inserthandler.apply(inserthandler.java:68) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.core.viewhandler.apply(viewhandler.java:109) @ com.sun.facelets.compiler.namespacehandler.apply(namespacehandler.java:49) @ com.sun.facelets.compiler.encodinghandler.apply(encodinghandler.java:25) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:248) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:294) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:273) @ com.sun.facelets.impl.defaultfaceletcontext.includefacelet(defaultfaceletcontext.java:140) @ com.sun.facelets.tag.ui.decoratehandler.apply(decoratehandler.java:105) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.core.viewhandler.apply(viewhandler.java:109) @ com.sun.facelets.compiler.namespacehandler.apply(namespacehandler.java:49) @ com.sun.facelets.compiler.encodinghandler.apply(encodinghandler.java:25) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:248) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:294) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:273) @ com.sun.facelets.impl.defaultfaceletcontext.includefacelet(defaultfaceletcontext.java:140) @ com.sun.facelets.tag.ui.includehandler.apply(includehandler.java:65) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.ui.definehandler.applydefinition(definehandler.java:64) @ com.sun.facelets.tag.ui.compositionhandler.apply(compositionhandler.java:131) @ com.sun.facelets.impl.defaultfaceletcontext$templatemanager.apply(defaultfaceletcontext.java:337) @ com.sun.facelets.impl.defaultfaceletcontext.includedefinition(defaultfaceletcontext.java:307) @ com.sun.facelets.tag.ui.inserthandler.apply(inserthandler.java:68) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.ui.definehandler.applydefinition(definehandler.java:64) @ com.sun.facelets.tag.ui.decoratehandler.apply(decoratehandler.java:116) @ com.sun.facelets.impl.defaultfaceletcontext$templatemanager.apply(defaultfaceletcontext.java:337) @ com.sun.facelets.impl.defaultfaceletcontext.includedefinition(defaultfaceletcontext.java:307) @ com.sun.facelets.tag.ui.inserthandler.apply(inserthandler.java:68) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.componenthandler.applynexthandler(componenthandler.java:314) @ com.sun.facelets.tag.jsf.componenthandler.apply(componenthandler.java:169) @ com.sun.facelets.tag.compositefacelethandler.apply(compositefacelethandler.java:47) @ com.sun.facelets.tag.jsf.core.viewhandler.apply(viewhandler.java:109) @ com.sun.facelets.compiler.namespacehandler.apply(namespacehandler.java:49) @ com.sun.facelets.compiler.encodinghandler.apply(encodinghandler.java:25) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:248) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:294) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:273) @ com.sun.facelets.impl.defaultfaceletcontext.includefacelet(defaultfaceletcontext.java:140) @ com.sun.facelets.tag.ui.decoratehandler.apply(decoratehandler.java:105) @ com.sun.facelets.tag.jsf.core.viewhandler.apply(viewhandler.java:109) @ com.sun.facelets.compiler.namespacehandler.apply(namespacehandler.java:49) @ com.sun.facelets.compiler.encodinghandler.apply(encodinghandler.java:25) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:248) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:294) @ com.sun.facelets.impl.defaultfacelet.include(defaultfacelet.java:273) @ com.sun.facelets.impl.defaultfaceletcontext.includefacelet(defaultfaceletcontext.java:140) @ com.sun.facelets.tag.ui.compositionhandler.apply(compositionhandler.java:113) @ com.sun.facelets.compiler.namespacehandler.apply(namespacehandler.java:49) @ com.sun.facelets.compiler.encodinghandler.apply(encodinghandler.java:25) @ com.sun.facelets.impl.defaultfacelet.apply(defaultfacelet.java:95) @ com.icesoft.faces.facelets.d2dfaceletviewhandler.renderresponse(d2dfaceletviewhandler.java:273) @ com.icesoft.faces.application.d2dviewhandler.renderview(d2dviewhandler.java:155) @ com.sun.faces.lifecycle.renderresponsephase.execute(renderresponsephase.java:110) @ com.sun.faces.lifecycle.phase.dophase(phase.java:100) @ com.sun.faces.lifecycle.lifecycleimpl.render(lifecycleimpl.java:139) @ com.icesoft.faces.webapp.http.core.jsflifecycleexecutor.apply(jsflifecycleexecutor.java:51) @ com.icesoft.faces.context.view$2$1.respond(view.java:85) @ com.icesoft.faces.webapp.http.servlet.servletrequestresponse.respondwith(servletrequestresponse.java:242) @ com.icesoft.faces.context.view$2.serve(view.java:119) @ com.icesoft.faces.context.view.servepage(view.java:192) @ com.icesoft.faces.webapp.http.core.multiviewserver.service(multiviewserver.java:111) @ com.icesoft.faces.webapp.http.common.serverproxy.service(serverproxy.java:43) @ com.icesoft.faces.webapp.http.servlet.mainsessionboundservlet$4.service(mainsessionboundservlet.java:187) @ com.icesoft.faces.webapp.http.servlet.basicadaptingservlet.service(basicadaptingservlet.java:51) @ com.icesoft.faces.webapp.http.servlet.pathdispatcher.service(pathdispatcher.java:55) @ com.icesoft.faces.webapp.http.servlet.sessiondispatcher.service(sessiondispatcher.java:100) @ com.icesoft.faces.webapp.http.servlet.pathdispatcher.service(pathdispatcher.java:55) @ com.icesoft.faces.webapp.http.servlet.mainservlet.service(mainservlet.java:205) @ javax.servlet.http.httpservlet.service(httpservlet.java:803) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.adminserver.pas.web.helper.loginfilter.dofilter(loginfilter.java:95) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:233) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:191) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:127) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:298) @ org.apache.coyote.http11.http11processor.process(http11processor.java:857) @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:588) @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:489) @ java.lang.thread.run(thread.java:662)
row selector cause problems dynamic columns.
try adding fake ice:column
, put selector under tag suggested here.
Comments
Post a Comment