Re: redirect GWT application URL
Hi, Thomas, I learned a lot from your latest answer. Thanks! caniuse.com's approach is exactly what I want. Can you give more details on how the redirecting is done for the comment below? So redirecting from /foo to #foo might be better (caniuse.com does just that: redirect /history to #feat=history) ? -maq On Mon, Sep 5, 2011 at 9:15 AM, Thomas Broyer t.bro...@gmail.com wrote: On Monday, September 5, 2011 1:52:37 PM UTC+2, maq wrote: Thanks Y2i and Thomas. One of the reason is I wonder if I can redirect a full domain name to a internal state of my application. For example , I go to a domain hosting to redirect http://someotherdomain.com to http://mything.com/#**someotherdomainhttp://mything.com/#someotherdomain But the domain hosting service complains about the URL format, it has to be without the hash sign. http://mything.com/**someotherdomainhttp://mything.com/someotherdomain Thomas, is your proposal only applicable to new browsers? See http://caniuse.com/history I wish a solution applies to old browser as well. In your entry-point, you could look at the current history token, and if empty, then look at the path (treating /foo the same as #foo, i.e. a history token of foo). I.e. do it manually, and only at initialization time. If you then navigate into your app, then you'll have http://example.com/foo#bar URLs, which can be confusing. So redirecting from /foo to #foo might be better (caniuse.com does just that: redirect /history to #feat=history). Then, if you want, you could use replaceState in browsers that support it to redirect once more to /foo, though on the client-side this time, without request to the server for this history change. As for your redirect issue, request.getrequestDisplatcher() won't help redirecting the client-side, it will rewrite the URL on the server-side, but the client won't be aware of that: it requests a URL and is sent a response back. With sendRedirect, a meta refresh (as you did), or a JS location.replace() or location assignment, it requests a URL, and is told (at different levels: HTTP, HTML, JS) to rather request another one. You might want to try several alternatives in many browsers though, as redirecting to a URL containing a hash part might not always work as expected (search the GWT issue tracker, I seem to remember an issue with IE) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/clDEoUhFlMcJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: redirect GWT application URL
Thanks Y2i and Thomas. One of the reason is I wonder if I can redirect a full domain name to a internal state of my application. For example , I go to a domain hosting to redirect http://someotherdomain.com to http://mything.com/#someotherdomain But the domain hosting service complains about the URL format, it has to be without the hash sign. http://mything.com/someotherdomain Thomas, is your proposal only applicable to new browsers? I wish a solution applies to old browser as well. -maq On Mon, Sep 5, 2011 at 2:58 AM, Thomas Broyer t.bro...@gmail.com wrote: Recent browsers implement pushState/onpopstate which allows changing the URL (and not only the hash part) without unloading the page. You can see it at work in Google Plus, GitHub's repository browser or even Facebook. In GWT, you could use deferred binding to replace the Historian implementation used by PlaceHistoryHandler (I bet you could even replace the HistoryImpl instead, at a lower level) if the browser supports pushState/onpopstate, and use the default implementation using the URL's hash otherwise. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/15RjXbOQJqcJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: redirect GWT application URL
Just an update... In the filter, redirect seems not working request.getRequestDispatcher(New_Url); On Mon, Sep 5, 2011 at 6:52 AM, Qiang Ma mumay...@gmail.com wrote: Thanks Y2i and Thomas. One of the reason is I wonder if I can redirect a full domain name to a internal state of my application. For example , I go to a domain hosting to redirect http://someotherdomain.com to http://mything.com/#someotherdomain But the domain hosting service complains about the URL format, it has to be without the hash sign. http://mything.com/someotherdomain Thomas, is your proposal only applicable to new browsers? I wish a solution applies to old browser as well. -maq On Mon, Sep 5, 2011 at 2:58 AM, Thomas Broyer t.bro...@gmail.com wrote: Recent browsers implement pushState/onpopstate which allows changing the URL (and not only the hash part) without unloading the page. You can see it at work in Google Plus, GitHub's repository browser or even Facebook. In GWT, you could use deferred binding to replace the Historian implementation used by PlaceHistoryHandler (I bet you could even replace the HistoryImpl instead, at a lower level) if the browser supports pushState/onpopstate, and use the default implementation using the URL's hash otherwise. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/15RjXbOQJqcJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
User Login with GWT on Google App Engine
Hi, all, I am investigating to build a GWT app hosted on GAE that requires user login. Do you have any suggestion on which 3rd party library to support user secure login and approach to implement it? Thanks! -maq -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: User Login with GWT on Google App Engine
Thanks Andy. Great information about openid , What if still have to support some your own local user, i.e. I have to support user that doesn't have an account with the identity providers. Any comment is appreciated! -maq On Mon, Aug 8, 2011 at 10:45 AM, Andy Stevko andy.ste...@gmail.com wrote: Federated OpenID is supported by app engine http://code.google.com/appengine/articles/openid.html On Mon, Aug 8, 2011 at 8:34 AM, Qiang Ma mumay...@gmail.com wrote: Hi, all, I am investigating to build a GWT app hosted on GAE that requires user login. Do you have any suggestion on which 3rd party library to support user secure login and approach to implement it? Thanks! -maq -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where to host GWT based web site
After reading a little bit of GAE, just want to be clear... Has anyone found doing GWT + shopping cart (including secure payment) on Google App Engine is a viable solution? If you have done that, please give some reference on what open source packages you have used. That would be very helpful for a lot of people like me! Thanks in advance! -maq On Fri, Aug 5, 2011 at 7:00 AM, Qiang Ma mumay...@gmail.com wrote: Thanks, Kevin, Isaac. The traffic is light. Server side would have some database connection and some java code for processing data. So Google App Engine! Thanks again! -maq On Thu, Aug 4, 2011 at 1:44 PM, Kevin Anderson kev...@gmail.com wrote: How heavy of traffic are you anticipating? I would second Isaac's suggestion of GAE. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qG6jnDBUSsoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where to host GWT based web site
Thanks, Kevin, Isaac. The traffic is light. Server side would have some database connection and some java code for processing data. So Google App Engine! Thanks again! -maq On Thu, Aug 4, 2011 at 1:44 PM, Kevin Anderson kev...@gmail.com wrote: How heavy of traffic are you anticipating? I would second Isaac's suggestion of GAE. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qG6jnDBUSsoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Where to host GWT based web site
Hi, I assume someone figured out... If I develop a GWT based app, where can I host it most cost effectively (ie. cheap)? Regular hosting options say they support PHP, CGI... but it doesn't sound they allow me to deploy the war file. Thanks in advance! -maq -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Re: Re: problem with crawler
Hi, Ale, How is your progress? I got further on the topic... Now if I deploy the war file and manually copy the app.war file under ROOT file (I had to change the path to the app.nocache.js ). The filter seems to take the query string just fine. (However, I don't remember any changes in the servlet code, it must be some configuration change from last time.) For some reason, if I ran HtmlUnit offline, it can snapshot the content, but it doesn't work inside the servlet. So I had to ran it offline and save the contents into files. In the filter servlet I just read out from the file. You can check this: http://goscopia.com/?_escaped_fragment_= http://goscopia.com/ http://goscopia.com/?_escaped_fragment_=info.about http://goscopia.com/#!info.about Right now I only have a few pages to crawl, So I plan to update the SiteMap links file so Google crawler will crawl them individually. QUESTION: what is the correct or better way than update sitemap, if the application can generate a lot of pages , how to make these pages known to the crawler? Any suggestion is appreciated. -maq On Fri, Jun 10, 2011 at 5:53 AM, ale aleee...@gmail.com wrote: Thank you maq! I didn't tought about the war name in the url so I try to add to my url the war name and: 1) if I use the crawler url h*tp://www.youtrail.com/youtrail/?_escaped_fragment_=trailentityId=579101 in my servlet I see the queryString not null (now there is an other problem, but this is an other story, I simply forget to include the httpclient-4.1.1.jar... this evening I deploy a new version) 2) if I use the normal url with the war name: http://www.youtrail.com/youtrail#trailentityId=579101 I'll recive a FORBIDDEN error... Is this strange? (it is strange for me ok... but it is really strange?) For now I think I put some hidden links dedicated to crawlers, but I don't know if it is a good idea... keep working too... thanks again! Ale -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qx4zBlgFIQAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Re: problem with crawler
I am trying to do the same set up and successfully reproduced the problem you have. It is obvious it is working fine if the URL doesn't point to the domain name directly: http://domain_name/?_escaped_fragment_=XXXdoesn't work http://domain_name/warfile_name/?_escaped_fragment_=XXX works fine Keep working :) On Thu, Jun 9, 2011 at 7:49 AM, ale aleee...@gmail.com wrote: Hi, yes I use HtmlUnit, but at te moment I don't know if you can change the title, because I stopped before for the other problem... But would that be considered bad because user would not see it in the real application? My personal opinion: yes... when i search some word and in the site found i didn't found that world, I get angry...but often I blame the search engine... When I'll solved my problem I will post the solution... Alessandro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TJ7ek3q4EsEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: problem with crawler
Hi, I am scratching my head with the same issue. (Haven't decided what to do yet.) Just want to learn what you have done. So your servlet will route regular URL (pretty one) to your GWT app, and the escaped one to some static page? (Are you using HtmlUnit?) I have a question on the static page: can I change the title to be more specific to the content (e.g. some search result)? But would that be considered bad because user would not see it in the real application? Wish you can figure it all out! -maq On Wed, Jun 8, 2011 at 12:30 PM, ale aleee...@gmail.com wrote: Hello everyone, I'm trying to make my webapp gwt visible to crawlers, following the excellent guide http://code.google.com/intl/it-IT/web/ajaxcrawling/docs/getting-started.html I have done all that is indicated (meta tag in the head, fragment with!, servlet filter) but I have this problem: servlet in the queryString is always null, also with the simplest url. The only way to have a queryString not null, is to invoke a specific servlet different from the default: I explain with to sample (from my site): URL that don't work: http://www.youtrail.com/#!home I try http://www.youtrail.com/?_escaped_fragment_=home but from log I see that queryString is null (and on the browser I land on http://www.youtrail.com/?_escaped_fragment_=home#!home) what is wrong? Why in my filter I saw always queryString null? Thanks a lot and sorry for my bad english Alessandro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SW1MY1JiaUpXdk1K. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT SEO
Thanks Alain. Wonder if there is a way that I don't need create a new dependency (3rd party code)? Thanks! -maq On Tue, Jun 7, 2011 at 2:28 AM, Alain Ekambi jazzmatad...@googlemail.comwrote: Maybe you can have a look at GWTP ? http://gwtplatform.com 2011/6/7 maq mumay...@gmail.com Hi, Does any one have a good tutorial on how to turn GWT application into crawler friendly? I found some information talking about AJAX/crawler solution and such. But nothing like : for GWT application, here is what you do, 1,2,3... Thanks in advance! maq -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT SEO
Thanks Alain being a good advocate for a good project :) I will check it out (perhaps secretly peeking at the source code too :) -maq On Tue, Jun 7, 2011 at 6:38 AM, Alain Ekambi jazzmatad...@googlemail.comwrote: I cant tell. I never really worked on GWT SEO. But i think you will never regret a depency to GWTP Phillipe and the others members have made a great job with the library. It s worth a try :). 2011/6/7 Qiang Ma mumay...@gmail.com Thanks Alain. Wonder if there is a way that I don't need create a new dependency (3rd party code)? Thanks! -maq On Tue, Jun 7, 2011 at 2:28 AM, Alain Ekambi jazzmatad...@googlemail.com wrote: Maybe you can have a look at GWTP ? http://gwtplatform.com 2011/6/7 maq mumay...@gmail.com Hi, Does any one have a good tutorial on how to turn GWT application into crawler friendly? I found some information talking about AJAX/crawler solution and such. But nothing like : for GWT application, here is what you do, 1,2,3... Thanks in advance! maq -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Overriding a css style loclly
Why don't you create a different style and do a setStyle on this label? .xxxLabel{ blah. } uniqueLabel.setStyleName(xxxLabel); This seems to fit your needs. On Sun, May 29, 2011 at 9:11 PM, lalit lalit.bh...@gmail.com wrote: I have a lot of labels in my application.I have overriding the style as most of the place, I need the new style and it works fines. the overridden style is .gwt-Label { font-size: 15px; font-weight: bold; color: #fff; float: inherit; } However at one particular place I need the color of label to be black, so I was trying to override the style in that ui.xml locally like ui:style field='reportStyle' @external gwt-Label; .gwt-Label{ color: #000; } /ui:style However this impacts the style of label at other places also. Is there a way to override the standard style in a ui.xm so that it impacts the widgets of only in that ui binder. thanks in advance, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HTML widget sometimes doesn't render 3rd party Javascript widget
I tried to use a Frame widget to include a html page just with the following banner and it shows up on all browsers. But it doesn't look nice, e.g. it has an extra border on IE. Just wondering why HTML widget can't show the banner correctly, as simple as following: HTML html = new HTML(div id='searchform_634420069924922689'/divscript type='text/javascript' src='http://widgets.partners.expedia.com/daily/shared/ affiliates/WidgetService.aspx ?partner=cjpid=99size=120x600window=newbranded=truewidgetname=searchformdivid=searchform_634420069924922689'/script); somePanel.add(html); Any advice here? On Thu, May 26, 2011 at 10:50 AM, maq mumay...@gmail.com wrote: Gabriel, Thanks for reply. Apologize for not being clear about my problem. I was not trying to calling any javascripts through JSNI. I simply want to include the banner scripts got from Expedia affiliate search form in a GWT HTML widget. div id='searchform_634420069924922689'/divscript type='text/ javascript' src='http://widgets.partners.expedia.com/daily/shared/ affiliates/WidgetService.aspx? partner=cjpid=99size=120x600window=newbranded=truewidgetname=searchformdivid=searchform_634420069924922689'/ script So I created HTML object with the above content and lay it out along with other GWT widgets. But it shows up only in a Firefox on SUSE. On windows, neither firefox and IE displays it. (I guess it may be dependent on the browser.) Similar problem happens to include the widget script using GWT HTML from addthis.com - maq -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HTML widget sometimes doesn't render 3rd party Javascript widget
Thanks Paul. Go to the Frame is not the best option. For example, if the 3rd party javascript has popup window, it will be clipped within the Frame size. So I am still struggling with just using HTML widget. I found that it could all be the java script not loading when the HTML widget is rendered. I am guessing that because I experimented add the java script reference to the GWT base HTML and have the HTML widget only with the div id. On Firefox, the first load of the APP failed to display the widget, but after a refresh(perhaps the javascript is cached), it will display it correctly. on IE, it doesn't work. So my current hope is : if I can find a way to dynamically load the javascript in the code: script type='text/javascript' src='http://widgets.partners.expedia.com/daily/shared/ affiliates/WidgetService.aspxhttp://widgets.partners.expedia.com/daily/shared/affiliates/WidgetService.aspx ?partner=cjpid=99size=120x600window=newbranded=truewidgetname=searchformdivid=searchform_634420069924922689'/script HTML html = new HTML(div id='searchform_634420069924922689'/div); somepanel.add(html); magic load the above javascript Can someone tell me whether I am heading the right direction or even know the little magic? Thanks a lot! On Sat, May 28, 2011 at 6:53 AM, Paul Stockley pstockl...@gmail.com wrote: You can hide the border on IE with a JSNI call. private native void hideIFrameBorder(Element iframeEl) /*-{ iframeEl['frameBorder'] = '0'; }-*/; private native void reloadIFrame(Element iframeEl) /*-{ iframeEl.contentWindow.location.reload(true); }-*/; I also added a reload frame option as I couldn't find a way to reliably refresh a frame. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
gwt rpc project fails in deploy mode but is fine in host mode
We're using gwt to call rpc service to get data from database. It can show the daa in the listGrid in host mode, but it does not work in deploy mode, Could anyone give some advice about this? Appreciate it so much! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: OOPHM and Mac OSX
Hello, I had exactly the some problems as you described them. In my case the solution was a jvm argument -XstartOnFirstThread which was necessary on macs. Without the argument it works well. Regards, Markus Albrecht On 13 Okt., 11:32, P.G.Taboada pgtabo...@googlemail.com wrote: Hi, in the meantime I tried the milestone one, but I have the same issue. The Swing window opens but is frozen. The cursor is the funny coloured sprinning wait ball. In the console I get: 2009-10-13 12:18:41.881 java[11686:903] [Java CocoaComponent compatibility mode]: Enabled 2009-10-13 12:18:41.883 java[11686:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 2009-10-13 12:18:43.106 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001a17c0 '(null)') unlocked when not locked 2009-10-13 12:18:43.108 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.226 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dba4b70 '(null)') unlocked when not locked 2009-10-13 12:18:43.227 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.328 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db23ec0 '(null)') unlocked when not locked 2009-10-13 12:18:43.328 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.436 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100141b60 '(null)') unlocked when not locked 2009-10-13 12:18:43.441 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.548 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db04120 '(null)') unlocked when not locked 2009-10-13 12:18:43.548 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.751 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100133ce0 '(null)') unlocked when not locked 2009-10-13 12:18:43.752 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.882 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aa470 '(null)') unlocked when not locked 2009-10-13 12:18:43.883 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.995 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aae70 '(null)') unlocked when not locked 2009-10-13 12:18:43.995 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.154 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbac5c0 '(null)') unlocked when not locked 2009-10-13 12:18:44.155 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.306 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db9ebc0 '(null)') unlocked when not locked 2009-10-13 12:18:44.307 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.419 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbace60 '(null)') unlocked when not locked 2009-10-13 12:18:44.425 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.534 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ab8a0 '(null)') unlocked when not locked 2009-10-13 12:18:44.534 java[11686:db03] *** Break on _NSLockError() to debug. Using a browser with the GWT Development Plugin, please browse to the following URL: http://localhost:8080/MyApp.html?gwt.hosted=192.168.15.206:9997 2009-10-13 12:18:44.985 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ad120 '(null)') unlocked when not locked 2009-10-13 12:18:44.986 java[11686:db03] *** Break on _NSLockError() to debug. Any help? Anyone got this working from a Mac? brgds, Papick On 21 Sep., 17:48, Jason Parekh jasonpar...@gmail.com wrote: Hi Papick, Where does it exactly break when you start from Eclipse? Do you have any logs? (One place to check is WORKSPACE/.metadata/.log) thanks jason On Mon, Sep 21, 2009 at 8:02 AM, P.G.Taboada pgtabo...@googlemail.comwrote: Hi, it's working on my Mac Snow Leopard as long as I don't start the shell from Eclipse. I have seen some posts about doing this and that but it looks like they are all out of date. Any help/ tips here for the current trunk? brgds, Papick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: GWT 1.7 Now Available
Thanks for the fast reaction! Now it works perfectly! Markus On Jul 15, 1:07 am, Ray Ryan rj...@google.com wrote: Okay, it's up:http://code.google.com/p/google-web-toolkit-incubator/wiki/Downloads?... All better? rjrjr --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: GWT 1.7 Now Available
Hello, I have problems with GWT1.7 and the actual release of the gwt- incubator library (gwt-incubator-march-02-2009.jar). The following compile errors occur in my project: ... [java][ERROR] Errors in 'jar:file:../gwt-incubator- march-02-2009.jar!/com/google/gwt/widgetideas/client/GlassPanel.java' [java] [ERROR] Line 91: Rebind result 'com.google.gwt.widgetideas.client.impl.GlassPanelImpl' cannot be abstract [java][ERROR] Errors in 'jar:file:../gwt-incubator- march-02-2009.jar!/com/google/gwt/gen2/logging/impl/client/ ClientConsoleLogHandlerImpl.java' [java] [ERROR] Line 206: Rebind result 'com.google.gwt.gen2.logging.impl.client.ClientConsoleLogHandlerImpl.Impl' must be a class [java][ERROR] Cannot proceed due to previous errors ... Is there a new incubator release planned where these issues are fixed? Markus --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] gwt incubator logging with gwt from trunk doesn't compile anymore.
Using the logging module with a gwt build from trunk (since the last week) I get the following error during the gwt compile: ... [java] Loading inherited module 'com.google.gwt.gen2.logging.Logging' [java] Loading inherited module 'com.google.gwt.gen2.logging.CoreLogging' [java] Loading inherited module 'com.google.gwt.event.EventBase' [java][ERROR] Unable to find 'com/google/gwt/ event/EventBase.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [java] [ERROR] Line 4: Unexpected exception while processing element 'inherits' [java] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) ... I checked the gwt-user.jar and there is no EventBase.gwt.xml file anymore, so I guess the package was moved somewhere. Also I tried to compile the incubator project from svn, but currently I get some compile errors, too. Does anybody know what I need to change, that I get this running again? --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---