thanks for the clarification.
But what does disabling the cache has to do with it? As earlier posts say that okListener is retrieved from listeners map.


Kent Tong wrote:

Alex Kravets <akravets <at> kligerweiss.com> writes:



So the example was wrong then?


As the author of the tutorial, I have to jump in :-)
No, it is not wrong. So, what's wrong? The error message says it all:


Unable to resolve expression 'okListener' for org.apache.tapestry.html.BasePage <at> 103d246[Home].

It means Tapestry is still using BasePage as the page
object for your Home page (not Home.java), even although your Home.page is:


<page-specification class="helloworld.Home">
 ...
</page-specification>

The most likely reason is that you have not been
successful in disabling the cache in Tapestry.



And as I understand when I define a binding with name listener it will always be put into map by Tapestry?



No. Only when its method signature looks like a listener:

public void XXX(IRequestCycle yyy) {
 ...
}



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to