Re: Why should we specify t:id and id for the zone

2012-08-11 Thread bhorvat
But if it that important why does not tapestry set the id to be the same as t:id by default? I am just trying to understand the motivation behind it all. Thanks for help cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Why-should-we-specify-t-id-and-id-for-the-zo

Re: jnlp files in tapestry

2012-08-11 Thread Thiago H de Paula Figueiredo
On Sat, 11 Aug 2012 00:41:08 -0300, gonzalomp87 wrote: Hi Hi! I need to put a link on my application to run an application with java web start, but can not find information. In the. Tml I have put: Notepad.jnlp Launch Notepad Application > in the .Java only I added the annotation @ Me

Re: Tapestry 5.3.4

2012-08-11 Thread Stephan Windmüller
On 11.08.2012 02:00, David Rees wrote: > I'm confused - so what's the proper fix to get the yuicompressor > dependency downloaded when one is using a maven proxy? Configure your maven proxy to access the mentioned repository. - Stephan signature.asc Description: OpenPGP digital signature

Re: Tapestry 5.3.4

2012-08-11 Thread Stephan Windmüller
On 11.08.2012 02:00, David Rees wrote: > I'm confused - so what's the proper fix to get the yuicompressor > dependency downloaded when one is using a maven proxy? Configure your maven proxy to access the mentioned repository. - Stephan signature.asc Description: OpenPGP digital signature

Re: jnlp files in tapestry

2012-08-11 Thread gonzalomp87
Thanks. Right. works simply with that line of code. The problem is that this only work on pages that have no method OnActivate () / Onpasivate (). For example. The page where I want to put the link is "imagendetails" which takes the string that follows as an identifier of an image that searches

t:zone after update add following style: "background-image: none; background-color: rgb(255, 255, 255);"

2012-08-11 Thread lukaszkaleta
Hi, I am using t:zone with ZoneRefresh mixin. When zone is refreshed mine background image is lost on the zone div. Is there a way to disable this default style ? I already try with configuration.override("InjectDefaultStylesheet", null); but this style seems to come from something different. I

Tapestry5 vs Vaadin

2012-08-11 Thread Muhammad Gelbana
So is there any Vaadin users already using tapestry5 too and could give me a comparison based on his experience ? I've never used Vaadin but what I can say about it after I visited it's website is that it's much more UI component rich when compared to tapestry but it has no IoC support. Of course

Re: Tapestry5 vs Vaadin

2012-08-11 Thread lukaszkaleta
The question is what you need more: 1. RichClient like application on the web - then you can go with vaadin, since it has many build in components 2. If you look for good perfomnace in faver of rich components then tapestry is better choice IMHO I used vaadin for administrative application, the p

Re: t:zone after update add following style: "background-image: none; background-color: rgb(255, 255, 255);"

2012-08-11 Thread Muhammad Gelbana
What version of tapestry are you using ? Based on this page (at the bottom), the misspelled "InjectDefaultStyleheet" should only work for version 5.2 and earlier, while "InjectDefaultStyle*s*heet" should work for version 5.3 and later. On Sat, Aug 11, 2012 at 8

Re: Why should we specify t:id and id for the zone

2012-08-11 Thread Christian Riedel
Let me try… The t:id parameter defines the component id, i.e. the "name" of the component in your template, which you can use for injecting the component to your component class: tml: > class: > @InjectComponent > private Zone myzone; Mostly it's enough for you to specify just t:id. Each zon

Re: Tapestry5 vs Vaadin

2012-08-11 Thread Taha Siddiqi
Hi You are not going to get a fair comparison in a tapestry mailing list :). Try it on stack-overflow. IMHO tapestry-jquery has a lot of components and you can easily create a new one . Also tapestry is a lot more than set of components. The power of class-reloading, class transformations, mix

Re: Tapestry5 vs Vaadin

2012-08-11 Thread Lenny Primak
I think you are fixated on the number of components that are available in vaadin too much. Vaadin and GWT in general have to have their own components for everything because everything is built n JavaScript. Tapestry can get away with using plain HTML for both things so it's not really a valid c

Re: Tapestry5 vs Vaadin

2012-08-11 Thread Angelo C.
Hi Taha, I agree with almost all except the testability, maybe it's my fault not knowing how to structure the app to be testable, for now, I test only in the service/class level, very difficult to test the app/page level with those IOC things. angelo Taha Hafeez wrote > > Hi > > You are not

Re: Tapestry5 vs Vaadin

2012-08-11 Thread Ray Nicholus
Very little logic should exist in your component classes. That's what services are for. You can use selenium to test your client side. Geb is a nice tool to investigate. On Aug 11, 2012 7:01 PM, "Angelo C." wrote: > Hi Taha, > > I agree with almost all except the testability, maybe it's my fa

Re: Tapestry5 vs Vaadin

2012-08-11 Thread Taha Siddiqi
The best way to learn how to do testing with tapestry is by looking at its tests :) I usually work on the service layer first. For service integration testing I build and startup a registry in the setup() and then start testing the services. (Look at tapestry-hibernate tests) For components an