Re: Absolute positioning images

2012-09-14 Thread Maverick
@Jens: no, it doesn't work because, as Andrei said, whatever you add to RootLayoutPanel takes up all the space @Andrei: so you are suggesting to move the whole gui from RootLayoutPanel to the LayoutPanel; I'm not sure I can do it in my case, but that's an acceptable workaround. Thanks On

Nested Grid in GWT

2012-09-14 Thread Saritha
I need to develop a control which is similar to the Nested Gridhttp://www.smartclient.com/smartgwt/showcase/#grid_nested_grid (http://www.smartclient.com/smartgwt/showcase/#grid_nested_grid) in the Smart GWT. User will be having a column for expansion images, when user clicking on the image

Re: GWT MVP Architecture

2012-09-14 Thread stuckagain
Why does the view need to be a singleton ? Anyway, when you are done with the presenter, then you need to tell it so. In that case it can unregister any installed handlers. David On Thursday, September 13, 2012 8:09:30 PM UTC+2, Aryan wrote: Hi all, lets look at the code: public

transitioning from flex to gwt

2012-09-14 Thread Jaggernat
hi guys I have been working in adobe flex for the last 3 years and serverside java for the last 10 years. Now i have to work with GWT on the UI with java server side. I want to know the transition process from flex to gwt(if anyone can help me). In flex we had datagrids, advanced datagrids, item

How to send images with image map to client and create widget with it

2012-09-14 Thread tanteanni
On server side i have a lib (can be modified) that produces png images and corresponding imagemap for mouse hover titles. But how to use them with gwt? I already have a little servlet that could png-images to client (on client side gwt Image objects are created and added to widgets). Due to

Re: RequestFactory + ejb3

2012-09-14 Thread marlondom
https://gist.github.com/807082 Em sexta-feira, 2 de setembro de 2011 14h02min15s UTC-3, thiago borges martins escreveu: Good afternoon staff, I am developing a system and adopted the gwt + smart for the presentation layer and the back end I work with ejb3. The project is all in maven

Re: How to send images with image map to client and create widget with it

2012-09-14 Thread Jens
Create a DTO that describes the image map, something like: ImageMap - String: imageUrl (would point to your png-image servlet) - ListImageMap.Area: areas (calculated on server using your lib) ImageMap.Area: - ShapeTypeEnum: shape (RECT, CIRCLE, POLY) - ListInteger: coords - String: href -

Re: Date and time pickers in any timezone

2012-09-14 Thread Andrei
GWT has a file with JSON strings for all time zones they support (more than enough). I copied it to my server resources. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: transitioning from flex to gwt

2012-09-14 Thread Jens
The documentation of GWT gives a pretty good overview about UI / server communication: https://developers.google.com/web-toolkit/doc/latest/DevGuide For a widget overview you can take a look at the Showcase: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCheckBox -- J. -- You

Re: How to send images with image map to client and create widget with it

2012-09-14 Thread tanteanni
thx jens So for each image to server requests are necessary: 1 to get the dto and create html with image-url 2 to get the image from servlet my hope was/is there is a way with one request/response? And indeed i get the image map as html. so my dto would be very simple: 2 Strings (url +

Re: How to send images with image map to client and create widget with it

2012-09-14 Thread Jens
So for each image to server requests are necessary: 1 to get the dto and create html with image-url 2 to get the image from servlet Yes, although the second request is done by the browser and not by your GWT app. To remove the browser request, you would need to use data uris (base64)

Validating RPC Serialization at Compile Time?

2012-09-14 Thread Joseph Lust
A number of times we've run into serialization exceptions with GWT-RPC. Of course following the serialization policies for GWT-RPC to the letter can prevent this, but not all of our devs are keen on these. Since the compiler sees every RPC async interface, and is compiling those objects passed

Re: GWT MVP Architecture

2012-09-14 Thread Aryan
On 14 Sep, 14:21, stuckagain david.no...@gmail.com wrote: Why does the view need to be a singleton ? I guess why I am having view as singleton is having better performance as I see views are expensive to create. Not creating em everytime saves operation deep down like Document.create -

Re: Struts2 and GWT Intgration

2012-09-14 Thread Joseph Lust
Struts is principally concerned with marshaling/un marshaling actions from HTTP requests to action classes and back. This is achieved in a rather verbose manner with various XML files. With GWT, if you use things like GWT-RPC, you don't really need Struts. You just use the gwt-servlet to

Re: Date and time pickers in any timezone

2012-09-14 Thread Andy
Got it. I saw that file -- user/src/com/google/gwt/i18n/client/constants/TimeZoneConstants.properties -- and wasn't sure if that was the approach you were taking. Thanks. On Friday, September 14, 2012 10:25:55 AM UTC-4, Andrei wrote: GWT has a file with JSON strings for all time zones they

Properties file with GWT

2012-09-14 Thread Deepak Singh
Hi, I have some div id's in my host html page. Which might change regularly, based on that we will show / hide some content. I need to manage this requirement. I thought to update the id's in a properties file on client side and the file will be read on client side and shows / hides the content

need help on layout design

2012-09-14 Thread Vik
Hie Can someone help on http://stackoverflow.com/questions/12397288/automatic-resize-of-the-tab-panel-based-on-contentsplease? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org -- You received this message because you are subscribed to the Google Groups Google Web

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-14 Thread Sebastián Gurin
nino: thank you very much! I have my two question responded in your code snippet. My last question: I notice you perform most of the job in javascript / jsni, nice. How is your experience using eclipse+google Java code refactoring tools ? in particular, method and class renames ? Thank you

Integer and int are not equal... Especially if received via JSNI

2012-09-14 Thread pash7ka
I've spent a huge amount of time trying to find the source of one strange bug in my app, so I want to share what I've found. First I should say I'm using GWT 2.3 currently, so i don't know if the described behavior changed in latest version. My app is receiving some data from my server,

[gwt-contrib] Re: Move GAE Auth functionality from Expenses over the MobileWebApp sample. (issue1829803)

2012-09-14 Thread drfibonacci
Upgrade GAE version http://gwt-code-reviews.appspot.com/1829803/diff/4001/samples/mobilewebapp/pom.xml File samples/mobilewebapp/pom.xml (right): http://gwt-code-reviews.appspot.com/1829803/diff/4001/samples/mobilewebapp/pom.xml#newcode21 samples/mobilewebapp/pom.xml:21:

[gwt-contrib] Re: Update Maven sample pom.xml files to use maven-compiler-plugin's annotation processing functiona... (issue1828803)

2012-09-14 Thread rdayal
http://gwt-code-reviews.appspot.com/1828803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Move GAE Auth functionality from Expenses over the MobileWebApp sample. (issue1829803)

2012-09-14 Thread rdayal
http://gwt-code-reviews.appspot.com/1829803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Move GAE Auth functionality from Expenses over the MobileWebApp sample. (issue1829803)

2012-09-14 Thread t . broyer
I'm sorry I've only started to review the files (over the last few days) but I have a first question/comment about where this is going: There are many things that are not needed in the case of MobileWebApp as the host page is protected behind authentication. Because the user won't ever see this

[gwt-contrib] Re: Move GAE Auth functionality from Expenses over the MobileWebApp sample. (issue1829803)

2012-09-14 Thread Rajeev Dayal
Hey Thomas, Thanks for looking this over. I'll reply to the code-specific comments in Rietveld itself, but I thought I'd respond to your more pressing concerns first. On Fri, Sep 14, 2012 at 10:57 AM, t.bro...@gmail.com wrote: I'm sorry I've only started to review the files (over the last few

[gwt-contrib] Re: Removed the instance method get(Element element) method from the (issue1831803)

2012-09-14 Thread skybrian
LGTM. Thanks! http://gwt-code-reviews.appspot.com/1831803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add experimental GWT.unloadModule() function. (issue1827804)

2012-09-14 Thread cromwellian
Hey Thomas, great comments, thanks. I will update the patch shortly with fixes. One issue is that V8 doesn't seem to be as great at GC as I thought, and I'm going to have to speak to the Chrome team. I thought originally that anything not reachable from GC roots would ultimately be collected,

[gwt-contrib] Re: Add experimental GWT.unloadModule() function. (issue1827804)

2012-09-14 Thread Brian Slesinsky
On Fri, Sep 14, 2012 at 10:23 AM, cromwell...@google.com wrote: I haven't quite figured out why, but actually code like this does seem to cause a memory leak in Chrome. It essentially causes V8 to retain the entire (textual) JS source of your program in memory, I think so that if you debug a

[gwt-contrib] Re: Update Maven sample pom.xml files to use maven-compiler-plugin's annotation processing functiona... (issue1828803)

2012-09-14 Thread rdayal
On 2012/09/14 14:37:01, rdayal wrote: Pair-reviewed by drfibonacci and rdayal. LGTM. http://gwt-code-reviews.appspot.com/1828803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Move GAE Auth functionality from Expenses over the MobileWebApp sample. (issue1829803)

2012-09-14 Thread rdayal
http://gwt-code-reviews.appspot.com/1829803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Removed the instance method get(Element element) method from the (issue1831803)

2012-09-14 Thread t . broyer
My 2 c€nts http://gwt-code-reviews.appspot.com/1831803/diff/1/user/src/com/google/gwt/aria/client/Roles.java File user/src/com/google/gwt/aria/client/Roles.java (right): http://gwt-code-reviews.appspot.com/1831803/diff/1/user/src/com/google/gwt/aria/client/Roles.java#newcode137

[gwt-contrib] Re: Move GAE Auth functionality from Expenses over the MobileWebApp sample. (issue1829803)

2012-09-14 Thread rdayal
On 2012/09/14 18:53:22, rdayal wrote: I think this one is going to be pushed past GWT 2.5; that's ok though. http://gwt-code-reviews.appspot.com/1829803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors