Hello Angelo,

What do you mean everything? Do you want to render an complex HTML table to
image or you want to render a button dynamically?

In T5 it should be quite simple to render image in response because
essentially you just need to send a byte stream back to the client using
StreamResponse

http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/pagenav.html

And here

http://tapestry.formos.com/nightly/tapestry5/apidocs/org/apache/tapestry/StreamResponse.html

The content type should be something like "*image*/*jpeg" *or* "**image*/*
png"* and to render an image in java you can use Java 2D or Java Advanced
Imaging API

For example check here:

http://www.ibm.com/developerworks/library/j-begjava/index.html

or

http://java.sun.com/javase/technologies/desktop/media/

Renat

On 04/02/2008, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I have a component which renders html correctly, now I'd like to make
> another component but render everything into a image, possible? any idea
> how
> to get started with this? thanks.
>
> Angelo
>
> --
> View this message in context:
> http://www.nabble.com/T5%3A-component-and-image-tp15261013p15261013.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Best regards,
Renat Zubairov

Reply via email to