Maybe this is feasible: Create an event link and get the url, put the url to the <img src and return the stream response in the event handler.
DH http://www.gaonline.com.cn ----- Original Message ----- From: "Jun Tsai" To: "Tapestry users" <users@tapestry.apache.org> Sent: Monday, September 21, 2009 8:49 AM Subject: Re: How to display Blob byte array image? > Thank your quick reply.I had seen it.But How to code image element in .tml > file? > > 2009/9/21 Thiago H. de Paula Figueiredo <thiag...@gmail.com> > >> Em Sun, 20 Sep 2009 21:36:30 -0300, Jun Tsai <jun.t...@gmail.com> >> escreveu: >> >> hi, I had stored my image to database using byte array.How to display it? >>> I couldn't find any image component. >>> >> >> In any event handler method, return a StreamResponse. One example: the >> ImagePage and JPEGAttachment classes in >> http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile. >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java consultant, developer, and instructor >> http://www.arsmachina.com.br/thiago >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > regards, > Jun Tsai >