Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 9979 invoked from network); 12 Apr 2007 14:10:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2007 14:10:38 -0000 Received: (qmail 38999 invoked by uid 500); 12 Apr 2007 14:10:40 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 38969 invoked by uid 500); 12 Apr 2007 14:10:39 -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 38958 invoked by uid 99); 12 Apr 2007 14:10:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 07:10:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 07:10:33 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Hc002-0001bQ-5H for users@myfaces.apache.org; Thu, 12 Apr 2007 07:10:10 -0700 Message-ID: <9960210.post@talk.nabble.com> Date: Thu, 12 Apr 2007 07:10:09 -0700 (PDT) From: =?UTF-8?Q?mathias_=C2=B0=C3=B6=C2=B0?= To: users@myfaces.apache.org Subject: Re: how link svg file with jsf component In-Reply-To: <461E327F.1080702@oma.be> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: Mathias.List@statistik.sachsen.de References: <9940418.post@talk.nabble.com> <461DE88D.5010104@oma.be> <9955327.post@talk.nabble.com> <461E327F.1080702@oma.be> X-Virus-Checked: Checked by ClamAV on apache.org i have tested with : at browser (ie and firefox) i see only a grey frame. the browser can=C2=B4t= load the svg image. (if i start the svg image from my file browser it will open.) my next step i try with component , but im not sure which attribute i must set. but this code-snapshot does not work. best regards David Delbecq-2 wrote: >=20 > Indeed, now you say this, am not sure the tomahwak htmlTag component > accepts attributes other than the default uioutput ones. > maybe something along this? > > width=3D"400" height=3D"300"> > > >=20 >=20 > In facelets i would simply make, without verbatim >=20 > width=3D"#{someBean.someSvgWidth}" height=3D"#{someBean.someSvgWidth}"> > >=20 > but won't work in JSP. Also the media tag of ajax4jsf is made to ouput > 'media' in various tags (object, a, img, iframe), if you can afford an > additionnal library... >=20 >=20 > En l'instant pr=C3=A9cis du 12/04/07 10:40, mathias =C2=B0=C3=B6=C2=B0 s'= exprimait en ces > termes: >> >> 2. use htmTag component >> >> >> >> >> >> >> >> but is does not work. how i handle htmlTag Attributes? >> >> best regards >> mathias =C2=B0=C3=B6=C2=B0 >> >> >> David Delbecq-2 wrote: >> =20 >>> graphicImage renders a tag. Svgs are not supposed to be >>> included with such tags. It's like trying to use a img tag to show a >>> flash object. >>> >>> See here how to include svg in your page: >>> http://wiki.svg.org/SVG_and_HTML >>> >>> When you have understand this, you can use either the ajx4jsf 'media' >>> component or use the tomahawk 'htmlTag' component to render your objec= t >>> tag. >>> >>> Also don't forget to setup your mimetype in your web.xml for svg >>> ressources. >>> >>> En l'instant pr=C3=A9cis du 11/04/07 16:14, mathias =C2=B0=C3=B6=C2=B0 = s'exprimait en ces >>> termes: >>> =20 >>>> hi >>>> >>>> how link an extern svg-file with jsf component. >>>> with >>>> >>>> it does not work. >>>> >>>> =20 >>>> =20 >>> >>> =20 >> >> =20 >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/how-link-svg-file-with-= jsf-component-tf3559628.html#a9960210 Sent from the MyFaces - Users mailing list archive at Nabble.com.