On Tue, Jul 26, 2011 at 9:48 PM, nillehammer <
tapestry.nilleham...@winfonet.eu> wrote:

>
> Thiago H. de Paula Figueiredo wrote:
> >
> > By the way, any event in Tapestry can be handled by using an annotation
> in
> > the method instead of relying on naming conventions. It's your choice. :)
> >
> That cannot be repeated often enough. I think it is better style to use a
> name that explains, what is realy done in the method rather than that it is
> jus an event handler.
>

Interesting,
As I never had used annotations for event handlers in any project so far.
I choose the name of the event to imply what is needed to be done in the
method, which I prefer to keep it as short as possible (3-4 lines of code,
rarely any more).

Anyway it's nice to hear different opinions.

Cheers,
Dragan Sahpaski




>
> -----
> http://www.winfonet.eu
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Form-using-both-a-zone-and-no-zone-tp4635695p4636078.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to