Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8A7910165 for ; Fri, 30 Aug 2013 15:02:03 +0000 (UTC) Received: (qmail 81692 invoked by uid 500); 30 Aug 2013 15:02:01 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 81322 invoked by uid 500); 30 Aug 2013 15:01:59 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 81195 invoked by uid 99); 30 Aug 2013 15:01:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 15:01:58 +0000 Date: Fri, 30 Aug 2013 15:01:58 +0000 (UTC) From: "Udo Schnurpfeil (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TOBAGO-1306) Sheet inside layout with column="auto" (often in popups) doesn't function MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOBAGO-1306?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D137= 54761#comment-13754761 ]=20 Udo Schnurpfeil commented on TOBAGO-1306: ----------------------------------------- The reason is the conflict between the grid layout of the popup which defin= es columns=3D"auto" and the columns=3D"*;*;*;*" of the sheet. columns=3D"auto" means: make the popup as big as the content it requires. columns=3D"*;*;*;*" means: use the given space and distribute it balanced. I'll find a solution. Until that you may use this workaround: replace columns=3D"auto" to fix pix= el values like columns=3D"300px" or columns=3D"#{tobagoContext.pageDimensio= n.width.pixel - 200}px" =20 > Sheet inside layout with column=3D"auto" (often in popups) doesn't functi= on > ------------------------------------------------------------------------- > > Key: TOBAGO-1306 > URL: https://issues.apache.org/jira/browse/TOBAGO-1306 > Project: MyFaces Tobago > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0-alpha-2 > Reporter: Michael B=C3=A4dorf > Assignee: Udo Schnurpfeil > > Using a sheet inside a popup always causes > java.lang.NullPointerException > =09at org.apache.myfaces.tobago.internal.util.StringUtils.joinWithSurroun= dingSeparator(StringUtils.java:53) > =09at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.S= heetRenderer.renderSheet(SheetRenderer.java:193) > =09at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.S= heetRenderer.encodeEnd(SheetRenderer.java:158) > =09at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.enc= odeEnd(AbstractRendererBaseWrapper.java:103) > =09at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.jav= a:877) > =09at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderU= tils.java:116) > =09at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderU= tils.java:93) > =09at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren= (RenderUtils.java:88) > =09at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.G= ridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:55) > =09at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.enc= odeChildren(AbstractRendererBaseWrapper.java:98) > =09at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBas= e.java:847) > =09at org.apache.myfaces.tobago.internal.component.AbstractUIPanel.encode= Children(AbstractUIPanel.java:50) > =09at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819) > =09at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) > =09at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.enc= odeChildren(AbstractRendererBaseWrapper.java:98) > =09at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBas= e.java:847) > =09at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderU= tils.java:110) > =09at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderU= tils.java:93) > =09at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.P= ageRenderer.encodeEnd(PageRenderer.java:465) > =09at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.enc= odeEnd(AbstractRendererBaseWrapper.java:103) > =09at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.jav= a:877) > =09at org.apache.myfaces.tobago.internal.component.AbstractUIPage.encodeE= nd(AbstractUIPage.java:103) > =09at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1826) > =09at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822) > =09at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderVi= ew(FaceletViewHandlingStrategy.java:447) > =09at com.sun.faces.application.view.MultiViewHandler.renderView(MultiVie= wHandler.java:125) > =09at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponseP= hase.java:120) > =09at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) > =09at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139= ) > =09at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) > =09at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap= plicationFilterChain.java:305) > =09at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio= nFilterChain.java:210) > =09at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrappe= rValve.java:222) > =09at org.apache.catalina.core.StandardContextValve.__invoke(StandardCont= extValve.java:123) > =09at org.apache.catalina.core.StandardContextValve.invoke(StandardContex= tValve.java) > =09at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenti= catorBase.java:502) > =09at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostVal= ve.java:171) > =09at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve= .java) > =09at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve= .java:99) > =09at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.jav= a:953) > =09at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineV= alve.java:118) > =09at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.j= ava:408) > =09at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHt= tp11Processor.java:1023) > =09at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.proces= s(AbstractProtocol.java:589) > =09at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpo= int.java:312) > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1145) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:615) > =09at java.lang.Thread.run(Thread.java:724) > due to "missing" column width! > I've tried something like=20 > > =09=09=09=09=09=09 > =09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09=09 =09=09=09 > =09=09=09 =09=09=09=09 > =09=09=09 =09=09=09 > =09=09=09=09=09=09=09=09=09 > =09=09=09=09=09=09=09 > =09=09=09=09=09=09 > =09=09=09=09=09=09 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira