Re: Can anyone provide a step by step maven + gwt mvp tutorial?

2010-05-06 Thread Manuel Carrasco Moñino
Hello, - There is an outdated archetype which creates a very simple Gwt project without tests nor RPCs. Unfortunately the generated pom.xml is for old gwt versions and needs that you do a bunch of changes by hand. mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo \

Re: Can anyone provide a step by step maven + gwt mvp tutorial?

2010-05-06 Thread olivier nouguier
Hi, There is there a example of what your are looking for (I guess ;) http://code.google.com/p/orcades-gwt-spring/ But there is also a spring spring security integration. HIH http://code.google.com/p/orcades-gwt-spring/ On Thu, May 6, 2010 at 12:45 AM, crojay78 croja...@googlemail.com wrote:

SmartGWT SimpleCalendar widget help

2010-05-06 Thread Naveen
Let me explain my requirements. I am working on an appointment scheduling project which is totally on struts frame work. We have a daily view page of appointments were in i am planing to use GWT simple calendar widget. Now I have successfully worked out how to deploy this into tomcat using the

Re: SmartGWT SimpleCalendar widget help

2010-05-06 Thread Sanjiv Jivan
Try calendar.addEventClickHandler(..) and call CalendarEventClick.getEvent() to obtain the CalendarEvent instance. In the future please post Smart GWT related questions on the Smart GWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 Thanks, Sanjiv On Thu, May 6, 2010 at 4:14 AM,

Re: problem with using EMF model in GWT

2010-05-06 Thread kidsos
Has nobody an idea? -- 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.

Question about GWTEvent.Type

2010-05-06 Thread Julio Faerman
Hello, Is it possible to define event subtypes ? I would like to define a GenericEvent and a SpecificEvent so that when a SpecificEvent is fired in the HandlerManager, both generic and specific event handlers are notified. Thanks in avance for your support. -- You received this message because

Re: Generator works on hosted mode but not on web mode

2010-05-06 Thread Mike S. Matsumoto
Ok, here what I discovered. For some reason this call was returning null on web mode. PrintWriter printWriter = context.tryCreate(logger, packageName, simpleName); I found this on api: Attempts to get a codePrintWriter/code so that the caller can generate the source code for the named

Re: Generator works on hosted mode but not on web mode

2010-05-06 Thread Mike S. Matsumoto
Well, me again. I discovered now and I few like a idiot. My code was something like this: public String generate(TreeLogger logger, GeneratorContext context, String typeName) throws UnableToCompleteException { try { SourceWriter src = getSourceWriter(generatedName,

Re: MenuBar

2010-05-06 Thread Stefan Bachert
Hi, such things could be done with CSS. However, do you do your stuff for arabic? GWT supports right to left language, and may the menubar is flipped, too. Stefan Bachert http://gwtworld.de On 6 Mai, 12:43, Olivier oliv...@digiworks.es wrote: Hi, I need to use a MenuBar that will be align

Re: GWTTestCase error

2010-05-06 Thread Marc Guillemot
Hi, you probably have an old version of NekoHTML somewhere in your classpath and this version gets used instead of the one packaged in gwt-dev.jar. Marc. -- Blog: http://mguillem.wordpress.com Alex Dancu wrote: Hi, I'm trying to run a GWTTestCase but I'm getting the error below: [ERROR]

Re: Alternatives for gwt?

2010-05-06 Thread Stefan Bachert
Hi, I would in general consider GXT to be good, however, the licence is not free. I think wrappers like smartGWT are the wrong approach. it depends what you mean with good. When good means a real free open source licence you should have a look on gwt-mosaic. Stefan Bachert http://gwtworld.de

Re: How to determine if running on client or server?

2010-05-06 Thread Stefan Bachert
Hi, class X { static public XYZ xyz; } put on server side X.xyz = new ServerXYZ() put on client side X.xyz = new ClientXYZ() When you prefer an accessor, just do it Stefan Bachert http://gwtworld.de On 5 Mai, 16:59, stingermn stinge...@gmail.com wrote: I have an interface, XYZ, which is

[WARN] failed org.mortbay.jetty.nio.selectchannelconnecto...@7109c4

2010-05-06 Thread efsiken
Please I don't understand this error. Can someone help me? Starting Jetty on port [WARN] failed org.mortbay.jetty.nio.selectchannelconnecto...@7109c4 java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/ lang/Object;)V at org.mortbay.io.nio.SelectorManager

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread markww
Actually, just confirming this, all the solutions presented here *do not* work in webkit browsers (chrome, safari), right? Looks like it works in firefox ok. I haven't found any alternative solutions in my searches, so seems like our options are still: 1) Use methods presented here, but won't

Re: Question about GWTEvent.Type

2010-05-06 Thread Thomas Broyer
On May 6, 3:05 pm, Julio Faerman jfaer...@gmail.com wrote: Hello, Is it possible to define event subtypes ? I would like to define a GenericEvent and a SpecificEvent so that when a SpecificEvent is fired in the HandlerManager, both generic and specific event handlers are notified. Not the

Re: character encoding issues

2010-05-06 Thread undertow
Thank you for confirming what i had suspected i would need to do. So the idea is, user enters a bunch of text into a textarea via typing it all in or cut and paste from somewhere (like Word, ugh and its mangled characters). when time comes to ship that text off to the server i would then pluck

Re: Question about GWTEvent.Type

2010-05-06 Thread Gal Dolber
You can make a generic Event and it will work on a HandlerManager. For an example see ValueChangeEvent? in gwt source code. 2010/5/6 Thomas Broyer t.bro...@gmail.com On May 6, 3:05 pm, Julio Faerman jfaer...@gmail.com wrote: Hello, Is it possible to define event subtypes ? I would like

Problems with deactivated application engine

2010-05-06 Thread efsiken
I discovered the source of my last erro posted on this forum. This was because I deactivated the application engine. Actually my application was generating an HTTP404 error on the browser and when I posted the problem to a forum, I was asked to deactivate the google application engine since it

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread Sripathi Krishnan
+1 on that - if you can, don't make the same mistake! We also put in some hacks to get the login page GWT controlled. In retrospect, it was a poor decision. Its much cleaner to assume that the GWT page is only reachable once authenticated. --Sri P.S. And as luck would have it, as I typed this

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread markww
Thanks for the heads up, was just going down that route. I'm fine with using a regular html form, just not sure where to put it. Twitter has a login form on their main splash page, which is ideal. I am thinking I could do the same. My main page is already a jsp page. I can do something like:

Re: character encoding issues

2010-05-06 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/05/10 16:08, undertow wrote: Thank you for confirming what i had suspected i would need to do. So the idea is, user enters a bunch of text into a textarea via typing it all in or cut and paste from somewhere (like Word, ugh and its mangled

Re: problem with using EMF model in GWT

2010-05-06 Thread kidsos
It doesn't matter. When I set source path='shared' / in the module file I still get more No source code is available for type ... errors than before. I've found out when settting to source path='shared.impl' / I get the same errors like in my first post. I have absolutely no idea whats going

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread Sripathi Krishnan
Why don't you just use JAAS? You could then protect your GWT page in web.xml, and then instruct your app server to redirect to login page if the user is not logged in. You can also setup custom roles and permissions - the code is largely copy/paste and rest of the stuff is declarative in your

Re: character encoding issues

2010-05-06 Thread Sripathi Krishnan
Just a correction - GWT uses UTF-8 and not UTF-16. Also, you *can* do String.getBytes() and similar hacks to convert from ISO-8859-1 (oracle) to UTF-8 -- but in my opinion it is best to store data in UTF-8 in the database. In general, you need to revisit all interfaces where data exchange

Does GWT work well with Scala / Lift?

2010-05-06 Thread Alex
I'm wondering if GWT plays nicely with Scala and Lift. Does anyone have any experience using them together? Pluses and minuses? Also, I'm looking for a crack Scala / Lift contract developer who ALSO knows GWT like the back of his hand...if you know of anyone, please let me know...referral bonuses

dynamically load GWT module

2010-05-06 Thread monkey01
I want to dynamically load another GWT module in one initial GWT module, but it does not work. Here's what I tried. 1. I tried to static load both module in the hosting page with no problem. . div id=gwt-module1/div div id='gwt-module2'/div . script

GWT in a JSR-168 remote portlet

2010-05-06 Thread Stefan Ludwig
Has anyone sucessfully integrate GWT in a JSR-168 portal? I have to integrate GWT in a portlet whitch can be used as remote portlet. As a local portlet is not a big deal, but i can't see a way to consume that portlet from another portal. All URLs (file references and RPC URL) are relative and i

Re: Hosting the GWT JavaScript Files on a remote machine?

2010-05-06 Thread Quu
ok... when i added the add-linker name=xs/ tag to my gwt.xml and now the code executes remotly... but i can't read any data files remotely I have the page (html, css, and images) located at http://quutar.110mb.com/RemoteTest/STOPlanner.html and the compiled javascript and xml data source

Fileupload in Showcase isn't working

2010-05-06 Thread Something Something
Hello, I am writing a GWT application based on the 'Showcase' sample ( http://gwt.google.com/samples/Showcase/Showcase.html). I am trying to get the 'File Upload' feature to work. I have changed the 'CwFileUpload' class as follows: public Widget onInitialize() { // Create a FormPanel and

Spanish Special Caracters in GWT 2.03 with Tomcat 5.5

2010-05-06 Thread Mikywan
Hi, I'm having some problems with GWT to spanish special characters (e.q.: ñ, á, é, í, ó, ú, ¿). I tried by changing the codification to UTF-8 and ISO-8859-1 but it didn't work. I know by changing each caracter for its unicode equivalent it will work, but I was hoping to get to a better

Transfer problem from clien side to server side

2010-05-06 Thread Emeric Heneffe
Hello, I'm using a gwt application and I have a problem when I send pojo from core module (not client package) to server side. Indeed, when I send any pojo with properties, in server side, all properties become null... Here is the configuration and the package I use : core.lib - librairies

TabLayoutPanel with scroll buttons

2010-05-06 Thread Matt
Hi, the GWT TabLayoutPanel doesn't show scroll buttons if the visible panel bar becomes smaller then width of all open tab headers. There is an enhacement request issue pending that might be implemented in a future version of GWT, until then you might find the attached code snippet useful that

How to use GWT rpc to upload an image

2010-05-06 Thread victor QIN
Hello, I want to know how to use gwt rpc to upload an image. I have tried to use ordinary HttpServlet and It works. but for the servlet that extends RemoteServiceServlet , I don't know how to do it. the codes are following: VerticalPanel holder = new VerticalPanel(); final

error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-06 Thread Mike J
Hi, I am new for the GWT project. I have run a simple GWT app with the default setting. I deployed it on a Tomcat by simply dropping the wrapped war file into the webapps folder. The war file will be expanded to a folder automatically. No problem for everything. It worked as expected. Now

Re: Hosting the GWT JavaScript Files on a remote machine?

2010-05-06 Thread Quu
my previous reply seams to have been eaten I added the add-linker name=xs/ tag to my gwt.xml and the code is now executing from the remote machine I am running into another SOP issue the webpage is the html, csss, and images are at http://quutar.110mb.com/RemoteTest/STOPlanner.html while the

Installation of GWTDevPlugIn for IE issues

2010-05-06 Thread mikedshaf...@gmail.com
Hoping somebody from the GWT team can help out here. I am attempting to install the GWT Dev Mode Plugin into IE 7. I'm running GwtDevPluginSetup.exe and after all the standard are you sure's, I arrive at the Connecting to the Internet... part of the installer. And it never moves on. Just the

Re: Does GWT work well with Scala / Lift?

2010-05-06 Thread Sripathi Krishnan
On the client side, GWT doesn't work with Scala. GWT is a java source - javascript compiler, and doesn't work on bytecodes. However, some folks are interested in getting this working. The most relevant information is over here - http://scalagwt.gogoego.com/ and in this GWT developer forum

Re: How to use GWT rpc to upload an image

2010-05-06 Thread Sripathi Krishnan
You can't use RPC or Ajax to upload a file, you have to use a regular form (or FormPanel) On the server side, RemoteServiceServlet expects the request to be a RPC request, and hence won't work if you try to upload a file. You would have to use a regular HttpServlet to get uploads working. Also,

Re: error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-06 Thread Sripathi Krishnan
Change the annotation @RemoteServiceRelativePath in the interface GreetingService.java --Sri On 5 May 2010 21:51, Mike J mikej1...@gmail.com wrote: Hi, I am new for the GWT project. I have run a simple GWT app with the default setting. I deployed it on a Tomcat by simply dropping the

Re: Hosting the GWT JavaScript Files on a remote machine?

2010-05-06 Thread Quu
this might be a new thing for GWT 2 some of the older GWT apps i wrote, with 1.7 and previous were more flexible in the URLs i could load. where previously I used to be able to load xml documents with out any path info, as long as they were in the same directly as the html, now i have to have the

Re: How can we use cases can utilize Java generics to replace the use of Object instances.

2010-05-06 Thread Gal Dolber
You can define an empty interface and make it serializable so the ArrayListYourInterface will be serializable. Then be sure that every object you want to put into that collection implement that interface. 2010/5/4 Love Yao wmainl...@gmail.com The class java.lang.Object is not serializable,

Problems with deactivated application engine

2010-05-06 Thread fomba collins
I discovered the source of my last erro posted on this forum. This was because I deactivated the application engine. Actually my application was generating an HTTP404 error on the browser and when I posted the problem to a forum, I was asked to deactivate the google application engine since it

Re: Hosting the GWT JavaScript Files on a remote machine?

2010-05-06 Thread Quu
I tried adding the following to my html document iframe src=http://otakuvideo.com/~quu/stoplanner/STOPlanner.xml; id=__data_loading tabIndex='-1' style=position:absolute;width: 0;height:0;border:0/iframe hoping that maybe it would then be considered Same as Source I even load an image from the

Re: Hosting the GWT JavaScript Files on a remote machine?

2010-05-06 Thread Quu
so far the only solution i can think of, is to write a java object that has all the values in the XML hard coded... so it never actually loads the xml via http... which seams a tad extreme -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

import cannot be resolved...NOT

2010-05-06 Thread randasin
We use Ant to build GWT project. Occasionally our developers write code comments using {...@link ...} syntax to link to a class outside of the designated client package, thus insert a import statement that causes the notorious The import ... cannot be resolved ERROR. That is what we expected,

Re: Hosting the GWT JavaScript Files on a remote machine?

2010-05-06 Thread Quu
I am trying to load the XML document into an iframe and then possibly read the iframe, but it does not seam to be working if i do a RootPanel.get(ID) all i can get is the html of the iframe element, not the contents and i then get the element of that returned root panel, i don't get anything from

How many are actually fixing GWT bugs?

2010-05-06 Thread jbdhl
The largst issue ID in the issues list http://code.google.com/p/google-web-toolkit/issues/list is 4918, and 1513 of these (33%) are still open. 33% seems relatively many to me, and several among these are somewhat serious. It makes me wonder how many people actually work on fixing these bugs,

Re: Issue Internationalizing ClientBundles and message bundles

2010-05-06 Thread Michael W
Try to change test_file.properties to test_file_en.properites or test_file_en_us.properties Also, in you html, you need to following meta meta name=gwt:property content=locale=en/meta to accept dynamic value meta name=gwt:property content=locale=${languageId}_$ {countryId}/meta Where languageId

Re: GWT execution flow

2010-05-06 Thread Sripathi Krishnan
Technically, in the very first request, the server already knows user browsers' type, is that feasible to: combine 1), 2) and 3) together or combine 1) and 2) together or some other consideration You are right, this is possible. See this discussion thread -

jQuery with GWT

2010-05-06 Thread Tapas Adhikary
Hi All, Can somebody give some idea on integrating jQuery with GWT ? I have a project built on GWT and I would like to use jQuery in the project. How Smooth it is to integrate the both ? Is it possible to access any of the panel / composite created in GWT using jQuery's dom navigation ? I need

Re: jQuery with GWT

2010-05-06 Thread daniel
http://code.google.com/p/gwtquery/ On 7 Mai, 07:06, Tapas Adhikary tapas4...@gmail.com wrote: Hi All, Can somebody give some idea on integrating jQuery with GWT ? I have a project built on GWT and I would like to use jQuery in the project. How Smooth it is to integrate the both ? Is it

Re: jQuery with GWT

2010-05-06 Thread Tapas Adhikary
Thanks Daniel . Look like , somebody have already started writing the API to integrate both. I would be more interested to know , if anybody have started using the GwtQuery in their project and what's their opinion. Thanks again. - Tapas On Fri, May 7, 2010 at 11:08 AM, daniel

[gwt-contrib] The dist-bikeshed ant target will now include gwt-bikeshed.jar in the packaged GWT SDK zip file.... (issue483801)

2010-05-06 Thread jasonparekh
Reviewers: fabbott, Description: The dist-bikeshed ant target will now include gwt-bikeshed.jar in the packaged GWT SDK zip file. The zipfileset task will not fail if the gwt-bikeshed.jar is not present (this is important since this distro-source build.xml is used to package the regular dist

[gwt-contrib] Re: Lazy initial enum maps, preinitialize values array. (issue280801)

2010-05-06 Thread spoon
Sorry, lost track of this patch. LGTM. http://gwt-code-reviews.appspot.com/280801/diff/1/5 File user/super/com/google/gwt/emul/java/lang/Enum.java (right): http://gwt-code-reviews.appspot.com/280801/diff/1/5#newcode32 user/super/com/google/gwt/emul/java/lang/Enum.java:32: if (enumValueOfFunc

[gwt-contrib] Resubmitting gwt logging, with the fix to set the (issue484801)

2010-05-06 Thread unnurg
Reviewers: fredsa, Description: Resubmitting gwt logging, with the fix to set the gwt.logging property in the file where it is defined Original Issue: 438801 Please review this at http://gwt-code-reviews.appspot.com/484801/show Affected files: M

[gwt-contrib] Re: Lazy initial enum maps, preinitialize values array. (issue280801)

2010-05-06 Thread scottb
No prob, I knew you were busy and it was urgent. Thanks! http://gwt-code-reviews.appspot.com/280801/diff/1/5 File user/super/com/google/gwt/emul/java/lang/Enum.java (right): http://gwt-code-reviews.appspot.com/280801/diff/1/5#newcode32 user/super/com/google/gwt/emul/java/lang/Enum.java:32:

[gwt-contrib] Re: Lazy initial enum maps, preinitialize values array. (issue280801)

2010-05-06 Thread scottb
WASN'T urgent, of course http://gwt-code-reviews.appspot.com/280801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Resubmitting gwt logging, with the fix to set the (issue484801)

2010-05-06 Thread fredsa
LGTM http://gwt-code-reviews.appspot.com/484801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Resubmitting gwt logging, with the fix to set the (issue484801)

2010-05-06 Thread Unnur Gretarsdottir
Thanks Fred! On Thu, May 6, 2010 at 1:57 PM, fre...@google.com wrote: LGTM http://gwt-code-reviews.appspot.com/484801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Updates the RequestFactory generator to build a class that can map the String tokens on Record c... (issue488801)

2010-05-06 Thread amitmanjhi
Reviewers: Ray Ryan, Description: Updates the RequestFactory generator to build a class that can map the String tokens on Record classes to internal 'schemas'. Patch by: amitmanjhi Review by: rjrjr (desk review) Please review this at http://gwt-code-reviews.appspot.com/488801/show Affected

[gwt-contrib] History misses token set by Window.Location.replace()

2010-05-06 Thread jarrod
In my module's entry point, I check the current History token, and if it is blank, I set it to a default value. This allows my normal MVP mechanisms to show the default view on startup. I set the default value using Window.Location.replace() so as not to create an entry in the browser's history

[gwt-contrib] Re: Updates the RequestFactory generator to build a class that can map the String tokens on Record c... (issue488801)

2010-05-06 Thread Ray Ryan
LGTM On Thu, May 6, 2010 at 3:46 PM, amitman...@google.com wrote: Reviewers: Ray Ryan, Description: Updates the RequestFactory generator to build a class that can map the String tokens on Record classes to internal 'schemas'. Patch by: amitmanjhi Review by: rjrjr (desk review) Please

[gwt-contrib] Adds a new, cleaner style to the CellTree. (issue489801)

2010-05-06 Thread jlabanca
Reviewers: jgw, Description: Adds a new, cleaner style to the CellTree. Please review this at http://gwt-code-reviews.appspot.com/489801/show Affected files: M /bikeshed/src/com/google/gwt/bikeshed/list/client/CellTableClean.css M

[gwt-contrib] Implement Delete, and make forms prettier (issue491801)

2010-05-06 Thread rjrjr
Reviewers: amitmanjhi, Description: Implement Delete, and make forms prettier Review by: amitman...@google.com Please review this at http://gwt-code-reviews.appspot.com/491801/show Affected files: M /bikeshed/src/com/google/gwt/requestfactory/client/impl/RequestFactoryJsonImpl.java M

[gwt-contrib] Re: Implement Delete, and make forms prettier (issue491801)

2010-05-06 Thread rjrjr
Verbal LGTM from Amit during desk review, submitting. http://gwt-code-reviews.appspot.com/491801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Implement Delete, and make forms prettier (issue491801)

2010-05-06 Thread Amit Manjhi
Lgtm On May 6, 2010 7:32 PM, rj...@google.com wrote: Verbal LGTM from Amit during desk review, submitting. http://gwt-code-reviews.appspot.com/491801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors