Many thanks. I like it. Good when memory is expensive :)
On Wed, 17 Feb 2010 16:21:16 -0800, you wrote:
>we already provide support for all this...
>
>class cheaprenderer implements ilinklistener {
>
> protected void oncomponenttagbody(...) {
> ...
> getresponse.write("href=\"");
> getresponsr.write(urlfor(this, ilinklistener.interface)+"&x="+x+"&y="+y));
> ....
> }
>
> public final void onclick() {
> onclick(getrequest().getparameter("x"), getrequest().getparameter("y"));
> }
>
> protected abstract void onclick(int x, int y) ;
>}
>
>-igor
[snip]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]