RE: T4 to T5 component usage

2012-09-27 Thread Ken in Nashua
Ivan, Preeviette !!! Thanks for the generous contribution and good faith. I am excited. I will give that a shot over the weekend. Your tech support for tapestry 5 looks good. I will be as generous to post my widget when I get it QA'd... going to be some weeks though... each month I think i h

Re: BufferedImage in Tapestry

2012-09-27 Thread gonzalomp87
I post the problem on another forum and an user told me that I need put the contentType for the browser know that is an image. I add this line but doesn`t work yet public void prepareResponse(Response response) { response.setHeader("Content-type","image/jpeg"); response.setHeader("Content-Disp

Re: BufferedImage in Tapestry

2012-09-27 Thread Lance Java
Some disadvantages worth considering when using data URLs for images: http://en.wikipedia.org/wiki/Data_URI_scheme#Disadvantages -- View this message in context: http://tapestry.1045711.n5.nabble.com/BufferedImage-in-Tapestry-tp5714465p5716529.html Sent from the Tapestry - User mailing list arc

Re: T4 javascript code snippet upgrade to T5 ?

2012-09-27 Thread Thiago H de Paula Figueiredo
On Thu, 27 Sep 2012 10:57:40 -0300, Ken in Nashua wrote: Folks, Hi! i have a T4 snippet HOME.TML Can this all be remodeled in the TML file ? or do I have to remodel it in the JAVA ? Check http://tapestry.apache.org/javascript.html. -- Thiago H. de Paula Figueiredo ---

Re: Again with the tapestry, hibernate and switching the database

2012-09-27 Thread Thiago H de Paula Figueiredo
On Thu, 27 Sep 2012 09:48:41 -0300, esper wrote: You don't have to be sorry, I understand. Can you please point me in the right direction on where to start reading about this stuff? You're already in the right path. How do I disable hibernate-tapestry module? Just don't add it to your cla

Re: Again with the tapestry, hibernate and switching the database

2012-09-27 Thread esper
You don't have to be sorry, I understand. Can you please point me in the right direction on where to start reading about this stuff? How do I disable hibernate-tapestry module? How do I set up hibernate and tapestry to run independently from one another? -- View this message in context: http://

Re: Again with the tapestry, hibernate and switching the database

2012-09-27 Thread Thiago H de Paula Figueiredo
On Wed, 26 Sep 2012 03:57:09 -0300, esper wrote: Thanks for the reply Taha! It is indeed very useful. I still find it hard to believe that you can't load/rebuild the entire different hibernate session with Tapestry. No matter the time it takes. I'm sorry, but you're completely wrong here. As

Re: BufferedImage in Tapestry

2012-09-27 Thread Giulio Micali
for such kind of jobs, i use the following method: Returning the entire tag, so I can include it even in ajax responses. I hope it can be helpful, Giulio

Re: BufferedImage in Tapestry

2012-09-27 Thread Lance Java
Using firebug or similar, can you inspect the response from the image request? What headers are included? Perhaps setting the "Content-Length" header on the image response will help. This should be the byte count (inputStream.available() or file.length() etc). -- View this message in context:

Re: Tapestry & Spring localization

2012-09-27 Thread Lance Java
> why not decorate the org.apache.tapestry5.ioc.Messages interface and why decorate ComponentMessagesSource Only services defined in tapestry's IOC registry can be decorated. ComponentMessagesSource is a service, Messages is not (it's the result of calling a method on a service). > is there a good