Re: Handler for http call
Thanks!!!!!!
On 15 Giu, 00:24, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 15 juin, 00:06, ale <aleee...@gmail.com> 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 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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home