I'm not quite sure what you are trying to do.   If your hrefs are meant to 
be page request then lose the hash.   However if your hrefs are truly meant 
to be targeted as history tokens then you can try something like :

<g:InlineHyperlink targetHistoryToken="chapter1" 
ui:field="simpleTab">Chapter 1</g:InlineHyperlink>

 


On Friday, September 21, 2012 4:02:35 AM UTC-4, tanteanni wrote:
>
> This question could also be answered 
> here<http://stackoverflow.com/questions/12509969/gwt-and-in-page-hyperlinks-chapter3-interfere-with-history-tokens>
>   
> :-).
> I want to add a html-document to a view. the html page contains an toc 
> with anchors <a href="#Chapter1">Chapter 1</a> and <a 
> name="Chapter1">Chapter 1</a> (very oldschool html). The problem is that on 
> click on an item in toc gwt interprets this as "goTo(Place with token 
> chapter1)" - the link is interpreted as <adress to webapp/#chapter1>  and 
> this obviously fails.
> So how to add such html to a gwt widget and make the anchors work as 
> expected (probably all anchors must be modified in some way?)? in meantime 
> i tried wrapping the html in a frame - with no avail.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Ar4KczILJ-cJ.
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.

Reply via email to