Re: How do I get the HTML code of a web page in GWT?
i need to get it in GWT so i can comunicate with other GWT app. 2016-03-04 15:29 GMT+01:00 Davide Micheletti <d.michelett...@gmail.com>: > i need to get the HTML of the page where there is the link for the > download. And i need to get it in GWT. > > i need the equivalent of PHP code > $html = file_get_contents('www.example.com'); > > > 2016-03-04 15:18 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: > >> Ok but I m having a hard time understanding the relation with your >> original question or with GWT at all. >> On 4 Mar 2016 15:13, "Davide Micheletti" <d.michelett...@gmail.com> >> wrote: >> >>> not exactly, i mean download the files when i need it. >>> i run the app and it downloads the files. >>> There are many directory with many files, i need to download the last >>> files created/modified. >>> >>> 2016-03-04 15:05 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: >>> >>>> You mean download the file everytime is created on the server ? >>>> >>>> On 4 March 2016 at 14:05, Davide Micheletti <d.michelett...@gmail.com> >>>> wrote: >>>> >>>>> I've an ever open VPN and a webserver generates some CSV files. >>>>> What i need to do is download the file automaticaly. >>>>> >>>>> 2016-03-04 13:57 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: >>>>> >>>>>> Can you elaborate on what you are trying to do ? >>>>>> >>>>>> One way could be to do it through ajax. senf the url of the page to >>>>>> the server have a servlet read the page send the result back to your >>>>>> client. >>>>>> >>>>>> >>>>>> On 4 March 2016 at 13:28, Davide Micheletti <d.michelett...@gmail.com >>>>>> > wrote: >>>>>> >>>>>>> Hi all, >>>>>>> i'm using GWT 2.6 and i need to get the HTML code of a web page. >>>>>>> How can i do this? >>>>>>> >>>>>>> Thanks in advance. >>>>>>> >>>>>>> Best regards >>>>>>> >>>>>>> >>>>>>> Davide >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "GWT Users" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to google-web-toolkit+unsubscr...@googlegroups.com. >>>>>>> To post to this group, send email to >>>>>>> google-web-toolkit@googlegroups.com. >>>>>>> Visit this group at >>>>>>> https://groups.google.com/group/google-web-toolkit. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Alain Ekambi >>>>>> >>>>>> Co-Founder >>>>>> >>>>>> Ahomé Innovation Technologies >>>>>> >>>>>> http://www.ahome-it.com/ <http://ahome-it.com/> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "GWT Users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to google-web-toolkit+unsubscr...@googlegroups.com. >>>>>> To post to this group, send email to >>>>>> google-web-toolkit@googlegroups.com. >>>>>> Visit this group at >>>>>> https://groups.google.com/group/google-web-toolkit. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "GWT Users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to google-web-toolkit+unsubscr...@googlegroups.com. >>>>> To post to this group, send email to >>>>> google-web-toolkit@googlegroups.com. >>>>> Visit this group at https
Re: How do I get the HTML code of a web page in GWT?
i need to get the HTML of the page where there is the link for the download. And i need to get it in GWT. i need the equivalent of PHP code $html = file_get_contents('www.example.com'); 2016-03-04 15:18 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: > Ok but I m having a hard time understanding the relation with your > original question or with GWT at all. > On 4 Mar 2016 15:13, "Davide Micheletti" <d.michelett...@gmail.com> wrote: > >> not exactly, i mean download the files when i need it. >> i run the app and it downloads the files. >> There are many directory with many files, i need to download the last >> files created/modified. >> >> 2016-03-04 15:05 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: >> >>> You mean download the file everytime is created on the server ? >>> >>> On 4 March 2016 at 14:05, Davide Micheletti <d.michelett...@gmail.com> >>> wrote: >>> >>>> I've an ever open VPN and a webserver generates some CSV files. >>>> What i need to do is download the file automaticaly. >>>> >>>> 2016-03-04 13:57 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: >>>> >>>>> Can you elaborate on what you are trying to do ? >>>>> >>>>> One way could be to do it through ajax. senf the url of the page to >>>>> the server have a servlet read the page send the result back to your >>>>> client. >>>>> >>>>> >>>>> On 4 March 2016 at 13:28, Davide Micheletti <d.michelett...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi all, >>>>>> i'm using GWT 2.6 and i need to get the HTML code of a web page. >>>>>> How can i do this? >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> Best regards >>>>>> >>>>>> >>>>>> Davide >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "GWT Users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to google-web-toolkit+unsubscr...@googlegroups.com. >>>>>> To post to this group, send email to >>>>>> google-web-toolkit@googlegroups.com. >>>>>> Visit this group at >>>>>> https://groups.google.com/group/google-web-toolkit. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Alain Ekambi >>>>> >>>>> Co-Founder >>>>> >>>>> Ahomé Innovation Technologies >>>>> >>>>> http://www.ahome-it.com/ <http://ahome-it.com/> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "GWT Users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to google-web-toolkit+unsubscr...@googlegroups.com. >>>>> To post to this group, send email to >>>>> google-web-toolkit@googlegroups.com. >>>>> Visit this group at https://groups.google.com/group/google-web-toolkit >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "GWT Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to google-web-toolkit+unsubscr...@googlegroups.com. >>>> To post to this group, send email to >>>> google-web-toolkit@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/google-web-toolkit. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> >>> Alain Ekambi >>> >>> Co-Founder >>> >>> Ahomé Innovation Technologies >>> >>> http://www.ahome-it.com/ <http://ahome-it.com/> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups &q
Re: How do I get the HTML code of a web page in GWT?
not exactly, i mean download the files when i need it. i run the app and it downloads the files. There are many directory with many files, i need to download the last files created/modified. 2016-03-04 15:05 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: > You mean download the file everytime is created on the server ? > > On 4 March 2016 at 14:05, Davide Micheletti <d.michelett...@gmail.com> > wrote: > >> I've an ever open VPN and a webserver generates some CSV files. >> What i need to do is download the file automaticaly. >> >> 2016-03-04 13:57 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: >> >>> Can you elaborate on what you are trying to do ? >>> >>> One way could be to do it through ajax. senf the url of the page to the >>> server have a servlet read the page send the result back to your client. >>> >>> >>> On 4 March 2016 at 13:28, Davide Micheletti <d.michelett...@gmail.com> >>> wrote: >>> >>>> Hi all, >>>> i'm using GWT 2.6 and i need to get the HTML code of a web page. >>>> How can i do this? >>>> >>>> Thanks in advance. >>>> >>>> Best regards >>>> >>>> >>>> Davide >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "GWT Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to google-web-toolkit+unsubscr...@googlegroups.com. >>>> To post to this group, send email to >>>> google-web-toolkit@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/google-web-toolkit. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> >>> Alain Ekambi >>> >>> Co-Founder >>> >>> Ahomé Innovation Technologies >>> >>> http://www.ahome-it.com/ <http://ahome-it.com/> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "GWT Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to google-web-toolkit+unsubscr...@googlegroups.com. >>> To post to this group, send email to google-web-toolkit@googlegroups.com >>> . >>> Visit this group at https://groups.google.com/group/google-web-toolkit. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com. >> To post to this group, send email to google-web-toolkit@googlegroups.com. >> Visit this group at https://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > Alain Ekambi > > Co-Founder > > Ahomé Innovation Technologies > > http://www.ahome-it.com/ <http://ahome-it.com/> > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How do I get the HTML code of a web page in GWT?
I've an ever open VPN and a webserver generates some CSV files. What i need to do is download the file automaticaly. 2016-03-04 13:57 GMT+01:00 Alain Ekambi <jazzmatad...@gmail.com>: > Can you elaborate on what you are trying to do ? > > One way could be to do it through ajax. senf the url of the page to the > server have a servlet read the page send the result back to your client. > > > On 4 March 2016 at 13:28, Davide Micheletti <d.michelett...@gmail.com> > wrote: > >> Hi all, >> i'm using GWT 2.6 and i need to get the HTML code of a web page. >> How can i do this? >> >> Thanks in advance. >> >> Best regards >> >> >> Davide >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com. >> To post to this group, send email to google-web-toolkit@googlegroups.com. >> Visit this group at https://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > Alain Ekambi > > Co-Founder > > Ahomé Innovation Technologies > > http://www.ahome-it.com/ <http://ahome-it.com/> > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
How do I get the HTML code of a web page in GWT?
Hi all, i'm using GWT 2.6 and i need to get the HTML code of a web page. How can i do this? Thanks in advance. Best regards Davide -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: CSS ignored in SuperDev Mode GWT 2.6.1
Hello Thomas, the URL of my webapp is http://127.0.0.1:/Control_Panel.html. i link the CSS in the HTML page with and in the Control_Panel.gwt.xml with 2015-09-04 12:37 GMT+02:00 Thomas Broyer <t.bro...@gmail.com>: > > > On Friday, September 4, 2015 at 11:54:36 AM UTC+2, Davide Micheletti wrote: >> >> Hi all, >> i just upgraded my GWT apps from 2.5.1 to 2.6.1 and i start the SuperDev >> Mode. >> It compile everything right but when i launch the app my CSS file is >> ignored. >> Here the Warn >> [WARN] ignored get request: /MyStyle.css >> >> The strange thing is that not all the css is ignored but only the css >> that overwrite the default widgets css. >> >> What can i do? >> > > As I see it, the problem is that the request goes to the CodeServer rather > than your web server (DevMode?) > How do you launch the app (which URL), and what URL reference is used to > link to the MyStyle.css (and by which mean is it loaded) ? > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
CSS ignored in SuperDev Mode GWT 2.6.1
Hi all, i just upgraded my GWT apps from 2.5.1 to 2.6.1 and i start the SuperDev Mode. It compile everything right but when i launch the app my CSS file is ignored. Here the Warn [WARN] ignored get request: /MyStyle.css The strange thing is that not all the css is ignored but only the css that overwrite the default widgets css. What can i do? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Possible performance enhancements for CalendarUtil.getDaysBetween()
I must admit I didn't spend enough time to fully understand why the gwt original implementation did all that stuff for resetting time. Many thanks for the detailed explanation. At the moment I have no access to dev tools, anyway I'm just wondering if there's still room for optimizations without incurring in bugs: i.e. if resetting dates time is needed, then CalendarUtils could keep two private static Date instances instead of instantiating two new dates per call (that should be safe until there's no multithreading) 2015-01-31 3:08 GMT+01:00 Jens jens.nehlme...@gmail.com: Your implementation does not have same behavior as the original GWT one. GWTs implementation resets hours, minutes, seconds and milliseconds while your implementation only resets milliseconds AND you reset them wrong as well :) For negative getTime() your calculation moves time to the next second into the future which is wrong because when you reset time you always want to go into the past (so you do not modify the actual day accidentally) As you only have modified the way aTime and bTime are calculated I have printed them for current GWT implementation and your new implementation. See output: start: 1969-12-31 *22:30:30.500* end: 1970-01-02 15:30:30.500 current GWT aTime: -9000 = Date: 1969-12-31 *00:00:00.000* current GWT bTime: 8280 = Date: 1970-01-02 00:00:00.000 *current GWT days between: 2* new aTime: -8969000 = Date: 1969-12-31 *22:30:31.000* new bTime: 13863 = Date: 1970-01-02 15:30:30.000 *new days between: 1* As you can see your implementation does not reset the full time and your millisecond reset moves the start date 500ms into the future. GWT had the same millisecond reset bug until I fixed it in https://gwt-review.googlesource.com/#/c/7462/3 This bug has caused some exceptions in DatePicker for dates that are within 1000ms before epoch as described in the corresponding bug report: https://code.google.com/p/google-web-toolkit/issues/detail?id=8653 -- J. -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/OVnGQi0k-Y4/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Possible performance enhancements for CalendarUtil.getDaysBetween()
I guess com.google.gwt.user.datepicker.client.CalendarUtil.getDaysBetween(Date, Date) was written with datepicker in mind, BTW I've seen some code making heavy use of that method, and its performance was badly impacted. Since actual implementation internally instantiates two new dates per every invocation and then resets the time for each of them, I've simply rewritten the same logic avoiding date instantiation and time resets, and this gave me good results. So I hope CalendarUtil.getDaysBetween() could be enhanced the same way. Follows an excerpt of a naive test comparing one shot original vs optimized implementation... clearly this kind of measurement doesn't consider GC time (mainly induced by original implementation) so I'd consider its results pessimistic. Nonetheless running it with Chrome 37 on my host, the execution time of optimized code is almost constantly 25% of original one. public class Main implements EntryPoint { @Override public void onModuleLoad() { final int count = 10; final Date prev = new Date(0); final Date next = new Date(0); long optTime = 0; long origTime = 0; for (int i = 0; icount;i++) { next.setTime(prev.getTime()+1000*60*60*24); final long startOrig = System.currentTimeMillis (); final int origResult = CalendarUtil.getDaysBetween (prev, next); origTime+= System.currentTimeMillis ()-startOrig; final long startOpt = System.currentTimeMillis (); final int optResult = getDaysBetween (prev, next); optTime+= System.currentTimeMillis ()-startOpt; prev.setTime(next.getTime()); if (optResult!=origResult) { throw new RuntimeException (Ouch); } } Window.alert(count+ steps took \noptimized code: +optTime+\noriginal code: +origTime+ms); //GWT.log (Optimized implementation +count+ steps took +optTime+ms); //GWT.log (Original implementation +count+ steps took +origTime+ms); } /** * {@code CalendarUtil.getDaysBetween()} optimized reimplementation. * * @see CalendarUtil#getDaysBetween(Date, Date) */ protected int getDaysBetween(final Date start, final Date finish) { // Extracts midnight time for both dates final long aTime = (start.getTime() / 1000) * 1000; final long bTime = (finish.getTime() / 1000) * 1000; long adjust = 60 * 60 * 1000; adjust = (bTime aTime) ? adjust : -adjust; return (int) ((bTime - aTime + adjust) / (24 * 60 * 60 * 1000)); } } Talking about real world code instead, this change practically removed getDaysBetween effects from CPU profiling charts, while it was originally one of the main components. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to change the Size of the ListBox of the datePicker in GWT?
i think that you can do something like these: CSS datePickerMonthSelector select { font-size: 500%; } On Wed, Sep 24, 2014 at 1:07 PM, Tom henry...@gmail.com wrote: I am building a mobile website and thus I have a need to many all GWT Gui to become bigger. For example, my css in my gwt mobile app is like this: .myNormalMobileFont{ font-size: 500%; } .myNormalLargeFont{ font-size: 700%; } And Here is Css code of DateBox and DatePicker .gwt-DateBox { padding: 15px 16px; border: 3px solid #ccc; border-top: 3px solid #999; font-size: 500%; } .gwt-DateBox input { width: 8em; } .dateBoxFormatError { background: #ff; } .dateBoxPopup { } .gwt-DatePicker { border: 3px solid #ccc; border-top:3px solid #999; cursor: default; } .gwt-DatePicker td, .datePickerMonthSelector td:focus { outline: none; } .datePickerDays { width: 100%; background: white; } .datePickerDay, .datePickerWeekdayLabel, .datePickerWeekendLabel { font-size: 255%; text-align: center; padding: 12px; outline: none; font-weight:bold; color:#333; border-right: 3px solid #EDEDED; border-bottom: 3px solid #EDEDED; } .datePickerWeekdayLabel, .datePickerWeekendLabel { background: #fff; padding: 0px 12px 6px; cursor: default; color:#666; font-size:210%; font-weight:normal; } .datePickerDay { padding: 12px 21px; cursor: hand; cursor: pointer; } .datePickerDayIsWeekend { background: #f7f7f7; } .datePickerDayIsFiller { color: #999; font-weight:normal; } .datePickerDayIsValue { background: #d7dfe8; } .datePickerDayIsDisabled { color: #AA; font-style: italic; } .datePickerDayIsHighlighted { background: #F0E68C; } .datePickerDayIsValueAndHighlighted { background: #d7dfe8; } .datePickerDayIsToday { padding: 3px; color: #fff; background: url(images/hborder.png) repeat-x 0px -2607px; } .datePickerMonthSelector { width: 100%; padding: 3px 0 15px 0; background: #fff; } td.datePickerMonth { text-align: center; vertical-align: middle; white-space: nowrap; font-size: 300%; font-weight: bold; color: #333; } .datePickerPreviousButton, .datePickerNextButton { font-size: 360%; line-height: 1em; color: #3a6aad; cursor: hand; cursor: pointer; font-weight: bold; padding: 0px 12px; outline: none; } After that, the GuiLookLike this [image: enter image description here] Ass u can see the Text inside the Year and Month listbox is very small, so how to style them to make them bigger?, probally using font-size. http://stackoverflow.com/questions/26015314/how-to-change-the-size-of-the-listbox-of-the-datepicker-in-gwt -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: TabLayoutPanel vs. DecoratedTabPanel
you can replace the classes of TabLayoutPanel in your CSS.. For example to get the round corners, you can do something like this: .gwt-TabLayoutPanel .gwt-TabLayoutPanelContentContainer { border-radius: 5px 5px 5px 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border: 1px solid #b3b3b3; background-color: #fff; } To get start to replace the style i suggest you to copy and paste in your style.css the the classes of TabLayoutPanel from the clean.css In particular you would find these classes: .gwt-TabLayoutPanel { } .gwt-TabLayoutPanel .gwt-TabLayoutPanelTabs { background: #ccc; padding-top: 6px; padding-left: 5px; } .gwt-TabLayoutPanel .gwt-TabLayoutPanelContentContainer { border-color: #ccc; border-style: solid; border-width: 0px 1px 1px; } .gwt-TabLayoutPanel .gwt-TabLayoutPanelContent { overflow: hidden; padding: 6px; } .gwt-TabLayoutPanel .gwt-TabLayoutPanelTab { margin-left: 4px; padding: 4px 8px 4px 8px; cursor: pointer; cursor: hand; color: white; font-weight: normal; text-align: center; background: #8E8E8E; -moz-border-radius: 3px 3px 0px 0px; border-radius: 3px 3px 0px 0px; } .gwt-TabLayoutPanel .gwt-TabLayoutPanelTab-selected { cursor: default; background: white; color: #333; font-weight: bold; } On Mon, Sep 8, 2014 at 9:14 PM, KGD keith.g.de...@gmail.com wrote: How can I make the TabLayouPanel have the same appearance as the DecoratedTabPanel? Specifically, the DecoratedTabPanel has the rounded edges, separated tabs and generally a cleaner appearance. Thanks, Keith -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: OnClick event fired more than one time for one click
i had the same problems some months ago.. My problem was that i had a global widget and i call more than one time the function that declare the onClick event.. On Sun, Aug 24, 2014 at 4:44 PM, Fernando Castro lfernand...@gmail.com wrote: In my practice i have seen this behavior a few times and i can say that, this double click is a matter of several factors, OS, browser version, the mouse the user have. But i had a few times the following problem. i had a flow where i added a click handler to my widget, however this flow was called more tha once, in result, i had added 2 click handles to the same component. 1 click = handler invoked 2 times. and so on. Em terça-feira, 22 de julho de 2014 13h34min56s UTC-3, new_newbie escreveu: Hi, I have an image and I have installed an ClickHandler. More than one event are sent when the image is clicked once. The number of click events are not random; there is a pattern. Any clue? Thanks a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
R: Re: How to dynamically choose locale at SuperDevMode compile time?
Thanks! I'll give it a try as soon as I return at office. Did you consider contributing the gwt project with this patch? Davide Cavestro Aleš Pečnik pecnika...@gmail.com ha scritto: I use meta tag in HTML for setting locale: meta name=gwt:property content=locale=en / I use GWT from trunk, in Eclipse with -superDevMode argument, without bookmarklet. This patch works for me: diff --git a/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js b/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js index 2964be7..9bb0a92 100644 --- a/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js +++ b/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js @@ -380,6 +380,11 @@ var url = url_prefix + '_callback=__gwt_bookmarklet_globals.callbacks.' + callback_id; + var nodelist=document.getElementsByTagName('meta'); + for(var i=0; inodelist.length; i++) { + if(nodelist[i].getAttribute('name')=='gwt:property') + url+=''+nodelist[i].getAttribute('content'); + } var script = $doc.createElement('script'); script.src = url; diff --git a/dev/codeserver/java/com/google/gwt/dev/codeserver/stub.nocache.js b/dev/codeserver/java/com/google/gwt/dev/codeserver/stub.nocache.js index 0b83ae6..bcb95de 100755 --- a/dev/codeserver/java/com/google/gwt/dev/codeserver/stub.nocache.js +++ b/dev/codeserver/java/com/google/gwt/dev/codeserver/stub.nocache.js @@ -202,6 +202,12 @@ var compileScript = $doc.createElement('script'); compileScript.src = serverUrl + '/recompile/__MODULE_NAME__?user.agent=' + ua + '_callback=' + callback; + var nodelist=document.getElementsByTagName('meta'); + for(var i=0; inodelist.length; i++) { + if(nodelist[i].getAttribute('name')=='gwt:property') + compileScript.src+=''+nodelist[i].getAttribute('content'); + } + $head.appendChild(compileScript); compileButton.className = buttonClassName + ' gwt-DevModeCompiling'; } -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/CJz8e_SyYTI/unsubscribe. To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to make Div and Image flow inline in GWT?
.flowInline { float: left; } add these css class .clr { clear: both; } When you have somthings floatted you must clear it. http://www.w3schools.com/cssref/pr_class_clear.asp http://stackoverflow.com/questions/12871710/why-clear-both-css div div class={style.flowInline} ui:field=text1Div / g:Image ui:field=image1 addStyleNames={res.css.flowInline} / div class={style.clr}/div div class={style.flowInline} ui:field=text2Div / g:Image ui:field=image2 addStyleNames={res.css.flowInline} / div class={style.clr}/div /div On Wed, Jul 30, 2014 at 11:48 AM, Tom henry...@gmail.com wrote: There is following code in UiBinder div class={style.flowInline} div class={style.flowInline} ui:field=text1Div / g:Image ui:field=image1 addStyleNames={res.css.flowInline} / div class={style.flowInline} ui:field=text2Div / g:Image ui:field=image2 addStyleNames={res.css.flowInline} //div in Css .flowInline{ display:inline-block;} This is the requirement. I want the *text1, image1, text2, image2*, flow in the same line. text1Div.setInnerSafeHtml(SafeHtmlUtils.fromSafeConstant(Please:BR/ Click)); text2Div.setInnerSafeHtml(SafeHtmlUtils.fromSafeConstant(andBR/ Click)); It should show the result: Please: Click [image1] and Click [image2] But somehow it didn't work If I don't use Div in UiBinder div Please: BR/ Click g:Image ui:field=image1 / and BR/ Click g:Image ui:field=image2 //div Then it work fine So, how to fix it? http://stackoverflow.com/questions/25033666/how-to-make-div-and-image-flow-inline-in-gwt -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Best way to share common css defs in a GWT application with multi-module
The easiest way to do this is to create a common module that the two modules inherit. You would put the CSS in the parent, and include it from both the child modules. Here is an example. Suppose you have two modules: com.company.apps.foo.Foo and com.company.apps.bar.Bar. These would have the following Java source tree: src/ com/ company/ apps/ foo/ Foo.gwt.xml client/Foo.java public/Foo.html bar/ Bar.gwt.xml client/Bar.java public/Bar.html You want to put company.css somewhere where it is available to both. To do this, you might create a new directory: like src/com/company/apps/public/ and then put your company.css file in there. You would then need to create a GWT module for Foo and Bar to inherit from. Your new tree would look like this: src/ com/ company/ apps/ public/company.css Common.gwt.xml foo/ Foo.gwt.xml client/Foo.java public/Foo.html bar/ Bar.gwt.xml client/Bar.java public/Bar.html Common.gwt.xml would look something like this: module inherits name=com.google.gwt.user.User/ public path=public/ /module Then you would add a line like this to Foo.gwt.xml and Bar.gwt.xml: inherits name=com.company.apps.Common/ This will cause Foo and Bar to inherit all the settings from Common. The particular setting you are interested in will be the 'public' directory from Common, which contains your shared CSS file. Give that a try, and see if it works for you! Hope that helps, - Dan Morrill FROM: https://groups.google.com/forum/#!msg/google-web-toolkit/YMJKAm4pj7I/HBU8dVU48w8J Regards Davide On Mon, Jul 28, 2014 at 1:52 PM, Federico De Faveri defav...@gmail.com wrote: I've a GWT application split in multiple modules. I need to share a set of common defs, a color palette for example, between cssresources and uibinder files in different modules. How can I do it? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to dynamically choose locale at SuperDevMode compile time?
Hey guys, no idea at all? I would need a way to set the locale for the super dev mode compile (even from dedicated bookmarklets would be enough...) On Friday, July 18, 2014 4:10:50 PM UTC+2, Davide Cavestro wrote: It seems that the super dev mode cannot benefit from the meta tag https://code.google.com/p/google-web-toolkit/issues/detail?id=8175 defined within a dynamic host page. I originally tried switching to the cookie solution, but now I guess the compilation triggered by the bookmarklet simply ignores any locale-related info derived from the host page, such as the meta property, the query param and the cookie (set on host page domain). But this way - supposed the gwt locale should reflect some data coming from a database - we have no way to make the superdevmode aware of the chosen locale. Moreover, Thomas Broyer recently suggested http://stackoverflow.com/a/16295300/2652766 to set the locale property to the full list of supported locales: set-property name=locale value=en,fr / in order to achieve dynamic internationalization. I thought simply extending the locale property with additional values was enough, but I've found no documentation talking about multiple values for this property. But as soon as I define multiple values for the locale property, the SuperDevMode starts compiling too many permutations, eventually complaining *Multiple fragment 0 sourcemaps found. Too many permutations.* I guess this happens because it has no way to reduce the permutations based on the chosen locale (in fact it doesn't log any *binding: locale=...*). So my question is: what should I do in order to dynamically choose the locale used by SDM compiler? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
How to dynamically choose locale at SuperDevMode compile time?
It seems that the super dev mode cannot benefit from the meta tag https://code.google.com/p/google-web-toolkit/issues/detail?id=8175 defined within a dynamic host page. I originally tried switching to the cookie solution, but now I guess the compilation triggered by the bookmarklet simply ignores any locale-related info derived from the host page, such as the meta property, the query param and the cookie (set on host page domain). But this way - supposed the gwt locale should reflect some data coming from a database - we have no way to make the superdevmode aware of the chosen locale. Moreover, Thomas Broyer recently suggested http://stackoverflow.com/a/16295300/2652766 to set the locale property to the full list of supported locales: set-property name=locale value=en,fr / in order to achieve dynamic internationalization. I thought simply extending the locale property with additional values was enough, but I've found no documentation talking about multiple values for this property. But as soon as I define multiple values for the locale property, the SuperDevMode starts compiling too many permutations, eventually complaining *Multiple fragment 0 sourcemaps found. Too many permutations.* I guess this happens because it has no way to reduce the permutations based on the chosen locale (in fact it doesn't log any *binding: locale=...*). So my question is: what should I do in order to dynamically choose the locale used by SDM compiler? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT showcase site 502 error
while we wait the new URL i found it.. https://ongwt.googlecode.com/svn/trunk/com.google.gwt.sample.showcase.Showcase/Showcase.html On Thu, Jun 19, 2014 at 10:15 AM, Thomas Broyer t.bro...@gmail.com wrote: Apparently, the cluster it was hosted on has been shut down without notice. We'll move them soon, but the URL will unfortunately change, I'm afraid. On Wednesday, June 18, 2014 8:53:11 AM UTC+2, Federico De Faveri wrote: Accessing the GWT showcase site I get a 502 error. http://gwt.googleusercontent.com/samples/Showcase/Showcase.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Why GWT app didn't fire when users click on the href link that have the domain that is the same as host domain?
which type of reload did you use? On Wed, May 28, 2014 at 9:08 AM, Tom henry...@gmail.com wrote: I am using GWTP Here is the problem I have a customer page like this http://127.0.0.1:/MyProject.html?gwt.codesvr=127.0.0.1:9997#!cust;custID=1 Suppose I have this code: InlineHTML myLink=new InlineHTML(a href=\http://car.com; car /a ); When clicking on car link it went to car page. Ok, now I have other InlineHTML InlineHTML myLink=new InlineHTML(a href=\http://127.0.0.1: /MyProject.html?gwt.codesvr=127.0.0.1:9997#!cust;custID=2\ http://127.0.0.1:9997#!cust;custID=2%5C cust2 /a ); When clicking on cust2, the url changed from #!cust;custID=1 to #!cust;custID=2 just stayed there, it did not refresh the whole page or fire the page as It did in the car link example. I have not deployed my app with a real domain yet, but I think GWT app will not fire when users click on the href link that have the domain that is the same as host domain. How to fix this simple issue? http://stackoverflow.com/questions/23904871/why-gwt-app-didnt-fire-when-users-click-on-the-href-link-that-have-the-domain-t -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Why GWT app didn't fire when users click on the href link that have the domain that is the same as host domain?
or better which type of method did you use to GET the id On Wed, May 28, 2014 at 9:54 AM, Davide Micheletti d.michelett...@gmail.com wrote: which type of reload did you use? On Wed, May 28, 2014 at 9:08 AM, Tom henry...@gmail.com wrote: I am using GWTP Here is the problem I have a customer page like this http://127.0.0.1:/MyProject.html?gwt.codesvr=127.0.0.1:9997#!cust;custID=1 Suppose I have this code: InlineHTML myLink=new InlineHTML(a href=\http://car.com; car /a ); When clicking on car link it went to car page. Ok, now I have other InlineHTML InlineHTML myLink=new InlineHTML(a href=\http://127.0.0.1: /MyProject.html?gwt.codesvr=127.0.0.1:9997#!cust;custID=2\ http://127.0.0.1:9997#!cust;custID=2%5C cust2 /a ); When clicking on cust2, the url changed from #!cust;custID=1 to #!cust;custID=2 just stayed there, it did not refresh the whole page or fire the page as It did in the car link example. I have not deployed my app with a real domain yet, but I think GWT app will not fire when users click on the href link that have the domain that is the same as host domain. How to fix this simple issue? http://stackoverflow.com/questions/23904871/why-gwt-app-didnt-fire-when-users-click-on-the-href-link-that-have-the-domain-t -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Dynamic column
Using FlexTable u can use the FlexTable.setWidget(row, column, WIDGET) where you want i.e.: FlexTable t = new FlexTable(); t.setWidget(0, 0, new Button(W1)); t.setWidget(0, 1, new Button(W2)); t.setWidget(0, 2, new Button(W3)); t.setWidget(1, 0, new Button(W4)); t.setWidget(1, 1, new Button(W5)); t.setWidget(1, 2, new Button(W6)); t.setWidget(1, 3, new Button(W7)); PS: there is setHTML(row, col, HTML) too i.e.: t.setHTML(0, 0, a href=# Link 1/a); ... ... On Mon, May 26, 2014 at 5:01 PM, Kannan S mail.kanna...@gmail.com wrote: Hi All Is there any way to display say 7 items in 2 rows in GWT. I also use GXT sencha. Is there a way to implement this in either GWT or GXT? The values should be clickable with and URL embedded in it which should open a new page Please advise Kannan.S -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
MESSAGE: Communications link failure
Hi all, today my WebApp has started to give me this error com.mysql.jdbc.exceptions.jdbc4.CommunicationsException MESSAGE: Communications link failure Last packet sent to the server was 1 ms ago. STACKTRACE: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 1 ms ago. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2873) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2763) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3299) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2022) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1940) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1925) at com.macchina.server.GreetingServiceImpl.SQL_annulla_fase(GreetingServiceImpl.java:679) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) 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.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113) at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:160) at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:188) at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2329) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2774) ... 37 more ** END NESTED EXCEPTION ** from yesterday i've not changed nothing.. What's happen? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to create War file after complied GWT project?
zip the war folder and load it into the server and change the extension to .war.. ;) or use maven plugin.. if you use Eclipse: right click on your project - Export - War File On Fri, May 9, 2014 at 7:31 AM, Tom henry...@gmail.com wrote: I am quite confused about this area. Ok, I finished my app in eclipse so I clicked GWT Compile Project ... Compiling permutation 4... Compiling permutation 5... Compile of permutations succeeded Linking into C:\Users\myP\war\myApp Link succeeded Compilation succeeded -- 289.644s Now seem C:\Users\myP\war has many files like .log folders like myApp, images, WEB-INF, myP.css, myP.html, style.css Then how to create war file from C:\Users\myP\war folder? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to create War file after complied GWT project?
before change the extension and after load it into your server.. On Fri, May 9, 2014 at 8:50 AM, Davide Micheletti d.michelett...@gmail.comwrote: zip the war folder and load it into the server and change the extension to .war.. ;) or use maven plugin.. if you use Eclipse: right click on your project - Export - War File On Fri, May 9, 2014 at 7:31 AM, Tom henry...@gmail.com wrote: I am quite confused about this area. Ok, I finished my app in eclipse so I clicked GWT Compile Project ... Compiling permutation 4... Compiling permutation 5... Compile of permutations succeeded Linking into C:\Users\myP\war\myApp Link succeeded Compilation succeeded -- 289.644s Now seem C:\Users\myP\war has many files like .log folders like myApp, images, WEB-INF, myP.css, myP.html, style.css Then how to create war file from C:\Users\myP\war folder? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to create War file after complied GWT project?
is your project a Web Project?? Best way is to create a new Web project and copy data from old project into web project. if not works see this: http://www.eclipse.org/forums/index.php/t/64132/ On Fri, May 9, 2014 at 10:08 AM, Tom henry...@gmail.com wrote: when using Eclipse, it say Module name is invalid On Friday, May 9, 2014 4:50:54 PM UTC+10, Davide Micheletti wrote: zip the war folder and load it into the server and change the extension to .war.. ;) or use maven plugin.. if you use Eclipse: right click on your project - Export - War File On Fri, May 9, 2014 at 7:31 AM, Tom henr...@gmail.com wrote: I am quite confused about this area. Ok, I finished my app in eclipse so I clicked GWT Compile Project ... Compiling permutation 4... Compiling permutation 5... Compile of permutations succeeded Linking into C:\Users\myP\war\myApp Link succeeded Compilation succeeded -- 289.644s Now seem C:\Users\myP\war has many files like .log folders like myApp, images, WEB-INF, myP.css, myP.html, style.css Then how to create war file from C:\Users\myP\war folder? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to create War file after complied GWT project?
first zip second rename to myApp.war third load into webserver fourth run if you use a tomcat server use his webapp manager and deploy your proj On Fri, May 9, 2014 at 11:21 AM, Tom henry...@gmail.com wrote: i used 2nd option, zip it as war.zip, then copy war.zip into webapps folder then change to myApp.war Now i entered http:/localhost:8080/myApp but i got error 404 What does it mean? how to fix? On Friday, May 9, 2014 6:18:24 PM UTC+10, Davide Micheletti wrote: is your project a Web Project?? Best way is to create a new Web project and copy data from old project into web project. if not works see this: http://www.eclipse.org/forums/index.php/t/64132/ On Fri, May 9, 2014 at 10:08 AM, Tom henr...@gmail.com wrote: when using Eclipse, it say Module name is invalid On Friday, May 9, 2014 4:50:54 PM UTC+10, Davide Micheletti wrote: zip the war folder and load it into the server and change the extension to .war.. ;) or use maven plugin.. if you use Eclipse: right click on your project - Export - War File On Fri, May 9, 2014 at 7:31 AM, Tom henr...@gmail.com wrote: I am quite confused about this area. Ok, I finished my app in eclipse so I clicked GWT Compile Project ... Compiling permutation 4... Compiling permutation 5... Compile of permutations succeeded Linking into C:\Users\myP\war\myApp Link succeeded Compilation succeeded -- 289.644s Now seem C:\Users\myP\war has many files like .log folders like myApp, images, WEB-INF, myP.css, myP.html, style.css Then how to create war file from C:\Users\myP\war folder? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to create War file after complied GWT project?
Go to the web.xml of the manager application (for instance it could be under /tomcatX/webapps/manager/WEB-INF/web.xml. Increase the max-file-size and max-request-size multipart-config !-- 50MB max -- max-file-size52428800/max-file-size max-request-size52428800/max-request-size file-size-threshold0/file-size-threshold /multipart-config On Fri, May 9, 2014 at 11:56 AM, Tom henry...@gmail.com wrote: Message: FAIL - Deploy Upload Failed, Exception: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (96180777) exceeds the configured maximum (52428800) Desployed failed do u know how to chenge the max config? On Friday, May 9, 2014 7:27:48 PM UTC+10, Davide Micheletti wrote: first zip second rename to myApp.war third load into webserver fourth run if you use a tomcat server use his webapp manager and deploy your proj On Fri, May 9, 2014 at 11:21 AM, Tom henr...@gmail.com wrote: i used 2nd option, zip it as war.zip, then copy war.zip into webapps folder then change to myApp.war Now i entered http:/localhost:8080/myApp but i got error 404 What does it mean? how to fix? On Friday, May 9, 2014 6:18:24 PM UTC+10, Davide Micheletti wrote: is your project a Web Project?? Best way is to create a new Web project and copy data from old project into web project. if not works see this: http://www.eclipse.org/forums/index.php/t/64132/ On Fri, May 9, 2014 at 10:08 AM, Tom henr...@gmail.com wrote: when using Eclipse, it say Module name is invalid On Friday, May 9, 2014 4:50:54 PM UTC+10, Davide Micheletti wrote: zip the war folder and load it into the server and change the extension to .war.. ;) or use maven plugin.. if you use Eclipse: right click on your project - Export - War File On Fri, May 9, 2014 at 7:31 AM, Tom henr...@gmail.com wrote: I am quite confused about this area. Ok, I finished my app in eclipse so I clicked GWT Compile Project ... Compiling permutation 4... Compiling permutation 5... Compile of permutations succeeded Linking into C:\Users\myP\war\myApp Link succeeded Compilation succeeded -- 289.644s Now seem C:\Users\myP\war has many files like .log folders like myApp, images, WEB-INF, myP.css, myP.html, style.css Then how to create war file from C:\Users\myP\war folder? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group /google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to create War file after complied GWT project?
However 92 MB is really really BIG.. try to clean your project.. On Fri, May 9, 2014 at 12:21 PM, Thomas Broyer t.bro...@gmail.com wrote: On Friday, May 9, 2014 11:56:21 AM UTC+2, Tom wrote: Message: FAIL - Deploy Upload Failed, Exception: org.apache.tomcat.util.http. fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (96180777) exceeds the configured maximum (52428800) 92Mb?! and without using any build tool or dependency management? Maybe pass -deploy some folder to the GWT compiler when compiling your app and clean-up the WEB-INF/deploy folder. Also make sure you're not bundling gwt-user and/or gwt-dev. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to create War file after complied GWT project?
i've a project with 50k (client + server) code's rows and it is 30Mb.. On Fri, May 9, 2014 at 12:24 PM, Davide Micheletti d.michelett...@gmail.com wrote: However 92 MB is really really BIG.. try to clean your project.. On Fri, May 9, 2014 at 12:21 PM, Thomas Broyer t.bro...@gmail.com wrote: On Friday, May 9, 2014 11:56:21 AM UTC+2, Tom wrote: Message: FAIL - Deploy Upload Failed, Exception: org.apache.tomcat.util.http. fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (96180777) exceeds the configured maximum (52428800) 92Mb?! and without using any build tool or dependency management? Maybe pass -deploy some folder to the GWT compiler when compiling your app and clean-up the WEB-INF/deploy folder. Also make sure you're not bundling gwt-user and/or gwt-dev. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Open Browser search tool
Hi all, i want to display the search tool of the browser when i load my application and i want to display it anytime.. There is a way to do it in GWT?? Thanks in advance Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Exception while dispatching incoming RPC call
what's the code at RPC.java:579? if you have a DB, does the app connect succesfully to the DB?? On Thu, Apr 24, 2014 at 1:16 AM, Charles Nelson silkyhotli...@gmail.comwrote: I have an app that works perfectly in my development environment of eclipse/jetty. It also work fine when I deploy it locally to tomcat 7 on my development machine. But it fails on my production server with the following error, ... SEVERE: Exception while dispatching incoming RPC call at com.google.gwt.user.server. rpc.RPC.encodeResponseForFailure(RPC.java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:579) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:561) SEVERE: Exception while dispatching incoming RPC call at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC. java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:579) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:561) SEVERE: Exception while dispatching incoming RPC call at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC. java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:579) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:561) ... Help! Thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: images not showing in any browser
HTTP ERROR 404 Problem accessing /NewProject/images/1.jpg. Reason: Not Found it means that your 1.jpg is in server/NewProject/NewProject/images/1.jpg.. You can see that NewProject is twice and i think is it an error.. Can you post the Google Chrome inspector on the image? On Sat, Apr 19, 2014 at 11:58 AM, Adam adam.trund...@googlemail.com wrote: I've also tried doing the following which made no difference. Image img = new Image(); img.setUrl(Images/1.jpg); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: images not showing in any browser
when you run MyProject look at the HTML code and see the url of the image.. So you can see where is the problem in the path.. However i've a project with images and i put the image in war/Images/1.jpg and in the code i've ... ... Image img = new Image(); img.setUrl(Images/1.jpg); Panel p = new Panel(); p.add(img); ... ... On Wed, Apr 16, 2014 at 10:51 PM, Adam adam.trund...@googlemail.com wrote: Hi, i'm new to gwt programming, for some reason the image wont show in any browsers, any idea's? Also the path seems to be stuck on/myproject//MyProject/images/1.jpg Image img = new Image(/MyProject/images/12345.jpg); vPanel.add(img); [WARN] Server class 'org.eclipse.jetty.servlet.listener.ELContextCleaner' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/C:/eclipse%20se/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar' to the web app classpath for this session For additional info see: file:/C:/eclipse%20se/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/webAppClassPath.html [WARN] 404 - GET /myproject//MyProject/images/1.jpg (127.0.0.1) 1398 bytes Request headers Host: 127.0.0.1: Connection: keep-alive Accept: image/webp,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 Referer: http://127.0.0.1:/MyProject.html?gwt.codesvr=127.0.0.1:9997 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-GB,en-US;q=0.8,en;q=0.6 Response headers Content-Type: text/html;charset=ISO-8859-1 Cache-Control: must-revalidate,no-cache,no-store Content-Length: 1398 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: modélisation uml de mvp
if you write in english you will have more help.. 2014-04-11 4:23 GMT+02:00 Amir kessentini kessentini.a...@gmail.com: Salut, Je suis entrain de modéliser mon application gwt en utilisant uml. à ce stade, je trouve des difficultés pour représenter les diagrammes de séquences en utilisant l'architecture mvp. j'ai passer beaucoup de temps sur google mais vraiment j'ai pas trouvé quelque chose de valeur.il m'affiche toujours des diagrammes concernant mvc et non mvp. si quelqu'un peut m'aider n'hésite pas :) merci -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: gwt development plugin for chrome
I've the same problem but only in Win 8.1 and Win 8 On Fri, Apr 11, 2014 at 11:19 AM, abisheak Balaji usa.power...@gmail.comwrote: Hi, I have trouble running my GWT application in chrome.It asked for me to download the gwt developers plugin.When i tried downloading it pops up a message stating This application is not supported on this computer. Installation has been disabled. The following problems are detected:NPAPI plugin is required by this app How could i solve this problem? Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: (null) value only in DEV mode
stmt.setInt(1, 1); Are you sure to pass the right id?? Because you do id = rs.getInt(id); and it is suspicious because the id cannot change in your code.. However i think that your code fail in the catch before String messageString = Hello + nam + + srn + ! + message: + input; Try to return the Exception On Thu, Apr 10, 2014 at 3:06 PM, Zbyněk Kočí routh...@gmail.com wrote: Hello, Iam using RPC communication, JDBC driver (included in Tomcat libraries) DB from previous project (Java JSP only) Debian, NetBeans 7.4, Apache Tomcat 6 On server side Iam connection into the DB, retreiving data, trying to catch them immediately and next print them out in alert message (with RPC example) When I cleanbuild project, copy WAR file into the TomCat6 server it works fine in production mode and data are retreived properly, even System.out in Catalina logs works, but when Iam trying to do the same in DEV mode, it returns (null) as string text value instead. But no error message or log I guess its some kind problem with accesing JDBC or diff address location while in DEV mode at address: http://127.0.0.1:/?gwt.codesvr=127.0.0.1:9997 Iam unable to find this issue while happen only in DEV mode. Can anyone hint me whats wrong? Contect.xml (tried only / as path, maybe issue here) Context antiJARLocking=true path=/RPC Resource auth=Container driverClassName=org.postgresql.Driver maxActive=20 maxIdle=10 name=jdbc/postgres password=pass type=javax.sql.DataSource url=jdbc:postgresql:// 127.0.0.1:5432/firstdb username=user validationQuery=select 1/ /Context Connection method (I found another one, but it doesnt seem working properly) private Connection getConnection() throws NamingException, SQLException { Context ctx = null; try { ctx = new InitialContext(); } catch (NamingException exp) { } DataSource ds = (DataSource) ctx.lookup(java:/comp/env/jdbc/postgres); return (ds.getConnection()); } Still in server Impl file as the only one JAVA server-side code try { String query = SELECT * FROM users WHERE id = ?; connection = getConnection(); stmt = connection.prepareStatement(query); stmt.setInt(1, 1); rs = stmt.executeQuery(); while (rs.next()) { id = rs.getInt(id); nam = rs.getString(nam); srn = rs.getString(srn); System.out.println(nam + + srn); } and then after catch exceptions String messageString = Hello + nam + + srn + ! + message: + input; Feel free to ask me for more info/code Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Compiling problem with GWT Compiler
How many local workers? I advice to you to give a look to http://tedvinke.wordpress.com/2013/03/21/gwt-compiler-is-running-out-of-memory/ bye, Davide 2014-04-10 13:44 GMT+02:00 Minjin19 shinobiofm...@googlemail.com: Hi everyone, Im having big issues with the compilation of my project, there is already a GWT Web application running. As a side-project I now want to make a mobile application of my already existing GWT Web application. I already changed some widgets from GWT to mgwt and the project runs without a problem. The only thing I cannot do is compiling my project. Errors that I get when trying to compile with the GWT Compiler: Java heap space and Unable to read from byte cache. I already increased the size of the arguments and I also deleted all files from the folder unitcache. I also tried to compile my project without mgwt and it compiles without a problem. So it must be something wrong with mgwt or the way I implemented it. But I don´t think so, since I followed the Tutorials. What could be the problem? Can somebody please help me? Im using: GWT 2.5.1 JRE7 32 Bit Windows XP on a Laptop mgwt 1.2.1 Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- -- Davide Cerbo --- www.linkedin.com/in/davidecerbo + 39 329 70 81 927 --- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: using gwt with hibernate example
NoSuchMethodError Have you added it into your server's interfaces?? If yes, have you reloaded the server class? On Wed, Apr 9, 2014 at 1:59 PM, Daniel Plop daniel.plop1...@gmail.comwrote: I get following error when trying to add a record: Starting Jetty on port [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.Long com.google.musicstore.client.MusicStoreService.saveRecord(com.google.musicstore.client.dto.RecordDTO)' threw an unexpected exception: java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session; at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579) 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.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session; at com.google.musicstore.server.MusicStoreServiceImpl.saveRecord(MusicStoreServiceImpl.java:68) 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:561) ... 22 more I don't understand what could be the problem ? On Saturday, 29 March 2014 14:30:06 UTC+1, Mic L wrote: HI, I have found a nice article using gwt with hibernate examplehttp://www.gwtproject.org/articles/using_gwt_with_hibernate.html. However, I have trouble to import this codehttp://google-web-toolkit.googlecode.com/files/gwt_hibernate_dto.zipinto Eclipse. I always get the following warnings, but the app does not start: [WARN] Server class 'org.eclipse.jetty.servlet.listener.ELContextCleaner' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/home/mic/apps/eclipse/ plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar' to the web app classpath for this session For additional info see: file:/home/mic/apps/eclipse/ plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/ webAppClassPath.html [WARN] No startup URLs supplied and no plausible ones found -- use -startupUrl How is it possible to import the code into Eclipse and would ActiveJDBChttp://en.wikipedia.org/wiki/ActiveJDBCsolves Hibernates problems? Thank you in advance. Mic -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To
Hide a DialogBox without close it..
Hi all... is there a way to hide a DialogBox without close it?? Thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Hide a DialogBox without close it..
Thanks.. i didn't saw this function.. On Wed, Apr 9, 2014 at 3:58 PM, Thomas Broyer t.bro...@gmail.com wrote: What's the difference? (have you looked at setVisible?) On Wednesday, April 9, 2014 3:29:41 PM UTC+2, Davide Micheletti wrote: Hi all... is there a way to hide a DialogBox without close it?? Thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Catch DC from DataBase
Hi all, i'm developing an application that can stay without actions for some minutes/hours.. The problem is that after some minutes the server (or the DB) disconnects from the DB (or the server).. So how can i catch this disconnection from DB? And what can i do to solve it? Thanks.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Catch DC from DataBase
Thanks and sorry for the OT..i thought that GWT had a function that permits to control the connection to the DB.. i have not the possibility to change the JDBC so i'm thinking to create an auto refresh connection only if there are some minutes of dead time.. But i don't know if there is something ready.. For example if the max dead time are 5 minutes i want to refresh only if ALL the 5 minutes are passed On Tue, Apr 8, 2014 at 11:03 AM, joerg.hohwil...@googlemail.com joerg.hohwil...@googlemail.com wrote: Hi Davide, this is not really a GWT related question. However, you should figure out what is actually causing the disconnect. The typical approach in Java is to use a DB connection pool like c3p0 or commons-dbcp. Some drivers like oracle also come with their own pool implementation. IMHO also the new JDBC model supports it but that may be not available to todays production setups. The Springframework offers nice and seamless integration of connection pooling with other aspects such as JPA. Cheers Jörg Am Dienstag, 8. April 2014 08:23:57 UTC+2 schrieb Davide Micheletti: Hi all, i'm developing an application that can stay without actions for some minutes/hours.. The problem is that after some minutes the server (or the DB) disconnects from the DB (or the server).. So how can i catch this disconnection from DB? And what can i do to solve it? Thanks.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Similar to php post method
Simply add the clickHandler in the for() after the creating of div.. something like these: for(int i=0; i4; i++){ HTML div = new HTML(a href=\+numLink[i]+\Link+(i+1)+/a); mainPanel.add(div); final int app = i+1; div.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { Window.alert(Pressed + app); } }); } On Sat, Apr 5, 2014 at 4:50 PM, Matteo Fioravanti theking...@gmail.comwrote: Hi there, a function have this code to generate a list of event formatted with html and css. for (int i = 0; i 10; i++) { HTML div = new HTML (a href=\+numLink[i]+\Link/a); RootPanel.get(mainLayout).add(div); } It 'a code for demonstration purposes, but my goal is to handle a clickhandler foreach link, I should also be good to change the tag with a div if necessary. In php+html this it was very clear for me, but in gwt i don't understand what i should i do. When I click the link I have to activate a feature that let me change the html code of the page, help me please! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Why setHTML(tabletr../tr/table); but then getHTML(); return tabletbodytr../tr/tbody/table (Gwt)?
getHTML return the html of the widget that you specify like param (myInlineHtml).. try to use the getText(); or the getWidget(); setHTML set an HTML IN the calling widget.. However, what myInlineHtml is? On Sun, Apr 6, 2014 at 5:35 PM, Tom henry...@gmail.com wrote: Also, Does this happen independently from browsers or dependently from browsers? cos that is serious. So getHTML return value based on the Browser or based on the Gwt mechanism? On Monday, April 7, 2014 1:24:42 AM UTC+10, Tom wrote: I don't understand how Gwt setHTML getHTML work. It doesn't seem to be consistent. Let see this example: myInlineHtml.setHTML(SafeHtmlUtils.fromSafeConstant(tabletrtdTest/td/tr/table)); System.out.println(myInlineHtml.getHTML()); Output: tabletbodytrtdTest/td/tr/tbody/table Clearly when we set the html for myInlineHtml we don't have tbody/tbody, but when we getHTML from myInlineHtml then Gwt include tbody/tbody. Why that's happen cos it can cause the confused when you want to get Html value u thought it has the same value I the time we set it but it hasn't? also: http://stackoverflow.com/questions/22895956/why- sethtmltabletr-tr-table-but-then-gethtml-return-tablet -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Why setHTML(tabletr../tr/table); but then getHTML(); return tabletbodytr../tr/tbody/table (Gwt)?
try myInlineHtml.getwidget(); it return the HTML widget.. probably with div tags but without all the table structure Ex: VerticalPanel mainPanel = new VerticalPanel(); RootPanel.get().add(mainPanel); mainPanel.add(new HTML(bHello/b)); System.out.println(mainPanel.getWidget(0)); output- div class=gwt-HTMLbHello/b/div after that you can do an easy function that cuts off the div tags.. On Mon, Apr 7, 2014 at 8:43 AM, Tom henry...@gmail.com wrote: myInlineHtml.getText() only return the text, it won't take the html tag. Ex: myInlineHtml.setHTML(btest/b); myInlineHtml.getHTML(); will return test without b tags. On Monday, April 7, 2014 1:35:50 AM UTC+10, Tom wrote: Also, Does this happen independently from browsers or dependently from browsers? cos that is serious. So getHTML return value based on the Browser or based on the Gwt mechanism? On Monday, April 7, 2014 1:24:42 AM UTC+10, Tom wrote: I don't understand how Gwt setHTML getHTML work. It doesn't seem to be consistent. Let see this example: myInlineHtml.setHTML(SafeHtmlUtils.fromSafeConstant(tabletrtdTest/td/tr/table)); System.out.println(myInlineHtml.getHTML()); Output: tabletbodytrtdTest/td/tr/tbody/table Clearly when we set the html for myInlineHtml we don't have tbody/tbody, but when we getHTML from myInlineHtml then Gwt include tbody/tbody. Why that's happen cos it can cause the confused when you want to get Html value u thought it has the same value I the time we set it but it hasn't? also: http://stackoverflow.com/questions/22895956/why- sethtmltabletr-tr-table-but-then-gethtml-return-tablet -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: flextable rows
for(col = 0; col 3; col++) FlexTable.clearCell(row, column); FlexTable.removeRow(row_to_delete); that removes the Widgets from the row and if there aren't widgets the contents will be only cleared.. However if you use the standard function, insertRow(int beforeRow) of gwt, it right that the new row is blank.. On Fri, Apr 4, 2014 at 5:16 AM, Amir kessentini kessentini.a...@gmail.comwrote: i found a solution but i'm in trouble again :( each row containes 3 textBox.when i click on button delete row it works fine but when i try to add new row it's make a blank row. i have a problem on my delete row.i guess i don't have to remove the row but to remove the textbox on this row. how to do that ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: flextable rows
EDIT: FlexTable.clearCell(row_to_delete, column); On Fri, Apr 4, 2014 at 12:21 PM, Davide Micheletti d.michelett...@gmail.com wrote: for(col = 0; col 3; col++) FlexTable.clearCell(row, column); FlexTable.removeRow(row_to_delete); that removes the Widgets from the row and if there aren't widgets the contents will be only cleared.. However if you use the standard function, insertRow(int beforeRow) of gwt, it right that the new row is blank.. On Fri, Apr 4, 2014 at 5:16 AM, Amir kessentini kessentini.a...@gmail.com wrote: i found a solution but i'm in trouble again :( each row containes 3 textBox.when i click on button delete row it works fine but when i try to add new row it's make a blank row. i have a problem on my delete row.i guess i don't have to remove the row but to remove the textbox on this row. how to do that ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: browse a file from my desktop
you can find a lot of tutorial googling gwt fileupload servlet.. here u can find the Javadoc and 2 examples with explanations.. http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/FileUpload.html http://www.jroller.com/hasant/entry/fileupload_with_gwt http://www.celinio.net/techblog/?p=1207 Personally i used that class, modifying what i needed.. On Thu, Apr 3, 2014 at 12:36 AM, imen boukhris imen.boukhr...@gmail.comwrote: Hi GWT community, how can i upload a file to server from my desktop in my google web toolkit project.Anyone could provide me with good tutorial that explain the file upload solution from start to end please. thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: browse a file from my desktop
bdoctestrequest i think is your project.. That error comes when you don't create the server's upload directory or you have written something wrong in web.xml.. feel free to post it.. ps: sorry for my bad english.. On Thu, Apr 3, 2014 at 11:09 AM, imen boukhris imen.boukhr...@gmail.comwrote: thank you so much Davide Micheletti i tried this tutorial http://www.jroller.com/hasant/entry/fileupload_with_gwt; but i had this problem. can you help me please . -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
ResultSet empty is not catched
Hi all, i've these code to know if the resultSet is empty sql = SELECT MIN(date) FROM table1 WHERE date +data1; Statement s = conn.createStatement(); ResultSet rset = s.executeQuery(sql); // it can be empty if(rset.next()){ // DO SOMETHING } else { // DO OTHER THINGS } but if the resultSet is empty it isn't catched.. Why?? is for the MIN() function in the SQL?? if yes what can i do?? Thanks Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: ResultSet empty is not catched
Are you sure that this is the correct maillist you ask this question You're right it was for another forum.. i'm sorry.. However i've try your solution and these is not working.. I see that min() function return ever 1 row though is an empty row. Thanks.. On Fri, Mar 14, 2014 at 12:05 PM, Lothar Kimmeringer j...@kimmeringer.dewrote: Am 14.03.2014 11:52, schrieb Davide Micheletti: Hi all, i've these code to know if the resultSet is empty sql = SELECT MIN(date) FROM table1 WHERE date +data1; Statement s = conn.createStatement(); ResultSet rset = s.executeQuery(sql); // it can be empty if(rset.next()){ // DO SOMETHING } else { // DO OTHER THINGS } but if the resultSet is empty it isn't catched.. Why?? is for the MIN() function in the SQL?? if yes what can i do?? Are you sure that this is the correct maillist you ask this question? But to answer your question, you can do it e.g. select date from table1 where date + data1 + order by 1 asc limit 1 Please don't use this code productively since it's vulnerable to SQL-injection-attacks. Regards, Lothar -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
onClick and onDoubleClick
Hi all, is there a method to differentiate the events onClick and onDoubleClick on the same widget?? i have a flextable and i need to do two different things if i do a single click or a double click on it. table.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { System.out.printl(i'm a single click); } }); table.addDoubleClickHandler(new DoubleClickHandler() { public void onDoubleClick(DoubleClickEvent event) { System.out.println(i'm a double click); } }); Now if i do only single clicks all work great but if i do doubleClick on my table this is the result: Click - DoubleClick real-output:what i need output: i'm a single click i'm a single click i'm a single click i'm a double click i'm a single click i'm a double click so, can i do a double click without that the single click event is call? Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: onClick and onDoubleClick
Thanks Jens.. i will implement it by myself.. On Thu, Mar 13, 2014 at 10:31 AM, Jens jens.nehlme...@gmail.com wrote: so, can i do a double click without that the single click event is call? No. A double click consists of two single clicks. If the browser would only give you a single double click event that would mean the browser has to wait after a single click to see if a second single click occurs. But this in turn means that all single clicks are delayed for a short period of time by the browser which can feel bad. This is kind of the same situation as with touch tablets and click events. Whenever you tap on a tablet screen the click event will be delayed 300ms because the touch device needs to figure out if you wanted to zoom-in via a possible double tap. You have to implement that logic yourself if you need it. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: clickHandler goes in loop
its a long code, however in summary: in tab1 i've a table (table1) with a clickHandler that depends from another table (table2) in tab2 i've only display some db data code when i switch tab if (tabLayoutPanel.getSelectedIndex() == 0) { // tab1 build_tab1(); clear_TAB2(); tabLayoutPanel.setSize(100%, 1245px); }else if (tabLayoutPanel.getSelectedIndex() == 1) { // tab2 build_tab2(); clear_TAB1(); tabLayoutPanel.setSize(100%, 1245px); } code tab1 table1.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { bool t = Window.confirm(continue?) if(t is a radioButton in table2 checked??) server call for db data table1.settext(r,c,something i need); else Window.alert(select something in table2); } }); now the problem is that if i change tab and i return in tab 1 the code in onClick() is runned n time where n is the number of times that i switched tab On Thu, Mar 6, 2014 at 6:46 PM, Thomas Broyer t.bro...@gmail.com wrote: Show your code? On Thursday, March 6, 2014 6:22:01 PM UTC+1, Davide Micheletti wrote: Hi all, i've a tabLayoutPanel and in every tab there is a widget with a click Handler.. If i switch tab and i click on the widget with click Handler the code is runned 2 time for every switched tab.. Where i fail?? thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: clickHandler goes in loop
i don't understand your answer.. how can i call an addClick handler of a table in 2 different tab? On Fri, Mar 7, 2014 at 11:01 AM, Thomas Broyer t.bro...@gmail.com wrote: I suspect you're calling addClickHandler each time you switch tab. Just try to do it once only. On Friday, March 7, 2014 9:11:40 AM UTC+1, Davide Micheletti wrote: its a long code, however in summary: in tab1 i've a table (table1) with a clickHandler that depends from another table (table2) in tab2 i've only display some db data code when i switch tab if (tabLayoutPanel.getSelectedIndex() == 0) { // tab1 build_tab1(); clear_TAB2(); tabLayoutPanel.setSize(100%, 1245px); }else if (tabLayoutPanel.getSelectedIndex() == 1) { // tab2 build_tab2(); clear_TAB1(); tabLayoutPanel.setSize(100%, 1245px); } code tab1 table1.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { bool t = Window.confirm(continue?) if(t is a radioButton in table2 checked??) server call for db data table1.settext(r,c,something i need); else Window.alert(select something in table2); } }); now the problem is that if i change tab and i return in tab 1 the code in onClick() is runned n time where n is the number of times that i switched tab On Thu, Mar 6, 2014 at 6:46 PM, Thomas Broyer t.br...@gmail.com wrote: Show your code? On Thursday, March 6, 2014 6:22:01 PM UTC+1, Davide Micheletti wrote: Hi all, i've a tabLayoutPanel and in every tab there is a widget with a click Handler.. If i switch tab and i click on the widget with click Handler the code is runned 2 time for every switched tab.. Where i fail?? thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: clickHandler goes in loop
i did it.. it is called by himself.. i follow all the process step by step and at the end of the clickHandler it goes in dispatchEvent(event, handler) of SimpleEventBuss.class and it returns to the onClick of my project.. What can i do? On Fri, Mar 7, 2014 at 11:14 AM, Thomas Broyer t.bro...@gmail.com wrote: I honestly have no idea, given the code snippets you showed. But put a breakpoint on your addClickHandler and see when it's being called, and where it's called from (look at the call stack in your IDE) On Friday, March 7, 2014 11:06:03 AM UTC+1, Davide Micheletti wrote: i don't understand your answer.. how can i call an addClick handler of a table in 2 different tab? On Fri, Mar 7, 2014 at 11:01 AM, Thomas Broyer t.br...@gmail.com wrote: I suspect you're calling addClickHandler each time you switch tab. Just try to do it once only. On Friday, March 7, 2014 9:11:40 AM UTC+1, Davide Micheletti wrote: its a long code, however in summary: in tab1 i've a table (table1) with a clickHandler that depends from another table (table2) in tab2 i've only display some db data code when i switch tab if (tabLayoutPanel.getSelectedIndex() == 0) { // tab1 build_tab1(); clear_TAB2(); tabLayoutPanel.setSize(100%, 1245px); }else if (tabLayoutPanel.getSelectedIndex() == 1) { // tab2 build_tab2(); clear_TAB1(); tabLayoutPanel.setSize(100%, 1245px); } code tab1 table1.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { bool t = Window.confirm(continue?) if(t is a radioButton in table2 checked??) server call for db data table1.settext(r,c,something i need); else Window.alert(select something in table2); } }); now the problem is that if i change tab and i return in tab 1 the code in onClick() is runned n time where n is the number of times that i switched tab On Thu, Mar 6, 2014 at 6:46 PM, Thomas Broyer t.br...@gmail.comwrote: Show your code? On Thursday, March 6, 2014 6:22:01 PM UTC+1, Davide Micheletti wrote: Hi all, i've a tabLayoutPanel and in every tab there is a widget with a click Handler.. If i switch tab and i click on the widget with click Handler the code is runned 2 time for every switched tab.. Where i fail?? thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: clickHandler goes in loop
i'm sure, i run it step by step and at the end of onClick it runs SimpleEventBuss's function and return to onclick.. the time depend to how many time i switched tab.. 1 switch 1 repeat -- onload tab1 switch tab2 return to tab1 2 switch 2 repeat -- onload tab1 switch tab2 return to tab1 switch tab2 return to tab1 3 switch 3 repeat -- onload tab1 switch tab2 return to tab1 switch tab2 return to tab1 switch tab2 return to tab1 .. On Fri, Mar 7, 2014 at 12:07 PM, Thomas Broyer t.bro...@gmail.com wrote: On Friday, March 7, 2014 12:00:22 PM UTC+1, Davide Micheletti wrote: i did it.. it is called by himself.. Sure, but when? and how many times? i follow all the process step by step and at the end of the clickHandler it goes in dispatchEvent(event, handler) of SimpleEventBuss.class and it returns to the onClick of my project.. What can i do? On Fri, Mar 7, 2014 at 11:14 AM, Thomas Broyer t.br...@gmail.com wrote: I honestly have no idea, given the code snippets you showed. But put a breakpoint on your addClickHandler and see when it's being called, and where it's called from (look at the call stack in your IDE) On Friday, March 7, 2014 11:06:03 AM UTC+1, Davide Micheletti wrote: i don't understand your answer.. how can i call an addClick handler of a table in 2 different tab? On Fri, Mar 7, 2014 at 11:01 AM, Thomas Broyer t.br...@gmail.comwrote: I suspect you're calling addClickHandler each time you switch tab. Just try to do it once only. On Friday, March 7, 2014 9:11:40 AM UTC+1, Davide Micheletti wrote: its a long code, however in summary: in tab1 i've a table (table1) with a clickHandler that depends from another table (table2) in tab2 i've only display some db data code when i switch tab if (tabLayoutPanel.getSelectedIndex() == 0) { // tab1 build_tab1(); clear_TAB2(); tabLayoutPanel.setSize(100%, 1245px); }else if (tabLayoutPanel.getSelectedIndex() == 1) { // tab2 build_tab2(); clear_TAB1(); tabLayoutPanel.setSize(100%, 1245px); } code tab1 table1.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { bool t = Window.confirm(continue?) if(t is a radioButton in table2 checked??) server call for db data table1.settext(r,c,something i need); else Window.alert(select something in table2); } }); now the problem is that if i change tab and i return in tab 1 the code in onClick() is runned n time where n is the number of times that i switched tab On Thu, Mar 6, 2014 at 6:46 PM, Thomas Broyer t.br...@gmail.comwrote: Show your code? On Thursday, March 6, 2014 6:22:01 PM UTC+1, Davide Micheletti wrote: Hi all, i've a tabLayoutPanel and in every tab there is a widget with a click Handler.. If i switch tab and i click on the widget with click Handler the code is runned 2 time for every switched tab.. Where i fail?? thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group /google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from
Re: clickHandler goes in loop
If addClickHandler is called at the time you switch from tab to tab, then you just found the culprit: refactor your code to make it so that it's only called once. ok with this i find my error.. when i refresh the tab (with build_tab()) i re-write the clickHandler.. however i need to clean the tab because i've some global object (table1 for example) and if i didn't clean it would been re-added to the tab twice.. However thanks for the answer and the patience On Fri, Mar 7, 2014 at 12:23 PM, Thomas Broyer t.bro...@gmail.com wrote: That wasn't my question. How many times is addClickHandler called? (not the ClickHandler's onClick, the addClickHandler itself) And where is it called from? (not the exact call site obviously; but in response to which kind of events?) If addClickHandler is called at the time you switch from tab to tab, then you just found the culprit: refactor your code to make it so that it's only called once. (to be honest, that call to build_tab1 in response to tab switching looks suspicious; and I don't quite understand why you need to clean_tab2 at that time either; but you really didn't give much information on what you're trying to do and how you've organized your code and flow of events/actions) On Friday, March 7, 2014 12:13:07 PM UTC+1, Davide Micheletti wrote: i'm sure, i run it step by step and at the end of onClick it runs SimpleEventBuss's function and return to onclick.. the time depend to how many time i switched tab.. 1 switch 1 repeat -- onload tab1 switch tab2 return to tab1 2 switch 2 repeat -- onload tab1 switch tab2 return to tab1 switch tab2 return to tab1 3 switch 3 repeat -- onload tab1 switch tab2 return to tab1 switch tab2 return to tab1 switch tab2 return to tab1 .. On Fri, Mar 7, 2014 at 12:07 PM, Thomas Broyer t.br...@gmail.com wrote: On Friday, March 7, 2014 12:00:22 PM UTC+1, Davide Micheletti wrote: i did it.. it is called by himself.. Sure, but when? and how many times? i follow all the process step by step and at the end of the clickHandler it goes in dispatchEvent(event, handler) of SimpleEventBuss.class and it returns to the onClick of my project.. What can i do? On Fri, Mar 7, 2014 at 11:14 AM, Thomas Broyer t.br...@gmail.comwrote: I honestly have no idea, given the code snippets you showed. But put a breakpoint on your addClickHandler and see when it's being called, and where it's called from (look at the call stack in your IDE) On Friday, March 7, 2014 11:06:03 AM UTC+1, Davide Micheletti wrote: i don't understand your answer.. how can i call an addClick handler of a table in 2 different tab? On Fri, Mar 7, 2014 at 11:01 AM, Thomas Broyer t.br...@gmail.comwrote: I suspect you're calling addClickHandler each time you switch tab. Just try to do it once only. On Friday, March 7, 2014 9:11:40 AM UTC+1, Davide Micheletti wrote: its a long code, however in summary: in tab1 i've a table (table1) with a clickHandler that depends from another table (table2) in tab2 i've only display some db data code when i switch tab if (tabLayoutPanel.getSelectedIndex() == 0) { // tab1 build_tab1(); clear_TAB2(); tabLayoutPanel.setSize(100%, 1245px); }else if (tabLayoutPanel.getSelectedIndex() == 1) { // tab2 build_tab2(); clear_TAB1(); tabLayoutPanel.setSize(100%, 1245px); } code tab1 table1.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { bool t = Window.confirm(continue?) if(t is a radioButton in table2 checked??) server call for db data table1.settext(r,c,something i need); else Window.alert(select something in table2); } }); now the problem is that if i change tab and i return in tab 1 the code in onClick() is runned n time where n is the number of times that i switched tab On Thu, Mar 6, 2014 at 6:46 PM, Thomas Broyer t.br...@gmail.comwrote: Show your code? On Thursday, March 6, 2014 6:22:01 PM UTC+1, Davide Micheletti wrote: Hi all, i've a tabLayoutPanel and in every tab there is a widget with a click Handler.. If i switch tab and i click on the widget with click Handler the code is runned 2 time for every switched tab.. Where i fail?? thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com . Visit this group at http://groups.google.com/group /google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails
Re: clickHandler goes in loop
yes i've solved.. thanks.. On Fri, Mar 7, 2014 at 12:47 PM, Alberto Mancini ab.manc...@gmail.comwrote: Hi, code tab1 is executed in build_tab1(); ? in that case if variable table1 is not local you are adding a new clickhandler at each call of code when i switch tab my 2c. Alberto. On Fri, Mar 7, 2014 at 9:11 AM, Davide Micheletti d.michelett...@gmail.com wrote: its a long code, however in summary: in tab1 i've a table (table1) with a clickHandler that depends from another table (table2) in tab2 i've only display some db data code when i switch tab if (tabLayoutPanel.getSelectedIndex() == 0) { // tab1 build_tab1(); clear_TAB2(); tabLayoutPanel.setSize(100%, 1245px); }else if (tabLayoutPanel.getSelectedIndex() == 1) { // tab2 build_tab2(); clear_TAB1(); tabLayoutPanel.setSize(100%, 1245px); } code tab1 table1.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { bool t = Window.confirm(continue?) if(t is a radioButton in table2 checked??) server call for db data table1.settext(r,c,something i need); else Window.alert(select something in table2); } }); now the problem is that if i change tab and i return in tab 1 the code in onClick() is runned n time where n is the number of times that i switched tab On Thu, Mar 6, 2014 at 6:46 PM, Thomas Broyer t.bro...@gmail.com wrote: Show your code? On Thursday, March 6, 2014 6:22:01 PM UTC+1, Davide Micheletti wrote: Hi all, i've a tabLayoutPanel and in every tab there is a widget with a click Handler.. If i switch tab and i click on the widget with click Handler the code is runned 2 time for every switched tab.. Where i fail?? thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com . Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
clickHandler goes in loop
Hi all, i've a tabLayoutPanel and in every tab there is a widget with a click Handler.. If i switch tab and i click on the widget with click Handler the code is runned 2 time for every switched tab.. Where i fail?? thanks.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Download Servlet doesn't work
Hi all.. i've 2 project with the same downloadservlet but in the second project the Download doesn't work.. WHY?? Here my second web.xml (here the download doesn't work) ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 xmlns=http://java.sun.com/xml/ns/javaee; !-- Servlets -- !-- DOWNLOAD -- servlet servlet-nameDownloadServlet/servlet-name servlet-classcom.pannelli.controllo.server.DownloadServlet/servlet-class /servlet servlet-mapping servlet-nameDownloadServlet/servlet-name url-pattern/pannelli_di_controllo/download/url-pattern /servlet-mapping !-- * -- !-- UPLOAD -- servlet servlet-nameuploadServlet/servlet-name servlet-classcom.pannelli.controllo.server.FileUploadServlet/servlet-class /servlet servlet-mapping servlet-nameuploadServlet/servlet-name url-pattern/pannelli_di_controllo/upload/url-pattern /servlet-mapping !-- * -- !-- STANDARD -- servlet servlet-namegreetServlet/servlet-name servlet-classcom.pannelli.controllo.server.GreetingServiceImpl/servlet-class /servlet servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/pannelli_di_controllo/greet/url-pattern /servlet-mapping !-- * -- !-- * -- !-- Default page to serve -- welcome-file-list welcome-filePannelli_di_controllo.html/welcome-file /welcome-file-list /web-app -- the first web.xml (here download works fine) ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 xmlns=http://java.sun.com/xml/ns/javaee; !-- Servlets -- !-- DOWNLOAD -- servlet servlet-nameDownloadServlet/servlet-name servlet-classcom.appoggio.server.DownloadServlet/servlet-class /servlet servlet-mapping servlet-nameDownloadServlet/servlet-name url-pattern/appoggio/download/url-pattern /servlet-mapping !-- * -- !-- UPLOAD -- servlet servlet-nameuploadServlet/servlet-name servlet-classcom.appoggio.server.FileUploadServlet/servlet-class /servlet servlet-mapping servlet-nameuploadServlet/servlet-name url-pattern/appoggio/upload/url-pattern /servlet-mapping !-- * -- !-- NORMAL -- servlet servlet-namegreetServlet/servlet-name servlet-classcom.appoggio.server.GreetingServiceImpl/servlet-class /servlet servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/appoggio/greet/url-pattern /servlet-mapping !-- * -- !-- * -- !-- Default page to serve -- welcome-file-list welcome-fileAppoggio.html/welcome-file /welcome-file-list /web-app The DownloadServlet class is the same in everything.. Thanks in advance.. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Download Servlet doesn't work
i know, but when i try to download a file i've some communications (dest folder, fileName etc etc) in the doGet() of the DownloadServlet class but no messages are displayed.. On Tue, Mar 4, 2014 at 12:32 PM, Jens jens.nehlme...@gmail.com wrote: The DownloadServlet class is the same in everything.. Maybe thats the problem. The above XML doesn't look wrong. Normally, if something does not work, you have some kind of an error message that should already tell you WHY it doesn't work. So go and search your error message. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Download Servlet doesn't work
Solved! i had an anchor with url and i switched it with an HTML a tag and now it works.. On Tue, Mar 4, 2014 at 1:32 PM, Jens jens.nehlme...@gmail.com wrote: i know, but when i try to download a file i've some communications (dest folder, fileName etc etc) in the doGet() of the DownloadServlet class but no messages are displayed.. Look at your server log file, add log statements to your code if needed. Or run your server in debug mode and debug the code from your IDE to see what is happening. You should know how to debug your code. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Download Servlet doesn't work
however in the server log there were any errors. On Tue, Mar 4, 2014 at 2:24 PM, Davide Micheletti d.michelett...@gmail.comwrote: Solved! i had an anchor with url and i switched it with an HTML a tag and now it works.. On Tue, Mar 4, 2014 at 1:32 PM, Jens jens.nehlme...@gmail.com wrote: i know, but when i try to download a file i've some communications (dest folder, fileName etc etc) in the doGet() of the DownloadServlet class but no messages are displayed.. Look at your server log file, add log statements to your code if needed. Or run your server in debug mode and debug the code from your IDE to see what is happening. You should know how to debug your code. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Download File GWT
Hi all.. I need to know how to use DownloadServlet.. I tried to implement it but i don't understand how to continue the code.. here my implementation public class DownloadServlet extends HttpServlet{ protected void doGet( HttpServletRequest req, HttpServletResponse resp ) throws ServletException, IOException { String fileName = req.getParameter( fileInfo1 ); int BUFFER = 1024 * 100; resp.setContentType( application/octet-stream ); resp.setHeader( Content-Disposition:, attachment;filename= + \ + fileName + \ ); ServletOutputStream outputStream = resp.getOutputStream(); resp.setContentLength( Long.valueOf( getfile(fileName).length() ).intValue() ); resp.setBufferSize( BUFFER ); //Your IO code goes here to create a file and set to outputStream// } } what do i need now??.. Thanks in advance Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
download without extension
Hi all. i need to download file without extension, but when i try to download it the dialog who let me to download save it automatically with some extension. What can i do? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)
I've patched the original file in order to provide - better exit status handling - alternative output type (a textual representation of the deps tree) - possibility to write on the standard output Follows an excerpt from the dependency tree --+com.google.gwt.user.UserAgent | `--+com.google.gwt.useragent.UserAgent | +--+com.google.gwt.core.CoreWithUserAgent | | | +--+com.google.gwt.core.EmulateJsStack | | | `--com.google.gwt.core.CompilerParameters | `--+com.google.gwt.emul.EmulationWithUserAgent | `--+com.google.gwt.emul.Emulation | `--com.google.gwt.logging.LogImpl It works quite fine for me (integrated it into a gradle script) and I'd like to propose a patch, but I've never used gerrit, so I don't know how to propose a new patch to the existing review. May I post the changed file here? Cheers Davide On Tuesday, February 25, 2014 3:31:28 PM UTC+1, Thomas Broyer wrote: On Tuesday, February 25, 2014 3:25:47 PM UTC+1, Davide Cavestro wrote: Hi all, I am in the process of switching linker to Cross-Site-Iframe in order to obtain the compatibility with superdevmode, so I'd like to locate and remove the script tags from the modules I'm inheriting from (since this linker doesn't support them). Now I'm just wondering if there's an easy way to obtain from the gwt compiler or other tools the *graph of inherited modules* (possibly transitive). It would be really useful in order to avoid having to manually read every inherited module to find additional inherited modules and so on. Also, having a clear graph of this kind of dependencies would be a good check tool especially when you depend on 3rd party modules. I once wrote a tiny tool that does just that: https://gwt-review.googlesource.com/1210 Or you could just compile with -logLevel DEBUG and grep for Loading inherited module -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Any DTD for GWT 2.6.0?
I'm just wondering if there's a DTD available for *.gwt.xml* file related with the 2.6.0 release I'd expect to find it at http://google-web-toolkit.googlecode.com/svn/ tags/2.6.0/distro-source/core/src/gwt-module.dtd but actually there's no 2.6.0 tag into svn repo -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)
Hi all, I am in the process of switching linker to Cross-Site-Iframe in order to obtain the compatibility with superdevmode, so I'd like to locate and remove the script tags from the modules I'm inheriting from (since this linker doesn't support them). Now I'm just wondering if there's an easy way to obtain from the gwt compiler or other tools the *graph of inherited modules* (possibly transitive). It would be really useful in order to avoid having to manually read every inherited module to find additional inherited modules and so on. Also, having a clear graph of this kind of dependencies would be a good check tool especially when you depend on 3rd party modules. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Different border for different cells
Like title i would like to have different border for different cells in the same table.. I tried it but it doesn't work .table, .table td { border: thin groove; } .cell1 { } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Different border for different cells
cell1{ border: 5px solid; } why it isn't working? Thanks On Tue, Feb 25, 2014 at 3:38 PM, Davide Micheletti d.michelett...@gmail.com wrote: Like title i would like to have different border for different cells in the same table.. I tried it but it doesn't work .table, .table td { border: thin groove; } .cell1 { } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)
I've seen that SmartGWT provided the *NoScript* flavour for their modules, i.e. instead of inheriting from *SmartGwt* you inherit from *SmartGwtNoScript.* I've seen also adding set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/ to your .gwt.xml file works (as suggested by the compiler). 2014-02-26 3:20 GMT+01:00 Srini v gvssrini...@gmail.com: We have an issue similar to it where we want to move to xsi frame linker but what if you have third party dependent modules which have script tag in their module XML. Did anyone face the same issue and solved it? On Tuesday, 25 February 2014, Jens jens.nehlme...@gmail.com wrote: Not officially I think, but in GWT's code review tool there is a patch lingering around for a long time: https://gwt-review.googlesource.com/#/c/1210/ Not sure if it needs a little love again to work with GWT 2.6 but its probably a good starting point. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/QLdcqcXXMtk/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: SuperDevMode on/off bookmarklets aren't compatible with frames
The problem was that I didn't adapted the script portion that saves the __gwt_bookmarklet_params variable (it should work on the frame window). So since in my case the frame was called 'sheet', at the end for me it was enough adapting it this way javascript:%7B var sheetFrame %3D document.getElementById('sheet') %3B sheetFrame.contentWindow.__gwt_bookmarklet_params %3D %7B'server_url'%3A'http%3A%2F%2Flocalhost%3A9876%2F'%7D%3B var s %3D sheetFrame.contentWindow.document.createElement('script')%3B s.src %3D 'http%3A%2F%2Flocalhost%3A9876%2Fdev_mode_on.js'%3B void(sheetFrame.contentWindow.document.getElementsByTagName('head')%5B0%5D.appendChild(s))%3B%7D that is simply the URL encoded version of javascript:{ var sheetFrame = document.getElementById('sheet') ; sheetFrame.contentWindow.__gwt_bookmarklet_params = {'server_url':'http://localhost:9876/'}; var s = sheetFrame.contentWindow.document.createElement('script'); s.src = 'http://localhost:9876/dev_mode_on.js'; void(sheetFrame.contentWindow.document.getElementsByTagName('head')[0].appendChild(s));} Cheers Davide On Wednesday, February 12, 2014 5:55:07 PM UTC+1, Davide Cavestro wrote: I have an entry point hosted into an iframe. I have to manually open the host page into a new browser tab in order to make the superdev mode aware of the modules available (otherwise the superdev mode UI doesn't detect any module). I've tried to manually tweak the bookmarklet code in order to create the boot script element within the frame (instead than within the outer document) but at this point when I run the bookmarklet I obtain a dialog complaining *Need to reinstall the bookmarklets.* I suspect the bookmarklet js code is somewhat validated against some hash, and if I manually edit it the validation fails... Is there any workaround? I reproduce this issue with GWT 2.6.0 both on Google Chrome 32.0.1700.107 and Firefox 26.0 Kind regards Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: FlexTable RowSpan Issue
the code is really simple: RootPanel rootPanel = RootPanel.get(content); HorizontalPanel horizontalPanel = new HorizontalPanel(); horizontalPanel.setSpacing(50); rootPanel.add(horizontalPanel); final FlexTable flexTable = new FlexTable(); flexTable.setCellPadding(5); flexTable.setCellSpacing(5); flexTable.setStyleName(table); horizontalPanel.add(flexTable); flexTable.setText(0, 0, 05:00); flexTable.setText(0, 1, CP1); flexTable.setText(0, 2, CP2); flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2); flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3); flexTable.setText(1, 0, 06:00); flexTable.setText(2, 0, 07:00); flexTable.setText(2, 1, CP3); flexTable.setText(3, 0, 08:00); flexTable.setText(3, 1, ); flexTable.setText(3, 2, CP4); flexTable.setText(4, 0, 09:00); flexTable.setText(4, 1, ); flexTable.setText(4, 2, ); flexTable.setText(5, 0, 10:00); flexTable.setText(5, 1, ); flexTable.setText(5, 2, ); flexTable.setText(6, 0, 11:00); flexTable.setText(6, 1, ); flexTable.setText(6, 2, ); flexTable.setText(7, 0, 12:00); flexTable.setText(7, 1, ); flexTable.setText(7, 2, ); flexTable.setText(8, 0, 13:00); flexTable.setText(8, 1, ); flexTable.setText(8, 2, ); final FlexTable flexTable_1 = new FlexTable(); flexTable_1.setCellPadding(5); flexTable_1.setCellSpacing(5); flexTable_1.setStyleName(table); horizontalPanel.add(flexTable_1); flexTable_1.setText(0, 0, CP5); flexTable_1.setText(0, 1, 3); flexTable_1.setWidget(0, 2, new RadioButton(prog)); flexTable_1.setText(1, 0, CP6); flexTable_1.setText(1, 1, 2); flexTable_1.setWidget(1, 2, new RadioButton(prog)); flexTable_1.setText(2, 0, CP7); flexTable_1.setText(2, 1, 1); flexTable_1.setWidget(2, 2, new RadioButton(prog)); rootPanel.add(horizontalPanel); // Sposta flexTable.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { // Trovo il radio checkato int i=0; RadioButton rb; do{ rb = (RadioButton) flexTable_1.getWidget(i, 2); i++; }while (!rb.getValue() i flexTable_1.getRowCount()); // Devo decrementare i di 1 i--; if(iflexTable_1.getRowCount()) { // C'è qualcosa di selezionato e quindi posso spostare // Riga e colonna in cui spostare int r = flexTable.getCellForEvent(event).getRowIndex(); int c = flexTable.getCellForEvent(event).getCellIndex(); // // Se nella riga colonna selezionata non c'è nulla copio diretto if(flexTable.getText(r, c).equals()) { flexTable.setText(r, c, flexTable_1.getText(i, 0)); } else { // Salvo tutti gli indici per poterli utilizzare negli Handler final int r_app = r; final int c_app = c; final int i_app = i; /// final DialogBox adv = new DialogBox(); adv.setText(Avviso); VerticalPanel b = new VerticalPanel(); Label l = new Label(flexTable.getText(r, c) + + la vuoi mettere prima o dopo + flexTable_1.getText(i, 0)); Button b_prima = new Button(Prima); Button b_dopo = new Button(Dopo); Button b_chiudi = new Button(Chiudi); b_chiudi.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); } }); // PRIMA b_prima.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); flexTable.setText(r_app+1, c_app, flexTable_1.getText(i_app, 0)); // Ricavo il RowSpan (durata della fase) int rs = Integer.valueOf(flexTable_1.getText(i_app, 1)); flexTable.getFlexCellFormatter().setRowSpan(r_app+1, c_app, rs); } }); /// // DOPO b_dopo.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); // Prima salvo la CP da spostare String s = flexTable.getText(r_app, c_app); // Poi scrivo la nuova CP e setto il RowSpan flexTable.setText(r_app, c_app, flexTable_1.getText(i_app, 0)); // Ricavo il RowSpan (durata della fase) int rs = Integer.valueOf(flexTable_1.getText(i_app, 1)); flexTable.getFlexCellFormatter().setRowSpan(r_app, c_app, rs); // Riscrivo la vecchia CP spostata in avanti tanto quanto il rowSpan flexTable.setText(r_app+rs, c_app, s); } }); // b.add(l); b.add(b_prima); b.add(b_dopo); b.add(b_chiudi); adv.add(b); adv.center(); adv.show(); } } } }); On Mon, Feb 17, 2014 at 12:10 AM, Jens jens.nehlme...@gmail.com wrote: Maybe your column index is off by one while generating the table and later when adding your second text to column 0 results in column 0 to be created. Can you provide code? -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to
Re: FlexTable RowSpan Issue
Without all the code.. Filling the FlexTable final FlexTable flexTable = new FlexTable(); flexTable.setCellPadding(5); flexTable.setCellSpacing(5); flexTable.setStyleName(table); horizontalPanel.add(flexTable); flexTable.setText(0, 0, 05:00); flexTable.setText(0, 1, CP1); flexTable.setText(0, 2, CP2); flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2); flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3); flexTable.setText(1, 0, 06:00); flexTable.setText(2, 0, 07:00); flexTable.setText(2, 1, CP3); flexTable.setText(3, 0, 08:00); flexTable.setText(3, 1, ); flexTable.setText(3, 2, CP4); flexTable.setText(4, 0, 09:00); flexTable.setText(4, 1, ); flexTable.setText(4, 2, ); flexTable.setText(5, 0, 10:00); flexTable.setText(5, 1, ); flexTable.setText(5, 2, ); flexTable.setText(6, 0, 11:00); flexTable.setText(6, 1, ); flexTable.setText(6, 2, ); flexTable.setText(7, 0, 12:00); flexTable.setText(7, 1, ); flexTable.setText(7, 2, ); flexTable.setText(8, 0, 13:00); flexTable.setText(8, 1, ); flexTable.setText(8, 2, ); 2014-02-17 9:47 GMT+01:00 Davide Micheletti d.michelett...@gmail.com: the code is really simple: RootPanel rootPanel = RootPanel.get(content); HorizontalPanel horizontalPanel = new HorizontalPanel(); horizontalPanel.setSpacing(50); rootPanel.add(horizontalPanel); final FlexTable flexTable = new FlexTable(); flexTable.setCellPadding(5); flexTable.setCellSpacing(5); flexTable.setStyleName(table); horizontalPanel.add(flexTable); flexTable.setText(0, 0, 05:00); flexTable.setText(0, 1, CP1); flexTable.setText(0, 2, CP2); flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2); flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3); flexTable.setText(1, 0, 06:00); flexTable.setText(2, 0, 07:00); flexTable.setText(2, 1, CP3); flexTable.setText(3, 0, 08:00); flexTable.setText(3, 1, ); flexTable.setText(3, 2, CP4); flexTable.setText(4, 0, 09:00); flexTable.setText(4, 1, ); flexTable.setText(4, 2, ); flexTable.setText(5, 0, 10:00); flexTable.setText(5, 1, ); flexTable.setText(5, 2, ); flexTable.setText(6, 0, 11:00); flexTable.setText(6, 1, ); flexTable.setText(6, 2, ); flexTable.setText(7, 0, 12:00); flexTable.setText(7, 1, ); flexTable.setText(7, 2, ); flexTable.setText(8, 0, 13:00); flexTable.setText(8, 1, ); flexTable.setText(8, 2, ); final FlexTable flexTable_1 = new FlexTable(); flexTable_1.setCellPadding(5); flexTable_1.setCellSpacing(5); flexTable_1.setStyleName(table); horizontalPanel.add(flexTable_1); flexTable_1.setText(0, 0, CP5); flexTable_1.setText(0, 1, 3); flexTable_1.setWidget(0, 2, new RadioButton(prog)); flexTable_1.setText(1, 0, CP6); flexTable_1.setText(1, 1, 2); flexTable_1.setWidget(1, 2, new RadioButton(prog)); flexTable_1.setText(2, 0, CP7); flexTable_1.setText(2, 1, 1); flexTable_1.setWidget(2, 2, new RadioButton(prog)); rootPanel.add(horizontalPanel); // Sposta flexTable.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { // Trovo il radio checkato int i=0; RadioButton rb; do{ rb = (RadioButton) flexTable_1.getWidget(i, 2); i++; }while (!rb.getValue() i flexTable_1.getRowCount()); // Devo decrementare i di 1 i--; if(iflexTable_1.getRowCount()) { // C'è qualcosa di selezionato e quindi posso spostare // Riga e colonna in cui spostare int r = flexTable.getCellForEvent(event).getRowIndex(); int c = flexTable.getCellForEvent(event).getCellIndex(); // // Se nella riga colonna selezionata non c'è nulla copio diretto if(flexTable.getText(r, c).equals()) { flexTable.setText(r, c, flexTable_1.getText(i, 0)); } else { // Salvo tutti gli indici per poterli utilizzare negli Handler final int r_app = r; final int c_app = c; final int i_app = i; /// final DialogBox adv = new DialogBox(); adv.setText(Avviso); VerticalPanel b = new VerticalPanel(); Label l = new Label(flexTable.getText(r, c) + + la vuoi mettere prima o dopo + flexTable_1.getText(i, 0)); Button b_prima = new Button(Prima); Button b_dopo = new Button(Dopo); Button b_chiudi = new Button(Chiudi); b_chiudi.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); } }); // PRIMA b_prima.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); flexTable.setText(r_app+1, c_app, flexTable_1.getText(i_app, 0)); // Ricavo il RowSpan (durata della fase) int rs = Integer.valueOf(flexTable_1.getText(i_app, 1)); flexTable.getFlexCellFormatter().setRowSpan(r_app+1, c_app, rs); } }); /// // DOPO b_dopo.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); // Prima salvo la CP da spostare String s = flexTable.getText(r_app, c_app); // Poi scrivo la nuova CP e setto il RowSpan flexTable.setText(r_app, c_app, flexTable_1.getText(i_app, 0)); // Ricavo il RowSpan
Re: FlexTable RowSpan Issue
Filling the flexTable final FlexTable flexTable = new FlexTable(); flexTable.setCellPadding(5); flexTable.setCellSpacing(5); flexTable.setStyleName(table); horizontalPanel.add(flexTable); flexTable.setText(0, 0, 05:00); flexTable.setText(0, 1, CP1); flexTable.setText(0, 2, CP2); // First RowSpan Text flexTable.getFlexCellFormatter().setRowSpan(0, 2, 2); flexTable.setText(1, 0, 06:00); flexTable.setText(2, 0, 07:00); flexTable.setText(2, 1, CP3); flexTable.setText(3, 0, 08:00); flexTable.setText(3, 1, ); flexTable.setText(3, 2, CP4); flexTable.setText(4, 0, 09:00); flexTable.setText(4, 1, ); flexTable.setText(4, 2, ); flexTable.setText(5, 0, 10:00); flexTable.setText(5, 1, ); flexTable.setText(5, 2, ); flexTable.setText(6, 0, 11:00); flexTable.setText(6, 1, ); flexTable.setText(6, 2, ); flexTable.setText(7, 0, 12:00); flexTable.setText(7, 1, ); flexTable.setText(7, 2, ); flexTable.setText(8, 0, 13:00); flexTable.setText(8, 1, ); flexTable.setText(8, 2, ); // Second RowSpan text flexTable.getFlexCellFormatter().setRowSpan(0, 1, 3); OK, now the first text is shifted by one to the right.. Why? 2014-02-17 9:47 GMT+01:00 Davide Micheletti d.michelett...@gmail.com: the code is really simple: RootPanel rootPanel = RootPanel.get(content); HorizontalPanel horizontalPanel = new HorizontalPanel(); horizontalPanel.setSpacing(50); rootPanel.add(horizontalPanel); final FlexTable flexTable = new FlexTable(); flexTable.setCellPadding(5); flexTable.setCellSpacing(5); flexTable.setStyleName(table); horizontalPanel.add(flexTable); flexTable.setText(0, 0, 05:00); flexTable.setText(0, 1, CP1); flexTable.setText(0, 2, CP2); flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2); flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3); flexTable.setText(1, 0, 06:00); flexTable.setText(2, 0, 07:00); flexTable.setText(2, 1, CP3); flexTable.setText(3, 0, 08:00); flexTable.setText(3, 1, ); flexTable.setText(3, 2, CP4); flexTable.setText(4, 0, 09:00); flexTable.setText(4, 1, ); flexTable.setText(4, 2, ); flexTable.setText(5, 0, 10:00); flexTable.setText(5, 1, ); flexTable.setText(5, 2, ); flexTable.setText(6, 0, 11:00); flexTable.setText(6, 1, ); flexTable.setText(6, 2, ); flexTable.setText(7, 0, 12:00); flexTable.setText(7, 1, ); flexTable.setText(7, 2, ); flexTable.setText(8, 0, 13:00); flexTable.setText(8, 1, ); flexTable.setText(8, 2, ); final FlexTable flexTable_1 = new FlexTable(); flexTable_1.setCellPadding(5); flexTable_1.setCellSpacing(5); flexTable_1.setStyleName(table); horizontalPanel.add(flexTable_1); flexTable_1.setText(0, 0, CP5); flexTable_1.setText(0, 1, 3); flexTable_1.setWidget(0, 2, new RadioButton(prog)); flexTable_1.setText(1, 0, CP6); flexTable_1.setText(1, 1, 2); flexTable_1.setWidget(1, 2, new RadioButton(prog)); flexTable_1.setText(2, 0, CP7); flexTable_1.setText(2, 1, 1); flexTable_1.setWidget(2, 2, new RadioButton(prog)); rootPanel.add(horizontalPanel); // Sposta flexTable.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { // Trovo il radio checkato int i=0; RadioButton rb; do{ rb = (RadioButton) flexTable_1.getWidget(i, 2); i++; }while (!rb.getValue() i flexTable_1.getRowCount()); // Devo decrementare i di 1 i--; if(iflexTable_1.getRowCount()) { // C'è qualcosa di selezionato e quindi posso spostare // Riga e colonna in cui spostare int r = flexTable.getCellForEvent(event).getRowIndex(); int c = flexTable.getCellForEvent(event).getCellIndex(); // // Se nella riga colonna selezionata non c'è nulla copio diretto if(flexTable.getText(r, c).equals()) { flexTable.setText(r, c, flexTable_1.getText(i, 0)); } else { // Salvo tutti gli indici per poterli utilizzare negli Handler final int r_app = r; final int c_app = c; final int i_app = i; /// final DialogBox adv = new DialogBox(); adv.setText(Avviso); VerticalPanel b = new VerticalPanel(); Label l = new Label(flexTable.getText(r, c) + + la vuoi mettere prima o dopo + flexTable_1.getText(i, 0)); Button b_prima = new Button(Prima); Button b_dopo = new Button(Dopo); Button b_chiudi = new Button(Chiudi); b_chiudi.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); } }); // PRIMA b_prima.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); flexTable.setText(r_app+1, c_app, flexTable_1.getText(i_app, 0)); // Ricavo il RowSpan (durata della fase) int rs = Integer.valueOf(flexTable_1.getText(i_app, 1)); flexTable.getFlexCellFormatter().setRowSpan(r_app+1, c_app, rs); } }); /// // DOPO b_dopo.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { adv.clear(); adv.hide(); // Prima salvo la CP da spostare String s = flexTable.getText(r_app, c_app); // Poi
Re: FlexTable RowSpan Issue
No answer at these problem?? On Fri, Feb 14, 2014 at 4:57 PM, Davide Micheletti d.michelett...@gmail.com wrote: Hi all, i've found an issue when using RowSpan with FlexTable. When you try to insert a text, with RowSpan, in a column the other columns at right shift by one. Here an Example: ''|''|''|''| ''|''|''|''| ''| FIRST TEXT |''|''| ''| |''|''| ''|''|''|''| ''|''|''|''| ''|''|''|''| ''|''|''|''| ' Now, I want to insert the text SECOND TEXT with a RowSpan in the column 0 ''|''|''|''|'| ''|''|''|''|'| ''|''| FIRST TEXT |''|''| SECOND TEXT |''| |''|'| ''|''|''|''|'| ''|''|''|''|'| ''|''|''|''|'| ''|''|''|''|'| Now the answer is: why this happens? NOTICE the new empty column at the right Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group
FlexTable RowSpan Issue
Hi all, i've found an issue when using RowSpan with FlexTable. When you try to insert a text, with RowSpan, in a column the other columns at right shift by one. Here an Example: ''|''|''|''| ''|''|''|''| ''| FIRST TEXT |''|''| ''| |''|''| ''|''|''|''| ''|''|''|''| ''|''|''|''| ''|''|''|''| ' Now, I want to insert the text SECOND TEXT with a RowSpan in the column 0 ''|''|''|''|'| ''|''|''|''|'| ''|''| FIRST TEXT |''|''| SECOND TEXT |''| |''|'| ''|''|''|''|'| ''|''|''|''|'| ''|''|''|''|'| ''|''|''|''|'| Now the answer is: why this happens? NOTICE the new empty column at the right Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to
SuperDevMode on/off bookmarklets aren't compatible with frames
I have an entry point hosted into an iframe. I have to manually open the host page into a new browser tab in order to make the superdev mode aware of the modules available (otherwise the superdev mode UI doesn't detect any module). I've tried to manually tweak the bookmarklet code in order to create the boot script element within the frame (instead than within the outer document) but at this point when I run the bookmarklet I obtain a dialog complaining *Need to reinstall the bookmarklets.* I suspect the bookmarklet js code is somewhat validated against some hash, and if I manually edit it the validation fails... Is there any workaround? I reproduce this issue with GWT 2.6.0 both on Google Chrome 32.0.1700.107 and Firefox 26.0 Kind regards Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
Solved!!!.. Thanks for help! On Fri, Feb 7, 2014 at 9:13 PM, Davide Micheletti d.michelett...@gmail.comwrote: ok.. Thanks.. On Fri, Feb 7, 2014 at 9:10 PM, Jens jens.nehlme...@gmail.com wrote: CalendarUtil is a GWT class that can not be used on the server. Use java.util.Calendar or JodaTime library. You can avoid these issues by not blindly use classes available in Eclipse/IntelliJ. Only classes from jar files in war/WEB-INF/lib are available on the server. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
Like title i've these error in run-mode on a tomcat server.. I've found some solution googling it but i don't want to import any .jar lib if it possible. So, what can i do? Thanks Davide.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
SimpleDateFormat however here the log: org.apache.catalina.core.ApplicationContext.log Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.pannelli.controllo.shared.Ciclo_Produzione com.pannelli.controllo.client.GreetingService.SQL_fasi_ciclo_per_tipologia(int,java.lang.String) throws java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579) 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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:107) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:76) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:934) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:90) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:515) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1012) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:642) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1555) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat at com.pannelli.controllo.server.GreetingServiceImpl.SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:707) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) ... 26 more Caused by: java.lang.ClassNotFoundException: com.ibm.icu.text.SimpleDateFormat at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1575) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1420) ... 32 more On Fri, Feb 7, 2014 at 5:30 PM, Thomas Broyer t.bro...@gmail.com wrote: What's the stacktrace? Which class/method are you using that causes that error? On Friday, February 7, 2014 4:56:30 PM UTC+1, Davide Micheletti wrote: Like title i've these error in run-mode on a tomcat server.. I've found some solution googling it but i don't want to import any .jar lib if it possible. So, what can i do? Thanks Davide.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
com.pannelli.controllo.server.GreetingServiceImpl.SQL_fasi_c iclo_per_tipologia(GreetingServiceImpl.java:707) com.pannelli.controllo.server is the package of the server GreetingServiceImpl is the java class for the server SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:707) is a function on the server who start at line 707 However i have to change only the library?? On Fri, Feb 7, 2014 at 5:57 PM, Thomas Broyer t.bro...@gmail.com wrote: If you do use SimpleDateFormat from ICU (com.ibm.icu.text.SimpleDateFormat, as opposed to java.text.SimpleDateFormat), then you have to ship it within your WAR. Out of curiosity, what's at com.pannelli.controllo.server. GreetingServiceImpl.SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:707) ? On Friday, February 7, 2014 5:34:45 PM UTC+1, Davide Micheletti wrote: SimpleDateFormat however here the log: org.apache.catalina.core.ApplicationContext.log Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.pannelli.controllo.shared.Ciclo_Produzione com.pannelli.controllo.client.GreetingService.SQL_fasi_ ciclo_per_tipologia(int,java.lang.String) throws java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC. java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:579) 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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:221) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:107) at org.apache.catalina.authenticator.AuthenticatorBase.invoke( AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:155) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:76) at org.apache.catalina.valves.AccessLogValve.invoke( AccessLogValve.java:934) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:90) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:515) at org.apache.coyote.http11.AbstractHttp11Processor.process( AbstractHttp11Processor.java:1012) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler. process(AbstractProtocol.java:642) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler. process(Http11NioProtocol.java:223) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor. doRun(NioEndpoint.java:1597) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor. run(NioEndpoint.java:1555) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: com/ibm/icu/text/ SimpleDateFormat at com.pannelli.controllo.server.GreetingServiceImpl.SQL_fasi_ ciclo_per_tipologia(GreetingServiceImpl.java:707) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC. java:561) ... 26 more Caused by: java.lang.ClassNotFoundException: com.ibm.icu.text. SimpleDateFormat at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1575) at org.apache.catalina.loader.WebappClassLoader.loadClass( WebappClassLoader.java:1420) ... 32 more On Fri, Feb 7, 2014 at 5:30 PM, Thomas Broyer t.br...@gmail.com wrote: What's the stacktrace? Which class/method are you using that causes that error? On Friday, February 7, 2014 4:56:30 PM UTC+1, Davide Micheletti wrote: Like title i've these error in run-mode on a tomcat server.. I've found some solution googling it but i don't want to import any .jar lib if it possible. So, what
Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
ok thanks.. i'll try your solution.. However sorry for my stupid questions but i'm a newby on GWT and java.. ;) The source Code at line 707 is something like this: SimpleDateFormat df = new SimpleDateFormat(dd/MM/); String data = 04/02/2014; Date d = df.parse(data); ... On Fri, Feb 7, 2014 at 7:07 PM, Jens jens.nehlme...@gmail.com wrote: com.pannelli.controllo.server.GreetingServiceImpl.SQL_fasi_c iclo_per_tipologia(GreetingServiceImpl.java:707) com.pannelli.controllo.server is the package of the server GreetingServiceImpl is the java class for the server SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:707) is a function on the server who start at line 707 :)) Thomas meant what source code is at that line 707. I think you just have mistakenly chosen the wrong import of SimpleDateFormat. gwt-user.jar contains com.ibm.icu.text.SimpleDateFormat but gwt-user.jar will not be deployed on the server. I think you want to change the import to java.text.SimpleDateFormat in your server side class. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
Ok now there is another error.. Now for CalendarUtil.addDaysToDate() i think... SOURCE CODE: SimpleDateFormat formatter = new SimpleDateFormat(dd/MM/); Date end_date = formatter.parse(prima_data); CalendarUtil.addDaysToDate(end_date, 5); String ultima_data = formatter.format(end_date); LOG: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.pannelli.controllo.shared.Ciclo_Produzione com.pannelli.controllo.client.GreetingService.SQL_fasi_ciclo_per_tipologia(int,java.lang.String) throws java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/google/gwt/core/client/GWTBridge at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579) 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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:107) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:76) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:934) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:90) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:515) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1012) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:642) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1555) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: com/google/gwt/core/client/GWTBridge at com.google.gwt.user.datepicker.client.CalendarUtil.clinit(CalendarUtil.java:35) at com.pannelli.controllo.server.GreetingServiceImpl.SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:709) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) ... 26 more Caused by: java.lang.ClassNotFoundException: com.google.gwt.core.client.GWTBridge at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1575) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1420) ... 33 more On Fri, Feb 7, 2014 at 7:55 PM, Davide Micheletti d.michelett...@gmail.comwrote: ok thanks.. i'll try your solution.. However sorry for my stupid questions but i'm a newby on GWT and java.. ;) The source Code at line 707 is something like this: SimpleDateFormat df = new SimpleDateFormat(dd/MM/); String data = 04/02/2014; Date d = df.parse(data); ... On Fri, Feb 7, 2014 at 7:07 PM, Jens jens.nehlme...@gmail.com wrote: com.pannelli.controllo.server.GreetingServiceImpl.SQL_fasi_c iclo_per_tipologia(GreetingServiceImpl.java:707) com.pannelli.controllo.server is the package of the server GreetingServiceImpl is the java class for the server SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:707) is a function on the server who start at line 707 :)) Thomas meant what source code is at that line 707. I think you just have mistakenly chosen the wrong import of SimpleDateFormat. gwt-user.jar contains com.ibm.icu.text.SimpleDateFormat but gwt-user.jar will not be deployed on the server. I think you want to change the import to java.text.SimpleDateFormat
Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
ok.. Thanks.. On Fri, Feb 7, 2014 at 9:10 PM, Jens jens.nehlme...@gmail.com wrote: CalendarUtil is a GWT class that can not be used on the server. Use java.util.Calendar or JodaTime library. You can avoid these issues by not blindly use classes available in Eclipse/IntelliJ. Only classes from jar files in war/WEB-INF/lib are available on the server. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Gantt Chart missing jar download
Hi all, i was looking for these https://code.google.com/p/gwtgantt/wiki/GettingStarted but i didn't find any *.jar to download. I tried to search it on web and i'm not the only one who don't find it.. So where i can find it? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Gantt Chart missing jar download
Oh .. Thanks Jens.. Davide On Wed, Feb 5, 2014 at 11:05 AM, Jens jens.nehlme...@gmail.com wrote: Not sure if you want to use this anyways. Seems like its inactive and not compatible to GWT 2.4+. That said you have to checkout source and build the jar yourself. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: error 500 server-side
is that the prob.. i don't know how see it.. On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Could you send the server side log? 2014-02-05 Davide Micheletti d.michelett...@gmail.com: Hi all, i have that error but only in run-mode.. The error says that i've to see the server log but i don't know how.. Someone can help me?? However why does the error come only in run-mode and not in dev-mode? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
error 500 server-side
Hi all, i have that error but only in run-mode.. The error says that i've to see the server log but i don't know how.. Someone can help me?? However why does the error come only in run-mode and not in dev-mode? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: error 500 server-side
i'm developing in Eclipse with GWT 2.5.1.. On Wed, Feb 5, 2014 at 5:07 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Which server are you using? 2014-02-05 Davide Micheletti d.michelett...@gmail.com: is that the prob.. i don't know how see it.. On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Could you send the server side log? 2014-02-05 Davide Micheletti d.michelett...@gmail.com: Hi all, i have that error but only in run-mode.. The error says that i've to see the server log but i don't know how.. Someone can help me?? However why does the error come only in run-mode and not in dev-mode? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com . Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: error 500 server-side
Sorry.. I didn't understand.. However, i have deploied the app on tomcat server (in the same pc) after exported it with maven plug in .. Il mercoledì 5 febbraio 2014, Thomas Broyer t.bro...@gmail.com ha scritto: That doesn't answer the question: how/where are you deploying the app? If you're using DevMode as the server, then have a look at the Console view in Eclipse. Note that you can very well use Debug As… → Web Application and run your app in prod mode (just don't use the ?gwt.codesvr= in the URL); that way you can debug your server-side code. On Wednesday, February 5, 2014 5:14:27 PM UTC+1, Davide Micheletti wrote: i'm developing in Eclipse with GWT 2.5.1.. On Wed, Feb 5, 2014 at 5:07 PM, Juan Pablo Gardella gardella...@gmail.com wrote: Which server are you using? 2014-02-05 Davide Micheletti d.miche...@gmail.com: is that the prob.. i don't know how see it.. On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella gardella...@gmail.com wrote: Could you send the server side log? 2014-02-05 Davide Micheletti d.miche...@gmail.com: Hi all, i have that error but only in run-mode.. The error says that i've to see the server log but i don't know how.. Someone can help me?? However why does the error come only in run-mode and not in dev-mode? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit . For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-we...@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.comjavascript:_e(%7B%7D,'cvml','google-web-toolkit%2bunsubscr...@googlegroups.com'); . To post to this group, send email to google-web-toolkit@googlegroups.comjavascript:_e(%7B%7D,'cvml','google-web-toolkit@googlegroups.com'); . Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- Davide Micheletti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
GreetingServiceImpl extends RemoteServiceServlet, HttpServlet implements GreetingService
Hi all, i need to extend HttpServlet to the server for upload files. Or i need to know how to create 2 different server's classes and use 1 of these to upload files. Thanks in advance. Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
FlexTable all borders
Hi all, i need to add ALL borders to my flextable though not all cells are wrote.. i tried to add css style but it runs only if a cell is setted.. This is my css: .FlexTable tr { border: thin groove; } .FlexTable td { width: 90px; max-width: 90px; border: thin groove; } .FlexTable { border-collapse: collapse; } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: FlexTable all borders
I added the CSS rule but it doesn't work.. I have added the 3rd solution but it takes a lots of time because the Table is big and i can't add a pager for some reasone.. its something wrong?? .FlexTable tr { empty-cells:show; border: thin groove; } .FlexTable td { empty-cells:show; width: 90px; max-width: 90px; border: thin groove; } .FlexTable { empty-cells:show; border-collapse: collapse; } On Wed, Jan 15, 2014 at 11:13 AM, Jens jens.nehlme...@gmail.com wrote: Choose one: - use CSS rule empty-cells:show on the table element - Fill empty cells with a dash - to indicate that there is no data for that cell - Fill empty cells with nbsp; which is a white space -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: FlexTable all borders
it doesn't work in Google Chrome.. possible?? On Wed, Jan 15, 2014 at 12:45 PM, Jens jens.nehlme...@gmail.com wrote: It is only supported in IE8 (standards mode) and newer IE versions. If you need to support IE6-7 then you have to fill cells with some content. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
SimpleDateFormat on server side
I am going crazy.. I need to convert a String into a Date.. I have this code: data_inizio = 10/01/2014; Date date = new SimpleDateFormat(dd/MM/).parse(data_inizio); Window.alert(Date: + date); and the output is: Date: Fri Jan 10 00:00:00 CET 2014 And DateTimeFormat is not supported by server-side. What i can do?? Thanks in advance Davide -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: SimpleDateFormat on server side
Great.. Thanks thanks and another time thanks.. Il giorno venerdì 10 gennaio 2014, Jens ha scritto: Well use what is available. On server use SimpleDateFormat / JodaTime and on client use GWT's DateTimeFormat. If you are dealing with a shared class you have to use super-source and replace the server implementation with a GWT implementation for the browser. A shared, super-sourced DateUtils class can also be helpful. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.comjavascript:_e({}, 'cvml', 'google-web-toolkit%2bunsubscr...@googlegroups.com');. To post to this group, send email to google-web-toolkit@googlegroups.comjavascript:_e({}, 'cvml', 'google-web-toolkit@googlegroups.com'); . Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- Davide Micheletti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Fixed row position FlexTable
With your answer i've solved.. But now i have another question.. I've a lot of tables in my project and i need to view all borders of the flextable and grid though some cells are empty.. I've tried to add a css .FlexTable td{ border: thin groove; } But it add the border only if the cell is filled with something.. On Mon, Jan 6, 2014 at 6:25 PM, Natanael Maldonado natanael.maldonado...@gmail.com wrote: You could check this threads in SO forums: 1.- http://stackoverflow.com/questions/14879353/colspan-and-rowspan-in-celltable 2.- http://stackoverflow.com/questions/3403674/how-to-set-rowspan-and-colspan-values-on-gwt-grid-cell-containing-a-widget 2014/1/6 Jens jens.nehlme...@gmail.com You should be able to do this with DataGrid and a custom Header and/or a custom header builder. See paragraph about header/footers in: http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/cellview/client/AbstractCellTable.html And in addition (if needed): http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/cellview/client/AbstractCellTable.html#setHeaderBuilder(com.google.gwt.user.cellview.client.HeaderBuilder) DataGrid also knows data ranges and thus supports pagination which will be helpful if you want to display database row information as you might have a lot of rows. You don't want to display them all at once. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- Atte: Natanael Maldonado -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Fixed row position FlexTable
i need something like these.. __ |___MaxCol 1_|__MaxCol 1__ |__MaxCol 1___ | - Fixed |_Col1_|_Col2_|_Col3_|_Col4_|_Col5_|_Col6_|_Col7_|_Col8_|_Col9_|_Col10_|_Col11 Col12_| - Fixed | | | | | | | | | || | | - Data to scroll | | | | | | | | | || | | - Data to scroll | | | | | | | | | || | | - Data to scroll On Sun, Jan 5, 2014 at 6:09 PM, Davide Micheletti d.michelett...@gmail.comwrote: Does it run like a flextable?? I need to delete/add rows from DB.. Thanks in advance Davide Il giorno venerdì 3 gennaio 2014, Jens ha scritto: Maybe DataGrid fits your needs. It has a header and a footer and in between a scrollable content area with rows. See: http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDataGrid -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- Davide Micheletti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.