Re: Script tag dynamic loading

2010-08-16 Thread Vincent COROLLEUR
Thx you Cokol for your proposal but my project is confidential. If you wanna give a try by yourself, you just have to paste this code in a whatever project. ScriptElement script1 = Document.get().createScriptElement(); script1.setType(text/javascript);

Re: Expose URL as REST service how?

2010-08-16 Thread Harald Pehl
Hi, the Restlet guys have written a little tutorial which might be helpful: http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/303-restlet.html - Harald On 13 Aug., 20:05, Thamizharasu S zaru...@gmail.com wrote: Hi, Thanks for the quick answer. I want to deply my GWT app in

Multiple interface and their implementation

2010-08-16 Thread Deepak Singh
Hi All, I have two modules in my project both having seperate client package and same server package. Module A is having general project structure as client, server, shared folders. Module B is having one client package and it shares the same server package of A. I am using 2.1 with uibinder. All

Re: Classloader problem

2010-08-16 Thread hbf
Unfortunately, just adding these two libraries (see previous post) did not do the trick. Tika uses a lot of other libraries (for extraction from PDF files, etc.) and classes from the latter libraries are not found due to the class loader configuration. What did work for me is to add the following

Re: GWT 2.04 + Eclipse Galileo

2010-08-16 Thread Abdullah Shaikh
Hi kirtcathey, Run it as Web Application instead of GWT Application - Abdullah On Mon, Aug 16, 2010 at 3:40 AM, kirtcathey kirtcat...@gmail.com wrote: Tried the new project thing and same result but you lead me in the right direction. Obviously not in dev mode since it is trying to

Re: Making GWT look good...

2010-08-16 Thread ChrLipp
I appreciate the direction the GWT team is heading. I also would like to see increased support for mobile clients on GWT too with native controls (HTML5) for the major plattforms (android, iPhone, ..) Samples could be found under - http://jquerymobile.com/designs/ -

404 while accessing a remote service

2010-08-16 Thread MArtin Schumacher
Hello everyone, I try to setup a project with gwt, tomcat, maven, spring in eclipse. That's really hard stuff. At least I got the server running - without syncing all static contents or libs from the pom.xml. But that's ok right now. I cannot access my remote service. Everytime I get a 404:

Problem using Reflection and Casting objects on GAE

2010-08-16 Thread AlexG
Hi everybody, I hope this is right here in the GWT-forum. OK, what I want to build is a GWT/GAE app, that loads dynamically different UI´s, depending on, what the user wants to do. These are not only UI´s these are Modules, with there own services and so on. And I want dynamically load these

Re: How to integrate an open source web app into a GWT application

2010-08-16 Thread Anita
Hello Aditya, My application uses frames in way that i have my window divided in 3. In one part, i want to reuse an existing application, that is not a GWT application. The other parts are also mine, and are GWT. The application that i want to reuse is a web application, developed with js

Re: Problem using Reflection and Casting objects on GAE

2010-08-16 Thread André Moraes
This aproach will not work, since after compiled GWT generates pure JavaScript. You could do the following: 1- Create an JSP page (index.jsp) and use this page as your GWT hosted page. 2- When rendering the page, check the name of the module (not the name of the class) that you want to load. 3-

Re: Problem using Reflection and Casting objects on GAE

2010-08-16 Thread AlexG
Hi, first thanks for your fast reply. I think this should work. Perhaps I should just give more background information. The App is build using the MVP Pattern. I have one main-Page, with 3 Panels (3 div-elements in the .html) Two of the three panels will never change during runtime. These

GWT war file doesn't load in IE en Chrome

2010-08-16 Thread Klaas Roobroeck
I builded a war file from my GWT project and deployed it on my Tomcat. When I load the webpage in Firefox everything works fine...but for IE en Chrome I just get a blank page. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

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

2010-08-16 Thread Stephan T
I managed to make it work with the assembly plugin. Maybe not a state of the art maven konfiguration, but it seems to work :) This produces three war-files. The original which I won't be using anymore, and two additional war files with the extension int and ext. added this to the pom: plugin

Re: Problem using Reflection and Casting objects on GAE

2010-08-16 Thread AlexG
Hi again, I solved the problem, and now it works, as intended :) If somebody has any questions, how this works, just eMail me. Greets Alex On 16 Aug., 15:37, AlexG alexander.gauss.ax...@googlemail.com wrote: Hi, first thanks for your fast reply. I think this should work. Perhaps I should

RFE: Allow constants defined in classes not residing in a client package to be used

2010-08-16 Thread Lothar Kimmeringer
Hi, is it possible to extend the GWT-compiler, that you can use constants being defined in classes that aren't client-classes to be used. In my client classes I often want to use functionalities on the server that are configured using magic number (int type, etc.) where a lot of constants

Re: why we probably won't use GWT for a large UI project

2010-08-16 Thread Joonas
Please do not judge by the Calc example - it is just a minimalistic Hello World type example for quickly showing how events are managed in Vaadin. Of course one should do such a trivial application (with no server-side needed at all and just a few lines of business logic) in just JavaScript -

Re: How to integrate an open source web app into a GWT application

2010-08-16 Thread Bakul
Create your main HTML/JSP which will have html frame set code like this: frameset COLS=20%,50%, 30% frame NAME=opensourceExistingApp SRC='urlOfOpenSourceExistingApp' frame NAME=GWTApp SRC='urlOfGWTApp' frame NAME=ThirdApp SRC='urlOfThirdApp' /frameset

Re: How to integrate an open source web app into a GWT application

2010-08-16 Thread suersh babu
use div give id so that each id display differerent different information . On Thu, Aug 5, 2010 at 3:19 PM, Anita anapont...@gmail.com wrote: Hi, I’m new on GWT and i’m trying to do something but don´t know how…. My app has 2 panels (HorizontalSplitPanel and VerticalSplitPanel), in a way

Re: Making GWT look good...

2010-08-16 Thread Arthur Kalmenson
about #2 there is absolutely no documentation on css and uibinder from a designer point of view. For example any half decent designer nowadays would use div and span to create nice layout, while all gwt panels are still using nested tables. You can definitely just do most of your layout with

How to change the mapping in web.xml

2010-08-16 Thread Bruno Santos
I have to make the hosting of a project in a place where the mapping in the web.xml file in the 'url-pattern' of 'servlet-mapping' must begin with '/servlet', my question is how do this. For example, this: servlet servlet-namesomeservlet/servlet-name

Re: GWT Maven Plugin + codeServerPort

2010-08-16 Thread Thalles
Does nobody have an answer? -- 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

GWT javac compile error

2010-08-16 Thread brt56
All When I compile my GWT project in eclipse it compiles. When I use the command line with the ant build scripts I get a generic error ant command line error ant build script. !-- builds a GWT web project -- target name=dist_gwt depends=clean, init, resolve, gwtc

Re: GWT Maven Plugin + codeServerPort

2010-08-16 Thread Hilco Wijbenga
On 16 August 2010 09:00, Thalles henry.rotz...@googlemail.com wrote: Does nobody have an answer? Try putting it in the logLevel field: plugin groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId configuration logLevelINFO' -codeServerPort -logLevel 'INFO/logLevel

Re: a and i instead of span style=... in RichTextAreaImplStandard

2010-08-16 Thread Ali
Thank you, I will try to find it. Best wishes, Ali On Aug 14, 4:53 pm, jocke eriksson jock...@gmail.com wrote: I looked in to this months ago and i think the generated markup is browser specific. For firefox I think you can send a command to it so it only uses valid xhtml markup. I know that

Re: How to change the mapping in web.xml

2010-08-16 Thread Thomas Broyer
On 16 août, 17:39, Bruno Santos bruegosan...@gmail.com wrote: I have to make the hosting of a project in a place where the mapping in the web.xml file in the 'url-pattern' of 'servlet-mapping' must begin with '/servlet', my question is how do this. For example, this:   servlet    

Re: Acris Security and App Engine

2010-08-16 Thread Peter Simun
Hello Scott, first of all, you don't have to have a maven project if you are not familliar with the maven, but its a good practice for managing all dependencies and versions, etc. I can recomends you to start with the really simple example (that is what you are proposing - Maven, GWT, Eclipse):

Re: How to change the mapping in web.xml

2010-08-16 Thread Bruno Santos
The project does not work -- 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

I need a little help with request builder

2010-08-16 Thread nacho
Well, the trouble is not exactly with request builder. The thing is like this. I have a class BinFileReader that in the constructor receives an url an read it address file contents. And the class haves some methods, like readString(), readInt, readByte, etc. But, obviusly, first at all, to

Re: GWT security

2010-08-16 Thread mig
Luis, the way you see it is completelly wrong. If you are looking only for a way to encrypt data sent to the server, stop wasting time researching 3rd party libraries, instead visit www.verisign.com, buy a certificate and use SSL! There just is NO OTHER WAY to provide better encryption for the

Re: How to change the mapping in web.xml

2010-08-16 Thread Bruno Santos
Sorry, the errors are: html head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/ titleError 404 NOT_FOUND/title /head bodyh2HTTP ERROR: 404/h2preNOT_FOUND/pre pRequestURI=/servlet/some/ppismalla href=http://jetty.mortbay.org/;Powered by Jetty:///a/small/i/pbr/ br/ br/ br/ br/

Re: How to change the mapping in web.xml

2010-08-16 Thread Bruno Santos
the errors replace '/servlet/some' to '/myproject/some' I was doing some tests, but did not work -- 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

Re: Problem using Reflection and Casting objects on GAE

2010-08-16 Thread André Moraes
You could post here the solution that you used. I done something like you, but it's wasn't user bound views. In my case, i just had an History handler that checked what was the current location and check if the location has any navigators (Navigators are simple interfaces that contains a method

Re: why we probably won't use GWT for a large UI project

2010-08-16 Thread Frank Argueta
Joonas, This thread cannot be taken seriously and has some terrible advise. It's like the blind leading the blind. Stefan and lineman78 in particular. I miss the days that Rienier would lash out when people spread misinformation or gave incorrect advise on this group. Alteast it kept the quality

Re: I need a little help with request builder

2010-08-16 Thread André Moraes
If i get it correct: 1- Your file as a file that your server will serve when you make a GET request. 2- You are using RequestBuilder to open a connection to your server and fetch the file 3- If all of this is true, you should do: 3.1 - create the requestbuilder and point it to your file 3.2 - you

Re: Problem using Reflection and Casting objects on GAE

2010-08-16 Thread Rogério Valente
Hi Alex, How about post the solution here for the entire group? :-) On 16 ago, 11:12, AlexG alexander.gauss.ax...@googlemail.com wrote: Hi again, I solved the problem, and now it works, as intended :) If somebody has any questions, how this works, just eMail me. Greets Alex On 16

Re: why we probably won't use GWT for a large UI project

2010-08-16 Thread Stefan Bachert
Hi Steve, I guess it depends on what processing you need to do. No, it does not depend on the data. Vaadin has just the wrong architecture. It is still on the level as JSP/JSF. Vaadin could never be real responsive. Stuff like adding two numbers together can be easily done in JavaScript, so

Re: GWT security

2010-08-16 Thread Greg Dougherty
why is more acceptable for you, that user will see whole application (also the screen which is not allowed to use) rather than ONLY screens that he is able to use. Simple: 1: User documentation on how to use the program is consistent. Everyone sees the same menus, screens, screen layout, etc. 2:

setFocus scrolling my app, even though everything fits on screen

2010-08-16 Thread Greg Dougherty
So I'm building the UI for my app. Everything is inside of a VerticalPanel, and fits nicely onto my screen. I decided to call setFocus at the end of onModuleLoad, to set the focus where it belongs (the first text field of the document). Unfortunately, doing that causes the screen to scroll up

Re: GWT security

2010-08-16 Thread mig
Greg, do you realize, that there are administration possibilities/ functionalities/menu items here on google groups too ? No ? It is because you CAN'T SEE THEM, because you ARE NOT THE ADMIN. I don't know, what kinds of applications you use, but I just can't possibly imagine a bank application,

Reusing GWT Localization in Server Side Code

2010-08-16 Thread Casey
Does anyone know if with Google Web Toolkit there is an easy way to reuse your client size localization files (constants and messages) in the server side code? I think in GWT 1.6 or 1.8 you could actually call the same GWT localization code on the server side that you called on the client side. I

Re: a and i instead of span style=... in RichTextAreaImplStandard

2010-08-16 Thread jocke eriksson
https://developer.mozilla.org/en/rich-text_editing_in_mozillahttps://developer.mozilla.org/en/rich-text_editing_in_mozillaLook https://developer.mozilla.org/en/rich-text_editing_in_mozillaLookI see that the link was wrong. 2010/8/16 Ali ali.sak...@gmail.com Thank you, I will try to find it.

Re: a and i instead of span style=... in RichTextAreaImplStandard

2010-08-16 Thread jocke eriksson
https://developer.mozilla.org/en/rich-text_editing_in_mozilla Now it should work 2010/8/16 jocke eriksson jock...@gmail.com https://developer.mozilla.org/en/rich-text_editing_in_mozillahttps://developer.mozilla.org/en/rich-text_editing_in_mozillaLook

Re: I need a little help with request builder

2010-08-16 Thread nacho
Yes, i thought to do in that way. But the trouble is that i need to work with 3 files, and i need to execute more than one method over the file contents, so that was that i was wondering some how to make sure that the content was loaded and then work with it. On 16 ago, 14:45, André Moraes

Re: Problem using Reflection and Casting objects on GAE

2010-08-16 Thread AlexG
Hi again, sry but this afternoon, I didn´t have much time. So some want to know, what I did, and how it works. Ok so you want it ... you get it. :-) Ok as said before, I wanted a MVP-Framework based dynamically Module/Transaction/UI App. It´s just like ... 2 Menu Panels and one Content Panel.

Re: Expose URL as REST service how?

2010-08-16 Thread lineman78
Restlet seems to be the one supporting GAE best right now. Jersey may be working now, but I know they were running to security issues for a while. On Aug 16, 2:38 am, Harald Pehl harald.p...@googlemail.com wrote: Hi, the Restlet guys have written a little tutorial which might be

Re: Upgrade from 1.5.3 to 2.x

2010-08-16 Thread mooreds
I posted about this. It's not too detailed, but could be some help. http://www.mooreds.com/wordpress/archives/572 Let me know if you had specific issues and I'll try to remember what I did. We're slowly moving off deprecated code (like ClickListeners), so you don't have to do it in a big bang.

Re: knowing module inheritance

2010-08-16 Thread mooreds
I didn't find any real solution, so I'll have to maintain the dependent module list in two places (code and xml). Bummer. Dan On Aug 9, 8:54 am, mooreds moor...@gmail.com wrote: Hi folks, I have a bit of a peculiar need.  I work on a site with a number of disparate GWT modules: moduleA

Generate Random String

2010-08-16 Thread spierce7
What would be the best way to generate a random string in GWT with no slashes (/ or \), preferably just capitol letters and numbers. How would I do this? I'm surprised I can't turn up any information in searches. I'm looking to do this Server Side, meaning in java, rather than javascript. Thanks!

Re: Generate Random String

2010-08-16 Thread Jim Douglas
I did this google search: http://www.google.com/search?q=java+generate+random+alphanumeric+string That returns more suggestions that you could possibly need; take your pick. The first link returned from that search has several suggestions:

Re: [gwt-contrib] Re: History integration for the RequestFactory apps. (issue717801)

2010-08-16 Thread Patrick Julien
You're right, I didn't notice a record was being passed into the constructor, just that the id was not longer being passed in. For create, we would inject everything into the constructor and pass 0L to super. For create, injection is still possible because we pass in an newly created record to

[gwt-contrib] RFC : Improving testability of CssResource

2010-08-16 Thread BobV
I've been working on a patch that improves test integration when using CssResource. The gist of the patch is that CssResource will have a getDebugInfo() method that provides additional metadata about the CssResource and all class selectors used in the input to a CssResource will be available on a

[gwt-contrib] Re: Removed use of a global table (typeIdArray) for testing castability between types. This informa... (issue750801)

2010-08-16 Thread jbrosenberg
http://gwt-code-reviews.appspot.com/750801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Generating Image with Generator

2010-08-16 Thread BobV
On Wed, Aug 4, 2010 at 6:10 AM, Moocar anthony.mar...@gmail.com wrote: I'm trying to generate a bunch of ClientBundles with the associated images in the same directory. I can't figure out how to write the image files to the same directory as the java files generated with

[gwt-contrib] [google-web-toolkit] r8543 committed - Minor formatting fixes....

2010-08-16 Thread codesite-noreply
Revision: 8543 Author: amitman...@google.com Date: Mon Aug 16 06:28:43 2010 Log: Minor formatting fixes. Patch by: amitmanjhi http://code.google.com/p/google-web-toolkit/source/detail?r=8543 Modified: /trunk/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ExpensesMobile.java

[gwt-contrib] Added all safehtml packages. (issue771801)

2010-08-16 Thread pdr
Reviewers: jat, knorton, Description: Added all safehtml packages. Added new safehtml test suites. Several changes for migration: * Split EscapeUtils into EscapeUtils and UriUtils * Added .equals() and .hashCode() to SafeHtmlString * Updated comments, formatted code * Removed i18n references *

[gwt-contrib] [google-web-toolkit] r8545 committed - Exclude javax/validation files from eclipse-checkstyle check. Pattern ...

2010-08-16 Thread codesite-noreply
Revision: 8545 Author: gwt.mirror...@gmail.com Date: Mon Aug 16 10:52:40 2010 Log: Exclude javax/validation files from eclipse-checkstyle check. Pattern can be improved but this suffices. Patch by: amitmanjhi Review by: conroy http://code.google.com/p/google-web-toolkit/source/detail?r=8545

[gwt-contrib] Add debugging information to CssResource. (issue770801)

2010-08-16 Thread kjin
http://gwt-code-reviews.appspot.com/770801/diff/1/5 File user/src/com/google/gwt/resources/client/impl/CssResourceObserver.java (right): http://gwt-code-reviews.appspot.com/770801/diff/1/5#newcode32 user/src/com/google/gwt/resources/client/impl/CssResourceObserver.java:32: private static final

[gwt-contrib] Re: Add debugging information to CssResource. (issue770801)

2010-08-16 Thread bobv
Reviewers: Ray Ryan, kjin, Message: Kevin, thanks for looking at this. Are there any other CSS testing use-cases that you can think of that the DebugInfo API should support? http://gwt-code-reviews.appspot.com/770801/diff/1/5 File

[gwt-contrib] [google-web-toolkit] r8546 committed - Submitting a fix for the NPE introduced by...

2010-08-16 Thread codesite-noreply
Revision: 8546 Author: amitman...@google.com Date: Mon Aug 16 07:37:50 2010 Log: Submitting a fix for the NPE introduced by http://code.google.com/p/google-web-toolkit/source/detail?r=8541 Patch by: amitmanjhi Review by: cromwellian (tbr)

[gwt-contrib] Re: Add debugging information to CssResource. (issue770801)

2010-08-16 Thread kjin
On 2010/08/16 18:03:23, bobv wrote: Kevin, thanks for looking at this. Are there any other CSS testing use-cases that you can think of that the DebugInfo API should support? http://gwt-code-reviews.appspot.com/770801/diff/1/5 File

[gwt-contrib] First cut at keyboard navigation for CellTree (issue758802)

2010-08-16 Thread rice
Reviewers: jlabanca, Description: First cut at keyboard navigation for CellTree Please review this at http://gwt-code-reviews.appspot.com/758802/show Affected files: M user/src/com/google/gwt/user/cellview/client/CellTree.css M user/src/com/google/gwt/user/cellview/client/CellTree.java

[gwt-contrib] Re: First cut at keyboard navigation for CellTree (issue758802)

2010-08-16 Thread jlabanca
LGTM You can submit for M3, but I'm curious if this works in IE because blur and focus don't bubble. Also, add a TODO to add tests after M3. http://gwt-code-reviews.appspot.com/758802/diff/1/3 File user/src/com/google/gwt/user/cellview/client/CellTree.java (right):

[gwt-contrib] Re: Change to CompilationStateBuilder to prevent recursive invalidation on changed units. (issue756802)

2010-08-16 Thread kplatfoot
http://gwt-code-reviews.appspot.com/756802/diff/1/8 File dev/core/src/com/google/gwt/dev/javac/Dependencies.java (right): http://gwt-code-reviews.appspot.com/756802/diff/1/8#newcode50 dev/core/src/com/google/gwt/dev/javac/Dependencies.java:50: this.myPackage = myPackage + '.'; When the incoming

[gwt-contrib] Makes the terminology used by AbstractListViewAdapter and AbstractPager consistent with HasData.... (issue772801)

2010-08-16 Thread jlabanca
Reviewers: Dan Rice, Description: Makes the terminology used by AbstractListViewAdapter and AbstractPager consistent with HasData. HasData#setRowValues() is now HasData#setRowData(). Also renames ListViewAdapter to ListDataProvider so it is more obvious that the class provides data to a Cell

[gwt-contrib] Re: Change to CompilationStateBuilder to prevent recursive invalidation on changed units. (issue756802)

2010-08-16 Thread scottb
http://gwt-code-reviews.appspot.com/756802/diff/1/8 File dev/core/src/com/google/gwt/dev/javac/Dependencies.java (right): http://gwt-code-reviews.appspot.com/756802/diff/1/8#newcode50 dev/core/src/com/google/gwt/dev/javac/Dependencies.java:50: this.myPackage = myPackage + '.'; Good call,

[gwt-contrib] Re: Change to CompilationStateBuilder to prevent recursive invalidation on changed units. (issue756802)

2010-08-16 Thread scottb
http://gwt-code-reviews.appspot.com/756802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Change to CompilationStateBuilder to prevent recursive invalidation on changed units. (issue756802)

2010-08-16 Thread kplatfoot
LGTM. http://gwt-code-reviews.appspot.com/756802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Added all safehtml packages. (issue771801)

2010-08-16 Thread t . broyer
I really like the interface/generator idea but not really the implementation (XML parsing –even though I could live with this–, generating XML –the HTML5 serialization algorithm [1] is fortunately easy enough and interoperable–) The HtmlSanitizer is a good idea, but the implementation is very

[gwt-contrib] Re: For synthetic this refs, use params rather than fields while in constructors (issue752801)

2010-08-16 Thread tobyr
LGTM http://gwt-code-reviews.appspot.com/752801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r8547 committed - Re-rolling r8522: For synthetic this refs, use params rather than fiel...

2010-08-16 Thread codesite-noreply
Revision: 8547 Author: sco...@google.com Date: Mon Aug 16 15:00:16 2010 Log: Re-rolling r8522: For synthetic this refs, use params rather than fields while in constructors http://gwt-code-reviews.appspot.com/752801 Review by: tobyr

[gwt-contrib] [google-web-toolkit] r8548 committed - Removed use of a global table (typeIdArray) for testing castability be...

2010-08-16 Thread codesite-noreply
Revision: 8548 Author: jbrosenb...@google.com Date: Mon Aug 16 17:56:17 2010 Log: Removed use of a global table (typeIdArray) for testing castability between types. This information is now stored per class prototype as a castableMap. Review at http://gwt-code-reviews.appspot.com/750801