Re: Some questions about Tapestry components source code

2010-11-08 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Nov 2010 10:19:09 -0200, Anton Mezerny wrote: Didn't understand how it works. Does Tapestry make assignment from defaultBeanBlockSource to beanBlockSource field (which is annotated with @Parameter) if it is empty? Tapestry will invoke the defaultBeanBlockSource() and use the retu

Re: Some questions about Tapestry components source code

2010-11-08 Thread Anton Mezerny
> > This is an example of providing a default value for a component parameter. > One way is using the value attribute of @Parameter. Another one is to write > a method named default. In this particular case, it's a > default value for the beanBlockSource parameter. > Didn't understand how it works

Re: Some questions about Tapestry components source code

2010-11-07 Thread Thiago H. de Paula Figueiredo
On Sun, 07 Nov 2010 16:29:15 -0200, Anton Mezerny wrote: Hi all, Hi! I've spent some time diving into the tapestry's sources (particulary BeanEditor and all code which is linked to it). I learned a lot from reading Tapestry sources. They're very well written and architected, use a lot

Some questions about Tapestry components source code

2010-11-07 Thread Anton Mezerny
Hi all, I've spent some time diving into the tapestry's sources (particulary BeanEditor and all code which is linked to it). I use Tapestry 5.2.2. I found some interesting things, that I can't explain: 1)in PropertyEditor.java there is some code, but it is not used anywhere (I did't find any usage