Re: Sending long parameter via cross-site JSON

2009-09-28 Thread Gintare Ragaisiene
I found such solution: 1) split long text into array Arr of shorter strings 2) go through for loop of Arr and send Arr[i] texts with index i as parameter 3) store into database fragmets of text with sequenseNo = i; 4) when you need to get all text get all text from sequenced fragments. Still

Re: Server-only functions

2009-09-28 Thread Asko Saura
On Sep 16, 10:13 am, Asko Saura asko.sa...@gmail.com wrote: I've got a bunch of DTOs which include some housekeeping methods used by another framework, which I use on the server side. Getting to reuse these objects on the client side would be absolutely great. I can't use them now, because

Re: Using JSNI to export classname and static method

2009-09-28 Thread Manuel Carrasco Moñino
Here you have a useful tutorial: http://code.google.com/p/gwtchismes/wiki/Tutorial_ExportingGwtLibrariesToJavascript_es On Tue, Sep 15, 2009 at 4:08 PM, Thomas Broyer t.bro...@gmail.com wrote: On 15 sep, 15:34, John O#39;Conner jsocon...@gmail.com wrote: Hi all, I want to export my

migration

2009-09-28 Thread muhannad nasser
hi does anyone know a good websites or documents on how to migrate from gwt 1.5 to gwt 1.7 and what i need to change in the codes.. thanks ~~~With Regards~~~ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: migration

2009-09-28 Thread Thomas Broyer
On 28 sep, 10:38, muhannad nasser muhannadna...@gmail.com wrote: hi does anyone know a good websites or documents on how to migrate from gwt 1.5 to gwt 1.7 and what i need to change in the codes.. How about the GWT documentation?

Re: migration

2009-09-28 Thread muhannad nasser
thanks.. i am reading how to update from 1.5 to 1.6and because 1.7 is mostly a bug fixing version i think i won't find much deferences between 1.6 and 1.7 any better ideas... thanks On Mon, Sep 28, 2009 at 10:49 AM, Thomas Broyer t.bro...@gmail.com wrote: On 28 sep, 10:38, muhannad

Re: migration

2009-09-28 Thread muhannad nasser
lol i figured out to do the same as the documentation says :P On Mon, Sep 28, 2009 at 11:01 AM, muhannad nasser muhannadna...@gmail.comwrote: thanks.. i am reading how to update from 1.5 to 1.6and because 1.7 is mostly a bug fixing version i think i won't find much deferences

GWT War File Sizes

2009-09-28 Thread David G
Hi everyone, I'm currently uploading our latest war files to our server for deployment. I've noticed even though the JS files are only about 400Kb, all my war files (we have multiple war files for our deployment) are around 30MB each. Closer inspection with winzip shows that the majority of

Remote controlling an iframe

2009-09-28 Thread David Given
I want to embed a mini web browser into my app (for help text). I've seen this done before on other sites. I want to load the help pages into an iframe, and then use GWT widgetry to listen for onload events, determine the page title, go forwards and back, and remotely set the URL. I've looked

Re: GWT War File Sizes

2009-09-28 Thread David Given
David G wrote: [...] I haven't been able to Google any answers to why GWT does this or what would happen if I removed the jars from the deployment, so was wondering if anyone had an answer to why the war keeps including all these library jar files, if there is a simple ant script to remove

Getting usable output from a RichTextArea

2009-09-28 Thread peer
Hi, can someone here give me an example of how to get a usable output from a RichTextArea? When I'm using getHTML() to get the content of the area the output varies from browser to browser. This makes it impossible for me interpret the output and store it in a database. Using getText() is not an

MouseHandler receives too much events

2009-09-28 Thread desam1000
Hello, I implemented my own dragable panel widget for GWT and have some problems. I already searched this group using some keywords but could not find anything. Inside my test environment, such panels are added to a DockPanel. I then use addStyleName(...) in the on-click-down-handler to change

TextArea Wrap problem in firefox

2009-09-28 Thread hockie
For a long string afsfsafsdfassfdsfsdafsfdfsdfsdfsdfsafasfdfafds in the textarea, it can be wrapped in IE but it's different story in Firefox. It is not wrapped. It shows horizontal scroll bar. How can I do to wrap the long string in Firefox? --~--~-~--~~~---~--~~

Re: turn off the war output of HostedMode

2009-09-28 Thread Ed
Has anybody any 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-toolkit@googlegroups.com To unsubscribe from this group, send email to

JavaScriptException with method Label.setInnerText(String s) but works good with FireFox

2009-09-28 Thread kristo
Hi all, Today i restart my eclipse and when i launch my application on Hosted mode, i have the following problem : [ERROR] Unable to load module entry point class com.perso.test.client.Test (see associated exception for details) com.google.gwt.core.client.JavaScriptException: (Error): number:

Input Korean

2009-09-28 Thread Jong Lee
I input Korean into GWT EXT TextArea but it just stored ??? into MySQL. It seems to be stored broken. How can I input foreign language - in this case, Korean - in GWT? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Sending long parameter via cross-site JSON

2009-09-28 Thread Hlunboi
Hi Gintare, Can you post sample code for your solution. Regards Hlun On Mon, Sep 28, 2009 at 12:16 PM, Gintare Ragaisiene gintare.ragaisi...@gmail.com wrote: I found such solution: 1) split long text into array Arr of shorter strings 2) go through for loop of Arr and send Arr[i] texts

Re: SmartGWT Extensions

2009-09-28 Thread Thomas Holmes
Nope, it's not stupid, and it is a good suggestion. The example I am using shows 'id' as integer, 'name' as String, and 'date' as Date. So, I made those changes. I did manage to fix this issue. What I did was to look again at the sample and realized at the bottom of the DataSource code and

Project Structure in GWT-2.0

2009-09-28 Thread logicpeters
Can anyone tell me if there are plans to rework the way the current GWT project structure is configured for 2.0? Mxing the source and compiled code in the /war folder has been a real pain in the butt for build scripts and source control. I've been trying to mavenize our project, and find the

Re: Server-only functions

2009-09-28 Thread bufferings
On 9月28日, 午後4:04, Asko Saura asko.sa...@gmail.com wrote: I compile the server versions into .class files. Then I include a .gwt.xml file describing them as a gwt module and put the .class files and the client .java files in a jar file. I compile the server versions into .class files. Then I

Re: Plugin not displayed in Eclipse

2009-09-28 Thread Jason Parekh
Hi, Could you go to Window Preferences and see if the Google category is on the left? If not, it may not have gotten installed properly. In this case, could you see if in your workspace directory, you have a file located at .metadata/.log? What flavor of Eclipse are you using? (e.g. Eclipse

Re: Error installing Google Plugin on Galileo

2009-09-28 Thread Jason Parekh
Hmm, I wonder if this is related to the release of Galileo SR1, which was on September 25. For those still facing the issue, before attempting to install the Google plugin, could you first try going to Help Check for updates, and installing any available updates? Thanks, jason On Fri, Sep 25,

Re: Debugging problem with Eclipse 3.5 Galileo (Eclipse Java EE IDE)

2009-09-28 Thread Jason Parekh
Hi Marioja, Could you check what version of Java you're using? JDK 1.6 update 14 had a problem with symptoms like you describe. You can check the version being used under: - Run Run configurations - Expand Web Application on the side bar - Select one of its children, click on the JRE tab jason

Re: How to disable datanucleus and activate hibernate?

2009-09-28 Thread Rajeev Dayal
Hi, I'd recommend that you post this message in the Google App Engine for Java group: http://groups.google.com/group/google-appengine-java Also, I'd get back to the working state you had before you disabled App Engine and uninstalled the plugin. That will make it easer for the developers to

CssResource, the CSS location

2009-09-28 Thread hezjing
Hi Is it true that with CssResource, there is no need to specify CSS reference in the module XML and the hosted HTML? Also with the following ClientBundle, public interface MyResources extends ClientBundle { @Source(My.css) MyCss css(); } The My.css must be saved in the src

Re: Latest GWT Update (1.7.1) To Eclipse (3.5) Has Removed Plugin

2009-09-28 Thread Rajeev Dayal
Hi Keith, Can you see if any errors are appearing in your Error Log? To view it, go to Window - Show View - Error Log. Also, what distribution of Eclipse are you running (Classic, Java, J2EE, etc..)? What version of Galileo are you using? Thanks, Rajeev On Wed, Sep 23, 2009 at 9:20 PM,

Re: Eclipse client server separation

2009-09-28 Thread Jason Parekh
Hi Alik, Thanks for setting this up! Here's a tip to get Eclipse to work cleanly with your layout: - Click on your Greeting project, choose Properties, go to Java Build Path, Source tab, and Link Source. Choose the src folder for e.g. GreetingClient and name it something like src-client. Repeat

Re: Input Korean

2009-09-28 Thread David Given
Jong Lee wrote: I input Korean into GWT EXT TextArea but it just stored ??? into MySQL. It seems to be stored broken. That's unlikely to be a problem with GWT --- what's almost certainly happening is that MySQL is using the wrong encoding for its text. That is, GWT is providing UTF-8 to

Re: turn off the war output of HostedMode

2009-09-28 Thread Jason Parekh
Hi Ed, Out of curiosity, how come you don't need the war folder? I thought it was required for hosted mode and otherwise makes deploying the compiled GWT code much easier. Re: the search issue, can you provide a little more detail? We fixed a similar issue in the past

Re: Working with JSNI $wnd

2009-09-28 Thread David
Hi, First of all instead of using eval you could use: $wnd[canvasname] that is a much cleaner way of getting to the variable. Secondly the problem is with you callback not working is because you should call this method on this. Now because you invoke it from an anonymous JS function, the

Re: JavaScriptException with method Label.setInnerText(String s) but works good with FireFox

2009-09-28 Thread mars1412
show more code what is the var 'g'? in which class is it - what's the parent class? On Sep 28, 2:17 pm, kristo christophe.aze...@gmail.com wrote: Hi all, Today i restart my eclipse and when i launch my application on Hosted mode, i have the following problem : [ERROR] Unable to load module

Re: Migration from 1.5 to 1.6 and 1.7

2009-09-28 Thread Rajeev Dayal
Hey Robert, Just to be clear, you do not have any jars on your classpath or build path that contain Xerces? If you actually list all of the class files in the jars, are there any Xerces classes listed? Rajeev On Tue, Sep 8, 2009 at 3:27 PM, Robert Cooper keber...@gmail.com wrote: I am

Re: list serialization

2009-09-28 Thread mwaschkowski
Thanks for the answer! Ya, must be a hangover from pre-generics, but its certainly convenient as I don't know the type beforehand. I could use a marker interface (and might be forced to in the future), but for now its handy... Thanks again, Mark On Sep 26, 5:14 am, Paul Robinson

Re: turn off the war output of HostedMode

2009-09-28 Thread Ed
Hi Jason, required for hosted mode and otherwise makes deploying the compiled GWT code H... nevery thought about that... ... If that's the case, I probable need it as wel... To be honest, I don't exactly what the HostedMode is doing with it... Thanks for the answer about the Derived

Re: turn off the war output of HostedMode

2009-09-28 Thread Ed
Maybe it would be nice if you could use environment variable, like $TEMP, to make it's placed in a directoy outside of the project directory.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: turn off the war output of HostedMode

2009-09-28 Thread Jason Parekh
On Mon, Sep 28, 2009 at 11:39 AM, Ed post2edb...@hotmail.com wrote: Hi Jason, required for hosted mode and otherwise makes deploying the compiled GWT code H... nevery thought about that... ... If that's the case, I probable need it as wel... To be honest, I don't exactly what the

Re: Plugin not displayed in Eclipse

2009-09-28 Thread Jeffken
Hi, there is no Google category on the left in Preferences. In the log file I have some text but non about Google. And I'm using the default java perspective. Thank you for your help Jeffken On 28 sep, 16:19, Jason Parekh jasonpar...@gmail.com wrote: Hi, Could you go to Window Preferences

tabWidget retrieval from TabPanel

2009-09-28 Thread Ruggi
Hi, Is there a way to retrieve the tabWidget with which a widget has been added (or inserted) to a TabPanel from the TabPanel? i.e. I have: TabPabel = tabPanel = new TabPanel(); ... Widget w = some widget to be displayed on deck Label tabWidget = new Label(...); ... tabPanel.add(w,

Re: turn off the war output of HostedMode

2009-09-28 Thread Ed
Ahhh... Yep, I will give that a try. Thanks. On Sep 28, 5:49 pm, Jason Parekh jasonpar...@gmail.com wrote: On Mon, Sep 28, 2009 at 11:39 AM, Ed post2edb...@hotmail.com wrote: Hi Jason, required for hosted mode and otherwise makes deploying the compiled GWT code H... nevery

Re: Error installing Google Plugin on Galileo

2009-09-28 Thread Peter D.
I am getting this problem as well. Any updates being pulled return the same error. I cannot update eclipse. And I cannot install the m2eclipse plugin. On Sep 28, 10:22 am, Jason Parekh jasonpar...@gmail.com wrote: Hmm, I wonder if this is related to the release of Galileo SR1, which was on

Re: Plugin not displayed in Eclipse

2009-09-28 Thread Jason Parekh
Could you check for errors in the Error Log view? You can get to it by Window Show view Other and type error. You may not have this view, it is only present in some flavors of Eclipse. Do you have any other third-party plugins installed? Thanks, jason On Mon, Sep 28, 2009 at 12:49 PM,

Re: Error installing Google Plugin on Galileo

2009-09-28 Thread Jason Parekh
Hi Peter, Try the workaround asato mentioned above: I got the same problem and solved by unchecking Contact all update sites during install to find required software box. jason On Mon, Sep 28, 2009 at 1:55 PM, Peter D. pete...@gmail.com wrote: I am getting this problem as well. Any updates

Maven + GWT 1.7.1

2009-09-28 Thread Jerome C.
Hello everybody, I want to use GWT 1.7.1 with Maven but I can't find it for the moment (current is gwt 1.7.0). How can I get GWT 1.7.1 in Maven ? I try to manually install it in my local repository but I have trouble with some lib thanks --~--~-~--~~~---~--~~

Error installing GWT plugin for Galileo

2009-09-28 Thread dls
Below is the location I used for the plugin, as well as, the error log from the install. Can anyone help with this? Google Update Site for Eclipse 3.5 - http://dl.google.com/eclipse/plugin/3.5 An error occurred while collecting items to be installed session context

Re: Error installing GWT plugin for Galileo

2009-09-28 Thread Jason Parekh
Hey, There seem to be issues with the Eclipse Galileo update site. For a workaround, please see http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c54ad9edc69becc7/6378635681269663. jason On Mon, Sep 28, 2009 at 3:09 PM, dls davidlstr...@gmail.com wrote: Below is the

Character.isWhitespace alternative? (whitespace check)

2009-09-28 Thread Ed
What is the correct way to check for a white space character? This is done by the method Character.isWhitespace(char) but not supported by GWT. What is the alternative? I know check for whiteSpaces through someString.charAt(index) == ' '; But I am not sure if that's good enough as I think I

Showing PopupPanel command is deferred

2009-09-28 Thread The Question
Hi, This is the method that I'm using to show a PopupPanel. private PopupPanel loadingPopup = new PopupPanel(false, true); this.loadingPopup.setWidget(getLoadingWidget()); private void showLoading(final Boolean loading) { if

Re: Error installing Google Plugin on Galileo

2009-09-28 Thread Ben Brown
Unchecking Contact all update sites during install to find required software worked for me. Thanks! On Sep 28, 11:22 am, Jason Parekh jasonpar...@gmail.com wrote: Hi Peter, Try the workaround asato mentioned above: I got the same problem and solved by unchecking Contact all update sites

Coloring a row?

2009-09-28 Thread tachoknight
Hi all- I am trying to build a table/grid in a loop and want to color rows based on CSS for a particular status setting: if (row.getSeverity() == 1) { grid.getRowFormatter().addStyleName(currentRowNum, critical); } else if (row.getSeverity() == 2) {

Re: Coloring a row?

2009-09-28 Thread Ian Bambury
I think you might want to set the style names rather than keep adding them. Or at least remove one style name before adding another Ian http://examples.roughian.com 2009/9/28 tachoknight tachokni...@gmail.com Hi all- I am trying to build a table/grid in a loop and want to color rows based

Re: Eclipse client server separation

2009-09-28 Thread kilaka
Thanks for the tip. I tried it and it works - I only needed to link to the GreetingClient source folder and not to the others. After that I could compile and run the app in hosted mode using eclipse buttons and not just from the build file. I have two problems with this solution: 1. Subversive

Re: Server-only functions

2009-09-28 Thread Sumit Chandel
Hi bufferings, Using a super-source solution would certainly be a good way to deal with this issue, and is a good recommendation here. The super-src solution is much more explicit than having multiple Java source files around, some sprinkled with @ServerOnly annotations and some not. I believe it

gwt maps problem

2009-09-28 Thread rizla
ciao a tutti! avrei la necessità di sapere i vari segmenti di cui è composto il mio itinerario su gwt maps. esempio, in un itinerario da Milano a Roma, è possibile sapere i tragitti intermedi ?! grazie a tutti Hello everyone! I need to know the various segments which make up my itinerary on gwt

Help with web application if possible.

2009-09-28 Thread Rakmos
I have eclipse installed with the GWT as well as the full blown Java SDK. I created a GWT template web application that is standard within eclipse. I basically am testing functionality of being able to send an email using the shell that is provided from eclipse. I have renamed several files,

Re: Help with web application if possible.

2009-09-28 Thread Sripathi Krishnan
See GreetingService.java (or whatever interface that extends RemoteService). It typically has an annotation @RemoteServiceRelativePath which specifies the path to the servlet. If you are changing your web.xml, you would also need to change the value specified in this annotation. --Sri

Re: Character.isWhitespace alternative? (whitespace check)

2009-09-28 Thread Dominik Steiner
did you try to use the regex method boolean matches = someString.matches(\\S); HTH Dominik On 28 Sep., 13:39, Ed post2edb...@hotmail.com wrote: What is the correct way to check for a white space character? This is done by the method Character.isWhitespace(char) but not supported by GWT.

[ANN] SmartGWT 1.3 Released

2009-09-28 Thread Sanjiv Jivan
Hi all,SmartGWT 1.3 has just been released. This release contains several fixes and new features including Grid Summary support by groups and columns, masking support for form fields, and support for creation of reusable domain specific SimpleTypes for use in DataSources (e.g. ZipCodeUS). Release

Re: Input Korean

2009-09-28 Thread Ben
BTW, if you are using RequestBuilder to send data, you need to make to set the Content Type of header: charset=utf-8. -Ben On Sep 28, 10:47 am, David Given d...@cowlark.com wrote: Jong Lee wrote: I input Korean into GWT EXT TextArea but it just stored ??? into MySQL. It seems to be stored

Re: JavaScriptException with method Label.setInnerText(String s) but works good with FireFox

2009-09-28 Thread Ben
Need more information to answer the question. -Ben On Sep 28, 11:10 am, mars1412 martin.trum...@24act.at wrote: show more code what is the var 'g'? in which class is it - what's the parent class? On Sep 28, 2:17 pm, kristo christophe.aze...@gmail.com wrote: Hi all, Today i restart

Re: Deployment and Eclipse+SVN

2009-09-28 Thread Ben
In our settings, we use Maven to build our project in our code repository and push to the deployment server. We do not compile it locally, thus we never commit those compiled files. HTH -Ben On Sep 28, 2:54 pm, charlie charlie.f...@gmail.com wrote: I'm having a hard time automating the build

Re: Deployment and Eclipse+SVN

2009-09-28 Thread rjcarr
If you have installed the toolkit there is an application that you can call to generate shell / template projects for you. This will also create a build file that you can take a look at. None of this has anything to do with eclipse. If you have only used eclipse you might need to download the

Re: tabWidget retrieval from TabPanel

2009-09-28 Thread rjcarr
There doesn't look to be a way to get the actual Widget out, no. It looks like the best you can do is get the HTML out, e.g.: TabPanel.getTabBar().getTabHTML() On Sep 28, 7:53 am, Ruggi 4ru...@gmail.com wrote: Hi, Is there a way to retrieve the tabWidget with which a widget has been added

[gwt-contrib] Re: DockLayoutPanel and Maps

2009-09-28 Thread jd
I have found the issue and am not sure how to fix it using the current API. After setting 100% height and width on both the DockLayoutPanel and RootLayoutPanel the map still reported a span of 0 and did not render correctly. In Safari's Inspector I could see that the only element without 100%

[gwt-contrib] Re: DockLayoutPanel and Maps

2009-09-28 Thread jd
Actually I think that was a red herring - setting the parentElem style just forced a re-render and changing the map size had the same effect. I think the problem is due to the map trying to initialize itself before layout() is called. If I add a holder panel like this:

[gwt-contrib] [google-web-toolkit] r6231 committed - Updates to CrawlServlet (throws another exception) and Showcase eclips...

2009-09-28 Thread codesite-noreply
Revision: 6231 Author: kpro...@google.com Date: Mon Sep 28 07:05:23 2009 Log: Updates to CrawlServlet (throws another exception) and Showcase eclipse project. http://code.google.com/p/google-web-toolkit/source/detail?r=6231 Modified: /branches/crawlability/eclipse/README.txt

[gwt-contrib] Re: DockLayoutPanel and Maps

2009-09-28 Thread Eric Ayers
Have you tried the method map.checkResizeAndCenter()? On Mon, Sep 28, 2009 at 9:42 AM, jd jdpatter...@gmail.com wrote: Actually I think that was a red herring - setting the parentElem style just forced a re-render and changing the map size had the same effect. I think the problem is due to