Thursday, March 31, 2011

Re: Overriding panel's iterator() prevents clickHandler from being called.

On 31 mar, 14:30, Ben Imp <benlee...@gmail.com> wrote:
> Correct. You weren't abusing the iterator itself, you were abusing
> the iterator method, which other things used.
>
> You can still extend ScrollPanel, but just add your own bit of
> interface on top of it. Like this bit of pseudocode.
>
Ok, thanks for the help.

> This is all a very view-centric way of doing it, however. I might
> suggest reading up on the MVP pattern, which would help abstract away
> the details of the panels entirely.
>
I see. Thanks again, off to reading on MVP I guess.

Regards,
Olivier

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment