Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C8A710CC4 for ; Thu, 21 Nov 2013 14:30:47 +0000 (UTC) Received: (qmail 55844 invoked by uid 500); 21 Nov 2013 14:30:44 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 55557 invoked by uid 500); 21 Nov 2013 14:30:31 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 55368 invoked by uid 99); 21 Nov 2013 14:30:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Nov 2013 14:30:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of weber.volker@googlemail.com designates 209.85.192.180 as permitted sender) Received: from [209.85.192.180] (HELO mail-pd0-f180.google.com) (209.85.192.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Nov 2013 14:30:24 +0000 Received: by mail-pd0-f180.google.com with SMTP id q10so6028165pdj.39 for ; Thu, 21 Nov 2013 06:30:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=hXITV5QCJVMw+l30SpscNYKmI5ebaFBwRUmXd3j5R3c=; b=bT/s68KO1Xe1yHAHcbYszQ+Fo6IqiDp122Pmb02PZMcXVxCY2o37BXiSSOz0XHkIi0 Zd4KBwLhIhBQ72qsoioanL0WhIHILqPaPaPClJv5q0rZ0M+3UhAAS3/pSjoKx5f8Mx9q DjeocW+pvdo6UL/t4xSBGVe+UTgQG1tz57sTtZs8+V+Mov9sETFyuNOXKkw4Q56ZQLJA U3l0lT39WpxsNBtqOhLDjHni6CamVU0gsuy9AKFknmL1jeHMa5E90dub8E9d+Z5dvkLO IPRvP5/VcT2XdnC+IAFU1T4BL7R9yU3A+4jBBJak5HtAAEUgSqdQ0dbm2lWpWLv/Ik4h z1aA== MIME-Version: 1.0 X-Received: by 10.68.197.36 with SMTP id ir4mr6629414pbc.96.1385044203848; Thu, 21 Nov 2013 06:30:03 -0800 (PST) Sender: weber.volker@googlemail.com Received: by 10.68.150.74 with HTTP; Thu, 21 Nov 2013 06:30:03 -0800 (PST) In-Reply-To: References: Date: Thu, 21 Nov 2013 15:30:03 +0100 X-Google-Sender-Auth: M6mai_xu0FmJNTRY9SRpQgCl5xc Message-ID: Subject: Re: [Tobago] Image resizing From: Volker Weber To: MyFaces Discussion Content-Type: multipart/alternative; boundary=e89a8ff1c840c4cb2104ebb0bbf3 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c840c4cb2104ebb0bbf3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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) < > extern.hani.abushammala1@volkswagen.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: weber.volker@googlemail.com [mailto:weber.volker@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) < >> extern.hani.abushammala1@volkswagen.de> extern.hani.abushammala1@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=C3=BCngliche 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 attribut= e. >> You should wrap the image into a panel: >> >> >> >> >> > >> >> >> >> >> Regards, >> >> Volker >> >> >> >> 2013/11/14 Abushammala, Hani (EXTERN: BERIS) < >> ext.....ala1@....de> >> >> > Hi, >> > >> > I need help to resolve a layout problem. >> > >> > In our application we display a bar chart within the sheet, but the us= ed >> > 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=3D"#{bean.items}" >> > columns=3D"60px;60px;200px"> >> > > > id=3D"min" sortable=3D"true" align=3D"center"> >> > >> > >> > > > id=3D"max" sortable=3D"true" align=3D"center"> >> > >> > >> > >> > > > width=3D"#{item.gauge.width}" >> > height=3D"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=C3=9Fe 30 | 26121 Oldenburg >> www.inexso.de >> >> >> >> -- >> inexso - information exchange solutions GmbH >> Ofener Stra=C3=9Fe 30 | 26121 Oldenburg >> www.inexso.de >> > > > > -- > inexso - information exchange solutions GmbH > Ofener Stra=C3=9Fe 30 | 26121 Oldenburg > www.inexso.de > --=20 inexso - information exchange solutions GmbH Ofener Stra=C3=9Fe 30 | 26121 Oldenburg www.inexso.de --e89a8ff1c840c4cb2104ebb0bbf3--