Re: How to compile code for UNIX

2009-05-05 Thread hazy1
Do you know what the output of the GWTCompiler is? It is Javascript and HTML. The bar to the IT industry is so low sometimes I wonder how any software works at all. Sorry to be mean, but seriously. How many seconds would it take to deploy your javascript/html/etc to a Unix web server and see

Re: HandlerRegistration not always so friendly ??

2009-05-05 Thread Ed
And another thing: How do I change the source object that is contained in the event (like using a proxy object)? I mean: the source object is determined when the HandleManager is created and can't be changed anymore. In my current gwt 1.5 code I changed this source such that it matched the

Re: Eclipse Plugin Compile Button Stack Overflow

2009-05-05 Thread denis
I have the same issue. With the regular compiler, I can avoid stack overflow error thanks to -Xmx512m -Xms128m -Xss8M in the VM arguments box. But, with GWT compiler, I have not found a way to set these arguments, and the compiler is stopped with the stack overflow error. Using GWT compiler is

Re: problem about add the 3rd party gadgets to GWT page.

2009-05-05 Thread Raydo
Hi, I'm trying to load gadgets into my own application for some time now, but without luck :( I like someone to be able to enter the url of a gadget, which then should be added to my application. NOTE: this gadget is unknown at compile time, it's url is entered during runtime) Can this be done ?

Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext

2009-05-05 Thread bt
I tried using GWT1.6 and created a project using GWT eclipse plug-in ans added the project to CVS. I am not able to launch the project any more. I am able to run the actual project which is not checked into CVS. I get the following error: May 4, 2009 11:49:40 PM

Re: How to use the combo box with id/name

2009-05-05 Thread Engidea-GWT
This is how I did it Create a ComboBoxModel class that holds the data model, an ArrayList of ComboBoxKeyValue interface So you can feed the model with various types of objects that implements the interface. public interface ComboBoxKeyValue { /** * Implementors must provide a way to get

Re: How to cast object to Widget type?

2009-05-05 Thread prabu p
In that case you need to use switch case after you get the class name, to match all the Widget types. hope this would help you. ~ Prabu On Tue, May 5, 2009 at 6:12 AM, matttai matt...@hotmail.com wrote: Hi guys, here is my problem. How do i get the type of a widget and cast it. I am

Re: charts4j, a Google Chart API wrapper library ported to GWT

2009-05-05 Thread Salvador Diaz
What's the difference between your library and the GWT wrapper for the Google Visualization API ? http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=Visualization Cheers, Salvador On May 5, 1:06 am, Julien julien.c.chast...@gmail.com wrote: Hello GWTers We are from the

Re: help required

2009-05-05 Thread Salvador Diaz
Why don't you let us see your classes to understand what's going on ? You could use pastebin or snipplr. Cheers, Salvador On May 5, 8:24 am, poonam poonam...@gmail.com wrote: Hello all,     I am creating the validation classes for RequiredField,TextPattern,Numeric field,etc. I have got

Re: Eclipse Plugin Compile Button Stack Overflow

2009-05-05 Thread Salvador Diaz
Instead of using the regular Google Eclipse Plugin launchers, you could use a regular Eclipse launcher and pass the arguments there. For a more detailed explanation, look at this post: http://blog.salvadordiaz.fr/2009/04/29/keep-your-source-tree-clean-gwt/ The last bullet point in the section

Optimisation of obfuscated mode

2009-05-05 Thread Elias Martenson
When looking at the generated Javascript code in obfuscated mode, I can see a lot of functions that, after obfuscation, has become identical to eachother. For example, here is a real example from my application: function yLc(a,b,g,f,e,c,d){return 0} function zLc(a,b,g,f,e,c,d){return 0}

Re: How to cast object to Widget type?

2009-05-05 Thread Salvador Diaz
for(Widget widget:array) {         ((this.getParent().getClass().getName()) widget).someMethod (this); } You went a step too far, try stoping at getClass() ((this.getParent().getClass()) widget).someMethod I don't know if that will work though, you'll have to try for yourself.

Re: Optimisation of obfuscated mode

2009-05-05 Thread Salvador Diaz
I'm curious about this, could you compile in pretty or detailed and show us this duplicate functions ? Thanks, Salvador On May 5, 9:50 am, Elias Martenson loke...@gmail.com wrote: When looking at the generated Javascript code in obfuscated mode, I can see a lot of functions that, after

GWT Wots4Dina Opera Widget

2009-05-05 Thread eggsy84
Hi all, A quick message to let people know about a new GWT application I have developed called Wots4Dina. It has been entered into a competiiton with betavine.net The application is an Opera widget that users can run on the desktop as well as mobile phones and allows people to search for

Re: GWT 1.6 and Maven directory structure

2009-05-05 Thread Rahul
Thanks Salvador, I have read thru that discussion; apparently lot of people in the same situation. I think developing with GWT should have been made much more easier ;-( I am using Eclipse 3.5m6, so no chance of even using the Google Eclipse plugin - I have been looking for a site where I could

Navigation and Filtering

2009-05-05 Thread robin.muellerb...@googlemail.com
Hi, I´m new to the GWT and made the Stockwatcher Tutorial yesterday. I´m actually developing JSF in an internship, but because of problems with Ajax I started evaluating GWT for our purposes. It would be nice if you could answer me some questions about the difference between JSF and GWT and if

Re: 404 - GET /favicon.ico

2009-05-05 Thread hezjing
Yes, the warning is gone after creating a favicon.ico in war directory. Thank you very much! On Tue, May 5, 2009 at 3:10 AM, Salvador Diaz diaz.salva...@gmail.comwrote: Oh yeah, I forgot to mention that this isn't important at all, your application will work just fine without it On May 4,

Re: Navigation and Filtering

2009-05-05 Thread Miroslav Genov
Hello, 1) GWT is java-to-javascript compiler which means that GWT is only client code, not server code. Here you are talking about the scope of the server. 2) Here I think that there are two options. The first one is to have a single page with history support of GWT for navigation where the

Re: Optimisation of obfuscated mode

2009-05-05 Thread Elias Martenson
On May 5, 4:19 pm, Salvador Diaz diaz.salva...@gmail.com wrote: I'm curious about this, could you compile in pretty or detailed and show us this duplicate functions ? I think that would be hard, since it's quite difficult to map a function to the actual method when looking at the obfuscated

Re: GWT 1.6 and Maven directory structure

2009-05-05 Thread Salvador Diaz
Well, you can still use maven to do the mirroring of source folders to output folders, but you'll have to do it manually (I don't know if m2eclipse is compatible with eclipse 3.5). In any case, if it's really important to you to keep the maven structure for your project, there are workarounds out

Re: GWT 1.6 with Maven and build system questions/survey...

2009-05-05 Thread Ed
I use 1.6.4. from a maven repo.. I used http://code.google.com/p/gwt-maven/ for my maven build but moved to the codehouse gwt maven plugin as indicated on the http://code.google.com/p/gwt-maven/ site, as this latter one will not be developed anymore and they adviced to move to the codehouse

Re: GWT 1.6 with Maven and build system questions/survey...

2009-05-05 Thread Ed
Just point your output dir to your target dir with the codehouse plugin and simple ignore it... That what I do Works fine... --Ed On Apr 16, 3:27 pm, Mark Renouf mark.ren...@gmail.com wrote: The maven-gwt-plugin from codehaus is looking quite good at this point. I recommend trying

System requirements

2009-05-05 Thread Sal
Where can I find system requirements for the different versions of GWT ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: How to cast object to Widget type?

2009-05-05 Thread matttai
Actually i've tried it stopping at the getClass() as well. But i realised doing this shouldnt be necessary in what i was trying to do (implementation of observer pattern). Passing in the interface as an argument would give objects access to the unique method of each interface thus rendering the

How do I write my own version of DialogBox?

2009-05-05 Thread darkflame
After having lots of trouble trying to extend DialogBox to have a close button ( http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/4ee8f8169c2e3594) and it continuing to work in a sort-of not-very-well or flexible manor, I decided to just copy and modify googles Dialog class.

Re: System requirements

2009-05-05 Thread Salvador Diaz
http://code.google.com/webtoolkit/gettingstarted.html On May 5, 11:10 am, Sal salcob...@gmail.com wrote: Where can I find system requirements for the different versions of GWT ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: How to cast object to Widget type?

2009-05-05 Thread Salvador Diaz
Yes that's a better solution. It's a good rule of thumb to stop and think about what you're trying to do when you're forced to cast your objects, oftentimes there's a better solution. Cheers, Salvador On May 5, 11:15 am, matttai matt...@hotmail.com wrote: Actually i've tried it stopping at

Ext GWT Mail Demo

2009-05-05 Thread Paul Grenyer
Hi All Does anyone know where I can find the source code for the Ext GWT Mail Demo: http://extjs.com/mail/? It's not included in the GXT download. Alternatively, does anyone know of a good GXT MVC tutorial? -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com w:

Re: Announce: SimpleGesture, mouse gesture recognition

2009-05-05 Thread emarc
Hi Sumit, Yeah, manipulating an image serverside with only a small amount of memory available is not the best of ideas... It's been handling it fairly well, though. Actually I do have another simple idea that I was going to do as a demo, I'll see if I can get that done sometime soon. Best

Re: Fire a MouseOutEvent

2009-05-05 Thread Thomas Broyer
On 5 mai, 00:04, Chad chad...@gmail.com wrote: Hi all, I need to fire a MouseOutEvent on a PushButton and can't figure out the right way to do it. I have a couple different scenarios where I need this. One is when I click the button, it gets hidden (while the mouse is still over it).

Re: Getting item select events from suggestbox list

2009-05-05 Thread Thomas Broyer
On 4 mai, 15:16, zame...@gmail.com zame...@gmail.com wrote: Hi All, I am using SuggestBox, and there are DTO-s in list. When a user selects items with up and down key, I need to get the selected element to display all data of DTO item on a detail form. It seems to be, there are not a

Re: How to parse Nested JSON through Overlay Types

2009-05-05 Thread Thomas Broyer
On 5 mai, 06:43, Brijesh brijesh.j...@gmail.com wrote: Hi, I am new to GWT and struggling to get my json parsed on GWT client, I have a nested JSON which i need to parse through overlay types. Please suggest me how to parse it. JSON is like  [{BG1:[{ BA1:[{DESK1:[IG1, IG2],DESK2:[IG1,

gwt visualization : gauge

2009-05-05 Thread ytbryan
Hi all, I want the four gauge on my gwt application and i want to lay them horizontally. right now, it is appearing in two column and two rows. how do i make it just one rows and four column? thanks and regards bryan --~--~-~--~~~---~--~~ You received this

Re: gwt visualization : gauge

2009-05-05 Thread ytbryan
and one more thing for intensity map.. i read that the maximum height and width is 440 and 200 respectively. is there any ways to increase these two variables? On May 5, 1:39 pm, ytbryan ytbr...@gmail.com wrote: Hi all, I want the four gauge on my gwt application and i want to lay

Capturing Error Messages (JSON) from Grid Panel (store) immediately. / Trigger of store's loadexception

2009-05-05 Thread Balakrishnan B
Hello All, We are using a grid panel with a proxy timeout of 3 mins. For error JSON messages, loadexception is not triggered immediately. It is waiting for 3 mins to finish and it is getting triggered. Can some one help us to immediately trigger this function ? We have also tried

Re: Eclipse Plugin Compile Button Stack Overflow

2009-05-05 Thread Miguel Méndez
We have a fix that allows you to specify the VM args for both the GWT Compile toolbar action as well as the GWT Compilation that takes place during deploy. As a work around, you can invoke the GWT compiler manually, see http://code.google.com/webtoolkit/doc/1.6/DevGuideCompilingAndDebugging.html ,

Re: Eclipse Plugin Compile Button Stack Overflow

2009-05-05 Thread denis
Thanks. I understand that I can avoid the button. I will try the workaround with line mode. As I said, my purpose is to export a GWT application to Google App Engine. GWT Eclipse plugin invokes the GWT compiler leading to the stack overflow. Denis On 5 mai, 14:40, Miguel Méndez

Re: gwt visualization : gauge

2009-05-05 Thread ytbryan
and one more thing for intensity map.. i read that the maximum height and width is 440 and 200 respectively. is there any ways to increase these two variables? On May 5, 1:39 pm, ytbryan ytbr...@gmail.com wrote: Hi all, I want the four gauge on my gwt application and i want to lay

Re: HandlerRegistration not always so friendly ??

2009-05-05 Thread Thomas Broyer
On 5 mai, 08:30, Ed post2edb...@hotmail.com wrote: And another thing: How do I change the source object that is contained in the event (like using a proxy object)? This one's easy, so I'll answer; I'll let the GWT team answer you other concerns ;-) I mean: the source object is determined

Re: Deployment of default GWT application.

2009-05-05 Thread Dan King
I figured this out. All you need to do is copy the whole war folder into the Tomcat deploy folder. On Ubuntu that folder is located at / var/lib/tomcat6/webapps So say if you have a project named testProject create that folder in the Tomcat deploy folder, giving you /var/lib/tomcat6/webapps/

Size of panels.

2009-05-05 Thread Dan King
I am having some difficulty with the display of a a bunch of panels. I need a specific layout and am adding a HorizontalPanel with two Labels on it to a VerticalPanel, named x, with a Label on top and the HorizontalPanel on the bottom and then adding the VerticalPanel, named x, to another

Re: How to use the combo box with id/name

2009-05-05 Thread Thomas Broyer
On 5 mai, 07:03, Brijesh brijesh.j...@gmail.com wrote: Hi, I need to implement a custom GWT combo box which will except the id/ value and show values on front end and we can get the ids for the values selected... If any one have sample programme for the same i will be really greatfull..

GWT for WAP

2009-05-05 Thread Alejandro Fernandez
Hi: I am in a project about constructing a WAP application with Tomcat (Jboss). Do you know if GWT can help me in this case? Can you suggest me any framework that could help? Regards, Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: charts4j, a Google Chart API wrapper library ported to GWT

2009-05-05 Thread Thomas Broyer
On 5 mai, 09:42, Salvador Diaz diaz.salva...@gmail.com wrote: What's the difference between your library and the GWT wrapper for the Google Visualization API ? Probably the same as between Google Chart API and Google Visualization API ;-) http://code.google.com/apis/chart/ vs.

solution

2009-05-05 Thread bk13
hello, the problem was the quirks mode. Instead of: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN I'm using: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd and now it works. bert

Re: HandlerRegistration not always so friendly ??

2009-05-05 Thread Ed
Thanks for the tip Thomas, sure is usefull. Yep, I know about the sinking, but I already toke care of this myself in a lazy fashion. I extend all the basic objects like TextBox and Label and override all the add**Handler().. which are forwarded to a Observer instance that contains my own version

Re: Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext

2009-05-05 Thread Rajeev Dayal
FWIW, in my old CVS days, I remember that you had to ensure that binary jars that you check into CVS are explicitly tagged as binary. If not, they can get corrupted when checked out. Check out the following CVS doc: http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_9.html#SEC79 2009/5/5 Miguel

Need help with CAS

2009-05-05 Thread Gildas
Hello, I am working on an GWT application and I would like to use CAS to manage authentication. In order to integrate CAS to my application, I modified the web.xml file and I added the CAS filter. The problem I encountered is that I don't know how to validate the ProxyTicketValidator in my GWT

Re: GWT for WAP

2009-05-05 Thread eggsy
Are you developing an application for a mobile phone? If so GWT can be used if the phone can display webpages and run Javascript. GWT is mainly a client side technology with some server side usefulness such as RPC methods. If your application is to be run on the web the server side technology

Re: How to change the base URL for the app in Hosted Mode??

2009-05-05 Thread k9mab
Is it possible to get this to use the actual hostname instead of localhost? I'm trying to tie this into CAS auth filter which redirects to a login page on the CAS server, which in turn redirects back to my page after auth is successful. I get through the CAS auth ok but the redirect back to my

Re: How do I write my own version of DialogBox?

2009-05-05 Thread Isaac Truett
Thomas, What I did when I wanted to open up some SuggestBox features was to copy the source file into my project source tree so that it maintained the same package, and therefore access to package-protected methods. I made the minimum required changes to that class, trying to keep future merges

Re: GWT 1.6.4 error

2009-05-05 Thread Salvador Diaz
Try adding the following to your jasperreports import in your pom: exclusions exclusion groupIdeclipse/groupId artifactIdjdtcore/artifactId /exclusion

Re: problem with TextField of gwt-ext

2009-05-05 Thread Salvador Diaz
Deprecated use of gwt.typeArgs for field attributesAllowed; Please use java.util.ArrayListjava.lang.String as the field's type Just do what the warning says: remove the gwt.typeArgs from your rpc declaration and use generic types instead. [ERROR] Unable to load module entry point class

How to suppress the token change for Hyperlink

2009-05-05 Thread Kevin Qiu
Hi all, I have a bunch of hyperlinks and I want them to act like buttons (respond to ClickEvent) but I don't want them to change the history token which will mess up my history mechanism. How would I do that? I tried setting target history token to null but it doesn't work. Thanks,

GWT 1.6.4 and mysql -- javax.naming.NoInitialContextException

2009-05-05 Thread TomJanssens
Hello all, I just started migrating my GWT 1.5 application to GWT 1.6.4 and I ran into the following problem. When I run the application in hosted mode, the server crashes: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet

Re: Fire a MouseOutEvent

2009-05-05 Thread Chad
Thomas, Thanks for the information. I had already been snooping around the DomEvent and fireNativeEvent stuff. I guess I can go ahead and subclass PushButton for my ToolButton like I've been putting off. ;) Chad On May 5, 5:58 am, Thomas Broyer t.bro...@gmail.com wrote: On 5 mai, 00:04, Chad

Read title of webpage using gwt

2009-05-05 Thread surfi2000
Hi, Is it possible to get the title of a website that the user is currently on? For example, if in the html code the following is said titleFirst/ title gwt will give me a variable containing the string First Thanks --~--~-~--~~~---~--~~ You received this

Re: Image size

2009-05-05 Thread denis56
IE 6 ( On May 4, 6:40 pm, hezjing hezj...@gmail.com wrote: Hi I just upgrade my browser to IE8 and the image doesn't scale anymore without specifying the size. It seems that the image will scale in IE7 if we don't specify the size explicitly. denis56, are you using IE7 too? On Sat,

Re: GWT 1.6.4 error

2009-05-05 Thread nmasilva
Thanks Salvador, it worked On May 5, 5:21 pm, Salvador Diaz diaz.salva...@gmail.com wrote: Try adding the following to your jasperreports import in your pom: exclusions                                 exclusion                                         groupIdeclipse/groupId                  

Gears GWT API on Android behaving differently?

2009-05-05 Thread Evan Ruff
Hey guys, I've got a pretty heavy gears app the works great in IE, Firefox and Chrome; however, I'm getting some inconsistencies when running it on Android using Gears GWT API 1.2.0. Whenever I seem to run ANY query, I get a Wrong number of SQL parameters DatabaseException. Everything works

Re: DecoratedTabPanel spacing

2009-05-05 Thread Sumit Chandel
Hi L Frohman, Have you tried setting the DecoratedTabBar style used by the DecoratedTabPanel? You should be able to set the spacing on the .gwt-DecoratedTabBar style itself, or you can define your own style and mimic the CSS used in gwt-DecoratedTabBar. DecoratedTabBar class:

Re: Gears GWT API on Android behaving differently?

2009-05-05 Thread Evan Ruff
Oh also, I should add, that I checked out the DB structure using the little DB explorer guy that is available in the vanilla gears distro. The SQLite DB looks identical as the one on the other platforms, just without data ('cause of all the SQL errors, I assume) Thanks! E On May 5, 2:22 pm,

Re: Define a javax.sql.DataSource in GWT 1.6 RC2

2009-05-05 Thread Sumit Chandel
Hi Emanuel, If you've reached a point in your development cycle where you need to define data sources and are using other backend technologies, you should switch to using hosted mode with the -noserver option. This has the benefit of being able to continue debugging your GWT code in hosted mode

Re: Getting item select events from suggestbox list

2009-05-05 Thread zame...@gmail.com
On máj. 5, 06:40, nina juliadot...@gmail.com wrote: Hi Zamek Have you read thehttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... about the Associating Data Transfer Objects (DTOs) with Suggestion Objects? I've written my own SuggestBox, SuggestOracle and Suggestion,

Re: Getting item select events from suggestbox list

2009-05-05 Thread zame...@gmail.com
On máj. 5, 13:03, Thomas Broyer t.bro...@gmail.com wrote: On 4 mai, 15:16, zame...@gmail.com zame...@gmail.com wrote: Hi All, I am using SuggestBox, and there are DTO-s in list. When a user selects items with up and down key, I need to get the selected element to display all data of

Re: HandlerRegistration not always so friendly ??

2009-05-05 Thread Ed
BTW: why not use Generics to parameterize the Source object in an event ? I use it for my own events and same to work very nicely (same as gwt does for his ValueChangeEven) -- Ed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: How to suppress the token change for Hyperlink

2009-05-05 Thread Isaac Truett
Use Labels, give them ClickHandlers, and style them the same way you style hyperlinks. On Tue, May 5, 2009 at 12:15 PM, Kevin Qiu kevin.jing...@caseware.com wrote: Hi all, I have a bunch of hyperlinks and I want them to act like buttons (respond to ClickEvent) but I don't want them to

Re: Calling a different HTML page

2009-05-05 Thread Sumit Chandel
Hi Harjit, Assuming that you really need these windows to be actual native browser windows (and not simply popup panels, in which case you could use the PopupPanel class), and further assuming that the HTML in the new windows will need to be populated with some data from the server-side, here is

best practices for gwt + jee

2009-05-05 Thread Pecc
Hello everyone, I'm quite new to GWT and JEE, so I'm looking for some general help. What are the best softwares and methods for developing a jee application with GWT? What should i choose as IDE, app server, plugins so that they work together well, and are easy to use? Are there any drag'n'drop

Re: How to suppress the token change for Hyperlink

2009-05-05 Thread George Georgovassilis
Hi Kevin, had the same problem. Similar to Isaac's solution I used labels to do the trick, but that left a shallow aftertaste since you have to put a lot of work into them (make them focuseable etc for keyboard navigation) and they still don't feel like real links. Left aside the cool stuff you

Re: How to suppress the token change for Hyperlink

2009-05-05 Thread Kevin Qiu
Thanks for the replies guys. I tried overwrite onBrowserEvent for Hyperlink and cancel event bubbling when the link is clicked but it didn't work out. It still invoked history change. Maybe I didn't do it the right way, but anyways, I used a styled label - it's a quick and easy fix. On May 5,

Re: best practices for gwt + jee

2009-05-05 Thread Jim
You can use 1. Eclipse (3.4.2), 2. Tomcat 6, 3. Google GWT Eclipse Plugin and 4. http://code.google.com/p/gwt-dnd/. Jim http://www.gwtorm.com/mail/Mail.html for GWT Mail Example. http://code.google.com/p/dreamsource-orm/downloads/list On May 5, 3:07 pm, Pecc valyi.p...@gmail.com wrote: Hello

Re: Define a javax.sql.DataSource in GWT 1.6 RC2

2009-05-05 Thread Jim
You can find an example using data source with Spring in http://www.gwtorm.com/mail/Mail.html. Jim On May 5, 2:30 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Emanuel, If you've reached a point in your development cycle where you need to define data sources and are using other

Announce: Simple GWT and Spring integration

2009-05-05 Thread gpike
If your looking for a clean simple way to allow your RPC services to hosted in Spring or have existing Spring services that you would like to access as RPC services then take a look at http://code.google.com/p/gwtrpc-spring/. GwtRpc-Spring provides a RemoteServiceDispatcher that takes rpc

Re: GWT and Spring annotation

2009-05-05 Thread gpike
Can you provide more information? Are you including one project in the other by including a jar etc..? What annotations are you using? (@Component, @Service etc..) Regards Gordon On May 2, 11:06 am, greg gregory.le.bonn...@gmail.com wrote: Hi, I have a problem with GWT and Spring

Re: Calling a different HTML page

2009-05-05 Thread harjit.singh
Sumit, Thanks for your solution. This is the same way I did it. I have a question on the same lines Is there any way that link call a different GWT module ? Thanks - Harjit On May 5, 2:53 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Harjit, Assuming that you really need these

Re: Calling a different HTML page

2009-05-05 Thread harjit.singh
Sumit, Thanks for the response. I did the way you described it using JSP. I have one more question on the same lines. how can I call another module from a link ? Thanks - Harjit On May 5, 2:53 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Harjit, Assuming that you really need these

GWT is it possible?

2009-05-05 Thread Edsoncv
Hello community I'm pretty new at this tool, I have some knowledge about java, and we are evaluating the technical issues regarding moving a Java project to run into a web browser. The project it's all in java and uses a java based drawing tool called Jgraph (www.jgraph.org), it's a drawing

Re: How to suppress the token change for Hyperlink

2009-05-05 Thread Ian Bambury
What is the advantage of a 'real link'? Who will ever know? If you need focus and no history, use a styled PushButton Ian http://examples.roughian.com 2009/5/5 George Georgovassilis g.georgovassi...@gmail.com Hi Kevin, had the same problem. Similar to Isaac's solution I used labels to do

Re: Calling a different HTML page

2009-05-05 Thread Vishesh
Try the code between the tags: code String lnk = GWT.getModuleBaseURL() + newPage.html?Parameter1= + parameter1 Parameter2= + parameter2; Window.open(lnk,New Window,); /code It will open a new window which can be a different module with its onw onModuleLoad() within the same project. Hope this

Re: How to compile code for UNIX

2009-05-05 Thread X
If you need Windows / Unix / Mac recognition,you can use a property provider to generate gwt module variables {used in the .nocache.js files} define-property name=user.os values=win,mac,nix/ property-provider name=user.os![CDATA[ var ua = navigator.platform.toLowerCase(); if

Re: How to change the base URL for the app in Hosted Mode??

2009-05-05 Thread k9mab
Never mind (I think). Got it working now, returning from CAS auth and proceeding as expected. Had to specify host/port in several places and was overlooking one of them. Still gotta tinker and see how http vs https plays out, but looking better now than it was. Mike On May 5, 11:38 am, k9mab

Re: How to suppress the token change for Hyperlink

2009-05-05 Thread X
Download the a href='google.ca?q=download+gwt+incubator'incubator/a, and use the HyperlinkOverride class as an example. It is a proposed change to the regular Hyperlink object that cares not whether the alt, ctrl or shift buttons are pressed {allowing users to spawn multiple pages of your app at

Re: GWT is it possible?

2009-05-05 Thread X
I'm not gonna lie to you, if you want something that can DRAW that stuff in the web browser, it's gonna be a lot of work. Your only real choice is to use the gwt incubator canvas, create classes for every kind of thing you want to draw, including connectors and line-routing mechanisms. Unless

Re: Image size

2009-05-05 Thread X
If you want IE7 amd IE8, look into virtualbox. Microsoft gives away FREE vhd harddrives online with XP+IE6, XP+IE7, XP+IE8, VISTA+IE7 and VISTA+IE8. Of course, they only last a few months at a time, but they're free for web developer testing. {Sets up on Ubuntu real nice} Anyway... I've been

Re: How do I write my own version of DialogBox?

2009-05-05 Thread X
Aye. Use replace-with class=com.google.gwt.user.client.ui.YourCrAZyClassName when-type-is class=com.google.gwt.user.client.ui.DecoratedPopupPanel / /replace-with ...If you're willing to rewrite enough classes, you can even compile out HashMaps and Tables... And file sizes will

New 1.6 Structure.....where to put things

2009-05-05 Thread Sean
So, I am just starting 1.6 and I am confused at the most basic thing, where is my base directory. If I want to add an image to the default RootPanel that's created using the new Eclipse plugin (which is totally sweet), where do I put the actual .jpg? Ex: Image i = new Image(Pup_Milk_Chin.jpg);

Re: New 1.6 Structure.....where to put things

2009-05-05 Thread hezjing
Hi Sean You can place your image files in projectFolder/war On Wed, May 6, 2009 at 9:54 AM, Sean slough...@gmail.com wrote: So, I am just starting 1.6 and I am confused at the most basic thing, where is my base directory. If I want to add an image to the default RootPanel that's created

Re: New 1.6 Structure.....where to put things

2009-05-05 Thread Sean
Ah, thank you that worked. After so long with the www folder being for output only, it didn't occur to me that the deployable folder is for input as well. Thanks! On May 5, 9:59 pm, hezjing hezj...@gmail.com wrote: Hi Sean You can place your image files in projectFolder/war On Wed, May 6,

Re: Optimisation of obfuscated mode

2009-05-05 Thread X
public interface Bax{ public String getValue(); } public class Bar implements Bax{ String size; public String getValue(){return size;} } public class Foo implements Ba... OH WAIT!! You have one class returning String, and another returning int. I was going to say you need to use

Re: Optimisation of obfuscated mode

2009-05-05 Thread X
public interface Bax{ public String getValue(); } public class Bar implements Bax{ String size; public String getValue(){return size;} } public class Foo implements Ba... OH WAIT!! You have one class returning String, and another returning int. I was going to say you need to use

Re: How to change the base URL for the app in Hosted Mode??

2009-05-05 Thread X
I use a deferred-binding method to get my urls right for every app / build. Basically, public class xSettings{ public String xDatiiUrl(){ return Document.get().getDomain()+x51/; } and public class xYourSettings extends xSettings{ @Override public String xDatiiUrl(){ return

Re: HandlerRegistration not always so friendly ??

2009-05-05 Thread X
You can use a single StackHandlerManager for all your events for one Widget, or in a more static context if you can control where all your widgets send all their Handlers. In the old model, you needed a collection for every type of listener, and {this is BIG} you couldn't call

Re: GWT is it possible?

2009-05-05 Thread Adam T
Hi, I agree with X, if you go an SVG/VML route, but it might be easier if you take another approach - depending on what exactly you mean by draw. If you restrict yourself to placement / drag'n'drop of images/widgets on the browser and creating connections between them, then the gwt- connectors

Re: Read title of webpage using gwt

2009-05-05 Thread Adam T
Window.getTitle() should get it for you. //Adam On 5 Maj, 19:32, surfi2000 surfi2...@googlemail.com wrote: Hi, Is it possible to get the title of a website that the user is currently on? For example, if in the html code the following is said titleFirst/ title gwt will give me a variable

GWTCanvas, in a nested Grid == buggy shifts in x-coordinates in IE7. Workarounds?

2009-05-05 Thread John Gunther
I'm using a GWTCanvas widget inside of div inside of...inside of a Grid widget inside of another Grid widget inside of...etc. It all works just fine in Firefox. But in IE7 I'm finding that, unless I left-align the innermost Grid cell, the x-coordinates are getting mangled, shifting the stuff

Simple RPC Issue

2009-05-05 Thread Omer Shakil
@PersistenceCapable(identityType = IdentityType.APPLICATION) public class Group implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName=datanucleus, key=gae.encoded-pk, value=true) private String encodedKey; @Persistent

Re: Error: The import xxx.yyy.client.utils.ProgramSettings cannot be resolved

2009-05-05 Thread X
If you're in eclipse, try to refresh the package / src folder. The IDE sets up a virtual filesystem for your code, and some methods of GWT compile read from this filesystem and others use the actual filesystem. When IDE builds do weird things, try an ant build. The gwt 1.6 webapp creator makes

Re: Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext

2009-05-05 Thread bt
I got it working. the issue was with the binary files I added to the CVS. Now I am able to get it working by adding only java file to the cvs Thanks for the help. BT On May 5, 12:07 am, bt sajil.kor...@gmail.com wrote: I tried using GWT1.6 and created a project using GWT eclipse plug-in ans

[gwt-contrib] Re: Building GWT Apps

2009-05-05 Thread Salvador Diaz
Hi Papick, There have been several discussions related to this topic in the users' forum. I posted a tutorial in my blog about exactly what you're looking for: http://blog.salvadordiaz.fr/2009/04/29/keep-your-source-tree-clean-gwt/ Hope that helps, Salvador On May 4, 1:01 pm, P.G.Taboada

  1   2   >