Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.0.15
-
None
Description
If i have a method like this:
@AfterRender
void beginRender()
{
}
it actually gets executed twice. Once during AfterRender and once during BeginRender. Although i agree that is bad coding it can cause some confusion and make it hard to diagnose.
In my opinion there should be either an error thrown by Tapestry in this situation or it should just ignore the method name when a render phase annotation is present.
Also, i didn't try if this also happens for component events.