[ 
https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927532#action_12927532
 ] 

Guido Dubois commented on TOBAGO-929:
-------------------------------------

The problem is "renderedPartially"! Neither version (1) nor version (2) works. 
Without "renderedPartially" it works, but the page is reloaded completely...

            <tc:toolBarCommand label="#{bundle.filterButton}"
              actionListener="#{tableofproductsController.doFilteringClick}"
              image="image/search.png" tip="#{bundle.filterButtonTip}" >
<!--(1)               renderedPartially="popupFilter" >-->
<!--(2)             <tc:attribute name="renderedPartially" value="popupFilter" 
/>-->

              <tc:popupReference for="popupFilter" />

              <!-- Popup dialog Filter -->
              <ui:include src="/overview/popupFilter.xhtml" />
            </tc:toolBarCommand>


> <tc:toolBarCommand> in box header
> ---------------------------------
>
>                 Key: TOBAGO-929
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-929
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-alpha-2
>         Environment: Facelets
>            Reporter: Guido Dubois
>
> I get an exception clicking on a toolbar button in a box header. There have 
> to open a popup. I can't open the Component Tree in the debug window to see, 
> which component ...ase:267 - WARNING: Component j_id586 just g... it is.
> Inserting the popup code directly from demo example gets the same error...
> 2010-10-23 13:28:48 INFO  - 
> org.apache.myfaces.tobago.internal.ajax.AjaxInternalUtils:75 - 
> ajaxComponentIds = "page:popupFilter"
> 2010-10-23 13:28:48 INFO  - 
> org.apache.myfaces.tobago.internal.ajax.AjaxInternalUtils:87 - ajaxComponent 
> for "page:popupFilter" = 
> "org.apache.myfaces.tobago.component.uipo...@394f8e42"
> 2010-10-23 13:28:48 WARN  - javax.faces.component.UIComponentBase:267 - 
> WARNING: Component j_id586 just got an automatic id, because there was no id 
> assigned yet. If this component was created dynamically (i.e. not by a JSP 
> tag) you should assign it an explicit static id or assign it the id you get 
> from the createUniqueId from the current UIViewRoot component right after 
> creation! Path to Component: {Component-Path : [Class: 
> org.apache.myfaces.tobago.component.UIViewRoot,ViewId: 
> /overview/tableofproducts.xhtml]}
> 2010-10-23 13:28:48 INFO  - 
> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider:47 - 
> Creating instance of de.ibs.prodis3.overview.ToolbarController
> 2010-10-23 13:28:48 INFO  - 
> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider:47 - 
> Creating instance of de.ibs.prodis3.overview.PopupDemoteProductController
> 2010-10-23 13:28:48 INFO  - 
> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider:47 - 
> Creating instance of de.ibs.prodis3.overview.PopupSetSituationController
> 2010-10-23 13:28:48 ERROR - javax.faces.webapp._ErrorPageWriter:496 - An 
> exception occurred
> java.lang.StringIndexOutOfBoundsException: String index out of range: -8
>       at java.lang.String.substring(Unknown Source)
>       at java.lang.String.substring(Unknown Source)
>       at 
> org.apache.myfaces.tobago.internal.component.AbstractUISheet.invokeOnComponent(AbstractUISheet.java:410)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponentFacetsAndChildren(FacesUtils.java:99)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponent(FacesUtils.java:82)
>       at 
> org.apache.myfaces.tobago.internal.component.AbstractUIPanelBase.invokeOnComponent(AbstractUIPanelBase.java:33)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponentFacetsAndChildren(FacesUtils.java:99)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponent(FacesUtils.java:82)
>       at 
> org.apache.myfaces.tobago.internal.component.AbstractUIPanelBase.invokeOnComponent(AbstractUIPanelBase.java:33)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponentFacetsAndChildren(FacesUtils.java:99)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponent(FacesUtils.java:77)
>       at 
> org.apache.myfaces.tobago.internal.component.AbstractUIPage.invokeOnComponent(AbstractUIPage.java:298)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponentFacetsAndChildren(FacesUtils.java:99)
>       at 
> org.apache.myfaces.tobago.compat.FacesUtils.invokeOnComponent(FacesUtils.java:82)
>       at 
> org.apache.myfaces.tobago.internal.lifecycle.ApplyRequestValuesExecutor.decodeActionComponent(ApplyRequestValuesExecutor.java:102)
>       at 
> org.apache.myfaces.tobago.internal.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:64)
>       at 
> org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.executePhase(TobagoLifecycle.java:102)
>       at 
> org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.execute(TobagoLifecycle.java:77)
>       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:183)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter.doFilter(TobagoMultipartFormdataFilter.java:122)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>       at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
>       at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>       at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>       at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>       at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>       at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to