Hm just another issue: I also want the servlet url to have some query 
parmeters like MyServlet?param=content.

But the content is dynamic, especially not available on construction of the 
Anchor.
How can I pass this content on click into the targetLink of the Anchor 
before it gets executed?

The following at least does not work. Somehow setting the new target if the 
anchor is clicked does not have any impact. Why?

@UiHanlder("anchor")
void onAnchor(ClickEvent event) {
   anchor.setTarget(servletUrl + content);
}

private servletUrl = GWT.getModuleBaseURL() + "MyServlet" + "?param=";

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to