Re: TEST 2

2010-08-06 Thread Deepak Bammi
??? On Sat, Aug 7, 2010 at 6:52 AM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > ?? > > > On Fri, Aug 6, 2010 at 7:35 PM, Josh Long wrote: > >> Oh my god i completely forgot about this group. @_@ >> Thanks, >> Josh >> >> >> >> On Fri, Aug 6, 2010 at 4:32 PM, Paul Grenyer >> wrote

Worth Upgrading to Eclipse Helios?

2010-08-06 Thread spierce7
Is it worth upgrading to Eclipse Helios? It sounds like some people are having some issues with it. Does not having Helios have anything to do with why I haven't been able to upgrade through the natural upgrade feature in Eclipse to 2.04 GWT? -- You received this message because you are subscrib

Re: Anyone know of any Android History token problems?

2010-08-06 Thread Shawn Brown
> I've noticed the browser on my Android phone doesn't seem to fire some > history events for my little online game; > I wondered if this was a Android issue, or something with my code that > only shows up on Android. I've seen it too but haven't gotten to the bottom of it. Sometimes it works es

Re: TEST 2

2010-08-06 Thread Christian Goudreau
?? On Fri, Aug 6, 2010 at 7:35 PM, Josh Long wrote: > Oh my god i completely forgot about this group. @_@ > Thanks, > Josh > > > > On Fri, Aug 6, 2010 at 4:32 PM, Paul Grenyer > wrote: > > It works! > > > > From: Rahul > > Sender: google-web-toolkit@googlegroup

Best way to get all InputElements within a div tag.

2010-08-06 Thread alan
I've got a web-page divided up into sections with div elements like: I'd like to create a method that can get all of the valid InputElements inside that div tag. I get the DivElement with a: Element parentDiv = DOM.getElementById("some-section").cast(); What is the best way to get th

Re: TEST 2

2010-08-06 Thread Josh Long
Oh my god i completely forgot about this group. @_@ Thanks, Josh On Fri, Aug 6, 2010 at 4:32 PM, Paul Grenyer wrote: > It works! > > From: Rahul > Sender: google-web-toolkit@googlegroups.com > Date: Fri, 6 Aug 2010 16:28:39 -0700 > ReplyTo: google-web-toolkit@g

Re: TEST 2

2010-08-06 Thread Paul Grenyer
It works! -Original Message- From: Rahul Sender: google-web-toolkit@googlegroups.com Date: Fri, 6 Aug 2010 16:28:39 Reply-To: google-web-toolkit@googlegroups.com Subject: TEST 2 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

TEST-1

2010-08-06 Thread Rahul
-- 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, vi

Re: Making GWT look good...

2010-08-06 Thread gcstang
The widgets in this showcase look nice with the Enterprise Blue or Gray. http://www.smartclient.com/smartgwt/showcase/ On Aug 6, 2:57 pm, "dolcra...@gmail.com" wrote: > +1 for working towards a Nimbus implementation > > On Aug 6, 8:44 am, Chris Ramsdale wrote: > > > Hey GWT(ers), > > > I've he

Spell Checker

2010-08-06 Thread brez
Anyone out there come up with a good way to do spell checking in their GWT app? Firefox spell checking and IE plug-ins just don't cut it when you're selling any app to companies, where you can't tell them what plug-ins to install or which browser to use. -- You received this message because you

Re: System.getProperty("line.separator") replacement/equivalent?

2010-08-06 Thread Thomas Wrobel
Nice idea, but unfortunately my server doesn't support servlet's, which limits me somewhat :) On 6 August 2010 22:06, Thomas Jackson wrote: > Have you considered writing a GWT Service that allows you to pass the > filename and then returns a List of Strings?  You can open a FileStream on > the se

Re: System.getProperty("line.separator") replacement/equivalent?

2010-08-06 Thread Thomas Jackson
Have you considered writing a GWT Service that allows you to pass the filename and then returns a List of Strings? You can open a FileStream on the server and then read line by line and let it handle it and not have to worry about newlines on the browser. Just a thought... On Fri, Aug 6, 2010

Re: System.getProperty("line.separator") replacement/equivalent?

2010-08-06 Thread darkflame
yes, theres a static text file on the server I wish to read in and detect the lines from. A simple requestBuilder is used to retrieve it. Are you saying I should use a php script to first parse over the text file, then echo out what it uses? Doesn't seem very quick or neat. I've got a text file..

Re: Making GWT look good...

2010-08-06 Thread dolcra...@gmail.com
+1 for working towards a Nimbus implementation On Aug 6, 8:44 am, Chris Ramsdale wrote: > Hey GWT(ers), > > I've heard from many of you that GWT apps simply don't look that good out of > the box, and styling the default app would go a long way. We couldn't agree > more. As some of you know, GWT 2

Re: System.getProperty("line.separator") replacement/equivalent?

2010-08-06 Thread dolcra...@gmail.com
You do know that GWT runs in the browser right? I think you're trying to find out if a file is new lined with \r\n or \n, then i would detect it on the server and either translate it or make a way to return the information to the browser (RPC?). On Aug 6, 11:18 am, darkflame wrote: > I wish to f

Re: Problem in Large scale application development and MVP

2010-08-06 Thread WillSpecht
Can the moderators pass this on to Chris Ramsdale so he can update the tutorial? On Aug 6, 2:59 pm, WillSpecht wrote: > When a new contact is added it's id is never set. Because the id field > is a string it is stored as "". That is how the first contact is > added. Now every time you create a ne

Re: Problem in Large scale application development and MVP

2010-08-06 Thread WillSpecht
When a new contact is added it's id is never set. Because the id field is a string it is stored as "". That is how the first contact is added. Now every time you create a new contact you overwrite the contact with key "". To fix this you need to set the value of the id. I did this by changing the d

Re: Making GWT look good...

2010-08-06 Thread Frank Argueta
ahh, good ol Sorinel C strikes again spamming us with links to his trojan infecting ad-loaded site. He's a spammer in disguise. 90% of this posts have links to his site. On Fri, Aug 6, 2010 at 2:15 PM, Sorinel C wrote: > You can use a widgets library on top of GWT, which can make your > applica

Re: Make GWT Files Smaller In Size

2010-08-06 Thread Arthur Kalmenson
It really depends on what you're trying to build. Are you doing an entire web application? Is this progressive enhancement? If you're building a full web app, you should be gziping your contents before sending them down to the user. You can also use Code Splitting: http://code.google.com/webtoolki

Re: How to integrate GWT app into an Existing Project ? (Details Inside)

2010-08-06 Thread Chirayu
@dane, thank you for your link...but I could not understand how to make sense of that w.r.t. my task at hand so I started asking here...that was the whole point. On Aug 6, 1:09 pm, "dane.molotok" wrote: > http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat... > > On Aug 6, 10:

Re: Wave Demise.........sad day for GWT

2010-08-06 Thread Arthur Kalmenson
I think it's important to remember that GWT was used to rebuild the AdWords UI, which is the primary driver of revenue for Google. I'm hoping that this will keep GWT top of mind for Googlers for a long time to come. Also, AFAIK, the mobile Gmail app is also built with GWT. -- Arthur Kalmenson

Re: How to integrate GWT app into an Existing Project ? (Details Inside)

2010-08-06 Thread Chirayu
Firstly, thanks a lot Mikael for replying. I had been waiting for long and even mailed 3 people who discussed something similar previously but got no response till now. Now, I understood the compilation into JS logic. The thing is that there are no huge examples on RPC so I'm confused as I'm n

Re: Making GWT look good...

2010-08-06 Thread Sorinel C
You can use a widgets library on top of GWT, which can make your application look good. Here's what I listed the most/best used ones: http://ui-programming.blogspot.com/2010/01/comparation-ext-gwt-gxt-vs-gwt-ext-vs.html Cheers! -- You received this message because you are subscribed to the Goog

Re: Instantiate composite on the server side

2010-08-06 Thread Fernando Barbat
Correction... If you want to know the type of the created object, It's "almost" type safe. :P If you are alright by knowing it's a Widget, it's type-safe. Here's a tidier version of the code: "Almost" type-safe: public class Reflector { @SuppressWarnings("unchecked") public static

Re: Building two war-files with Maven using different web.xml

2010-08-06 Thread andreas
I don't think you can do that in one build. But you can use profiles to have two different builds. Of course you will have to build twice, once for each profile but with that you'll have the different builds. I use profiles to run hosted_mode target with fake service servlet implementations and we

Re: How to integrate GWT app into an Existing Project ? (Details Inside)

2010-08-06 Thread Mikael Couzic
Hi, First, consider you developed the client side of the application, which means your code will be compiled in JavaScript and provide the UI. The GWT compiler needs to know which classes need to be compiled in JS. You'll find in your Module.gwt.xml file the following line : This line tells the

Re: How to integrate GWT app into an Existing Project ? (Details Inside)

2010-08-06 Thread dane.molotok
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html On Aug 6, 10:44 am, Chirayu wrote: > I have a lot of hope from this community...can someboody please help > me... I'll be very thankful. > > On Aug 5, 1:41 pm, Chirayu Diwan wrote: > > > > > Hi Everyone, > > > I'm a no

Re: How to use gwt to synchronize outlook to get the appoitments of calendar

2010-08-06 Thread spierce7
Your talking about a client side program that goes into the users system and pulls data? On Aug 6, 12:52 pm, victor QIN wrote: > Hello, > >    I want to use gwt to connect with outlook and get the appointments > of outlook. Is there any api for that? Thanks a lot. -- You received this message b

Re: Building two war-files with Maven using different web.xml

2010-08-06 Thread dane.molotok
I've thought about doing that also, in order to to have a war where my .gwt.xml inherits the Debug module, and one that does not, but I'm beginning to think it's not even buying me much to find out how to do it. I'm assuming you have a similar reason for wanting to do this? On Aug 6, 3:57 am, Step

How to use gwt to synchronize outlook to get the appoitments of calendar

2010-08-06 Thread victor QIN
Hello, I want to use gwt to connect with outlook and get the appointments of outlook. Is there any api for that? Thanks a lot. -- 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...@goog

Re: viewing server log in eclipse

2010-08-06 Thread dane.molotok
If you're using the Google Eclipse plugin the server-side sysout will be output to the Console view in eclipse. Client-side stuff, like your code not successfully compiling into JavaScript will show up in the Development Mode view. On Aug 5, 12:35 am, newguy wrote: > Hi > > I'm using GWT App engi

Re: 404 Error on RPC Call

2010-08-06 Thread dane.molotok
My first guess is the disparity between "/sample/myService" as your RequestURI and "/myService" as your url-pattern. Nits: * you don't have to cast to a MyServiceAsync, generics tells the compiler this will be returned * don't mark methods as throwing a runtime exception, it kind of misses the poi

Re: Problems with adding additional Java projects in the buildpath for the GWT project

2010-08-06 Thread Mikael Couzic
In Eclipse you specified the dependency on another project, which is enough for Dev mode, but is not sufficient for compilation. If you use Ant or Maven, you need to specify the dependencies in your build scripts. On 5 août, 03:15, avepa wrote: > I'm using Eclipse and attempting to import a proj

Error Doing RPC Call with my own return type: org.datanucleus.exceptions.ClassNotResolvedException

2010-08-06 Thread spierce7
Hey, so I can save data to app engine in an entity of type "PersistentShift", a class I made to save shift information. I've got 2 objects I'm saving within the class. Both are Date objects. One is startDate, one is endDate. I wanted to be able to query the server, and have a return type of Persist

Google AJAX Search with GWT 2.0

2010-08-06 Thread Al - Arar
hello, I,m developing Google Web Search, using API Release 1.0.2 on Eclipse and i am wondering how i can use .setResultSetSize() inorder to request up to 10 results. I read this will only work for Web Search queries scoped to a Filter "Custom Search engine", otherwise an error will be returned. Se

Re: I don't understand why this style won't work

2010-08-06 Thread Jose Luis Estrella Campaña
Hello Falcon, Ok, first thing first, How can I set the width for my DockLayoutPanel ? what's the best way also ? On the other hand, I'm not quite sure what my DockLayoutPanel is doing, because the groups:HeaderContainerWidget is displayed with a left alignment, but Then again... that could also m

Re: Wave Demise.........sad day for GWT

2010-08-06 Thread Christian Goudreau
I loved wave :( But I don't think that will do anything to GWT. There's a lot of products that use it made by google like said by others. Let's have a minute of silence for Wave. On Fri, Aug 6, 2010 at 11:52 AM, Mikael Couzic wrote: > I completely agree with darkFlame, it's a shame. I even got t

Re: Instantiate composite on the server side

2010-08-06 Thread Fernando Barbat
I was't so clear so I want to put it with an example. Let's suppose your helper class is named "Reflector". This class could be something like this: class Reflector { public static T getInstance(Class class){ if (class == MyClass1.class) return new MyClass1(); else if (class

Re: Wave Demise.........sad day for GWT

2010-08-06 Thread Mikael Couzic
I completely agree with darkFlame, it's a shame. I even got the feeling that if Wave had been more mature when it was released and immediately open for everyone with a Google account, the story would have been written differently. On 5 août, 17:41, darkflame wrote: > The sad part is, its the Wa

Re: How to integrate GWT app into an Existing Project ? (Details Inside)

2010-08-06 Thread Chirayu
I have a lot of hope from this community...can someboody please help me... I'll be very thankful. On Aug 5, 1:41 pm, Chirayu Diwan wrote: > Hi Everyone, > > I'm a novice at GWT, started working on it in internship and its now > coming to an end. > > I was asked as my internship assignment to ma

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: java.lang.IllegalAccessException: Private fields can not be set on JRE classes

2010-08-06 Thread Vik
Hie On a rpc call i am getting following exception. please advise what is going wrong here? com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: java.lang.IllegalAccessException: Private fields can not be set on JRE classes. at sun.reflect.NativeConstructorAccessorImpl.newInstance

Re: Mysql Connector/J

2010-08-06 Thread salk31
WEB-INF/lib is OK if you are not using a Datasource managed by the jetty server. Probably best looking at the JDBC driver documentation for the connection string. On Aug 6, 4:22 am, Maurice Nee wrote: > Can someone explain to me how to get JDBC to connect to MySQL in my > GWT project. Where do I

Re: Another Ajax Crawling question, is "#!&" acceptable rather then just "#!" ?

2010-08-06 Thread darkflame
*update* For anyone else with the same problem, the easy fix is to use Parse_str on your php side; http://php.net/manual/en/function.parse-str.php You can then use the returned array like you would the built in query- string parsing functions. On Jul 27, 2:45 pm, Thomas Wrobel wrote: > Thanks

System.getProperty("line.separator") replacement/equivalent?

2010-08-06 Thread darkflame
I wish to find the indexOf a new line in a large string and not sure how to do it in a cross-platform way neatly. I'll be iterating over the string doing this a lot, so I'd rather use a "proper" method rather then hacking something together. Normally I could use "System.getProperty("line.separator

Eclipse Helios running SLOW

2010-08-06 Thread Evan Ruff
Hey guys, Just upgraded to 3.6 after this whole Sun/Oracle JVM fix/debacle and I notices that 3.6 EE runs super, duper slow. So slow to the point that code assist is unusable. Here are some changes I made to the config to make it operate a lot better: eclipse.ini: replace the end with this: -Dosg

Re: Making GWT look good...

2010-08-06 Thread sakesun
I wish I could edit the row in-place (spreadsheet alike) On Aug 6, 7:44 pm, Chris Ramsdale wrote: > Hey GWT(ers), > > I've heard from many of you that GWT apps simply don't look that good out of > the box, and styling the default app would go a long way. We couldn't agree > more. As some of you k

Re: Instantiate composite on the server side

2010-08-06 Thread Mikael Couzic
Have you considered the type-safe approach, using Gin ? On 6 août, 10:07, Stephan T wrote: > The reason why I try to do this is that GWT doesn't support > reflections. I'm trying to use a helper method on the server side > which receivs the class name, the server side then instatiates the > class

Re: How to handle properly the height in %?

2010-08-06 Thread Johannes Lehmann
Hi Jean-luc, two things of interest (hopefully) about height in percent: - It is ignored inside table cells, by the browser. This is precisely the reason that you will never AFAIK be able to set the height in percent inside a decorator panel. The obvious workaround is to try and produce the same

Re: Please help - GWT application will not load in IE!

2010-08-06 Thread Xandel
Hey guys, Thanks for your feedback. Trevor, trying the Window.alert() to see if even that gets fired off. When I say the app doesn't load up at all I mean literally nothing from my application loads up. When I initially had it running from withing a div tag deep in the documents body, the surround

Re: Making GWT look good...

2010-08-06 Thread nino ekambi
Take a look at the GXT(Ext GWT ) Style i think it looks pretty good 2010/8/6 Roman Kuzmin > Try using system theme from GWT mosaic project. It make standar > application look MUCH better > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" gro

Re: Making GWT look good...

2010-08-06 Thread Roman Kuzmin
Try using system theme from GWT mosaic project. It make standar application look MUCH better -- 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

Re: Please help - GWT application will not load in IE!

2010-08-06 Thread Trevor Skaife
And when you say the site doesn't load up at all do you mean you just don't see it? Or that you put a Window.alert() in the onModuleLoad and you even that doesn't work? If it's the first where for whatever reason IE is having issues rendering the page I would suggest using the developer tools in IE

How to handle properly the height in %?

2010-08-06 Thread Jean-luc Chasseriau
Hi! It is the 3rd or 4th sites I'm doing with GWT, it is a very sexy solution which is working nicely, but I'm still having some basic problems of setting the height of some elements of my sites. This is really basic, but not so easy to handle... I really hope that some GWT guru can help us (I'm

Re: Date Serialization issues

2010-08-06 Thread Muhammad
Dear , Please set time zone in your application. then you may get exact date you want. Muhammad Bilal Ilyas Software Engineer From: Ameya Kulkarni To: Google Web Toolkit Sent: Fri, August 6, 2010 11:09:46 AM Subject: Date Serialization issues Hi We are s

Re: Transferring data from client to server: Do extra methods add more information that is sent to the server?

2010-08-06 Thread Paul Robinson
Extra methods do not affect the serialized size. What matters is the fields on your classes that are not transient, static or final. spierce7 wrote: > If I'm transferring an object that has some persistent data in it to > be saved on the server, from the client to the server (or vice versa), > doe

Re: Marker script creation don't allow load GWT modules dynamically.

2010-08-06 Thread Denis Vilyuzhanin
Actually, I see that in some places GWT uses document.write() to create new script tags. Why is using document.write() method better then create tags through DOM? Could anybody explain me? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

JSArrayString in JavaSript

2010-08-06 Thread PARAG
JSArrayString does not return JavaScript Array it returns JavaScript Array-like object. If we add debug statement as instanceof Array it returns false but its contructor contains Array. Is anybody else got into this problem? -- You received this message because you are subscribed to the Google G

another question, this time about events

2010-08-06 Thread _rm
hi again, i have been reading about the event concepts in gwt - in my case, several gui components may want to exchange various kinds of messages, and i wonder to what i can use the gwt event model to do this. i am especially unclear about the status of the entire handler thing. it used to be in

questions about module dependency approaches

2010-08-06 Thread _rm
hi list, i would need some help / suggestions concerning how to plan layout and dependencies of modules. for the sake of this, i will use the following example: on the server, there is a service providing access to a repository of content, including authentication and authorization. it has a num

How to user eclipse to Internationalize our project?

2010-08-06 Thread Tony Qiu
Hi, every body. In a regular java project, we can easily Internationalize our project using elipse's tool: sources -> externalize strings. However, in our GWT project, the eclipse's tool cannot satisfy our requirement because of the eclipse's inner template. I am wondering that if we can change the

Re: Date Serialization issues

2010-08-06 Thread Bhaskar
Yes... Convert the date into string and send, it will work well let me know if u need more info Regards, Bhaskar On Fri, Aug 6, 2010 at 11:39 AM, Ameya Kulkarni wrote: > Hi > > We are sending java.util.Date objects from the server. On the client > side these date values are not correct. > > Ex

Re: Wave Demise.........sad day for GWT

2010-08-06 Thread hummh
I would expect an official announcement from Google, what impact that decision has to the future of GWT. On the one side, I see many companies switching from classic server based web frameworks to GWT. On the other side one of the major innovation drivers of GWT is gone. So the questions are: what

feedback request for new page controller (GWT Pages)

2010-08-06 Thread Joe Hudson
I request people visit this project located here: http://code.google.com/p/gwtpages/ This is a page controller that you can use to deal with history token management, application navigation, messaging and more. There is documentation on the site as well as a demo application (I'm still working o

Re: Making GWT look good...

2010-08-06 Thread notcourage
I think following a documented STD like nimbus would foster good looks & adoption. Thx for considering this! On Aug 6, 8:44 am, Chris Ramsdale wrote: > Hey GWT(ers), > > I've heard from many of you that GWT apps simply don't look that good out of > the box, and styling the default app would go a

Re: uibinder and css

2010-08-06 Thread spierce7
I hope this helps: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Hello_Stylish_World Look at the Hello Stylish World Example. Good luck! On Aug 6, 9:38 am, Thomas Van Driessche wrote: > Hi, > > I have a question on using css in gwt. > > I know you can give the component a

Re: I don't understand why this style won't work

2010-08-06 Thread Falcon
Your DockLayoutPanel will need an explicit size somewhere (either by specifying width or by using top, left, right, bottom with positioning). I created a couple of quick examples for you: http://www.lemonrage.com/nate/misc/centerViaMargins.html http://www.lemonrage.com/nate/misc/centerFailNoWidth.

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-06 Thread Yau
GWT without RPC is just AJAX, right? You can run it locally from the file system. On Aug 6, 5:34 am, nino ekambi wrote: > How do you guys  are getting a gwt app to work like a standalone app ? > > greets > > 2010/8/5 Sanky <74.san...@gmail.com>> Oh really!!! that s great.This message > boost up

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-06 Thread Yau
I think this is a group created to help each other, right? On Aug 6, 5:33 am, Sanky <74.san...@gmail.com> wrote: > Oh really!!! that s great.This message boost up my confidence. I am > trying to create a whole setup. Would you help me if I may need? > > On Aug 4, 6:33 am, Fernando wrote:> Yes, I

uibinder and css

2010-08-06 Thread Thomas Van Driessche
Hi, I have a question on using css in gwt. I know you can give the component a src to a css file. But what if you want to use the css that is linked in the html page from which the javascript from the gwt project is called? i tried this: And in the css file from the host html page i have put

Re: How to integrate GWT app into an Existing Project ? (Details Inside)

2010-08-06 Thread Chirayu
Can somebody please help me. On Aug 5, 1:41 pm, Chirayu Diwan wrote: > Hi Everyone, > > I'm a novice at GWT, started working on it in internship and its now > coming to an end. > > I was asked as my internship assignment to make with GWT, the client- > side of this huge project they have for in

Re: Database and GWT

2010-08-06 Thread spierce7
Why does no one want to use AppEngine? On Aug 5, 5:56 pm, Diego Venuzka wrote: > Hi! > After some hours without sleep to solve my compilation problem, i stop in > another problem. I'll need to insert data in database, and how GWT can help > with this? Or i can insert using the "tradicional method

Re: add mouse handlers for document body?

2010-08-06 Thread spierce7
What do you mean by document body? You might want to look into a DOMHandler. That's how I got mouse move handlers to work on my grid. Grid's don't have an obvious method that allows you to add a MouseMoveHandler like a lot of other things do (grids only have addMouseClickHandler). I'd take a look

Re: Please help - GWT application will not load in IE!

2010-08-06 Thread spierce7
I hate issues like this. Unfortunately, particularly since GWT is young, I've gotten something working in one browser, only to find it doesn't work in another browser. Typically I just find a more common way of going through something. What I'd recommend is (although it's time consuming), is to co

Transferring data from client to server: Do extra methods add more information that is sent to the server?

2010-08-06 Thread spierce7
If I'm transferring an object that has some persistent data in it to be saved on the server, from the client to the server (or vice versa), does me having extra methods in the object, increase the amount of data transferred between the server and the client? What about extra variables that are not

Making GWT look good...

2010-08-06 Thread Chris Ramsdale
Hey GWT(ers), I've heard from many of you that GWT apps simply don't look that good out of the box, and styling the default app would go a long way. We couldn't agree more. As some of you know, GWT 2.1 (with the help of Spring Roo 1.1) will generate a full-fledged scaffolding app that users can th

Re: How to build a rules-based form controller for a dyn. form in GWT

2010-08-06 Thread salk31
I think what you are trying to do matches a couple of projects I've done in the past (one with GWT). I think GWT will just give you a very nice set of user controls and a solid way to implement your client side code. There are more complete frameworks/application for what you are trying to do. I'

Re: Deserialization of the JSON to JAXB annotated JPA pojo's on the client side.

2010-08-06 Thread Harald Pehl
You can take a look at Piriti: http://code.google.com/p/piriti/. It's a XML / JSON mapper for GWT. Currently it uses its own annotations for mapping XML/JSON to fields. But in the next major release I will support JAXB annotations as well. - Harald On 6 Aug., 00:51, Marcin Misiewicz wrote: > Hi

Re: Please help - GWT application will not load in IE!

2010-08-06 Thread Xandel
Alright, so I tried RootLayoutPanel.get() instead of RootPanel.get() and something interesting... The site still does not load up at all but there is no "Exception thrown and not caught" compilation error anymore... Not sure if that helps... Will keep looking for answers - but please, if you requi

Re: Instantiate composite on the server side

2010-08-06 Thread Fernando Barbat
You can do that on the client side. Although you don't have reflections, you can have a helper class which can do that work for you. That helper class could have a big "if, else if, else if" clause and compare classes using instance.getClass(). Every time you add a new class you want to use reflect

Re: Please help - GWT application will not load in IE!

2010-08-06 Thread Xandel
Oh yes, sorry, I didn't answer your question about the perutations - yup compiling all 6 for the browsers, the error is definately in the IE one. Thanks! On Aug 5, 7:15 pm, Katharina Probst wrote: > Maybe it's just me, but it's kind of hard to tell from your description what > could be wrong. > >

Re: Please help - GWT application will not load in IE!

2010-08-06 Thread Xandel
Thank you for your response! It seems there is a two fold problem - on the one hand I might be doing something incorrect with the panels as you've described and will try what you've suggested right now. Thanks for that. But something which worries me more is that the compiled javascript actually h

Re: Get week number from a Date object

2010-08-06 Thread Stefano Ciccarelli
If you need the ISO week this is what I'm using in GWT: private static final int ISO_THURSDAY = 4; private static final int MAX_DAY_OF_WEEK = 6; private static final int DAYS_IN_WEEK = 7; private static final long MILLIS_DAY = 8640; @SuppressWarnings("deprecation") pub

Building two war-files with Maven using different web.xml

2010-08-06 Thread Stephan T
I'm using the GWT-plugin for Maven to build my application. I want to build two war-files where the only difference is that I want to use a different web.xml. How do I achieve that? Here's my pom.xml: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"

Re: Get week number from a Date object

2010-08-06 Thread Glimpse
Thank you. Maybe I made a mistake when coding it with your algorithm, but it seems that it does not always work. As a reference, I'm using this website (in french): http://www.calendrier-365.fr/calendrier-2010.html And I found this script to work well: http://syn.ac/tech/19/get-the-weeknumber-wi

[incubator] Adding GlassPanel to arbitary Widgets

2010-08-06 Thread Nirmal
I need to show a faded background over my widget[a DisclosurePanel] when an error message pops up. The GlassPanel from the Incubator can only be added to AbsolutePanels. Anyway to add GlassPanel over arbitary Widgets (specifically DisclosurePanel)?? Regards, Nirmal -- You received this message

Re: How do you use @sprite's and in UiBinder ui.xml templates?

2010-08-06 Thread Nicolas ANTONIAZZI
Width/Height will be automatically written in your css class, you do not need to do any reference on it. 2010/8/6 Nicolas ANTONIAZZI > Hi, > > The right syntax is : > ** > * *** > > Then, simply use : > > *...@sprite .active {* > *gwt-image: 'activeImage';* > *

Re: How do you use @sprite's and in UiBinder ui.xml templates?

2010-08-06 Thread Nicolas ANTONIAZZI
Hi, The right syntax is : ** * *** Then, simply use : *...@sprite .active {* *gwt-image: 'activeImage';* * }* * @sprite .deactive { gwt-image: 'deactiveImage'; } Moreover, If you wish to directly use an image ( )

Re: Instantiate composite on the server side

2010-08-06 Thread Stephan T
The reason why I try to do this is that GWT doesn't support reflections. I'm trying to use a helper method on the server side which receivs the class name, the server side then instatiates the class and returns it to the client. Any other suggestions how to solve this problem? On 5 Aug, 15:47, Mi

Re: Who knows how to execute native code in server-side

2010-08-06 Thread Yingwei HU
Thank you for your response. I am such a fresh man on gwt... Yes, as you guess, I am using app engine. I think the first step for me is to deploy my codes on glassfish or Tomcat. Is that right? Would you like to tell me what kind of function/module I need to call in glassfish in the next step? O