You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Guido Dubois (JIRA)" <de...@myfaces.apache.org> on 2010/10/23 14:08:20 UTC

[jira] Created: (TOBAGO-929) in box header

<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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935987#action_12935987 ] 

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

It works now, but icon has arrow-cursor and label has text-cursor...

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932735#action_12932735 ] 

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

renderedPartially works now in toolbar!

But now there is an other behaviour. In the class-attributes are rendered a " tobago-button"-class like this ...class="tobago-boxToolBar-item tobago-button". That's wrong.

<div class="tobago-box-headerToolbar"><span style="width: 101px; height: 19px; left: 1px;" title="Alle Produkte anzeigen (Filter beibehalten)" class="tobago-boxToolBar-item tobago-button"><span onclick="Tobago.submitAction(this, 'page:filterShowAllButton', true);" id="page:filterShowAllButton" style="width: 101px; height: 19px; top: 0px; left: 0px;" class="tobago-boxToolBar-button tobago-button"><img style="width: 16px; height: 16px; top: 2px; left: 3px;" alt="Alle anzeigen" src="/prodis3/prodis3-resource/html/standard/standard/image/searchnone.png"><span style="width: 76px; height: 14px; top: 3px; left: 22px;" class="tobago-boxToolBar-label tobago-button">Alle anzeigen</span></span></span><span style="width: 54px; height: 19px; left: 1px;" title="Filter einstellen..." class="tobago-boxToolBar-item tobago-button"><span onclick="Tobago.openPopupWithAction(this, 'page:popupFilter', 'page:j_id149');" id="page:j_id149" style="width: 54px; height: 19px; top: 0px; left: 0px;" class="tobago-boxToolBar-button tobago-button"><img style="width: 16px; height: 16px; top: 2px; left: 3px;" alt="Filter" src="/prodis3/prodis3-resource/html/standard/standard/image/search.png"><span style="width: 29px; height: 14px; top: 3px; left: 22px;" class="tobago-boxToolBar-label tobago-button">Filter</span></span></span></div>

Same behaviour in a normal toolbar. I tried the demo. There it works correctly. I can't find any reason...

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.


[jira] [Resolved] (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-929.
----------------------------------

    Resolution: Fixed

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (TOBAGO-929) in box header

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ 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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931538#action_12931538 ] 

Bernd Bohmann commented on TOBAGO-929:
--------------------------------------

The exception in AbstractUISheet should be fixed now

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.


[jira] Commented: (TOBAGO-929) in box header

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927534#action_12927534 ] 

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

...in the demo app you have done the toolbar-popup-case without "renderedPartially" too. The "Ref.-Partial" case doesn't work in demo app.

> <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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935992#action_12935992 ] 

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

Upps!

In default mode popup is no longer modal with "renderedPartially". The Components in background are clickable. Without "renderedPartially" it's ok...

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964739#action_12964739 ] 

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

It works now! Thanks...

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932960#action_12932960 ] 

Udo Schnurpfeil commented on TOBAGO-929:
----------------------------------------

The difference between you app and the demo was that the demo works in development mode, I think. 
There was a bug in the dev-mode, so the real bug was hidden.

Now I've fixed both, for the next nightly build.

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929809#action_12929809 ] 

Udo Schnurpfeil commented on TOBAGO-929:
----------------------------------------

You may test the next nighly build.

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.


[jira] Commented: (TOBAGO-929) Render partially doesn't work inside of ToolBar.

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936072#action_12936072 ] 

Bernd Bohmann commented on TOBAGO-929:
--------------------------------------

Thanks for the hind. Found an error in reduced javascript. The tobago.setup javascript function was not called. Should be fixed now.

> Render partially doesn't work inside of ToolBar.
> ------------------------------------------------
>
>                 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
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2
>
>
> 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.UIPopup@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.