AW: [Tobago] Image resizing
Hi Volker, it works now, thank you for the solution. I don't know, if it's a bug of Tobago or not?!! Regards, Hani -Ursprüngliche Nachricht- Von: w...m [mailto:w...m] Im Auftrag von Volker Weber Gesendet: Donnerstag, 21. November 2013 15:30 An: MyFaces Discussion Betreff: Re: [Tobago] Image resizing Hi Hani, i think this is a performance issue but i found a solution: this works in the demo. Regards, Volker 2013/11/21 Volker Weber > Hi Hani, > > i see the problem. The valueBinding for the width is evaluated only once, > and this value is used for all rows. > I think Udo should have a look at this. Please file a jira issue. > > Regards, > Volker > > > 2013/11/21 Abushammala, Hani (EXTERN: BERIS) < > ext..de> > > Hi Volker, >> >> try to get the image width from the bean or from the var object. The >> image will not be displayed. >> >> Regards, >> Hani >> >> Von: we.om [m...om] Im >> Auftrag von Volker Weber >> Gesendet: Mittwoch, 20. November 2013 18:14 >> An: MyFaces Discussion >> Betreff: Re: [Tobago] Image resizing >> >> Hi Hani, >> i can't reproduce the problem in the demo (alpha-3-SNAPSHOT). >> The width and height attributes of the image works in the sheet. >> I have attached a diff for the demo. >> Regards, >> Volker >> >> 2013/11/20 Abushammala, Hani (EXTERN: BERIS) < >> ex.de> ex.de>> >> Hi Volker, >> >> thanks for the hint. I tried this way already, but it doesn't work. The >> image could be displayed with fixed width. >> >> Any ideas? >> >> Regards, >> Hani >> >> >> -Ursprüngliche Nachricht- >> Von: weber..com [mailto:weber..com> weber..com>] Im Auftrag von Volker Weber >> Gesendet: Mittwoch, 20. November 2013 09:38 >> An: MyFaces Discussion >> Betreff: Re: [Tobago] Image resizing >> >> Hi, >> >> the content of the column gets the width from the sheets column attribute. >> You should wrap the image into a panel: >> >> >> >> >> > >> >> >> >> >> Regards, >> >> Volker >> >> >> >> 2013/11/14 Abushammala, Hani (EXTERN: BERIS) < >> ext.a...@de<mailto:ext.a...@de>> >> >> > Hi, >> > >> > I need help to resolve a layout problem. >> > >> > In our application we display a bar chart within the sheet, but the used >> > image for the chart could not be dynamically resized after migration >> from >> > Tobago "1.0.39" to "2.0.0 alpha 1". We tried many ways to display an >> image >> > or panel with dynamic width within the sheet, but it doesn't work, >> because >> > the width variable could not be called from bean. >> > >> > >> > Example: >> > > > value="#{bean.items}" >> > columns="60px;60px;200px"> >> > > > id="min" sortable="true" align="center"> >> > >> > >> > > > id="max" sortable="true" align="center"> >> > >> > >> > >> > > > width="#{item.gauge.width}" >> > height="16" /> >> > >> > >> > >> > Here the image will be resized automatically to 200px. >> > >> > Any ideas? >> > >> > >> > >> > The application details: >> > tobago-core-2.0.0-alpha-1.jar >> > myfaces-impl-2.1.12.jar >> > myfaces-api-2.1.12.jar >> > Browser: Firefox 22.0 >> > >> > Regards, >> > Hani >> > >> > >> > >> > Regards, >> > Hani >> > >> > >> > >> >> >> -- >> inexso - information exchange solutions GmbH >> Ofener Straße 30 | 26121 Oldenburg >> www.inexso.de<http://www.inexso.de> >> >> >> >> -- >> inexso - information exchange solutions GmbH >> Ofener Straße 30 | 26121 Oldenburg >> www.inexso.de<http://www.inexso.de> >> > > > > -- > inexso - information exchange solutions GmbH > Ofener Straße 30 | 26121 Oldenburg > www.inexso.de > -- inexso - information exchange solutions GmbH Ofener Straße 30 | 26121 Oldenburg www.inexso.de
AW: [Tobago] Image resizing
Hi Volker, try to get the image width from the bean or from the var object. The image will not be displayed. Regards, Hani Von: weber.vol...@googlemail.com [mailto:weber.vol...@googlemail.com] Im Auftrag von Volker Weber Gesendet: Mittwoch, 20. November 2013 18:14 An: MyFaces Discussion Betreff: Re: [Tobago] Image resizing Hi Hani, i can't reproduce the problem in the demo (alpha-3-SNAPSHOT). The width and height attributes of the image works in the sheet. I have attached a diff for the demo. Regards, Volker 2013/11/20 Abushammala, Hani (EXTERN: BERIS) mailto:extern.hani.abushamma...@volkswagen.de>> Hi Volker, thanks for the hint. I tried this way already, but it doesn't work. The image could be displayed with fixed width. Any ideas? Regards, Hani -Ursprüngliche Nachricht- Von: weber..com [mailto:weber..com<mailto:weber..com>] Im Auftrag von Volker Weber Gesendet: Mittwoch, 20. November 2013 09:38 An: MyFaces Discussion Betreff: Re: [Tobago] Image resizing Hi, the content of the column gets the width from the sheets column attribute. You should wrap the image into a panel: Regards, Volker 2013/11/14 Abushammala, Hani (EXTERN: BERIS) < ext.a...@de<mailto:ext.a...@de>> > Hi, > > I need help to resolve a layout problem. > > In our application we display a bar chart within the sheet, but the used > image for the chart could not be dynamically resized after migration from > Tobago "1.0.39" to "2.0.0 alpha 1". We tried many ways to display an image > or panel with dynamic width within the sheet, but it doesn't work, because > the width variable could not be called from bean. > > > Example: > value="#{bean.items}" > columns="60px;60px;200px"> > id="min" sortable="true" align="center"> > > > id="max" sortable="true" align="center"> > > > > width="#{item.gauge.width}" > height="16" /> > > > > Here the image will be resized automatically to 200px. > > Any ideas? > > > > The application details: > tobago-core-2.0.0-alpha-1.jar > myfaces-impl-2.1.12.jar > myfaces-api-2.1.12.jar > Browser: Firefox 22.0 > > Regards, > Hani > > > > Regards, > Hani > > > -- inexso - information exchange solutions GmbH Ofener Straße 30 | 26121 Oldenburg www.inexso.de<http://www.inexso.de> -- inexso - information exchange solutions GmbH Ofener Straße 30 | 26121 Oldenburg www.inexso.de<http://www.inexso.de>
[Tobago] tobago-core-2.0.0-alpha-2 with IE
Hi, after updating our application from Tobago alpha-1 to alpha-2 we noticed some new effects by rendering the Tobago pages within IE8. Some parts of hidden and unhidden panels were displayed for milliseconds before the page completely rendered. We could not reproduce this effect every time. How can we prevent this? The application details: tobago-core-2.0.0-alpha-2.jar myfaces-impl-2.1.12.jar myfaces-api-2.1.12.jar Browser: IE 8.0 Regards, Hani
AW: [Tobago] Image resizing
Hi Volker, thanks for the hint. I tried this way already, but it doesn't work. The image could be displayed with fixed width. Any ideas? Regards, Hani -Ursprüngliche Nachricht- Von: weber..com [mailto:weber..com] Im Auftrag von Volker Weber Gesendet: Mittwoch, 20. November 2013 09:38 An: MyFaces Discussion Betreff: Re: [Tobago] Image resizing Hi, the content of the column gets the width from the sheets column attribute. You should wrap the image into a panel: Regards, Volker 2013/11/14 Abushammala, Hani (EXTERN: BERIS) < ext.a...@de> > Hi, > > I need help to resolve a layout problem. > > In our application we display a bar chart within the sheet, but the used > image for the chart could not be dynamically resized after migration from > Tobago "1.0.39" to "2.0.0 alpha 1". We tried many ways to display an image > or panel with dynamic width within the sheet, but it doesn't work, because > the width variable could not be called from bean. > > > Example: > value="#{bean.items}" > columns="60px;60px;200px"> > id="min" sortable="true" align="center"> > > > id="max" sortable="true" align="center"> > > > > width="#{item.gauge.width}" > height="16" /> > > > > Here the image will be resized automatically to 200px. > > Any ideas? > > > > The application details: > tobago-core-2.0.0-alpha-1.jar > myfaces-impl-2.1.12.jar > myfaces-api-2.1.12.jar > Browser: Firefox 22.0 > > Regards, > Hani > > > > Regards, > Hani > > > -- inexso - information exchange solutions GmbH Ofener Straße 30 | 26121 Oldenburg www.inexso.de
[Tobago] Image resizing
Hi, I need help to resolve a layout problem. In our application we display a bar chart within the sheet, but the used image for the chart could not be dynamically resized after migration from Tobago "1.0.39" to "2.0.0 alpha 1". We tried many ways to display an image or panel with dynamic width within the sheet, but it doesn't work, because the width variable could not be called from bean. Example: Here the image will be resized automatically to 200px. Any ideas? The application details: tobago-core-2.0.0-alpha-1.jar myfaces-impl-2.1.12.jar myfaces-api-2.1.12.jar Browser: Firefox 22.0 Regards, Hani Regards, Hani
AW: [Tobago] Configuring of renderer class
Hi Udo. thank your for the reply. It works now after configuration. I have some problems with the layout by using the component within a sheet, but I'll try to fix later. By the way I have another problems after migration to Tobago 1.5.0, I'll send a separate email therefor. Regards, Hani -Ursprüngliche Nachricht- Von: Udo Schnurpfeil [mailto:pfeil.de] Gesendet: Freitag, 2. August 2013 13:51 An: MyFaces Discussion Betreff: Re: [Tobago] Configuring of renderer class Hello Hani, since Tobago 1.5 the renderers must be configured in the faces-config.xml This will be done automatically, when using generated components like from org.apache.myfaces.tobago.internal.taglib.component.BoxTagDeclaration I'll add a notice in the migration guild. Hope that helps. Regards, Udo Am 26.07.13 17:25, schrieb Abushammala, Hani (EXTERN: BERIS): > Hi, > > I`ve developed a component with own renderer class, but the renderer could > not be called after migration from Tobago 1.0.39 to 1.5.10 . > I don`t know how I can configure the renderer for the new component in Tobago. > > We use in the application an own theme, so I added the renderer class to the > resource path of the theme, but it doesn`t work now with Tobago 1.5.10. > > Log: > WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported > component-family/renderer-type: DynamicPanelFamily/DynamicPanel > Jul 26, 2013 5:15:33 PM org.apache.catalina.core.ApplicationContext log > INFO: No Renderer found for component {Component-Path : [Class: > org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class: > org.apache.myfaces.tobago.component.UIPage,Id: page][Class: > org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_5][Class: > org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_7][Class: > org.apache.myfaces.tobago.component.UIPanel,Id: > j_id_jsp_2134803194_1pc10][Class: > org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class: > org.apache.myfaces.tobago.component.UITab,Id: > j_id_jsp_2134803194_44pc10][Class: > org.apache.myfaces.tobago.component.UIBox,Id: > j_id_jsp_2134803194_54pc10][Class: > org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class: > org.apache.myfaces.tobago.component.UIColumn,Id: pnPanel1][Class: > de.volkswagen.prolog.web.components.UIDynamicPanel,Id: > j_id_jsp_2134803194_87pc10]} (component-family=DynamicPanelFamily, > renderer-type=DynamicPanel) > ERROR org.apache.myfaces.tobago.renderkit.TobagoRenderKit - The class which > was found by the ResourceManager cannot be found or instantiated: > classname='DynamicPanel' > WARN javax.faces.component.UIComponentBase - No Renderer found for component > {Component-Path : [Class: > org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class: > org.apache.myfaces.tobago.component.UIPage,Id: page][Class: > org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_5][Class: > org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_7][Class: > org.apache.myfaces.tobago.component.UIPanel,Id: > j_id_jsp_2134803194_1pc10][Class: > org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class: > org.apache.myfaces.tobago.component.UITab,Id: > j_id_jsp_2134803194_44pc10][Class: > org.apache.myfaces.tobago.component.UIBox,Id: > j_id_jsp_2134803194_54pc10][Class: > org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class: > org.apache.myfaces.tobago.component.UIColumn,Id: pnPanel1][Class: > de.volkswagen.prolog.web.components.UIDynamicPanel,Id: > j_id_jsp_2134803194_87pc10]} (component-family=DynamicPanelFamily, > renderer-type=DynamicPanel) > WARN org.apache.myfaces.tobago.internal.component.AbstractUISheet - Found no > component inside of a UIColumn: column > id='page:j_id_jsp_2134803194_44pc10:sheet:pnPanel1'. Creating a dummy with > id='page:j_id_jsp_2134803194_44pc10:sheet:j_id101'! > WARN org.apache.myfaces.tobago.internal.component.AbstractUISheet - Found no > component inside of a UIColumn: column > id='page:j_id_jsp_2134803194_135pc10:sheet2:pnPanel2'. Creating a dummy with > id='page:j_id_jsp_2134803194_135pc10:sheet2:j_id102'! > WARN org.apache.myfaces.tobago.layout.PixelMeasure - Not enough space! > value=0 > WARN org.apache.myfaces.tobago.util.LayoutInfo - Space left after spreading > : 1262px! clientId='page:j_id_jsp_2134803194_44pc10:sheet' > WARN org.apache.myfaces.tobago.util.LayoutInfo - Space left after spreading > : 1262px! clientId='page:j_id_jsp_2134803194_135pc10:sheet2' > WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported > component-family/renderer-type: DynamicPanelFamily/DynamicPa
[Tobago] Configuring of renderer class
Hi, I`ve developed a component with own renderer class, but the renderer could not be called after migration from Tobago 1.0.39 to 1.5.10 . I don`t know how I can configure the renderer for the new component in Tobago. We use in the application an own theme, so I added the renderer class to the resource path of the theme, but it doesn`t work now with Tobago 1.5.10. Log: WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported component-family/renderer-type: DynamicPanelFamily/DynamicPanel Jul 26, 2013 5:15:33 PM org.apache.catalina.core.ApplicationContext log INFO: No Renderer found for component {Component-Path : [Class: org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class: org.apache.myfaces.tobago.component.UIPage,Id: page][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_5][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_7][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_2134803194_1pc10][Class: org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class: org.apache.myfaces.tobago.component.UITab,Id: j_id_jsp_2134803194_44pc10][Class: org.apache.myfaces.tobago.component.UIBox,Id: j_id_jsp_2134803194_54pc10][Class: org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class: org.apache.myfaces.tobago.component.UIColumn,Id: pnPanel1][Class: de.volkswagen.prolog.web.components.UIDynamicPanel,Id: j_id_jsp_2134803194_87pc10]} (component-family=DynamicPanelFamily, renderer-type=DynamicPanel) ERROR org.apache.myfaces.tobago.renderkit.TobagoRenderKit - The class which was found by the ResourceManager cannot be found or instantiated: classname='DynamicPanel' WARN javax.faces.component.UIComponentBase - No Renderer found for component {Component-Path : [Class: org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class: org.apache.myfaces.tobago.component.UIPage,Id: page][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_5][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_7][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_2134803194_1pc10][Class: org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class: org.apache.myfaces.tobago.component.UITab,Id: j_id_jsp_2134803194_44pc10][Class: org.apache.myfaces.tobago.component.UIBox,Id: j_id_jsp_2134803194_54pc10][Class: org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class: org.apache.myfaces.tobago.component.UIColumn,Id: pnPanel1][Class: de.volkswagen.prolog.web.components.UIDynamicPanel,Id: j_id_jsp_2134803194_87pc10]} (component-family=DynamicPanelFamily, renderer-type=DynamicPanel) WARN org.apache.myfaces.tobago.internal.component.AbstractUISheet - Found no component inside of a UIColumn: column id='page:j_id_jsp_2134803194_44pc10:sheet:pnPanel1'. Creating a dummy with id='page:j_id_jsp_2134803194_44pc10:sheet:j_id101'! WARN org.apache.myfaces.tobago.internal.component.AbstractUISheet - Found no component inside of a UIColumn: column id='page:j_id_jsp_2134803194_135pc10:sheet2:pnPanel2'. Creating a dummy with id='page:j_id_jsp_2134803194_135pc10:sheet2:j_id102'! WARN org.apache.myfaces.tobago.layout.PixelMeasure - Not enough space! value=0 WARN org.apache.myfaces.tobago.util.LayoutInfo - Space left after spreading : 1262px! clientId='page:j_id_jsp_2134803194_44pc10:sheet' WARN org.apache.myfaces.tobago.util.LayoutInfo - Space left after spreading : 1262px! clientId='page:j_id_jsp_2134803194_135pc10:sheet2' WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported component-family/renderer-type: DynamicPanelFamily/DynamicPanel ERROR org.apache.myfaces.tobago.renderkit.TobagoRenderKit - The class which was found by the ResourceManager cannot be found or instantiated: classname='DynamicPanel' WARN org.apache.myfaces.renderkit.html.HtmlRenderKitImpl - Unsupported component-family/renderer-type: DynamicPanelFamily/DynamicPanel ERROR org.apache.myfaces.tobago.renderkit.TobagoRenderKit - The class which was found by the ResourceManager cannot be found or instantiated: classname='DynamicPanel' Jul 26, 2013 5:15:33 PM org.apache.catalina.core.ApplicationContext log INFO: No Renderer found for component {Component-Path : [Class: org.apache.myfaces.tobago.component.UIViewRoot,ViewId:/test.jsp][Class: org.apache.myfaces.tobago.component.UIPage,Id: page][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_5][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_106584_7][Class: org.apache.myfaces.tobago.component.UIPanel,Id: j_id_jsp_2134803194_1pc10][Class: org.apache.myfaces.tobago.component.UITabGroup,Id: tabGroupRang][Class: org.apache.myfaces.tobago.component.UITab,Id: j_id_jsp_2134803194_44pc10][Class: org.apache.myfaces.tobago.component.UIBox,Id: j_id_jsp_2134803194_54pc10][Class: org.apache.myfaces.tobago.component.UISheet,Id: sheet][Class