Sudden problem in Nebeans 6.5 + GWT plugin
I was using GWFT+NB for a long time, but suddenly I got: attached JPDA debugger to localhost:tomcat_shared_memory_id init: debug-connect-gwt-shell: java.lang.NoClassDefFoundError: ${gwt/shell/jvmargs} Caused by: java.lang.ClassNotFoundException: ${gwt.shell.jvmargs} 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 java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) Exception in thread "main" Exception in thread "main" C:\SVN\src\FStoreGWT\nbproject\build- gwt.xml:35: The following error occurred while executing this line: C:\SVN\src\FStoreGWT\nbproject\build-gwt.xml:51: Java returned: 1 BUILD FAILED (total time: 34 seconds) It happens when I try to debug my project. What does it mean? Early I could do debug without any 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 -~--~~~~--~~--~--~---
Silly bug or miracle? FormPanel doesn't send request to server.
My form doesn't want to send request (watching its activity through Firefox Firebug) This is my client code: public class UploadForm extends FormPanel{ private HorizontalPanel content = new HorizontalPanel(); private Label uploadLabel= new Label("Choose file"); private FileUpload fileUpload = new FileUpload(); private Button uploadButton = new Button("Upload"); public UploadForm(){ super(); this.setAction("/data/uploadfile"); this.setEncoding(FormPanel.ENCODING_MULTIPART); this.setMethod(FormPanel.METHOD_POST); this.setWidget(content); fileUpload.setName("fileUpload"); content.add(uploadLabel); content.add(fileUpload); content.add(uploadButton); uploadButton.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { UploadForm.this.submit(); } }); this.addSubmitHandler(new SubmitHandler() { public void onSubmit(SubmitEvent event) { Window.alert("onSubmit"); } }); this.addSubmitCompleteHandler(new SubmitCompleteHandler() { public void onSubmitComplete(SubmitCompleteEvent event) { Window.alert("onSubmitComplete"); } }); } } So, I see my Form in the HTML code (taken using FireBug): Choose file Upload As you can see it's real form with multipart and method post BUT! When clicking on the button, I get first Window.alert("onSubmit"); and then second Window.alert("onSubmitComplete"); Form doesn' sends request!!! I don't see any requests in FireBug (but I have to), My Tomcat server keeps silence, but it has to write into log somrthing like: "resource is not found" Is it a miracle or stupid mistake? Please help me to overcome this difficulty. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
OnMouseOver and OnMouseOut on FlexTable
Good day. I've undestood how to get cell which was clicked by user (using new Handler pattern). But I can' get how does other handlers work (early I've used sink events and onBrowserEvent). My task is to hightlight row of FlexTable when the mouse pointer is on it and put away hightlight when mouse goes away from FlexTable row. Can you help me to ndestand the mechanics of handlers in this case? 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 -~--~~~~--~~--~--~---
FlexTable, onClick -> get row which was clicked
Hi, I have a very simple question, but I don't know how I can solve it using new Handler pattern of GWT 1.6 public class DataTable extends FlexTable{ public DataTable(){ super(); //TODO: add sort functionality and order production this.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { Window.alert("DataTable -> onClick ::: " + event.getSource() ); } }); } source returns me of course my FlexTable.toString(); I would like to get exact clicked row. What do I have to do? Thanks a lot for reading this silly question. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---