Re: CellBrowser RF The requested entity is not available on the server
IIUC, this error means that your findXxx static method (or your Locator) returned 'null' for the ID of the object you passed as argument (i.e. it didn't find back your 'b' on the server-side). http://www.google.com/codesearch#A1edwVHBClQ/user/src/com/google/web/bindery/requestfactory/server/Resolver.javaq=%22The%20requested%20entity%20is%20not%20available%20on%20the%20server%22%20package:http://google-web-toolkit%5C.googlecode%5C.coml=416 -- 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/-/CIxMF_SNuaEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and populate form field with dynamic data
It's really no different from GWT-RPC, if you're more comfortable with it. The main difference is that you can push several things in a RequestContext before firing it, making a batch request. The other major difference is that changes to proxies have to be made in a RequestContext, after you edit() them; that way, when you fire(), only the changes you made are sent across the write, not the whole object, only the diff. Here, you'll create a RequestContext out of your RequestFactory, enqueue an invocation to get the values from the server and fire() the whole thing. In most cases, it'll be a different RequestContext instance than the one you get your PersonProxy from, but it depends how you organize your code. It'll however have to be a different context instance than the one you *edit()* the PersonProxy in! -- 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/-/hOXTX-Mcc90J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
uibinder with textbox focus and lostfocus
hi all, how do you guys implement focus and lostfocus handler on uibinder? I can't seems to get it right.. How to have two handler on one UiField? @UiHandler(textbox1) public void onFocus(ClickEvent sender) { textbox1.setText(Focus); } public void onLostFocus(ClickEvent sender) { textbox1.setText(Gone); } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Open a local file with JNSI
not sure if u can even do it with normal js (security) On Wed, Jun 29, 2011 at 11:05 PM, Kernel_panik bertrand.cheval...@gmx.netwrote: Dear all, with help of JNSI, i'm trying to open a local file from a client GWT. Here is my code: open(file:///D:/www/index.htm); // to call the native function I tried as well open(D:/www/index.htm) or open(file:///D:\\www\ \index.htm) without success. /* the JNSI function */ public static native void open(String file) /*-{ $wnd.open(file); }-*/; I presumably did not find the right combination because it's still not working. Have you got an idea ? Thank you for your help. Best Regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Open a local file with JNSI
The HTML5 file API looks promising but is not there yet. For local file access we use Flash. 2011/6/30 khiem nguyen khi...@googlemail.com not sure if u can even do it with normal js (security) On Wed, Jun 29, 2011 at 11:05 PM, Kernel_panik bertrand.cheval...@gmx.net wrote: Dear all, with help of JNSI, i'm trying to open a local file from a client GWT. Here is my code: open(file:///D:/www/index.htm); // to call the native function I tried as well open(D:/www/index.htm) or open(file:///D:\\www\ \index.htm) without success. /* the JNSI function */ public static native void open(String file) /*-{ $wnd.open(file); }-*/; I presumably did not find the right combination because it's still not working. Have you got an idea ? Thank you for your help. Best Regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CellTable doesn't update the value from ClickableTextCell
Hi, I've extended the ClickableTextCell to allow user to pick up a value from a dialog box. The problem is that when user pick the value and commit the choice the value is not displayed in CellTable, although the bean that is used under the Cell has new value. The cell's update method is albo invoked. What can be the problem? How to handle it? Here's the code of the extended class: public class ModifiedClickableTextCell extends AbstractSafeHtmlCellString { private AdminConstants ac = AdminConstants.AC.constants(); public ModifiedClickableTextCell() { this(SimpleSafeHtmlRenderer.getInstance()); } public ModifiedClickableTextCell(SafeHtmlRendererString renderer) { super(renderer, click, keydown); } @Override public void onBrowserEvent(final Context context, final Element parent, final String value, final NativeEvent event, final ValueUpdaterString valueUpdater) { super.onBrowserEvent(context, parent, value, event, valueUpdater); Integer key = (Integer) context.getKey(); if (key == -1) { if (click.equals(event.getType())) { final DialogBox db = new DialogBox(); db.setAutoHideEnabled(false); Label searchLbl = new Label(ac.search()); Label producerLbl = new Label(ac.producer()); final ListBox lb = new ListBox(); getProducers(lb); final TextBox tb = new TextBox(); tb.setWidth(150px); tb.addKeyUpHandler(new KeyUpHandler() { @Override public void onKeyUp(KeyUpEvent kue) { String p = TextUtils.replaceAsteriskWithPercentToUpperCaseOrNull(tb.getText()); AsyncCallbackListDictDTO cb = new AdminAsyncCallbackListDictDTO() { @Override public void onSuccess(ListDictDTO result) { if (result != null !result.isEmpty()) { lb.clear(); lb.addItem(); for (DictDTO d : result) { lb.addItem(d.getValue()); } } } }; AdminService.Async.service().searchProducers(p, cb); } }); lb.setWidth(100%); FlexTable ft = new FlexTable(); ft.setWidth(300px); ft.setWidget(0, 0, searchLbl); ft.setWidget(1, 0, producerLbl); ft.setWidget(0, 1, tb); ft.setWidget(1, 1, lb); ft.getColumnFormatter().setWidth(0, 50%); ft.getColumnFormatter().setWidth(1, 50%); DOM.setStyleAttribute(ft.getFlexCellFormatter().getElement(0, 0), textAlign, center); DOM.setStyleAttribute(ft.getFlexCellFormatter().getElement(1, 0), textAlign, center); Button closeBtn = new Button(ac.close()); closeBtn.setStyleName(); closeBtn.setWidth(60px); DOM.setStyleAttribute(closeBtn.getElement(), display, block); DOM.setStyleAttribute(closeBtn.getElement(), margin, auto); closeBtn.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent ce) { db.hide(); } }); Button okBtn = new Button(ac.ok()); okBtn.setStyleName(); okBtn.setWidth(60px);
RequestFactory and JSNI
Hi, I have ran few tests and wrote Hello World style RequestFactory code for understanding. I am wondering, how we can pass EntityProxy to native Javascript (using JSNI) and setting changed values from native javascript to EntityProxy? Thanks, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Downloading older GWT plugin versions
That doesn't help me though, as I can't find the download on the web page any more. If I had the plugin/SDK installation package I could add it in that dialog, sure. But I can't download the files I need from the web site and I also can't select older versions from the eclipse update site from within eclipse. That's my problem. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and JSNI
i had to do it manually with a lot of boilerplaite code (create a js-object copy properties from proxy to it). would like to hear if someone has better approach On Thu, Jun 30, 2011 at 12:30 PM, Nachiket patel.nachike...@gmail.comwrote: Hi, I have ran few tests and wrote Hello World style RequestFactory code for understanding. I am wondering, how we can pass EntityProxy to native Javascript (using JSNI) and setting changed values from native javascript to EntityProxy? Thanks, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Aw: Re: Downloading older GWT plugin versions
You can download older GWT SDKs from http://code.google.com/intl/de-DE/webtoolkit/versions.html -- 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/-/Fhr4A4UfInMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Fill a grid from my database
I think what Khadija wants to use is a GXT datagrid,i managed to do so by extending my DTO class with the BeanModelTag interface, then wrote a function to load the objects i want to display in the grid. below is the code for loading the Grid. private Grid createBidGrid(){ final GWTServiceAsync service = (GWTServiceAsync)GWT.create(GWTService.class); RpcProxy proxy = new RpcProxy() { @Override public void load(Object loadConfig,AsyncCallback callback){ service.getItems(callback); } }; BeanModelReader reader = new BeanModelReader(); ListLoader loader = new BaseListLoader(proxy, reader); ListStoreBeanModel store = new ListStore(loader); loader.load(); ListColumnConfig columns = new ArrayListColumnConfig(); columns.add(new ColumnConfig(supplierName, Supplier Name, 130)); columns.add(new ColumnConfig(procRefNo, Proc Ref No, 130)); columns.add(new ColumnConfig(procSubject, Subject, 130)); columns.add(new ColumnConfig(issueDate, Issue Date, 130)); columns.add(new ColumnConfig(procMthName, Procurement Name, 130)); columns.add(new ColumnConfig(biddingTypeName, Bidding Type, 130)); columns.add(new ColumnConfig(bidMethodName, Bid Method, 130)); ColumnModel cm = new ColumnModel(columns); GridBeanModel grid = new GridBeanModel(store, cm); //grid.setAutoExpandColumn(supplierName); grid.setColumnLines(true); grid.setColumnResize(true); grid.setAutoHeight(true); grid.setBorders(true); return grid; The getItems() being the above mentioned function. I am looking to make this a live grid,such that whenever i add an item to the database,it automatically adds it to the GRID On Wed, Jun 29, 2011 at 8:04 PM, Robert W riasol@gmail.com wrote: GWT 2.4 or gwt-incubator project had something called PagedDataGrid or similar. In 2.3 gwt is Editor framework suitable for your requirements too. On Jun 29, 10:21 am, Khadija FERJANI ferjani.khad...@gmail.com wrote: Good morning everybody, I wonder if someone could help me to fill my Grid from a database. My result have to be like this examplehttp:// www.sencha.com/examples/pages/grid/widgetrenderer.html Thanks. -- Cordialement, Khadija FERJANI Élève ingénieur à la faculté des sciences de Tunis. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Gibson Wasukira Making Technology a Business Asset www.gwasky.wordpress.com www.thegrid.ug -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Rebind
What is the purpose of com.google.user.rebind package? Are they server-side classes? I ask this because they contain references to BufferedImage. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Intercept basic authentication popup
i dont think u can do this at js in dom. browser handles this automatically when it sees the http-auth-required header before your js-code gets it. u'll need an anternative approach for this On Wed, Jun 29, 2011 at 7:52 PM, objectuser kevin.k.le...@gmail.com wrote: I'm not an expert in this by any means (and certainly don't know your requirements), but it seems like basic auth is fundamentally incompatible with a GWT app (or at least the portion you describe). I think a more compatible model would be to rely on something like cookies, have a particular service that does not require authentication, and then check the response to that to see if the user is authenticated. Then you can put access control on all your other services to ensure authenticated access. -- 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/-/HrYT7hSLoX0J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Activities does not get de-registered..
I am doing a small test application and I am using Activities and Place but can't make it work as I expect.. I have 2 Views, Activities and Places. DefaultView calls Example1View and Vice Versa .. In the Example1Activity I override mayStop() so that it returns a String asking if user wants to go to Default. It works the first time - when I hit go to Default, it ask if I am sure, and then I press 'OK' - that works, it swaps out the Example1View/Activity and swap in the DefaultView/Activity. But when I hit the go to Example1 from the DefaultView/Activity, it ALSO ask the question. I can see in the Debugger that first the DefaultActivity is called, and that it behaves as expected (the mayStop() returns null), but the ExampleView's mayStop() method is ALSO called?? Even though it is no in focus - it is about to come in Focus .. So it seems as the previous Example1Activity is NOT deregistered on the EventBus, after I hit the OK (which calles the onClose() method and should cause the ActivityManager to de-registere the Activity..) Any Ideas ??? Rehgards Jesper - Running GWT 2.2.1 and it is same behavior on FF, Chrome and Safari Here is my code: DefaultPlace.java: public class DefaultPlace extends Place {} DefaultView.java: public class DefaultView extends Composite implements IsWidget{ HorizontalPanel hp = new HorizontalPanel(); Button b = new Button(Go To Example1); public DefaultView() { hp.add(b); initWidget(hp); } HasClickHandlers getButton() { return b; } } DefaultActivity.java public class DefaultActivity extends AbstractActivity implements Activity { ClientFactory clientFactory; DefaultView defaultView; public DefaultActivity(DefaultPlace place, ClientFactory clientFactory) { this.clientFactory = clientFactory; } public void start(AcceptsOneWidget panel, EventBus eventBus) { defaultView = clientFactory.getDefaultView(); defaultView.getButton().addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { clientFactory.getPlaceController().goTo(new Example1Place()); } }); panel.setWidget(defaultView.asWidget()); } } Example1Place.java: public class Example1Place extends Place{} Example1View public class Example1View extends Composite implements IsWidget{ HorizontalPanel hp = new HorizontalPanel(); Button b = new Button(Go To Default); public Example1View() { hp.add(b); initWidget(hp); } HasClickHandlers getButton() { return b; } } Example1Activity.java public class Example1Activity extends AbstractActivity implements Activity { ClientFactory clientFactory; Example1View example1View; public Example1Activity(Example1Place place, ClientFactory clientFactory) { this.clientFactory = clientFactory; } public void start(AcceptsOneWidget panel, EventBus eventBus) { example1View = clientFactory.getExample1View(); example1View.getButton().addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { clientFactory.getPlaceController().goTo(new DefaultPlace() ); } }); panel.setWidget(example1View.asWidget()); } @Override public String mayStop() { return you sure??; } } AppActivityMapper.java: public class AppActivityMapper implements ActivityMapper { private ClientFactory clientFactory; public AppActivityMapper(ClientFactory clientFactory) { super(); this.clientFactory = clientFactory; } public Activity getActivity(Place place) { if (place instanceof DefaultPlace) return new DefaultActivity((DefaultPlace) place, clientFactory); else if (place instanceof Example1Place) return new Example1Activity((Example1Place) place, clientFactory); return null; } } ClientFactory.java: public interface ClientFactory { DefaultView getDefaultView(); Example1View getExample1View(); EventBus getEventBus(); PlaceController getPlaceController(); } ClientFactoryImpl.java: public class ClientFactoryImpl implements ClientFactory { private final DefaultView DEFAULT_VIEW = new DefaultView(); private final Example1View EXAMPLE_1_VIEW = new Example1View(); private final EventBus EVENT_BUS = new ResettableEventBus(new SimpleEventBus()); private final PlaceController PLACE_CONTROLLER = new PlaceController(EVENT_BUS); public DefaultView getDefaultView() { return DEFAULT_VIEW; } public Example1View getExample1View() { return EXAMPLE_1_VIEW; } public EventBus getEventBus() { return EVENT_BUS; } public PlaceController getPlaceController() { return PLACE_CONTROLLER; } } MVP.java public class MVP implements EntryPoint { public void onModuleLoad() {
Aw: Rebind
Typically these classes are used during compilation of your GWT app. Most of them are generator classes and utility classes used by these generators. Generators are used to generate additional client side code for your app, e.g. code that implements your GWT RPC service if you have one. As compilation is done in a normal JVM its fine to have references to BufferedImage in these classes. I assume that BufferedImage will be used to generate image bundles (a big image containing many small images used in ClientBundles). -- 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/-/-evYfE2RkyUJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
why am i getting md5 checksum error for gwt sdk 2.3.0?
when i try to download the sdk from indigo update site, i get this error, why? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Aw: Rebind
For more information, see http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html -- 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/-/2sNpcx4fozwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Activities does not get de-registered..
On Thursday, June 30, 2011 2:06:22 PM UTC+2, El bassistos wrote: I am doing a small test application and I am using Activities and Place but can't make it work as I expect.. I have 2 Views, Activities and Places. DefaultView calls Example1View and Vice Versa .. In the Example1Activity I override mayStop() so that it returns a String asking if user wants to go to Default. It works the first time - when I hit go to Default, it ask if I am sure, and then I press 'OK' - that works, it swaps out the Example1View/Activity and swap in the DefaultView/Activity. But when I hit the go to Example1 from the DefaultView/Activity, it ALSO ask the question. I can see in the Debugger that first the DefaultActivity is called, and that it behaves as expected (the mayStop() returns null), but the ExampleView's mayStop() method is ALSO called?? Even though it is no in focus - it is about to come in Focus .. So it seems as the previous Example1Activity is NOT deregistered on the EventBus, after I hit the OK (which calles the onClose() method and should cause the ActivityManager to de-registere the Activity..) Any Ideas ??? Rehgards Jesper - Running GWT 2.2.1 and it is same behavior on FF, Chrome and Safari Here is my code: DefaultPlace.java: public class DefaultPlace extends Place {} DefaultView.java: public class DefaultView extends Composite implements IsWidget{ HorizontalPanel hp = new HorizontalPanel(); Button b = new Button(Go To Example1); public DefaultView() { hp.add(b); initWidget(hp); } HasClickHandlers getButton() { return b; } } DefaultActivity.java public class DefaultActivity extends AbstractActivity implements Activity { ClientFactory clientFactory; DefaultView defaultView; public DefaultActivity(DefaultPlace place, ClientFactory clientFactory) { this.clientFactory = clientFactory; } public void start(AcceptsOneWidget panel, EventBus eventBus) { defaultView = clientFactory.getDefaultView(); defaultView.getButton().addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { clientFactory.getPlaceController().goTo(new Example1Place()); } }); Beware! you have a leak here! your view is a singleton but your activity is disposable: you should remove the ClickHandler from onStop and onCancel otherwise the button keeps references to all the activities ever started! This is why you experience a slowdown when you remove your mayStop override. I'm afraid it's not the cause of your issue with mayStop but it's a start… -- 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/-/hOZUbep85PIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Specifying cell width in cellTable
I'm working with CellTable and Inuptcells and I would like to specify the width of each instance on my inputCell. Anyone has an idea? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Tree from xml??
Hello my name is Jens and I am a beginner in GWT. I was trying to teach me this, but right now I'm stuck and need help! I'm trying to get a menu to work with XML via xmlparse and a for loop. What I think would be given does not seem to be there and it does not work when I compiled the file. There is nothing in the html violin is not possible to preview using GWT Designer. Be grateful for the help! Jens //Main menu MenuBar menuBar = new MenuBar(true); vsp.add(menuBar); //The xml file for menu Document doc = XMLParser.parse(Xml/SiteMap.xml); NodeList elements = doc.getElementsByTagName(bookmark); //Loop for populate the menu with menuitems //Doesnt work is it here are in the parser? for (int i = 0; i elements.getLength(); i++) { com.google.gwt.xml.client.Node element = elements.item(i); NamedNodeMap attrs = element.getAttributes(); //Nodes String title = attrs.getNamedItem(title).getNodeValue(); String url = attrs.getNamedItem(url).getNodeValue(); System.out.println(title + url + /n ); //Menu Populates from xml MenuItem bookmark = new MenuItem(title, URL(url)); menuBar.addItem(bookmark); CANT FIND WHATS WRONG CAN IT BE INHERITS PROBLEM?? MVH JENS -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Latest GWT 2.4 Beta zip Download with HTML5 DnD Support fixed
HI, Is it possible to get the latest GWT 2.4 Beta Zip for download with issue http://gwt-code-reviews.appspot.com/1420811 for DragStartEvent, DragEvent, and DragEndEvent which are part of the HTML5 spec FIXED. I saw Labanca's 2011 IO tutorial on HTML 5 DnD feature in GWT and this is amazing, exactly what I was looking for. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT / Javascript - Garbage Collection problem
I am working on a small GWT project. As i know, a GWT project can have only one HTML page in it. So for loading different modules on my page, I create the object of the class responsible for loading the components of that module and call the required functions. I create these objects and load my modules on the basis of the token which i get from url. I am creating these objects on token change event. My question is, is this approach right?? Creating object each time? Because there will be 10 objects for same module if the user visits the url with same token 10 times.. Plzz help.. :( -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
R: Specifying cell width in cellTable
Hi, for columns width have a look at http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiCellTable.html#columnWidths For each input width you may need to provide your own version of the Inputcell: customize render method. Cheers, Luca -- 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/-/5vs1gvm50h0J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Tree from xml??
Check out this page, making sure your module's gwt.xml file has the correct XML inherits: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsXML.html Also, note that for the parse method, the string you pass in there needs to be the actual XML document, not a path to its location. On Jun 30, 4:41 am, swedeveloper swedevelo...@yahoo.se wrote: Hello my name is Jens and I am a beginner in GWT. I was trying to teach me this, but right now I'm stuck and need help! I'm trying to get a menu to work with XML via xmlparse and a for loop. What I think would be given does not seem to be there and it does not work when I compiled the file. There is nothing in the html violin is not possible to preview using GWT Designer. Be grateful for the help! Jens //Main menu MenuBar menuBar = new MenuBar(true); vsp.add(menuBar); //The xml file for menu Document doc = XMLParser.parse(Xml/SiteMap.xml); NodeList elements = doc.getElementsByTagName(bookmark); //Loop for populate the menu with menuitems //Doesnt work is it here are in the parser? for (int i = 0; i elements.getLength(); i++) { com.google.gwt.xml.client.Node element = elements.item(i); NamedNodeMap attrs = element.getAttributes(); //Nodes String title = attrs.getNamedItem(title).getNodeValue(); String url = attrs.getNamedItem(url).getNodeValue(); System.out.println(title + url + /n ); //Menu Populates from xml MenuItem bookmark = new MenuItem(title, URL(url)); menuBar.addItem(bookmark); CANT FIND WHATS WRONG CAN IT BE INHERITS PROBLEM?? MVH JENS -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: R: Specifying cell width in cellTable
Thank you for your answer But the problem is that I'm working by GWT 2.1 and I can't use the method cellTable.setColumnWidth(column, width, unit) So any help ? On 30 juin, 15:42, icamts ica...@gmail.com wrote: Hi, for columns width have a look at http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiCel... For each input width you may need to provide your own version of the Inputcell: customize render method. Cheers, Luca -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HasDataEditor + CellTable
hello, can i have the source code of MyCellTable class ? is it implementing any other kind of interface to make the save() method working. thank you. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Why won't the GWT 2.1 MVP example compile?
Is this actually in the documentation somewhere, or only in the sample? -- 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/-/aH5A-e0ARxAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to redirect HTML inside a dialogbox
I think you may be able to put an iframe (gwt Frame) inside a DialogBox and have that work, I haven't done this myself but in theory I think it should work. On Jun 29, 12:05 pm, Oscar o.bar...@gmail.com wrote: Hi all, I'm new at GWT and I'm trying to create a dialogbox that shows a website from an external URL. I would also like that when the user clicks a link, the content generated appears inside the same dialogbox. Right now when the user clicks on a link it redirects to a whole new page as the user clicks to an HTML link. I would like to do this without having to have access to the HTML code from the server side. Is it possible? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT / Javascript - Garbage Collection problem
Use something like GWTP, it will take care of the url token and render the apropriated view On Thu, Jun 30, 2011 at 6:46 AM, onli4anks ankurjain.ni...@gmail.comwrote: I am working on a small GWT project. As i know, a GWT project can have only one HTML page in it. So for loading different modules on my page, I create the object of the class responsible for loading the components of that module and call the required functions. I create these objects and load my modules on the basis of the token which i get from url. I am creating these objects on token change event. My question is, is this approach right?? Creating object each time? Because there will be 10 objects for same module if the user visits the url with same token 10 times.. Plzz help.. :( -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Magno Machado Paulo http://blog.magnomachado.com.br http://code.google.com/p/emballo/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
gwtc -optimize set to 0 causes out of memory error in ant build.
Hi. I recently had an issue with the ant build for our GWT project in which I got out of memory errors using -optimize 0. If I changed it to 1 (or higher) it worked fine. Does anyone know how optimize works? Why it might use more memory at 0 than other settings? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
Adding the validation-api to the classpath now results in javax.validation.ValidationException: Unable to find a default provider I do have gwt-servlet on the classpath as well, but it seems that without something like hibernate-validator (which is a provider), it doesn't find one. Any thoughts on this? Thanks. Eugen. -- 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/-/uRRpvztXhWwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Activities does not get de-registered..
Well, actually that is the cause of the problem. Just remove the click handler in the onStop and onCancel otherwise disposed activities will continue to receive click events -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: R: Specifying cell width in cellTable
It seems GWT 2.3 CellTable creates this DOM structure ... thead ... /thead colgroup col width=... ... /colgroup tbody ... /tbody ... and sets width in each col element... Try to do the same in your view code. (GwtQuery may be useful.) Cheers, Luca 2011/6/30 Issam boualem.is...@gmail.com Thank you for your answer But the problem is that I'm working by GWT 2.1 and I can't use the method cellTable.setColumnWidth(column, width, unit) So any help ? On 30 juin, 15:42, icamts ica...@gmail.com wrote: Hi, for columns width have a look at http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiCel... For each input width you may need to provide your own version of the Inputcell: customize render method. Cheers, Luca -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
In ListBox, how to you format first item Select... to italic and gray?
In ListBox, how to you format *Select*... to italic and gray? GWT 2.3, still learning... It is standard to have select visibile in the drop down box in italic and grayed out a bit. I presume Select is simply the first item added. myrListBox.addItem(Select...); with other real items after that added. but I don't see how to format the word select. You cannot attach at CSS to an added item (that I can see). Any ideas? Thanks! Make it a great day! bob -- 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/-/qB62FoY9KUsJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt 2.3 gwt-servlet-deps.jar from Ant Ivy build
Including the 2 depenencies without a validation provider doesn't seem right. You also need a provider, otherwise: javax.validation.ValidationException: Unable to find a default provider. Any ideas on how to solve this? (besides actually including a provider just to be able to run gwt). Thanks. Eugen. -- 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/-/Z2r_PjoLavYJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Latest GWT 2.4 Beta zip Download with HTML5 DnD Support fixed
You can always build from trunk. http://code.google.com/webtoolkit/makinggwtbetter.html -- 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/-/WJ4_4RBKUBQJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Trouble with custom app build from the tutorial - Deferred binding failed
I'd be interested in an answer too, since I also face this problem. Cheers, m. On Jun 26, 11:38 pm, marquies pbreuck...@googlemail.com wrote: Hi folks, I tried to build an app based on the GWT Tutorial. I use Spring STS with GWT 2.3.0 (com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508). I try to implement Making Remote Procedure Calls with an AsyncCallback. The problem I encounter on loading the build in server in developer mode is this one: java.lang.RuntimeException: Deferred binding failed for 'de.patrickbreucking.pwn.rtmweekplanner.client.RtmTasksService' (did you forget to inherit a required module?) Caused by: java.lang.IllegalAccessError: tried to access method com.google.gwt.dev.util.DiskCache.init()V from class com.google.gwt.user.linker.rpc.RpcLogArtifact (Full stack trace at the end of the post) So far so bad. The interesting thing is this: if I set a breakpoint in GWTBridgeImpl.create, and let the vm run until the exception is catched, say eclipse debuger to drop frame back to the breakpoint and then let run the code, everything works fine... Any ideas? Thanks in advance! - Patrick Full Stack Trace 23:29:04.018 [ERROR] [applicationScaffold] Failed to create an instance of 'de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold' via deferred binding java.lang.RuntimeException: Deferred binding failed for 'de.patrickbreucking.pwn.rtmweekplanner.client.RtmTasksService' (did you forget to inherit a required module?) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) at com.google.gwt.core.client.GWT.create(GWT.java:98) at de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold.init(Scaffold.java: 46) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java: 27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 465) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 375) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 193) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.IllegalAccessError: tried to access method com.google.gwt.dev.util.DiskCache.init()V from class com.google.gwt.user.linker.rpc.RpcLogArtifact at com.google.gwt.user.linker.rpc.RpcLogArtifact.clinit(RpcLogArtifact.java: 40) at com.google.gwt.user.rebind.rpc.ProxyCreator.create(ProxyCreator.java: 364) at com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator.generateIncrementally(ServiceInterfaceProxyGenerator.java: 59) at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java: 681) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 41) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:74) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 285) at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java: 141) at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java: 585) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 455) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) at com.google.gwt.core.client.GWT.create(GWT.java:98) at de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold.init(Scaffold.java: 46) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java: 27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 465) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 375) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 193) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:680) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to
Re: gwtc -optimize set to 0 causes out of memory error in ant build.
Ok, well, after updating my OS (Mac OS X from 10.6.6 to 10.6.8), the issue disappeared. It is likely due to an updated java : from 1.6.0_22 to 1.6.0_26 On Jun 30, 9:01 am, Jorel joel.re...@gmail.com wrote: Hi. I recently had an issue with the ant build for our GWT project in which I got out of memory errors using -optimize 0. If I changed it to 1 (or higher) it worked fine. Does anyone know how optimize works? Why it might use more memory at 0 than other settings? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found. Thanks for the feedback. Eugen. On Thu, Jun 30, 2011 at 6:47 PM, Nick Chalko ncha...@google.com wrote: On Thu, Jun 30, 2011 at 7:09 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: Adding the validation-api to the classpath now results in javax.validation.ValidationException: Unable to find a default provider I do have gwt-servlet on the classpath as well, but it seems that without something like hibernate-validator (which is a provider), it doesn't find one. Any thoughts on this? Correct you need hibernate-validator in your class path to generate Client Side validators. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 7:09 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: Adding the validation-api to the classpath now results in javax.validation.ValidationException: Unable to find a default provider I do have gwt-servlet on the classpath as well, but it seems that without something like hibernate-validator (which is a provider), it doesn't find one. Any thoughts on this? Correct you need hibernate-validator in your class path to generate Client Side validators. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where is downloadable GWT docs?
If you mean the google web search box or chrome browser search box; yes, I tried both of these with the above command after you mentioned it, and the reply was: http://www.google.com/search?sourceid=chromeie=UTF-8q=wget+-r+-p+-np+-k+http%3A%2F%2Fcode.google.com%2Fwebtoolkit%2Fdoc%2Flatest%2FDevGuide.html On Jun 29, 9:44 pm, David Chandler drfibona...@google.com wrote: Tried Google lately? ;-) /dmc On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: Thank you, David, but what program runs that command? Browser - no. Command prompt - no. On Jun 27, 10:29 am, David Chandler drfibona...@google.com wrote: Hi Eric, We don't publish the GWT docs for offline browsing, but instead of manual copying, you can use wget -r -p -np -khttp:// code.google.com/webtoolkit/doc/latest/DevGuide.html That will pull all the developer guides for the latest release, and you can further check out the javadocs from svn athttp:// google-web-toolkit.googlecode.com/svn/javadoc/latest HTH, /dmc On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: I have been able to download to docs for the Google App Engine (because I am not always online when coding and testing); however, I can't seem to find a way to download the docs for GWT (for the same reason). Is there a link to down the GWT docs, such as: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat. .. . Otherwise, I'll have to go through every page of the GWT Dev Guide and copy them manually -- ugh. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where is downloadable GWT docs?
Is this an FTP command? On Jun 29, 9:44 pm, David Chandler drfibona...@google.com wrote: Tried Google lately? ;-) /dmc On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: Thank you, David, but what program runs that command? Browser - no. Command prompt - no. On Jun 27, 10:29 am, David Chandler drfibona...@google.com wrote: Hi Eric, We don't publish the GWT docs for offline browsing, but instead of manual copying, you can use wget -r -p -np -khttp:// code.google.com/webtoolkit/doc/latest/DevGuide.html That will pull all the developer guides for the latest release, and you can further check out the javadocs from svn athttp:// google-web-toolkit.googlecode.com/svn/javadoc/latest HTH, /dmc On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: I have been able to download to docs for the Google App Engine (because I am not always online when coding and testing); however, I can't seem to find a way to download the docs for GWT (for the same reason). Is there a link to down the GWT docs, such as: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat. .. . Otherwise, I'll have to go through every page of the GWT Dev Guide and copy them manually -- ugh. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found. Thanks for the feedback. svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 8:53 AM, Nick Chalko ncha...@google.com wrote: On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found. Thanks for the feedback. svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml ? Which is probably not included until gwt 2.4 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where is downloadable GWT docs?
wget is a program typically found on Linux. There are Windows binaries available as well. I believe David was suggesting that you use Google Search to learn more about wget. On Thu, Jun 30, 2011 at 11:53 AM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: If you mean the google web search box or chrome browser search box; yes, I tried both of these with the above command after you mentioned it, and the reply was: http://www.google.com/search?sourceid=chromeie=UTF-8q=wget+-r+-p+-np+-k+http%3A%2F%2Fcode.google.com%2Fwebtoolkit%2Fdoc%2Flatest%2FDevGuide.html On Jun 29, 9:44 pm, David Chandler drfibona...@google.com wrote: Tried Google lately? ;-) /dmc On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: Thank you, David, but what program runs that command? Browser - no. Command prompt - no. On Jun 27, 10:29 am, David Chandler drfibona...@google.com wrote: Hi Eric, We don't publish the GWT docs for offline browsing, but instead of manual copying, you can use wget -r -p -np -khttp:// code.google.com/webtoolkit/doc/latest/DevGuide.html That will pull all the developer guides for the latest release, and you can further check out the javadocs from svn athttp:// google-web-toolkit.googlecode.com/svn/javadoc/latest HTH, /dmc On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: I have been able to download to docs for the Google App Engine (because I am not always online when coding and testing); however, I can't seem to find a way to download the docs for GWT (for the same reason). Is there a link to down the GWT docs, such as: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat. .. . Otherwise, I'll have to go through every page of the GWT Dev Guide and copy them manually -- ugh. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where is downloadable GWT docs?
Thank you Isaac. On Jun 30, 11:54 am, Isaac Truett itru...@gmail.com wrote: wget is a program typically found on Linux. There are Windows binaries available as well. I believe David was suggesting that you use Google Search to learn more about wget. On Thu, Jun 30, 2011 at 11:53 AM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: If you mean the google web search box or chrome browser search box; yes, I tried both of these with the above command after you mentioned it, and the reply was: http://www.google.com/search?sourceid=chromeie=UTF-8q=wget+-r+-p+-n... On Jun 29, 9:44 pm, David Chandler drfibona...@google.com wrote: Tried Google lately? ;-) /dmc On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: Thank you, David, but what program runs that command? Browser - no. Command prompt - no. On Jun 27, 10:29 am, David Chandler drfibona...@google.com wrote: Hi Eric, We don't publish the GWT docs for offline browsing, but instead of manual copying, you can use wget -r -p -np -khttp:// code.google.com/webtoolkit/doc/latest/DevGuide.html That will pull all the developer guides for the latest release, and you can further check out the javadocs from svn athttp:// google-web-toolkit.googlecode.com/svn/javadoc/latest HTH, /dmc On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: I have been able to download to docs for the Google App Engine (because I am not always online when coding and testing); however, I can't seem to find a way to download the docs for GWT (for the same reason). Is there a link to down the GWT docs, such as: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat. .. . Otherwise, I'll have to go through every page of the GWT Dev Guide and copy them manually -- ugh. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
Saw it there. Ok so until 2.4 what is the recommended way of doing validation? On Jun 30, 2011 5:55 PM, Nick Chalko ncha...@google.com wrote: On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv hanrisel...@gmail.com wrote: I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found. Thanks for the feedback. svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved
On Thu, Jun 30, 2011 at 8:58 AM, Eugen Paraschiv hanrisel...@gmail.comwrote: Saw it there. Ok so until 2.4 what is the recommended way of doing validation? Not supported on the client. And in 2.4 is still experimental, it is my 20% project, I hope to finish it this summer. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to push classes to be on client-side javascript
Hi all, I am working on plugin/API for gwt, its basically a graphics library based on a JavaScript SVG library(raphael). I have a gwt-wrapper(Raphaelgwt) for this JS library.The JS library is using closure pattern i.e only one JS object is there for doing all the things(on client side) and hence wrapper also does like that only one object for everything. What if I make 2 object , it will generate two different SVG tag so if I want a rectangle and circle together, it will appear separately. Now two options : 1) Extend every class to Wrapper.( that means I must code all application within one class or hierarchy. No OOP) 2) Use singleton pattern. So I am following the singleton pattern. So here got this problem, all the SVG processing goes on the server and client gets only the processed SVG script :( but I want the processing to be done on client-side. I want to know two things 1)Which classes or part of my code goes to be complied to JavaScript. 2)Is there a way to push my classes to be complied for client-side JavaScript and so that all the processing could be done there, depending nowhere on server. Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where is downloadable GWT docs?
That worked; thank you all for your generous advice. On Jun 30, 11:54 am, Isaac Truett itru...@gmail.com wrote: wget is a program typically found on Linux. There are Windows binaries available as well. I believe David was suggesting that you use Google Search to learn more about wget. On Thu, Jun 30, 2011 at 11:53 AM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: If you mean the google web search box or chrome browser search box; yes, I tried both of these with the above command after you mentioned it, and the reply was: http://www.google.com/search?sourceid=chromeie=UTF-8q=wget+-r+-p+-n... On Jun 29, 9:44 pm, David Chandler drfibona...@google.com wrote: Tried Google lately? ;-) /dmc On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: Thank you, David, but what program runs that command? Browser - no. Command prompt - no. On Jun 27, 10:29 am, David Chandler drfibona...@google.com wrote: Hi Eric, We don't publish the GWT docs for offline browsing, but instead of manual copying, you can use wget -r -p -np -khttp:// code.google.com/webtoolkit/doc/latest/DevGuide.html That will pull all the developer guides for the latest release, and you can further check out the javadocs from svn athttp:// google-web-toolkit.googlecode.com/svn/javadoc/latest HTH, /dmc On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson eric.atkin...@strategicinternationalsystems.com wrote: I have been able to download to docs for the Google App Engine (because I am not always online when coding and testing); however, I can't seem to find a way to download the docs for GWT (for the same reason). Is there a link to down the GWT docs, such as: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat. .. . Otherwise, I'll have to go through every page of the GWT Dev Guide and copy them manually -- ugh. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Dynamic CellTree
Is it possible to have a dynamic CellTree? How does one go about adding and removing tree items from the cell tree? I have a hierarchical structure and I use the CellTree to represented. The CellTree is great since it supports cell editors, keyboard navigation, etc. There is no problem editing existing tree items. However, I am not entirely clear how to add or remove a tree item from the CellTree. If someone can shed some light on the problem I will be very thankful. Thanks Stefan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
without instead of with for RequestFactory requests
Having just started developing with RequestFactory, I've found the requirement to use the with method to specify which nested proxies should be downloaded when a proxy or collection of proxies to be rather cumbersome. Even when I remember to call with, (which is rare, but hopefully that changes), it is still a hassle to walk the hierarchy to make sure I get what I need. I'd like to propose that there be a without method in addition to a with message. It's much more likely that I know which objects I don't need, and that I would not need a whole hierarchy starting with the values I pass to without. If I do need some of the proxies, it's likely that I want all of the components, not just the proxy itself. Does anyone else think this is a good idea? I don't think it would be hard to implement, as the necessary code simply requires some reflection oriented code on the server. Ryan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Modules
Since i read the FAQ and features of GWT and i dindt see info about this, can someone please tell me how the modules works? I mean if i dev a Module Login whit a few clasess (Fast download just a few kb's) then i dev a Module A w/ arround 40 clasess (huge kb's) then i dev a Module B w/ arround 40 clasess too then i put a inherent to A and B on my Login Module xml file the final ...XXX.cache.hmtl of my Login Module will load all the code from the A and B Modules? or it will load if i use them? when i say use, i mean create objects from that Modules ModuleAObject obj = new or just for import a class from a Module A or B my app will load all the js generated Can i work here whit code spliting ? i mean: GWT.runAsync(new RunAsyncCallback() { public void onFailure(Throwable caught) { Window.alert(Code download failed); } public void onSuccess() { /* the code will be loaded async */ ModuleAObject obj = new ModuleAObject (); } }); Thank you. =) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to open a new EntryPoint file from other EntryPoint file
Hi I need your help. In my GWT project I have two module files like below.. First File public class GTDWeb1 implements EntryPoint{ public void onModuleLoad() { -- - --- here is onClick event } } Second File public class GTDWeb2 implements EntryPoint{ public void onModuleLoad() { -- - } } In the first file GTDWeb1 there is one onClick event from that event when it will run I need to open a new window which contain second file out GTDWeb2. Coukd you please help me on this... thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Modules
I am pretty sure that part of the optimization the compiler does is to only include code in the generated .js file that is actually in use. Therefore, only implementations of the methods in modules A B that are used by your Login module will be downloaded by the client. Ryan On Jun 30, 12:58 pm, Daniel Mauricio Patino León ceo.lion@gmail.com wrote: Since i read the FAQ and features of GWT and i dindt see info about this, can someone please tell me how the modules works? I mean if i dev a Module Login whit a few clasess (Fast download just a few kb's) then i dev a Module A w/ arround 40 clasess (huge kb's) then i dev a Module B w/ arround 40 clasess too then i put a inherent to A and B on my Login Module xml file the final ...XXX.cache.hmtl of my Login Module will load all the code from the A and B Modules? or it will load if i use them? when i say use, i mean create objects from that Modules ModuleAObject obj = new or just for import a class from a Module A or B my app will load all the js generated Can i work here whit code spliting ? i mean: GWT.runAsync(new RunAsyncCallback() { public void onFailure(Throwable caught) { Window.alert(Code download failed); } public void onSuccess() { /* the code will be loaded async */ ModuleAObject obj = new ModuleAObject (); } }); Thank you. =) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Modules
Nice answer, Thank you Ryan. I will do some refactor since i think its better dev into Modules than One BIG Module What do you think about Modules in GWT, you desing your apps in Modules? 2011/6/30 Ryan McFall mcfall.r...@gmail.com I am pretty sure that part of the optimization the compiler does is to only include code in the generated .js file that is actually in use. Therefore, only implementations of the methods in modules A B that are used by your Login module will be downloaded by the client. Ryan On Jun 30, 12:58 pm, Daniel Mauricio Patino León ceo.lion@gmail.com wrote: Since i read the FAQ and features of GWT and i dindt see info about this, can someone please tell me how the modules works? I mean if i dev a Module Login whit a few clasess (Fast download just a few kb's) then i dev a Module A w/ arround 40 clasess (huge kb's) then i dev a Module B w/ arround 40 clasess too then i put a inherent to A and B on my Login Module xml file the final ...XXX.cache.hmtl of my Login Module will load all the code from the A and B Modules? or it will load if i use them? when i say use, i mean create objects from that Modules ModuleAObject obj = new or just for import a class from a Module A or B my app will load all the js generated Can i work here whit code spliting ? i mean: GWT.runAsync(new RunAsyncCallback() { public void onFailure(Throwable caught) { Window.alert(Code download failed); } public void onSuccess() { /* the code will be loaded async */ ModuleAObject obj = new ModuleAObject (); } }); Thank you. =) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Re : Problem with MySQL connection
Thanks for your replay. You are right. I didn't thought about that. I now run it on Tomcat. Are there otherways just to exclude GAE and switch to another server, but still having the same integration? Is there a good howto available how to use tomcat or others instead of the internal jetty server? Manual deployment every time gets a bit annoying ... Anyway, this way it is working. devel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: without instead of with for RequestFactory requests
Are you using editors? If so, you can do fetchRequest.with(editorDriver.getPaths()); Check out the PersonEditorWorkflow.java in Dynatablerf for in context use. -- 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/-/T0MRWbCGf-0J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to open a new window with output of other file in GWT
Hi I am facing one problem I need to show a output of a file in a new window on onClickEvent. First File public class GTDWeb1 implements EntryPoint{ public void onModuleLoad() { -- - --- here is onClick event } } Second File public class GTDWeb2 extends SimplePanel{ public void onLoad() { -- - } } Thers is one onClick Event in my first file as shown above. I need to open a new window which should have output of second file (GTDWeb2). is it possible in GWT ? I am new in GWT help me. Please anyone help me, I need to solve this urgently -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: without instead of with for RequestFactory requests
Nope, not using editors. I haven't dove into that part of the data tools yet. Ryan On Jun 30, 2:16 pm, Jeff Larsen larse...@gmail.com wrote: Are you using editors? If so, you can do fetchRequest.with(editorDriver.getPaths()); Check out the PersonEditorWorkflow.java in Dynatablerf for in context use. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Kiss Gergely csevegni szeretne
Can you post in english? 2011/6/29 Kiss Gergely kiss.gerg...@gmail.com --- Kiss Gergely hatékonyabban szeretne kommunikálni Önnel a Google néhány remek szolgáltatásával. Ha már használja a Gmail alkalmazást vagy a Google Csevegőt, kattintson ide: http://mail.google.com/mail/b-ef657bb7bb-620168f51f-9JWi-rv0ufJkkSuocwRAjwBrUgI Kövesse ezt a linket, ha csevegni szeretne Kiss Gergely ismerősével. Ha használni szeretné a Gmail alkalmazást - a Google ingyenes e-mail fiókját, amelyhez több mint 2800 MB tárhely tartozik -, és csevegni szeretne Kiss Gergely ismerősével, kattintson ide: http://mail.google.com/mail/a-ef657bb7bb-620168f51f-9JWi-rv0ufJkkSuocwRAjwBrUgI Amit a Gmail kínál: - Csevegés közvetlenül a Gmail alkalmazásban - Hatékony védelem a spam ellen - Beépített kereső az üzenetek megtalálásához és hasznos lehetőség az e-mailek beszélgetésekbe rendezéséhez - Nincsenek előugró hirdetések és célzatlan szalaghirdetések - csak üzenetekhez kapcsolódó szöveges hirdetések és információk Mindez nem kerül semmibe. Várjon csak, ez még nem minden! Ha nyit egy Gmail-fiókot, a Google Csevegőhöz, a Google csevegőszolgáltatásához is hozzáférhet: http://www.google.com/talk/ Amit a Google Csevegő kínál: - Internetalapú csevegő, amely bárhol, külön szoftver letöltése nélkül használható - Címtár, amelyet a rendszer szinkronizál a Gmail-fiókkal - Ingyenes, kiváló minőségű, számítógépek közötti audiohívások a Google Csevegő ügyfélprogram letöltésével Folyamatosan dolgozunk azon, hogy új funkciókat építsünk be és továbbfejlesszük a meglévőket, ezért időről időre az Ön véleményét és javaslatait is kikérhetjük. Nagyra értékeljük segítségét, amelyet termékeink fejlesztéséhez nyújt! Köszönettel: a Google csapata Ha többet szeretne tudni a Gmail és a Google Csevegő működéséről, kattintson ide: http://mail.google.com/mail/help/intl/hu/about.html http://www.google.com/talk/about.html (Ha erre az URL-címre kattintva nem nyílik meg a megfelelő oldal, másolja az URL-t a vágólapra, és illessze be a böngésző címsávjába). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Using a JPA Entity in the client
Hello All, While searching for instructions and best practices for using GWT and JPA, I see everywhere guides suggesting to create 2 different bean classes, a JPA Entity for handling on the server-side the persistence on the database, and a DTO for exchange between the servlet and the browser... These guides suggest that GwtRpcService interface uses the DTO bean in the method signature, and in the GwtRpcService implementation, the DTO has to be transformed to the Entity bean so to persist it on the DB. I have instead developed a test application where I have only one single bean, placed in the client folder and annotated with JPA's @Entity, and I exchange it within my RPC service interface. This way it is elegant as I do not have to handle to different classes and convert them, and from my test, it is simple and it seems to _be working fine_. Anyone can give me good reasons why I shouldn't follow this approach? To be noted that someone says that to follow this approach, RequestFactory should be used instead of RPC service... why? Here the significant information about my test project: the GWT module is net.cristcost.test.jpa.TestJpa.gwt.xml, the GWT client package (source path=client /) is net.cristcost.test.jpa.client, the bean is net.cristcost.test.jpa.client.MyBean; the RPC Service interface is net.cristcost.test.jpa.client.MyBeanManagerService; the RPC Service implementation is net.cristcost.test.jpa.server.MyBeanManagerServerImpl; the RPC service has these two methods: public void addBean(MyBean bean); public ListMyBean getBeans(); And here the relevant lines of the bean: package net.cristcost.test.jpa.client; // imports... @Entity @SuppressWarnings(serial) @Table(name=my_beans, schema=jpa_test) public class MyBean implements Serializable { @Id @Column(name=id) @GeneratedValue(strategy=GenerationType.IDENTITY) private Integer id; @Column(name=object) private String object; @Column(name=subject) private String subject; // ... class continues with getter and setters ... } Thanks, Cristiano -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using a JPA Entity in the client
I use this approach and I preferr to RF, is more simple. But you need something in the middle to pass jpa classes with proxies (if you use Hibernate). I use the approach mentioned in this threadhttp://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/41abe949b4104817?fwc=1pli=1. No DTO, no Gilead. I will share the code soon. 2011/6/30 Cristiano cristiano.costant...@gmail.com Hello All, While searching for instructions and best practices for using GWT and JPA, I see everywhere guides suggesting to create 2 different bean classes, a JPA Entity for handling on the server-side the persistence on the database, and a DTO for exchange between the servlet and the browser... These guides suggest that GwtRpcService interface uses the DTO bean in the method signature, and in the GwtRpcService implementation, the DTO has to be transformed to the Entity bean so to persist it on the DB. I have instead developed a test application where I have only one single bean, placed in the client folder and annotated with JPA's @Entity, and I exchange it within my RPC service interface. This way it is elegant as I do not have to handle to different classes and convert them, and from my test, it is simple and it seems to _be working fine_. Anyone can give me good reasons why I shouldn't follow this approach? To be noted that someone says that to follow this approach, RequestFactory should be used instead of RPC service... why? Here the significant information about my test project: the GWT module is net.cristcost.test.jpa.TestJpa.gwt.xml, the GWT client package (source path=client /) is net.cristcost.test.jpa.client, the bean is net.cristcost.test.jpa.client.MyBean; the RPC Service interface is net.cristcost.test.jpa.client.MyBeanManagerService; the RPC Service implementation is net.cristcost.test.jpa.server.MyBeanManagerServerImpl; the RPC service has these two methods: public void addBean(MyBean bean); public ListMyBean getBeans(); And here the relevant lines of the bean: package net.cristcost.test.jpa.client; // imports... @Entity @SuppressWarnings(serial) @Table(name=my_beans, schema=jpa_test) public class MyBean implements Serializable { @Id @Column(name=id) @GeneratedValue(strategy=GenerationType.IDENTITY) private Integer id; @Column(name=object) private String object; @Column(name=subject) private String subject; // ... class continues with getter and setters ... } Thanks, Cristiano -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + UIBinder
OK, I just started from scratch and got the same error. I first installed Eclipse 3.6.2 (J2EE edition), then installed WindowBuilder, and then the GWT and GAE plugins. I have a blank Eclipse workspace and tried to create a new project by selected File-New-Other. In the dialog I selected WindowBuilder-GWT Designer-GWT UiBinder- Composite. The following error appears: You need at least GWT 2.1M4 for UiBinder visual editing. It doesn't let me proceed any further. Eclipse shows the following installed software: Eclipse IDE for Java EE Developers1.3.2.20110218-0812 Google App Engine Java SDK 1.5.1 1.5.1.r36v201106211634 Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634 Google Web Toolkit SDK 2.3.0 2.3.0.r36v201105191508 GWT Designer 2.3.2.r36x201106201114 GWT Designer Core 2.3.2.r36x201106161117 GWT Designer Editor 2.3.2.r36x20110620 WindowBuilder Core1.0.0.r36x20110616 WindowBuilder Core Documentation 1.0.0.r36x201106161114 WindowBuilder Core UI 1.0.0.r36x201106161114 WindowBuilder CSS Support 1.0.0.r36x201106161113 WindowBuilder GroupLayout Support 1.0.0.r36x201106161127 WindowBuilder XML Core1.0.0.r36x201106161115 Any ideas? Thanks, Mike On Jun 29, 6:30 am, Eric Clayberg clayb...@google.com wrote: What other versions of GWT do you have installed locally? What version of GWT is being used with this project? I'm guessing that it is not 2.3.0. On Jun 29, 2:46 am,MikeDeemdichiapp...@cardeatech.com wrote: Trying to build a new WindowBuilder project in Eclipse as New Project-GWT Window Builder-GWT Designer-GWT Java UI-GWT UiBinder- Composite and getting a message, You need at least GWT 2.1M4 for UiBinder visual editing. I have the latest of everything: Eclipse 3.6, GWT 2.3.0, GWT Designer 2.3.2, Google Plugin for Eclipse 2.3.2, GWT Designer Editor 2.3.2. Any clues? Thanks, Mike -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using a JPA Entity in the client
Hello Juan, thank you, did you find any bad side effect? Ops! I forgot to say I use EclipseLink and GWT 2.3.0. Cristiano On 30 Giu, 20:49, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I use this approach and I preferr to RF, is more simple. But you need something in the middle to pass jpa classes with proxies (if you use Hibernate). I use the approach mentioned in this threadhttp://groups.google.com/group/Google-Web-Toolkit-Contributors/browse No DTO, no Gilead. I will share the code soon. 2011/6/30 Cristiano cristiano.costant...@gmail.com Hello All, While searching for instructions and best practices for using GWT and JPA, I see everywhere guides suggesting to create 2 different bean classes, a JPA Entity for handling on the server-side the persistence on the database, and a DTO for exchange between the servlet and the browser... These guides suggest that GwtRpcService interface uses the DTO bean in the method signature, and in the GwtRpcService implementation, the DTO has to be transformed to the Entity bean so to persist it on the DB. I have instead developed a test application where I have only one single bean, placed in the client folder and annotated with JPA's @Entity, and I exchange it within my RPC service interface. This way it is elegant as I do not have to handle to different classes and convert them, and from my test, it is simple and it seems to _be working fine_. Anyone can give me good reasons why I shouldn't follow this approach? To be noted that someone says that to follow this approach, RequestFactory should be used instead of RPC service... why? Here the significant information about my test project: the GWT module is net.cristcost.test.jpa.TestJpa.gwt.xml, the GWT client package (source path=client /) is net.cristcost.test.jpa.client, the bean is net.cristcost.test.jpa.client.MyBean; the RPC Service interface is net.cristcost.test.jpa.client.MyBeanManagerService; the RPC Service implementation is net.cristcost.test.jpa.server.MyBeanManagerServerImpl; the RPC service has these two methods: public void addBean(MyBean bean); public ListMyBean getBeans(); And here the relevant lines of the bean: package net.cristcost.test.jpa.client; // imports... @Entity @SuppressWarnings(serial) @Table(name=my_beans, schema=jpa_test) public class MyBean implements Serializable { @Id @Column(name=id) @GeneratedValue(strategy=GenerationType.IDENTITY) private Integer id; @Column(name=object) private String object; @Column(name=subject) private String subject; // ... class continues with getter and setters ... } Thanks, Cristiano -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using a JPA Entity in the client
If you return a collection in your pojo (List, Map, Set etc) those will not serialize correctly. -- 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/-/jsDkfA1lYRkJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using a JPA Entity in the client
This side effect will fix with a filter. But I don't know how works Eclipse Link. 2011/6/30 Jeff Larsen larse...@gmail.com If you return a collection in your pojo (List, Map, Set etc) those will not serialize correctly. -- 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/-/jsDkfA1lYRkJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + UIBinder
Tried Eclipse 3.7. WindowBuilder doesn't appear to be included (or I didn't notice it). Tried installing GWT and GAE (there are builds for 3.7). Not build of WindowBuilder for 3.7 and tried 3.6. However, fewer options for project types available in this case. Probably due to no WindowBuilder for 3.7 yet. On Jun 29, 12:51 am, Russ 10wattmindt...@gmail.com wrote: Perhaps try Eclipse 3.7. I think it's now included with the default install. On Wed, Jun 29, 2011 at 2:46 AM, Mike Dee mdichiapp...@cardeatech.comwrote: Trying to build a new WindowBuilder project in Eclipse as New Project- GWT Window Builder-GWT Designer-GWT Java UI-GWT UiBinder- Composite and getting a message, You need at least GWT 2.1M4 for UiBinder visual editing. I have the latest of everything: Eclipse 3.6, GWT 2.3.0, GWT Designer 2.3.2, Google Plugin for Eclipse 2.3.2, GWT Designer Editor 2.3.2. Any clues? Thanks, Mike -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Which would you rather believe in: A God that never answers you or a society that embraces you? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Hibernate Reverse Engineering + GWT RequestFactory
sl4j http://www.slf4j.org/The problem is related to classpath. You don't have sl4j http://www.slf4j.org/in your classpath. See: Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory 2011/6/29 Big38 jshaw1...@gmail.com I'm a total noob in RequestFactory and Hibernate, so bare with me a little :) Any help or pointer is much appreciated. I'd like to know if it's possible to integrate the Hibernate Reverse Engineer generated files with GWT's RequestFactory. If it is, does anyone have any example project that they can show me? I reverse engineered a db table and included in the server package of the project. I can reverse engineer a db table and instantiate the DAO object to get data and output in a normal java project. However, when I tried to instantiate the DAO object on the server in a gwt project, I get the following exception... [WARN] Server class 'org.hibernate.criterion.Criterion' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/C:/Documents%20and%20Settings/ 448321/Start%20Menu/Programs/MyEclipse/MyEclipse%209/configuration/ org.eclipse.osgi/bundles/90/1/.cp/myeclipse-data/3.3/lib/ hibernate3.jar' to the web app classpath for this session For additional info see: file:/C:/Documents%20and%20Settings/448321/ Start%20Menu/Programs/MyEclipse/Common/plugins/ com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508/gwt-2.3.0/doc/ helpInfo/webAppClassPath.html Starting Jetty on port [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.dtv.hibernate.client.GreetingService.greetServer(java.lang.String) throws java.lang.IllegalArgumentException' threw an unexpected exception: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java: 385) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 588) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at com.dtv.hibernate.server.ReplayRulesDAO.clinit(ReplayRulesDAO.java: 25) at com.dtv.hibernate.server.GreetingServiceImpl.greetServer(GreetingServiceImpl.java: 32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 569) ... 22 more Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at com.google.gwt.dev.shell.jetty.JettyLauncher
StockWatcher test.manual hangs
I'm running through the StockWatcher example. The ant targets test.dev and test.prod run fine, but I cannot run the test in manual mode. Per the instructions (http://code.google.com/webtoolkit/doc/latest/ DevGuideTesting.html#DevGuideJUnitCreation): Manual-mode test targets are not generated by the webAppCreator tool, but you can easily create one by copying the test.prod ant target in the build.xml file to test.manual and adding -runStyle Manual:1 to the -Dgwt.args part. So I copy target test.prod to test.manual and modify the gwt.args sysproperty to read sysproperty key=gwt.args value=-prod -logLevel WARN -out www-test - runStyle Manual:1 / I also change reports/htmlunit.prod to reports/htmlunit.manual. However while test.dev and test.prod complete in under a minute, test.manual hangs, never responding with the Please navigate your browser... message, even after several minutes. The file reports/ htmlunit.manual/TEST- com.google.gwt.sample.stockwatcher.client.StockWatcherTest.txt has only one line: Testsuite: com.google.gwt.sample.stockwatcher.client.StockWatcherTest. I am running GWT 2.3.0, Java 1.6.0_26, and JUnit 4.8.1 on Linux. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Form layout
Hello! I have a question to you guys: What would you say it is the best way to lay out a form in GWT? I read somewhere in the group Grid and FlexTable approaches. Grid seems to be not very flexible and FlexTable doesn't look UIBinder friendly So I'm thinking about using pure CSS and divs. What approach looks better to you? Thanks a lot in advance. J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Kiss Gergely csevegni szeretne
It's about google chat. He probably missclicked on the list of email addresses, and invited google-web-toolkit@googlegroups.com for google chat. There is nothing important in this mail :). 2011/6/30 Juan Pablo Gardella gardellajuanpa...@gmail.com Can you post in english? 2011/6/29 Kiss Gergely kiss.gerg...@gmail.com --- Kiss Gergely hatékonyabban szeretne kommunikálni Önnel a Google néhány remek szolgáltatásával. Ha már használja a Gmail alkalmazást vagy a Google Csevegőt, kattintson ide: http://mail.google.com/mail/b-ef657bb7bb-620168f51f-9JWi-rv0ufJkkSuocwRAjwBrUgI Kövesse ezt a linket, ha csevegni szeretne Kiss Gergely ismerősével. Ha használni szeretné a Gmail alkalmazást - a Google ingyenes e-mail fiókját, amelyhez több mint 2800 MB tárhely tartozik -, és csevegni szeretne Kiss Gergely ismerősével, kattintson ide: http://mail.google.com/mail/a-ef657bb7bb-620168f51f-9JWi-rv0ufJkkSuocwRAjwBrUgI Amit a Gmail kínál: - Csevegés közvetlenül a Gmail alkalmazásban - Hatékony védelem a spam ellen - Beépített kereső az üzenetek megtalálásához és hasznos lehetőség az e-mailek beszélgetésekbe rendezéséhez - Nincsenek előugró hirdetések és célzatlan szalaghirdetések - csak üzenetekhez kapcsolódó szöveges hirdetések és információk Mindez nem kerül semmibe. Várjon csak, ez még nem minden! Ha nyit egy Gmail-fiókot, a Google Csevegőhöz, a Google csevegőszolgáltatásához is hozzáférhet: http://www.google.com/talk/ Amit a Google Csevegő kínál: - Internetalapú csevegő, amely bárhol, külön szoftver letöltése nélkül használható - Címtár, amelyet a rendszer szinkronizál a Gmail-fiókkal - Ingyenes, kiváló minőségű, számítógépek közötti audiohívások a Google Csevegő ügyfélprogram letöltésével Folyamatosan dolgozunk azon, hogy új funkciókat építsünk be és továbbfejlesszük a meglévőket, ezért időről időre az Ön véleményét és javaslatait is kikérhetjük. Nagyra értékeljük segítségét, amelyet termékeink fejlesztéséhez nyújt! Köszönettel: a Google csapata Ha többet szeretne tudni a Gmail és a Google Csevegő működéséről, kattintson ide: http://mail.google.com/mail/help/intl/hu/about.html http://www.google.com/talk/about.html (Ha erre az URL-címre kattintva nem nyílik meg a megfelelő oldal, másolja az URL-t a vágólapra, és illessze be a böngésző címsávjába). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Kiss Gergely csevegni szeretne
Thanks to clarify :) 2011/6/30 Peter ffun...@gmail.com It's about google chat. He probably missclicked on the list of email addresses, and invited google-web-toolkit@googlegroups.com for google chat. There is nothing important in this mail :). 2011/6/30 Juan Pablo Gardella gardellajuanpa...@gmail.com Can you post in english? 2011/6/29 Kiss Gergely kiss.gerg...@gmail.com --- Kiss Gergely hatékonyabban szeretne kommunikálni Önnel a Google néhány remek szolgáltatásával. Ha már használja a Gmail alkalmazást vagy a Google Csevegőt, kattintson ide: http://mail.google.com/mail/b-ef657bb7bb-620168f51f-9JWi-rv0ufJkkSuocwRAjwBrUgI Kövesse ezt a linket, ha csevegni szeretne Kiss Gergely ismerősével. Ha használni szeretné a Gmail alkalmazást - a Google ingyenes e-mail fiókját, amelyhez több mint 2800 MB tárhely tartozik -, és csevegni szeretne Kiss Gergely ismerősével, kattintson ide: http://mail.google.com/mail/a-ef657bb7bb-620168f51f-9JWi-rv0ufJkkSuocwRAjwBrUgI Amit a Gmail kínál: - Csevegés közvetlenül a Gmail alkalmazásban - Hatékony védelem a spam ellen - Beépített kereső az üzenetek megtalálásához és hasznos lehetőség az e-mailek beszélgetésekbe rendezéséhez - Nincsenek előugró hirdetések és célzatlan szalaghirdetések - csak üzenetekhez kapcsolódó szöveges hirdetések és információk Mindez nem kerül semmibe. Várjon csak, ez még nem minden! Ha nyit egy Gmail-fiókot, a Google Csevegőhöz, a Google csevegőszolgáltatásához is hozzáférhet: http://www.google.com/talk/ Amit a Google Csevegő kínál: - Internetalapú csevegő, amely bárhol, külön szoftver letöltése nélkül használható - Címtár, amelyet a rendszer szinkronizál a Gmail-fiókkal - Ingyenes, kiváló minőségű, számítógépek közötti audiohívások a Google Csevegő ügyfélprogram letöltésével Folyamatosan dolgozunk azon, hogy új funkciókat építsünk be és továbbfejlesszük a meglévőket, ezért időről időre az Ön véleményét és javaslatait is kikérhetjük. Nagyra értékeljük segítségét, amelyet termékeink fejlesztéséhez nyújt! Köszönettel: a Google csapata Ha többet szeretne tudni a Gmail és a Google Csevegő működéséről, kattintson ide: http://mail.google.com/mail/help/intl/hu/about.html http://www.google.com/talk/about.html (Ha erre az URL-címre kattintva nem nyílik meg a megfelelő oldal, másolja az URL-t a vágólapra, és illessze be a böngésző címsávjába). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Very confusing aspect of MVP documentation!
If you go to http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html, you'll see the note: ** Strictly speaking, MVP architecture is not concerned with browser history management, but Activities and Places may be used with MVP development as shown in this article. If you're not familiar with MVP, you may want to read these articles first: Large scale application development and MVP, Part I Large scale application development and MVP, Part II ** This has sent two of our development teams off in the wrong direction. I would be willing to venture that it has confused others as well. The problem is that folks go into the Part I and II articles and assume that GWT's MVP framework is being described and they go off and duplicate it. But these articles don't describe GWT's *current* MVP framework. Instead, the articles describe an approach to MVP that preceded GWT official support. Personally, I think that the reference to these articles should be removed from the MVP documentation pages so folks won't go merrily down the wrong path as others have. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Frame
Hi, I need to get the underlying object of a GWT frame, for reason that I need to modify the html content of the Frame. Any ideas on how to achieve it? Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Very confusing aspect of MVP documentation!
On Friday, 01 July, 2011 04:13 AM, cri wrote: If you go to http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html, you'll see the note: ** Strictly speaking, MVP architecture is not concerned with browser history management, but Activities and Places may be used with MVP development as shown in this article. If you're not familiar with MVP, you may want to read these articles first: Large scale application development and MVP, Part I Large scale application development and MVP, Part II ** This has sent two of our development teams off in the wrong direction. I would be willing to venture that it has confused others as well. The problem is that folks go into the Part I and II articles and assume that GWT's MVP framework is being described and they go off and duplicate it. But these articles don't describe GWT's *current* MVP framework. Instead, the articles describe an approach to MVP that preceded GWT official support. Personally, I think that the reference to these articles should be removed from the MVP documentation pages so folks won't go merrily down the wrong path as others have. What is the best MVP we can use with GWT? I am currently looking for some lightweight MVP framework with some samples that will give me the scaffoldings. With the connection to a database, through the RPC. I am also trying to understand how login-logout fits the MVP scenario and how when user is logged in the view is updated as data is modified in the database. I cannot see any example having a RPC service which connects to database, say through hibernate. - Xybrek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Form layout
On Friday, 01 July, 2011 04:03 AM, isern wrote: Hello! I have a question to you guys: What would you say it is the best way to lay out a form in GWT? I read somewhere in the group Grid and FlexTable approaches. Grid seems to be not very flexible and FlexTable doesn't look UIBinder friendly So I'm thinking about using pure CSS and divs. What approach looks better to you? Thanks a lot in advance. J. HI, I use FlexTable or Grid with GWT Designer. Cheers. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Very confusing aspect of MVP documentation!
I can only say that we've been very happy with the framework described at http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html, aside from the issue I mentioned in my original post. Regarding database access and login/logout - those seem separate from MVP really. On Jun 30, 3:35 pm, Xybrek xyb...@gmail.com wrote: On Friday, 01 July, 2011 04:13 AM, cri wrote: If you go tohttp://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd..., you'll see the note: ** Strictly speaking, MVP architecture is not concerned with browser history management, but Activities and Places may be used with MVP development as shown in this article. If you're not familiar with MVP, you may want to read these articles first: Large scale application development and MVP, Part I Large scale application development and MVP, Part II ** This has sent two of our development teams off in the wrong direction. I would be willing to venture that it has confused others as well. The problem is that folks go into the Part I and II articles and assume that GWT's MVP framework is being described and they go off and duplicate it. But these articles don't describe GWT's *current* MVP framework. Instead, the articles describe an approach to MVP that preceded GWT official support. Personally, I think that the reference to these articles should be removed from the MVP documentation pages so folks won't go merrily down the wrong path as others have. What is the best MVP we can use with GWT? I am currently looking for some lightweight MVP framework with some samples that will give me the scaffoldings. With the connection to a database, through the RPC. I am also trying to understand how login-logout fits the MVP scenario and how when user is logged in the view is updated as data is modified in the database. I cannot see any example having a RPC service which connects to database, say through hibernate. - Xybrek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to open a new EntryPoint file from other EntryPoint file
On Friday, 01 July, 2011 12:59 AM, Ashish wrote: Hi I need your help. In my GWT project I have two module files like below.. First File public class GTDWeb1 implements EntryPoint{ public void onModuleLoad() { -- - --- here is onClick event } } Second File public class GTDWeb2 implements EntryPoint{ public void onModuleLoad() { -- - } } In the first file GTDWeb1 there is one onClick event from that event when it will run I need to open a new window which contain second file out GTDWeb2. Coukd you please help me on this... thanks in advance I am not sure why you need to create two EntryPoint, anyway, in case you need to fire an event without parent-child relationship in the classes, you can always use the Delegator pattern. Which I have used in many cases of my gwt applications. If you can elaborate maybe I can help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to redirect HTML inside a dialogbox
Hi jhulford, Thanks for your answer! What you say works great for most pages although when the page wants to open a new window this is opened in a new window/tab in the browser. Is there a way to capture these events and avoid opening a new page? -- 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/-/sTa45CqBfQMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT works with hibernate in dev. mode but not production mode...
I've had an existing GWT project utilizing Hibernate working on Windows fine for sometime now. I need to port it over to Linux which for the most part was pretty easy except for one thing, it won't display database records. I'm using GWT 2.0.3 and if I run the application on my Linux box in development mode the database records show as expected, but when deployed under Tomcat 6.0.32 on the Linux box the app shows fine, but the records don't display. There's no errors in the server logs. There haven't been any code changes from when it worked fine on Windows. I should also point out I am using Mozilla Firefox on both sides as well. Any Ideas?Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to open a new window with output of other file in GWT
There is a way to open a new window with results from a click, but it may not be the best solution for what you want. What are you trying to display? You will have the Anchor target set to _blank or similar. In the Url you will need to provide the page you want and any parameters. Something similar to http://127.0.0.1:/index.html#myPage!param1=value1. This will load your entire application in the new window. Now you need to display GTDWeb2 by having your app see the page/parameters passed and display the appropriate page. Hopefully your using history and can just call History.getToken() to get the page/parameters. -- 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/-/KZk06knRgHQJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Can't install Google Eclipse plugins.
I can’t seem to find an answer to my problem. I’ve searched the forums and done everything I know but still can’t get Google Eclipse plugin to install. I’m using Helios. The site I’m installing from is http://dl.google.com/eclipse/plugin/3.6. I have also tried installing from the zip files to no avail. Does anyone have any insight? Below is the erro message. Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634 (com.google.gdt.eclipse.suite.e36.feature.feature.group 2.3.2.r36v201106211634) Missing requirement: Google Eclipse 3.6 Platform Plugin 2.3.2.r36v201106211634 (com.google.gdt.eclipse.platform.e36 2.3.2.r36v201106211634) requires 'bundle org.eclipse.jst.server.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634 (com.google.gdt.eclipse.suite.e36.feature.feature.group 2.3.2.r36v201106211634) To: com.google.gdt.eclipse.platform.e36 [2.3.2.r36v201106211634] -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to open a new window with output of other file in GWT
There is a way to open a new window with results from a click, but it may not be the best solution for what you want. What are you trying to display? You will have the Anchor target set to _blank or similar. In the Url you will need to provide the page you want and any parameters. Something similar to http://127.0.0.1:/index.html#myPage!param1=value1. This will load your entire application in the new window. Now you need to display GTDWeb2 by having your app see the page/parameters passed and display the appropriate page. Hopefully your using history and can just call History.getToken() to get the page/parameters. On Jun 30, 1:19 pm, Ashish ashishgovindsax...@gmail.com wrote: Hi I am facing one problem I need to show a output of a file in a new window on onClickEvent. First File public class GTDWeb1 implements EntryPoint{ public void onModuleLoad() { -- - --- here is onClick event } } --- - Second File public class GTDWeb2 extends SimplePanel{ public void onLoad() { -- - } } Thers is one onClick Event in my first file as shown above. I need to open a new window which should have output of second file (GTDWeb2). is it possible in GWT ? I am new in GWT help me. Please anyone help me, I need to solve this urgently -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Drag and Drop file upload in GWT
I am building an app that will allow users to fill forms and attach supporting documents. I was wondering if there any way to implement Drag and Drop file upload in GWT? Many thanks in advance for your response! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: In ListBox, how to you format first item Select... to italic and gray?
You will probably want to have 2 items here. The Select.. would be a clickable label with a background image of a downward arrow. The second would be your list adjacent under the first and hidden by default. When a user clicks on the Select... label, you display the list. When the user clicks a list item, hide the list and have the Select... change to the selected item. This also means your submit button would have to verify that the user selected an item. -- 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/-/90wdqeZc4tIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Form layout
If you want a true form, then use FormPanel (http://google-web- toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ ui/FormPanel.html) otherwise any panel like FlowPanel. UiBinder (http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html) makes it easier to create the panel. Add CSS to style it appropriately(not tables). On Jun 30, 3:03 pm, isern juanis...@gmail.com wrote: Hello! I have a question to you guys: What would you say it is the best way to lay out a form in GWT? I read somewhere in the group Grid and FlexTable approaches. Grid seems to be not very flexible and FlexTable doesn't look UIBinder friendly So I'm thinking about using pure CSS and divs. What approach looks better to you? Thanks a lot in advance. J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Profiling using speed tracer does not pick up jvm args
Your JVM inspection looks like it is inpsecting the Compiler, but the launch config is for launching a DevMode session. Try opening the red GWT toolbox in the Eclipse toolbar and changing the JVM parameters there. -- 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/-/CyGxNrG3mvsJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Very confusing aspect of MVP documentation!
Hi cri, Thanks for pointing this out. Ironically, I added that note along with other changes just a few days ago in order to try to decouple MVP from Activities and Places. The GWT team, including Ray Ryan, doesn't think of Activities and Places as an MVP framework. It's a way to manage browser history and provides no base classes for presenters or views. MVP proper, as we're currently defining it, is not concerned with browser history management. Ray Ryan's talk in 09 and the previous MVP articles mentioned these concepts together, but they are not necessarily coupled, and we're trying to reflect that in the docs going forward. At any rate, I hadn't noticed that the prior MVP articles discuss browser history management and I can see how this would lead you down the wrong path. We're working on updated versions, but in the mean time, I'll add notes to the history management sections pointing forward to Activities and Places instead. Thanks again, /dmc On Thu, Jun 30, 2011 at 4:43 PM, cri chuck.irvine...@gmail.com wrote: I can only say that we've been very happy with the framework described at http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html , aside from the issue I mentioned in my original post. Regarding database access and login/logout - those seem separate from MVP really. On Jun 30, 3:35 pm, Xybrek xyb...@gmail.com wrote: On Friday, 01 July, 2011 04:13 AM, cri wrote: If you go tohttp:// code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd..., you'll see the note: ** Strictly speaking, MVP architecture is not concerned with browser history management, but Activities and Places may be used with MVP development as shown in this article. If you're not familiar with MVP, you may want to read these articles first: Large scale application development and MVP, Part I Large scale application development and MVP, Part II ** This has sent two of our development teams off in the wrong direction. I would be willing to venture that it has confused others as well. The problem is that folks go into the Part I and II articles and assume that GWT's MVP framework is being described and they go off and duplicate it. But these articles don't describe GWT's *current* MVP framework. Instead, the articles describe an approach to MVP that preceded GWT official support. Personally, I think that the reference to these articles should be removed from the MVP documentation pages so folks won't go merrily down the wrong path as others have. What is the best MVP we can use with GWT? I am currently looking for some lightweight MVP framework with some samples that will give me the scaffoldings. With the connection to a database, through the RPC. I am also trying to understand how login-logout fits the MVP scenario and how when user is logged in the view is updated as data is modified in the database. I cannot see any example having a RPC service which connects to database, say through hibernate. - Xybrek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Form layout
Ah okay, FlowPanel + CSS sounds good to me Thanks a lot people On Jun 30, 5:28 pm, Eric Metcalf emetcalf@gmail.com wrote: If you want a true form, then use FormPanel (http://google-web- toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ ui/FormPanel.html) otherwise any panel like FlowPanel. UiBinder (http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html) makes it easier to create the panel. Add CSS to style it appropriately(not tables). On Jun 30, 3:03 pm, isern juanis...@gmail.com wrote: Hello! I have a question to you guys: What would you say it is the best way to lay out a form in GWT? I read somewhere in the group Grid and FlexTable approaches. Grid seems to be not very flexible and FlexTable doesn't look UIBinder friendly So I'm thinking about using pure CSS and divs. What approach looks better to you? Thanks a lot in advance. J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Aw: POJO to JSON
### AutoBeans can be used on client *and* server side: static interface MyAutoBeanFactory extends AutoBeanFactory { AutoBeanMyPojo login(); } // In non-GWT code, use AutoBeanFactoryMagic.create(MyFactory.class); static final MyAutoBeanFactory FACTORY = GWT.create(MyAutoBeanFactory. class); public MyPojo getMyPojo(String json) { AutoBeanMyPojo bean = AutoBeanCodex.decode(FACTORY, MyPojo.class, json); return bean.as(); } public String getJson(MyPojo myPojo) { AutoBeanMyPojo bean = AutoBeanUtils.getAutoBean(myPojo); return AutoBeanCodex.encode(bean).getPayload(); } ### JSON Overlay types work on client side only (look at the native javascript code /*-{ }-*/): public final native T getPojo(String json) /*-{ return eval(json); // eval('(' + json + ')'); }-*/; public String getJson(T pojo) { return new JSONObject(pojo).toString(); } ### RequestFactory is great above persistence layers like JPA (and uses AutoBeans under the hood!) but has a lot of boilerplate code. ### Btw: I generate the RequestFactory + JPA stuff with Xtext + Xpand (using a domain specific language (dsl) for my domain model). - Daniel -- 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/-/Lqd-Ks2atkUJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Aw: POJO to JSON
sorry, i've been fuzzy: In JSON Overlay example type T has to satisfy T extends JavaScriptObject -- 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/-/ouFpiVf617wJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Should gwt-dev.jar be on classpath on webmode?
This is what I get if I don't put it on classpath: java.lang.NoClassDefFoundError: com/google/gwt/dev/asm/commons/Method at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.clinit(ResolverServiceLayer.java:46) at com.google.web.bindery.requestfactory.server.ServiceLayer.create(ServiceLayer.java:76) at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:88) at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:74) at com.google.web.bindery.requestfactory.server.RequestFactoryServlet$$FastClassByGuice$$54253391.newInstance(generated) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974) This happens while instantiating RequestFactoryServlet -- Magno Machado Paulo http://blog.magnomachado.com.br http://code.google.com/p/emballo/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How do you guys solve this problem?
Imagine an example: let say I want to show in the client the following table of Sales: Id | Client | Product | Number - 1| John Doe(2) | iMac 27'(23)| 1 2| Chris More(3) | Mac book'(4) | 2 With Sale being: class Sale { private long id; private Client client; private Product product; private Integer number; . } John Doe(2) is the name of the client and 2 is the id. Same thing for Product. The problem is that to find out the Client's name I need to send it to the client (in the case of RequestFactory as a ClientProxy). I don't want to send the whole Client throw the wire when I only need the id and a string representation. Plus, the example being a table, it may be listing 30+ Sales, and include the relationship makes it really heavy to load. The question is how can I do with RF to get a string representation and the id of a Proxy without loading it all? Before using RF I used two object i.e: Sale and SaleDto, and I made the conversion myself on the server. Thanks in advance! -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT works with hibernate in dev. mode but not production mode...
Are you using the same database server? Is anything getting returned through RPC or whatever you're using? On Jun 30, 11:10 am, gshepherd gshephe...@gmail.com wrote: I've had an existing GWT project utilizing Hibernate working on Windows fine for sometime now. I need to port it over to Linux which for the most part was pretty easy except for one thing, it won't display database records. I'm using GWT 2.0.3 and if I run the application on my Linux box in development mode the database records show as expected, but when deployed under Tomcat 6.0.32 on the Linux box the app shows fine, but the records don't display. There's no errors in the server logs. There haven't been any code changes from when it worked fine on Windows. I should also point out I am using Mozilla Firefox on both sides as well. Any Ideas?Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Very confusing aspect of MVP documentation!
Hmm Well, part of this is semantics I think. What exactly constitutes MVP is the question. But regardless of that, it is true: 1) That one can use the combination of Views, ClientFactory, Activities, Places, PlaceHistoryMapper, and ActivityMapper as described at http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html to organize and automate Activity/View transition. We've done this on several projects and have more in the pipeline. 2) The concepts/methods/classes described in the Part I and II articles seem more manual and labor intensive and, though similar in concept, are distinctly different in their detailed approach compared to the above. We tried both with multiple real world projects and View/ Activities/Places/ActivityMapper/etc we've found to be superior. Interestingly, we really not used them at all for history management. 3) One might argue that one is better than the other I guess but to present them both, side by side, is just plain confusing to your user base. On Jun 30, 5:10 pm, David Chandler drfibona...@google.com wrote: Hi cri, Thanks for pointing this out. Ironically, I added that note along with other changes just a few days ago in order to try to decouple MVP from Activities and Places. The GWT team, including Ray Ryan, doesn't think of Activities and Places as an MVP framework. It's a way to manage browser history and provides no base classes for presenters or views. MVP proper, as we're currently defining it, is not concerned with browser history management. Ray Ryan's talk in 09 and the previous MVP articles mentioned these concepts together, but they are not necessarily coupled, and we're trying to reflect that in the docs going forward. At any rate, I hadn't noticed that the prior MVP articles discuss browser history management and I can see how this would lead you down the wrong path. We're working on updated versions, but in the mean time, I'll add notes to the history management sections pointing forward to Activities and Places instead. Thanks again, /dmc On Thu, Jun 30, 2011 at 4:43 PM, cri chuck.irvine...@gmail.com wrote: I can only say that we've been very happy with the framework described at http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd... , aside from the issue I mentioned in my original post. Regarding database access and login/logout - those seem separate from MVP really. On Jun 30, 3:35 pm, Xybrek xyb...@gmail.com wrote: On Friday, 01 July, 2011 04:13 AM, cri wrote: If you go tohttp:// code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd..., you'll see the note: ** Strictly speaking, MVP architecture is not concerned with browser history management, but Activities and Places may be used with MVP development as shown in this article. If you're not familiar with MVP, you may want to read these articles first: Large scale application development and MVP, Part I Large scale application development and MVP, Part II ** This has sent two of our development teams off in the wrong direction. I would be willing to venture that it has confused others as well. The problem is that folks go into the Part I and II articles and assume that GWT's MVP framework is being described and they go off and duplicate it. But these articles don't describe GWT's *current* MVP framework. Instead, the articles describe an approach to MVP that preceded GWT official support. Personally, I think that the reference to these articles should be removed from the MVP documentation pages so folks won't go merrily down the wrong path as others have. What is the best MVP we can use with GWT? I am currently looking for some lightweight MVP framework with some samples that will give me the scaffoldings. With the connection to a database, through the RPC. I am also trying to understand how login-logout fits the MVP scenario and how when user is logged in the view is updated as data is modified in the database. I cannot see any example having a RPC service which connects to database, say through hibernate. - Xybrek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group,
Re: How do you guys solve this problem?
i think you could create another proxy for Client which is just id and name But I had a similar need some time ago and I found it better to use gwt-rpc for that specific case, although the app uses mainly requestfactory On Thu, Jun 30, 2011 at 8:38 PM, Gal Dolber gal.dol...@gmail.com wrote: Imagine an example: let say I want to show in the client the following table of Sales: Id | Client | Product | Number - 1| John Doe(2) | iMac 27'(23)| 1 2| Chris More(3) | Mac book'(4) | 2 With Sale being: class Sale { private long id; private Client client; private Product product; private Integer number; . } John Doe(2) is the name of the client and 2 is the id. Same thing for Product. The problem is that to find out the Client's name I need to send it to the client (in the case of RequestFactory as a ClientProxy). I don't want to send the whole Client throw the wire when I only need the id and a string representation. Plus, the example being a table, it may be listing 30+ Sales, and include the relationship makes it really heavy to load. The question is how can I do with RF to get a string representation and the id of a Proxy without loading it all? Before using RF I used two object i.e: Sale and SaleDto, and I made the conversion myself on the server. Thanks in advance! -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Magno Machado Paulo http://blog.magnomachado.com.br http://code.google.com/p/emballo/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How do you guys solve this problem?
Magno is correct. You can create multiple proxy representations of an entity, so could have ClientProxy with accessor methods for all properties and LightweightClientProxy with only getId() and getStringRepresentation(). /dmc On Thu, Jun 30, 2011 at 8:10 PM, Magno Machado magn...@gmail.com wrote: i think you could create another proxy for Client which is just id and name But I had a similar need some time ago and I found it better to use gwt-rpc for that specific case, although the app uses mainly requestfactory On Thu, Jun 30, 2011 at 8:38 PM, Gal Dolber gal.dol...@gmail.com wrote: Imagine an example: let say I want to show in the client the following table of Sales: Id | Client | Product | Number - 1| John Doe(2) | iMac 27'(23)| 1 2| Chris More(3) | Mac book'(4) | 2 With Sale being: class Sale { private long id; private Client client; private Product product; private Integer number; . } John Doe(2) is the name of the client and 2 is the id. Same thing for Product. The problem is that to find out the Client's name I need to send it to the client (in the case of RequestFactory as a ClientProxy). I don't want to send the whole Client throw the wire when I only need the id and a string representation. Plus, the example being a table, it may be listing 30+ Sales, and include the relationship makes it really heavy to load. The question is how can I do with RF to get a string representation and the id of a Proxy without loading it all? Before using RF I used two object i.e: Sale and SaleDto, and I made the conversion myself on the server. Thanks in advance! -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Magno Machado Paulo http://blog.magnomachado.com.br http://code.google.com/p/emballo/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Editable CellEditror strange behavior.
I'm using CellTable which is reading data from MySQL using RPC and AsyncDataProvider. I tryed to make come column editable and added to one of the columns editable so i added FieldUpdater with empty (!) update method. Then came strange. Tere is value1 for some cell. I edit it and change it to, for example X -- now table shows X even i go to other pages and then back (no mater that i fetch data from database everytime the page is changed). But the the mostly strange. I modify my database so this cell now contains value2 and everything goes fine -- table fetches new data and shows value2. Fine. But then i modify back to value1 -- table fetches that change and ... ... shows X. X that i inputed long time ago. The first question is what the hell?! why GWT decides what to show, not me? Second -- what is this behavior and where it is documented? Third -- how i can disbale it? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Drag and Drop file upload in GWT
For drag and drop , Pleae try these. http://code.google.com/p/gwt-fileapi/ http://code.google.com/p/lib-gwt-file/ J.Ganesan www.DataStoreGwt.com On Jun 30, 9:05 pm, Alexander Maximov sasha.maxi...@gmail.com wrote: I am building an app that will allow users to fill forms and attach supporting documents. I was wondering if there any way to implement Drag and Drop file upload in GWT? Many thanks in advance for your response! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.