Sunday, July 27, 2014

Re: Text markup (XML) parser in GWT?

Then override onBrowserEvent() 
Yes, I could change it. You mean overriding the onBrowserEvent() of the parent of the anchor element I suppose?
I would have to dig a bit deeper to see if it would cover all my requirements, but sure a good idea. I remember doing this in the past but without overriding the onBrowser event which didn't work well..

Yeah the parent panel should do that. 

 I would parse it using GWT xml parser
​But how can I use the gwt xml parser to specify the opening/closing tags as they are different then the xml tags ([, ] vs <, >)..

Oh right. You have to replace them with <> and probably fix attributes (wrap values with quotes).

If you still want to write a parser then maybe take a look at JavaCC 6.1.0+ which has a "modern" output style which is compatible to GWT.

-- 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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment