Re: Open Source WIdget Library

2009-10-03 Thread mikedshaffer
You should also take a look at SmartGWT http://code.google.com/p/smartgwt/ On Oct 3, 5:56 am, James wrote: > Hello All, > I've been looking for the best open source widget libraries to extend > GWT 1.6. EXT-GWT was very good, but it's not cheap for commercial use. > Specially there are some widg

Re: Using JavaMail in a GWT application

2009-09-30 Thread mikedshaffer
Your javax code looks fine (I have props.put ("mail.transport.protocol", "SMTP" ); also, but I don't recall if it's necessary). So I'd check to see if the mail server is receiving the email. A couple ways to do that is to turn on logging on the mail server (that's not my area of expertise but we

Re: Recommendations for a server-side Java framework to use with GWT?

2009-09-18 Thread mikedshaffer
To dovetail on Ian's points...first decide what you'll need to do and go from there. We don't use a framework per se, but rather we are centered on Spring on the server, and we do a lot of Hibernate too. But these don't really fit the "framework" model especially when it comes to GWT and the clie

Re: Creating a wizard - Series of steps with GWT

2009-09-16 Thread mikedshaffer
You should also look at GWT-Ext. It has some wizard framework type stuff. I haven't used this part, but GWT-Ext as a whole is strong. http://www.gwt-ext.com/demo/#cardLayout or as Paul recommends, get some inspiration and create just what you need. GWT is a sweet spot for just that Later,

Re: Is Google Web Toolkit for me?

2009-09-03 Thread mikedshaffer
I'll throw in here GWT is primarily a client side technology, so in your statement "better off sticking with PHP, JS, & CSS", GWT would replace only the last 2. PHP (obviously) only runs on the server. By choosing GWT you will still need to choose a server side technology assuming you want

Re: Issues Debugging GWT apps

2009-08-27 Thread mikedshaffer
Maybe not the greatest amount of help, but look into your Debug Configurations first. Click the down arrow next to the debug "bug" icon, and second from the bottom should be "Debug Configurations..." You should have a Web Application configuration (make sure it has the blue Google G) in the tree

Re: XML to Pdf

2009-08-24 Thread mikedshaffer
I've personally done this with GWT on the client and BIRT on the server. Worked great. BIRT is a terrific tool for just this. On Aug 24, 8:34 am, Rahul wrote: > Thanks David, > Being a novice in this, can you suggest some of the frameworks if can > do that for: > I know two of them: > > a) J

Re: Plain OO question

2009-08-24 Thread mikedshaffer
I'm not a big time OOP expert, but one way I've done something like this is to create a containment object, call it "Schedule". The Schedule can have N number of Courses. Each course has its set price. But the Schedule will have business logic that will determine the final price of things based

Re: Email from GWT appliction

2009-08-21 Thread mikedshaffer
Do the telnet. Smells like wrong port/firewall/SMTP blocking to me. The provider that you're using might have an SMTP server of their own, like comcast or whomever. Try that too... Good luck. On Aug 21, 4:58 am, Lothar Kimmeringer wrote: > abhiram wuntakal schrieb: > > >   Thanks for the piece

Re: Java To Java RPC

2009-08-11 Thread mikedshaffer
We solved this by treating the RPC Server as a facade, calling a true "business type object". Create another facade that the Java client can interact with. Standard OO design guys... On Aug 11, 4:13 am, Nathan Wells wrote: > Possible, yes. > > Problematic, yes. > > The basic problem you'll run

Re: Future of GWT

2009-08-07 Thread mikedshaffer
Unless you write in the native language of your application container and remain fully versed in the variety and upgrades, you are in this same position regardless of your choice of library/compiler/ environment. If you write apps using Java and suddenly the complier stopped being compatible with

Re: GWT and struts integration

2009-08-06 Thread mikedshaffer
Similar to what Mariyan says, it really depends on how integrated you want GWT to be inside your Struts app. Dave Geary devotes a whole chapter to this topic in his book "Google Web Toolkit Solutions". It was written for GWT 1.4, but it remains very relevent. Pick it up at Amazon or your favori

Re: Installer for Deploying GWT Applications

2009-08-04 Thread mikedshaffer
I can't answer your question directly, but I can offer a few more questions...you'll get the point. Where is this "application" going to be "installed"? GWT applications are web browser based applications written in Java and compiled out to native web language (HTML/CSS/Javascript). The applica

Re: Changing from Gwt 1.5.3 to 1.7

2009-08-03 Thread mikedshaffer
I'm going to disagree with the last two comments. Now is exactly the time to make the changes. If they are looking at 1.7, they probably have some amount of issues and bugs that they aren't able to fix themselves. We're assuming they don't have a lot of development resources, maybe they do. So

Re: Changing from Gwt 1.5.3 to 1.7

2009-08-01 Thread mikedshaffer
And then test, test, fix and retest. On Jul 31, 10:25 pm, jagadesh wrote: > HI Guys , > > We Developed a Application using Gwt 1.5.3 . now our release time is > very close . > Is it possible to change the existing code from 1.5.3 to Gwt 1.7 with > minor changes > > what are the important changes

Re: Want to move to GWT for UI part of my site - Will it be SEO optimized

2009-05-29 Thread mikedshaffer
2nd the recommendation of the Dwyer book, it's about the only printed info you can find specifically about SEO and GWT. This is a big AJAX issue and GWT, being an AJAX solution is saddled with the same issues in regards to SEO that all AJAX based solutions are. On May 29, 9:01 am, Jim wrote: >

Re: JSF with GWT

2009-05-29 Thread mikedshaffer
Yes it is. GWT is simply a different way to do AJAX, and my understanding of JSF is that they are extremely compatible. That being said, whenever I'm asked "Can GWT work with $PRODUCT" where $PRODUCT is Struts, PHP, JSF, ASPX, whatever, I ask "what are you trying to accomplish?". Are you doing

Re: How to create CSS style for disabled buttons

2009-04-03 Thread mikedshaffer
Don't know if you're directly pasting your css here or retyping, But your rule says "diabled" and not "disabled" On Apr 3, 3:55 pm, newbie09 wrote: > I am new to GWT, below style is not working, > > .gwt-Button[diabled] { >     font-family: Tahoma, Arial, Verdana, sans-serif; >     font-size: 10

Re: Need tutorial for GWT and struts integration

2009-03-31 Thread mikedshaffer
If you do a search with in this group, you'll find a number of threads like this: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fb41b4f180a7ac69/3521c7173db89676 If you do a Google search for struts+GWT+tutorial, you'll find many relevent hits The book, GWT Solutions by

Re: to be or not to be... gwt-ext or not thats the question

2009-03-25 Thread mikedshaffer
Do you like the way the extGWT buttons look? Do you like the way they behave? Are you or planning to use any of the other functionality/ widgets that extGWT provides? If only for buttons, and if you/your users can live with standard HTML buttons or you want to craft your own...seems like the an

Re: Approaches to develop a stateful application

2009-03-24 Thread mikedshaffer
A little late getting to this post...but here's what we've determined is the best practice. Keep the state of your application on either of the two ends of your application stack. By that I mean either on the client, or in your database (assumes you have one). If you don't have a database, then

Re: Copy to Clipboard

2009-03-24 Thread mikedshaffer
I second Nicanor's solution: have the click event handler on the button move the text from the first textbox to the second one. That's all copy does natively... Good luck. Later, Shaffer On Mar 24, 6:29 am, Nicanor Babula wrote: > Given the situation: > [code] > TextBox txtBoxSrc = new Text

Re: waiting for help

2009-03-24 Thread mikedshaffer
And to follow up further, there are a number of resources available for doing some amount of GWT integration with Struts, Dave Geary's book, Google Web Toolkit Solutions, for one. Another resource is to look at general information on integrating AJAX with Struts. GWT is after all, a way to do AJ

Re: Huge Javascript Size and 5 different copies

2009-03-17 Thread mikedshaffer
And I guess I'd be curious to hear if the concern is the amount of space required for these files on their webserver, which would be reduced if the code is obfuscated, or if their concern is the size of the code base as it impacts the browser, which was answered by both posts. Or if lastly, the s

Re: Memory leak in GWT based application

2009-03-13 Thread mikedshaffer
IE (especially IE6) has been notorious for leaks...this is neither new, nor specific to GWT. I was working on a "traditional" AJAX application back in 2003 - 2005 (it was a monster!) and we fought memory leaks all the time. One of the big challenges is, as was mentioned, is when you make an RPC

Re: Synchornous GWT, how can i do that

2009-03-10 Thread mikedshaffer
Lothar's original suggestion "Do the UI-update in a method called updateUI where you check if all necessary data (e.g. above lists) are present and call this method in every onSuccess-method of the different AsyncCallback-classes. " is the way to go. How much extra code is too much? You have 5

Re: Genrating Excel

2009-03-10 Thread mikedshaffer
AgreedI'd love to see how you are doing this in GWT. Maybe include some of your source code and we could be of more assistance, either with advice or a direction to look (likely the POI forum!) On Mar 10, 7:06 am, Lothar Kimmeringer wrote: > Kedar schrieb: > > >       I have genrated Excel

Re: Using java.io.File within a GWT unit test

2009-03-09 Thread mikedshaffer
As far as I know, you are still bound by all the browser rules, regardless of the fact you're running in hosted mode. The hosted mode browser is still a web browser, and your code is compiled out to Javascript, so I'm pretty the compiler isn't going to behave differently in hosted mode. Your bes

Re: GWT on Eclipse

2009-03-09 Thread mikedshaffer
I don't want to enter into an Eclipse vs. Netbeans debate, but I'll simply say that I use Eclipse and have virtually no experience with Netbeans. But if you're looking for help setting up Eclipse to use GWT, take a look at Robert Hanson's book, GWT in Action ( http://www.amazon.com/GWT-Action-Eas

Re: gwt in mac

2009-03-09 Thread mikedshaffer
My .02 USD... I do about half of my GWT development on a Mac, and the other half on Windows. After the initial configuration, they are identical. The secret to that is to use Eclipse. GWT inside of Eclipse is a piece of cake and is basically the same on either platform. I move Eclipse from wo

Re: http://www.whirled.com/

2009-03-09 Thread mikedshaffer
If you take a look the page using Firebug, you'll see a bunch of CSS and Flash, not much else going on there. Good GUI library for GWT? Check out SmartGWT http://code.google.com/p/smartgwt/ or Ext GWT http://extjs.com/products/gxt/ Both are fantastic libraries of UI goodness... Good luck! Lat

Re: incorporting external jars

2009-03-09 Thread mikedshaffer
Thanks to Vitali for answering this so promptly, so in the effort of teamwork, I'll attempt to follow up and answer ds's inquiry. Every modern programming language needs a "container" to run it's code in. Java has a container, .Net has a container, even old Visual Basic had a container.Not t

Re: limitation on text area length?

2009-03-04 Thread mikedshaffer
Can only answer the first one, and partially. I was teaching a high school web design class a couple of years ago and a kid copied and pasted about a zillion characters into a text area and got it to fail. I'm sitting on a bus right now so I don't have the specifics, but I seem to remember it wa

Re: i am wondering can gwt do the following?

2009-03-04 Thread mikedshaffer
Agreed. Some of the GWT Canvas work make some of this easier, but over all, Javascript in a browser (which is what GWT is after all!) isn't your best choice. Flash (which they used) or an applet (java or whatever Microsoft is calling an activex control these days...) would make your life easier.