RE: Re: [OT] Rotating Images via JSF or AJAX

2006-04-14 Thread James Reynolds

Oops, I shouldn't have written 'rotation.'  I simply mean changing the
displayed image on the page without page submits, basically just like ad
banners.  Though your point is taken, I'll need to focus on getting the
image from the server.

Thanks

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
Sent: Friday, April 14, 2006 11:28 AM
To: users@myfaces.apache.org
Subject: Re: [OT] Rotating Images via JSF or AJAX

James Reynolds schrieb:
 I have an animated .gif that rotates images (like a slide show).  I 
 want to replace it with some kind of component that will do the same
thing.
 I'd like to have it pull the sources for the images from a database so

 that I can choose which images are displayed on the fly.
 
 Has anyone discovered a JSF or AJAX roadmap for this kind of thing?
 
Nothing is there as component yet, however it is doable, if you are
willing to write it yourself.
You have everything basically in place.
All you need is java2d for rotation and something which pulls the images
from a server.


You even can do that without jsf just by using a servlet for doing the
work and then setting parametrized img tags onto that servlet.




Re: Re: [OT] Rotating Images via JSF or AJAX

2006-04-14 Thread Mert Çalışkan
Favor phaselisteners over servlets

to render the image

http://www.nabble.com/Render-an-Image-t1395334.html#a3811978 
(my friend's old post to the group maybe you already have it)

and to rotate it by spicing with java2d.

cheers,

Mert
On 4/14/06, James Reynolds [EMAIL PROTECTED] wrote:
Oops, I shouldn't have written 'rotation.'I simply mean changing thedisplayed image on the page without page submits, basically just like adbanners.Though your point is taken, I'll need to focus on getting the
image from the server.Thanks-Original Message-From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Werner PunzSent: Friday, April 14, 2006 11:28 AM
To: users@myfaces.apache.orgSubject: Re: [OT] Rotating Images via JSF or AJAXJames Reynolds schrieb: I have an animated .gif that rotates images (like a slide show).I
 want to replace it with some kind of component that will do the samething. I'd like to have it pull the sources for the images from a database so that I can choose which images are displayed on the fly.
 Has anyone discovered a JSF or AJAX roadmap for this kind of thing?Nothing is there as component yet, however it is doable, if you arewilling to write it yourself.You have everything basically in place.
All you need is java2d for rotation and something which pulls the imagesfrom a server.You even can do that without jsf just by using a servlet for doing thework and then setting parametrized img tags onto that servlet.