Tapestry thumbnail gallery

2012-07-21 Thread gonzalomp87
I'm trying to make a kind of gallery with thumbnails. Just show them. I try it with a grid,but do not know how to display multiple images per row. I do not know if there is a component for this. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-thumbnail-gallery

Re: BufferedImage in Tapestry

2012-07-21 Thread gonzalomp87
First of all thanks for the replies. I copy my code if anyone is useful ImagenDetails.tml ${uploadedImage} ImagenDetails.java @InjectPage private ShowImagePage showImagePage; @Property private Imagen imagen; public Link getUploadedImage(){ return showImag

Re: Test if production or test mode..

2012-07-21 Thread Howard Lewis Ship
There's very little in Tapestry that could not be readily built in Tapestry; it's not that what you are doing is impossible, it's just that there hasn't been a sufficient need to streamline access to this configuration symbol. On Sat, Jul 21, 2012 at 8:47 AM, sommeralex wrote: > @Value("$

Test if production or test mode..

2012-07-21 Thread sommeralex
@Value("${tapestry.production-mode}") @Property private boolean productionMode; this way sounds much easier than the crpytic form in the constructor: public class MyService implements MyServiceInterface { public MyService(@Value("${tapestry.production-mode}") boolean pro

Re: Tapestry Tynamo Rest and security integration questions

2012-07-21 Thread bhorvat
Hi, Sorry for late response. The strange part is that my class has a public constructor and I still get the error. Here are the classes so maybe I am missing something @Path(value = "/test") public interface NewInterface { @GET boolean getLogin(); } public class RestResource1 imp