This content has been marked as final.
Show 9 replies
-
1. Re: Problem
maksimkaszynski Aug 30, 2007 1:05 PM (in response to *ninho*)http://jira.jboss.com/jira/browse/RF-782
fixed -
2. Re: Problem
binhulito Aug 31, 2007 2:37 PM (in response to *ninho*)before setRowIndex now is the getRowIndex!
somebody knows what is the problem or It's a bug??
Helpss...<rich:scrollableDataTable id="scrollList" rows="5" width="400" height="200" var="services" value="#{wServicesEmpresaMB.servicesEmpresaList}"> <f:facet name="header"> <rich:columnGroup> <h:column> <h:outputText value="Nome"/> </h:column> <h:column> <h:outputText value="Descrição"/> </h:column> <h:column> <h:outputText value="URL"/> </h:column> <h:column> <h:outputText value="Status"/> </h:column> <h:column> <h:outputText value="Detalhes"/> </h:column> </rich:columnGroup> </f:facet> <h:column> <h:outputText value="#{scrollList.strWServicesEmpresaNome}"/> </h:column> <h:column> <h:outputText value="#{scrollList.strWServicesEmpresaDesc}"/> </h:column> <h:column> <h:outputText value="#{scrollList.strWServicesEmpresaUrlWs}"/> </h:column> <h:column> <h:outputText value="Ativo" rendered="#{scrollList.strWServicesEmpresaStatus==1}"/> <h:outputText value="Bloqueado" rendered="#{scrollList.strWServicesEmpresaStatus==2}"/> </h:column> <h:column> <h:graphicImage url="#{pageContext.request.contextPath}/images/detalhes.gif" style="cursor:pointer;"> <a4j:support event="onclick" action="#{wServicesEmpresaMB.editar}" reRender="Painel,form0"/> </h:graphicImage> </h:column> </rich:scrollableDataTable>
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: getRowIndex javax.faces.webapp.FacesServlet.service(FacesServlet.java:154) org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) root cause javax.faces.FacesException: getRowIndex org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211) org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:76) org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:237) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:140) org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
-
3. Re: Problem
binhulito Aug 31, 2007 2:39 PM (in response to *ninho*)"binhulito" wrote:
before setRowIndex now is the getRowIndex!
somebody knows what is the problem or It's a bug??
Helpss...<rich:scrollableDataTable id="scrollList" rows="5" width="400" height="200" var="services" value="#{wServicesEmpresaMB.servicesEmpresaList}"> <f:facet name="header"> <rich:columnGroup> <h:column> <h:outputText value="Nome"/> </h:column> <h:column> <h:outputText value="Descrição"/> </h:column> <h:column> <h:outputText value="URL"/> </h:column> <h:column> <h:outputText value="Status"/> </h:column> <h:column> <h:outputText value="Detalhes"/> </h:column> </rich:columnGroup> </f:facet> <h:column> <h:outputText value="#{services.strWServicesEmpresaNome}"/> </h:column> <h:column> <h:outputText value="#{services.strWServicesEmpresaDesc}"/> </h:column> <h:column> <h:outputText value="#{services.strWServicesEmpresaUrlWs}"/> </h:column> <h:column> <h:outputText value="Ativo" rendered="#{services.strWServicesEmpresaStatus==1}"/> <h:outputText value="Bloqueado" rendered="#{services.strWServicesEmpresaStatus==2}"/> </h:column> <h:column> <h:graphicImage url="#{pageContext.request.contextPath}/images/detalhes.gif" style="cursor:pointer;"> <a4j:support event="onclick" action="#{wServicesEmpresaMB.editar}" reRender="Painel,form0"/> </h:graphicImage> </h:column> </rich:scrollableDataTable>
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: getRowIndex javax.faces.webapp.FacesServlet.service(FacesServlet.java:154) org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) root cause javax.faces.FacesException: getRowIndex org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211) org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:76) org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:237) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:140) org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
-
-
5. Re: Problem
*ninho* Sep 4, 2007 11:19 AM (in response to *ninho*)I'm facing the same problem, when I click row...
see exception:java.lang.UnsupportedOperationException: getRowIndex at org.richfaces.model.ScrollableTableDataModel.getRowIndex(ScrollableTableDataModel.java:165) at org.richfaces.model.DataModelCache.getRowIndex(DataModelCache.java:132) at org.ajax4jsf.component.UIDataAdaptor.getRowIndex(UIDataAdaptor.java:286) at javax.faces.component._ComponentUtils.idsAreEqual(_ComponentUtils.java:132) at javax.faces.component._ComponentUtils.findComponent(_ComponentUtils.java:108) at javax.faces.component._ComponentUtils.findComponent(_ComponentUtils.java:105) at javax.faces.component._ComponentUtils.findComponent(_ComponentUtils.java:105) at javax.faces.component._ComponentUtils.findComponent(_ComponentUtils.java:105) at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:414) at org.ajax4jsf.context.AjaxContextImpl.findComponentFor(AjaxContextImpl.java:612) at org.ajax4jsf.context.AjaxContextImpl.convertId(AjaxContextImpl.java:594) at org.ajax4jsf.context.AjaxContextImpl.addRegionsFromComponent(AjaxContextImpl.java:564) at org.ajax4jsf.component.AjaxActionComponent.setupReRender(AjaxActionComponent.java:101) at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:66) at org.ajax4jsf.component.UIInclude.broadcast(UIInclude.java:138) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:186) at org.ajax4jsf.component.AjaxViewRoot.broadcastAjaxEvents(AjaxViewRoot.java:206) at org.ajax4jsf.application.AjaxViewHandler.processAjaxEvents(AjaxViewHandler.java:278) at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:234) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
Thank's a lot, maksimkaszynski. -
6. Re: Problem
maksimkaszynski Sep 4, 2007 1:10 PM (in response to *ninho*)Did you update richfaces sources to the latest revision?
Before writing my last post I removed all unsupported operation exception from data model. -
7. Re: Problem
*ninho* Sep 4, 2007 2:20 PM (in response to *ninho*)Yes...
I'm using the version RichFaces 3.1.0-rc 4... -
8. Re: Problem
*ninho* Sep 4, 2007 2:34 PM (in response to *ninho*)"*Ninho*" wrote:
Yes...
I'm using the version RichFaces 3.1.0-rc 4...
but the problem continue... -
9. Re: Problem
maksimkaszynski Sep 5, 2007 5:55 AM (in response to *ninho*)That explains why you didn't get the latest fixes.
Today will be RC5 - it contains fixes.