You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/04/29 05:19:22 UTC
t5: public or package level for event methods
Hi,
which one is tapestry 5 correct:
public void onActivate();
void onActivate();
should we make event method public?
Angelo
--
View this message in context: http://www.nabble.com/t5%3A-public-or-package-level-for-event-methods-tp23289854p23289854.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: t5: public or package level for event methods
Posted by Robert Zeigler <ro...@scazdl.org>.
Tapestry doesn't care; it can even be private.
As for which to use, it's your preference, depending entirely on your
needs.
Robert
On Apr 28, 2009, at 4/2810:19 PM , Angelo Chen wrote:
>
> Hi,
>
> which one is tapestry 5 correct:
>
> public void onActivate();
> void onActivate();
>
> should we make event method public?
>
> Angelo
>
>
>
> --
> View this message in context: http://www.nabble.com/t5%3A-public-or-package-level-for-event-methods-tp23289854p23289854.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org