On 15 juin, 00:06, ale <[email protected]> wrote:
> Hi everybody,
> I have this problem:
> I had a simple link like this:
> <g:Anchor href="/myservlet/example?param=One" >Link</g:Anchor>
> that call one servlet.
>
> Now I trasform the link in a more complex panel with image, label ecc
> and I would like to use a clickHandler:
>
> On the page:
>
> <w:MyComplexPanel ui:field="newLink" />
>
> On the java:
>
> newLink.addClickHandler(new ClickHandler() {
>
> @Override
> public void onClick(ClickEvent event) {
> // TODO Auto-generated method stub
> // I don't know what can I write here ;-(
>
> }
> });
>
> How can i make the same call of the link?
Window.Location.assign("/myservlet/example?param=One");
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.