Sunday, July 27, 2014

Re: Text markup (XML) parser in GWT?

If you can change it then I would directly use html tags along with data-* attributes, e.g.

some text and <a href="javascript:;" data-internal-link="products">products</a> and some more text

Then override onBrowserEvent() so you can figure out if someone clicked your <a> tag which should lead to the products page.

If you can not change the format then I would parse it using GWT xml parser as it directly uses the browser parser.

-- J.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment