Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-27 Thread Blake McBride
Embarrassing. Yes, that is exactly what I was looking for. I've seen the link but never followed it because I thought it was meant to go into highly technical details that I wasn't yet up to. It is clear that a lot of people are having a lot of trouble with SDM. There are a few good pages that

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Ed Bras
> HTMLPanel.addAndReplaceElement() This is basically what I do, but then through customized markup. But I think you are right, i can probably directly use div/span as marker with data-* attributes that hold extra details like references through other cms text snippets that should be shown in for

Re: unable to use external javascript in GWT

2014-07-27 Thread Thomas Broyer
On Sunday, July 27, 2014 10:11:22 AM UTC+2, Sandeep Poonia wrote: > > Hi , > I want to use goJS with GWT. I downloaded GOJS javascript and put it in > the sampleproject folder under war where sampleproject.nocache.js > and sampleproject.devmode.js is present. In sampleproject*.html i added * >

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-27 Thread Thomas Broyer
On Sunday, July 27, 2014 5:22:53 PM UTC+2, Blake McBride wrote: > > I spent a little time many months ago trying to get SDM working. I think > I succeeded but was very surprised about the number of steps required. The > thing that surprised me most, however, was discovering that I had to have

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Jens
> > Example: through the tag name I can specify the widget that needs to be > created that can consists of several div elements.. (pretty powerful, I > like using it). > I have once done a questionnaire that way and also wanted some special widgets in the final panel. To do so the server h

Re: onResize not called in custom widget

2014-07-27 Thread Jens
The onResize() method will only be called automatically if you place your widget inside a widget that implements ProvidesResize [1]. Also the RequiresResize/ProvidesResize chain must be correctly setup up to the RootLayoutPanel. The RootLayoutPanel is actually the panel that listens for windows

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Ed Bras
​@Jens: cool, thanks, I will have a look at the parser refs. I though more about using the anchor/onBrowserEvent and it's to restricted in some cases (I think that was the reason I didn't use it in the past as well) Example: through the tag name I can specify the widget that needs to be created th

Re: unable to use external javascript in GWT

2014-07-27 Thread Jim Douglas
Try it like this: public static native void initGo() /*-{ var $$ = $wnd.go.GraphObject.make; }-*/; Also, you can add external js to your GWT project by dropping the files into your project/public/ directory and adding them to your project.gwt.xml file like this: O

Re: Moving to Maven

2014-07-27 Thread Thomas Broyer
On Sunday, July 27, 2014 8:08:21 PM UTC+2, Magnus wrote: > > Hi, > > I would like to move to Maven. > > In former times, I used to run a Makefile to compile my stuff and > everything happened at the commandline. I believe that Maven is an > equivalent in today's world. I would like to do my pro

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Jens
> > > 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

unable to use external javascript in GWT

2014-07-27 Thread Sandeep Poonia
Hi , I want to use goJS with GWT. I downloaded GOJS javascript and put it in the sampleproject folder under war where sampleproject.nocache.js and sampleproject.devmode.js is present. In sampleproject*.html i added * In one of the view i used public static native void initGo() /*-{ var $$ = go

onResize not called in custom widget

2014-07-27 Thread Jens
Hi, I want to create a custom widget. It's based on ResizeComposite and it will contain some special graphical stuff in a HeaderPanel. I will have to rearrange the graphical stuff when the custom widget is resized. I'm overriding the onResize()-Method of ResizeComposite for this purpose, but it

Moving to Maven

2014-07-27 Thread Magnus
Hi, I would like to move to Maven. In former times, I used to run a Makefile to compile my stuff and everything happened at the commandline. I believe that Maven is an equivalent in today's world. I would like to do my projects with Maven. However, I started GWT development using eclipse and t

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Ed Bras
Jens: thanks for your feedback. > 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 thi

Re: Text markup (XML) parser in GWT?

2014-07-27 Thread Jens
If you can change it then I would directly use html tags along with data-* attributes, e.g. some text and products and some more text Then override onBrowserEvent() so you can figure out if someone clicked your tag which should lead to the products page. If you can not change the format then

Text markup (XML) parser in GWT?

2014-07-27 Thread Ed
Please some advice: In a GWT app I retrieve all CMS texts from XML files. The xml content contains markup that I use to create widgets like anchor widgets. Example (create some help popup link and some internal navigation link to the product pagge: [hlpLnk key=hlpId]some text and [lnk key=NavPr

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-27 Thread Blake McBride
I spent a little time many months ago trying to get SDM working. I think I succeeded but was very surprised about the number of steps required. The thing that surprised me most, however, was discovering that I had to have two servers running (if I am correct) - an app server, and a code server.

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-27 Thread Jens
> > my GWT compiler does not recognize a "-draft" option. I am running GWT > 2.6.0. > I think it is -draftCompile . Doesn't the GWT compiler help (which is automatically shown on console when you provide an unknown parameter) doesn't show the correct option? However, I changed my code (added

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-27 Thread Magnus
Hi Thomas, my GWT compiler does not recognize a "-draft" option. I am running GWT 2.6.0. I remember some problems with GWT designer after upgrading GWT the last time, which forced me to go back to an older version. I think it was 2.6.0. However, I changed my code (added a cell view into my spl