Re: Render an Image

2006-04-09 Thread udokrass
Hi, i had to change my sandbox.taglib.xml to: --snip- graphicImageDynamic org.apache.myfaces.custom.graphicimagedynamic.GraphicImageDynamic org.apache.myfaces.custom.graphicimagedynamic.GraphicImageDynamicRenderer

Re: Render an Image

2006-04-08 Thread udokrass
Hi, thanks for that hint. i changed that - also in the myfaces-wiki. But the same null pointer exception occurs. In which path i had to put handler classes? I have it in a JAR. The JAR and the WAR are in the same EAR. Normally that is ok for the classpath. I try to put the handler-class in the

Re: Render an Image

2006-04-08 Thread Mike Kienenberger
On 4/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > org.apache.myfaces.GraphicImageAjax > Is this an AJAX component??? The class was renamed from graphicImageAjax to graphicImageDynamic at some point. Your taglib entry probably needs to be updated for component-type and renderer-type.

RE: Render an Image

2006-04-08 Thread udokrass
Hi, i will give a feedback how i tried to implement the graphicImageDynamic tag from the sandbox with facelets. It doesn't work for me and i don't know why. But i think it would be useful if this tag works, so i post my experiences with that tag: 1.) I implemented the tag: 2.) I searched fo

Re: Render an Image

2006-04-07 Thread Cagatay Civici
Hi,Udo, I'm glad that it worked out,I would not say no to a world cup ticket :)Cagatay,On 4/8/06, Matthias Wessendorf < [EMAIL PROTECTED]> wrote:> It works very well!> You are the best. buy him a ticket for the world championship, since he is interested infootball (soccer) ;-)cheers,Matthias

Re: Render an Image

2006-04-07 Thread Matthias Wessendorf
> It works very well! > You are the best. buy him a ticket for the world championship, since he is interested in football (soccer) ;-) cheers, Matthias

RE: Render an Image

2006-04-07 Thread udokrass
Hi Cagatay Civici, THANK YOU VERY, VERY MUCH! It works very well! You are the best. Regards, Udo "Jetzt Handykosten senken mit klarmobil - 14 Ct./Min.! Hier klicken" http://www.klarmobil.de/index.html?pid=73025

Re: Render an Image

2006-04-07 Thread Cagatay Civici
Hi Udo,I saw your comment to my blog entry and see this thread just now,Well, I have created an image using your hex code, a phaselistener and h:graphicImage. Hex to byte[] code is an example from java forums. Anyway, the output of your hex code is a picture of flowers right, seems it is working:)

Re: Render an Image

2006-04-07 Thread Mike Kienenberger
On 4/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The sandbox tag doesn't work for me. I don't know why, but an image wouldn't > be rendered. This often happens for me as well. That's the bug in the component -- if the page state gets too big, the image doesn't render. > I think that i

Re: Render an Image

2006-04-07 Thread udokrass
Hi, i tried to implement a renderer with the PhaseListener. The sandbox tag doesn't work for me. I don't know why, but an image wouldn't be rendered. I think that is a problem with facelets and the sandbox tags. I implemented all properly what i've found in the wikis, but it doesn't work for me.

Re: Render an Image

2006-04-05 Thread Mert Çalışkan
Another component can support this feature. I did not mean should support this. But a byte[] in a session bean should be viewed easily on a page. I think I am not the only one who has a requirement like this. Cause a component,s:graphicImageDynamic, has already implemented. A phaselistener like

Re: Render an Image

2006-04-05 Thread Mike Kienenberger
On 4/5/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: > If you want a dynamic image, best thing to do is create a servlet then > have the tag just point to that servlet with path & query strings > configured as you need them. There's a sandbox component that does this. s:graphicImageDynamic Howe

Re: Render an Image

2006-04-05 Thread Andrew Robinson
That doesn't make any sense. h:graphicImage renders a tag not an image. Images are not actually in HTML pages, just tags that insert images. Then the browser uses an HTTP request to get the images from the server to insert into the page when the page is rendered. If there was a byte[] array in t

Re: Render an Image

2006-04-04 Thread Mert Çalışkan
I think should support byte[] binding as a value...   Mert  On 4/4/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: Udo, when you are *generating* you image, you may take a look atCagatay's blog ([1])[1] http://tinyurl.com/q7yff

Re: Render an Image

2006-04-04 Thread Matthias Wessendorf
Udo, when you are *generating* you image, you may take a look at Cagatay's blog ([1]) [1] http://tinyurl.com/q7yff