Re: How to read text file that was zipped in GWT?

2010-04-03 Thread rjcarr
How do you read a text file in GWT? What does that even mean? If you mean reading a zip file on the server, then that isn't a gwt question, but you should look into ZipFile or ZipInputStream. On Apr 2, 5:53 pm, Henry henry...@gmail.com wrote: I know how to read text file in GWT, that's easy.

Re: GWT and Image Editor

2010-04-03 Thread rjcarr
You'll want to look into using the AbsolutePanel, as it allows you to place widgets in arbitrary pixel space. You might be better served using the Canvas element in this case. I'm pretty sure there is a GWT Canvas library that will even work in IE. Good luck! On Apr 1, 10:57 am, Artem

Re: how to read from an xml file?

2010-04-03 Thread rjcarr
You don't give enough details to really answer your question. Where is the xml file coming from? Who is providing it? There are several xml parsing libraries in java. Depending on the complexity of what you're doing, you could just parse the DOM manually or use something fancier like jaxb.

How to retrieving texts from .properties file dynamically?

2010-04-03 Thread Victor Papp
Hi I am using i18n to retrieve texts. Normally, i do it this way: AppMessages res=(AppMessages)GWT.create(AppMessages.class); litIntro.setInnerHTML(res.intro().toString()); Now, I have a set of texts in AppMessages.properties file, like this: intro=some intro text text01=x text02=y

Re: entire website in GWT, yes/no ?

2010-04-03 Thread Abdullah Shaikh
Hi Kathrin Ajaxcrawling looks good, I will give it a try. Are you using / used it ? if yes, how did you find it ? - Abdullah On Fri, Apr 2, 2010 at 7:29 PM, Katharina Probst kpro...@google.com wrote: Hi Abdullah, to make your app searchable, you may also want to consider looking at

Re: entire website in GWT, yes/no ?

2010-04-03 Thread Abdullah Shaikh
Thanks Sripathi, I will see how this will work. On Fri, Apr 2, 2010 at 8:49 PM, Sripathi Krishnan sripathikrish...@gmail.com wrote: Entire website in GWT, yes/no ? I would say no. There are two types of websites - - *Content driven* - which share information. Think blogs, corporate

Re: entire website in GWT, yes/no ?

2010-04-03 Thread Abdullah Shaikh
Hi Ian, Are you talking about using Ajaxcrawling ( http://code.google.com/web/ajaxcrawling) or some other way ?. Can you give details on what are you doing for this or any link which will provide details ? - Abdullah On Fri, Apr 2, 2010 at 9:36 PM, Ian Bambury ianbamb...@gmail.com wrote: Have

Re: How to retrieving texts from .properties file dynamically?

2010-04-03 Thread g p
Better use one attribute and include your texts delimited with a special character (i.e. #). One that you do not expect to have into your texts. Then pull that attribute with the normal way and break the string with a split and use that table to create your desired format for your output to your

Re: How to retrieving texts from .properties file dynamically?

2010-04-03 Thread Victor Papp
no, its hard to maintain. when you need change text19 in .properties you will have to count #''s manually to find where to change. Also, texts can be long to hol everything in one line. Is there any other reasonable way to load texts? Maybe from xml? Or does it worth to build some class that will

How to add an additional widget to PopupPanel

2010-04-03 Thread Ho Jimmy
Hi, I am using PopupPanel, containing a vertical panel which has all username, password textfields and submit button, for user authentication. The widget is added to the PopupPanel by PopupPanel.setWidget(loginPanel). When the user type the wrong password, I want to add a line of message under

Re: entire website in GWT, yes/no ?

2010-04-03 Thread Ian Bambury
There's an old thread entitled SEO issues with GWT webapps - how have people address this issue? If you scroll down to an entry by me on 07/07/07 I explain what I did back then for the Roughian Examples site. That was a long time ago, and I think there are better ways to approach it, but the site

Re: GWT 2.03 add Ssl conector Embebed Jetty

2010-04-03 Thread Stefan Bachert
Hi, what is exactly problem? And how does it related to GWT? I would develop and debug without https and switch only in a production environment to https. When you download jetty, you get also configuration samples with ssl. Stefan Bachert On Apr 1, 7:17 pm, svonknorring svonknorr...@gmail.com

Re: How to add an additional widget to PopupPanel

2010-04-03 Thread Dan
You can't add more than one widget to a PopupPanel. You have to add something like a VerticalPanel to the PopupPanel, and then you can add multiple widgets to the vertical panel. On Apr 3, 7:22 am, Ho Jimmy jimmyyl...@gmail.com wrote: Hi, I am using PopupPanel, containing a vertical panel

Re: How to retrieving texts from .properties file dynamically?

2010-04-03 Thread kozura
Can do exactly what gp said but split on a regexp \ntext\d+= or something like that as a single string, then you can do: tableprops = \ text01=x\ text02=y\ On Apr 3, 3:55 am, Victor Papp vic...@vpapp.com wrote: no, its hard to maintain. when you need change text19 in .properties

Re: how to read from an xml file?

2010-04-03 Thread kozura
Or, if you're trying to do the parsing and comparison work on the client side, you can use GWT xml api here: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsXML.html On Apr 1, 3:51 am, lee libi...@gmail.com wrote: Hi there, I have a situation here, i have an xml file which

Deleting gwt-servlet.jar

2010-04-03 Thread Ian Bambury
If you delete the gwt-servlet.jar from the WEB-INF/lib directory because you don't use it, you'll get a warning. Is there any way (other than ignoring the warning) to stop this behaviour? The reason I'd like to do this is that I want to zip up a project and distribute it, but I could do without

Re: 'Stop running this script' message in browsers

2010-04-03 Thread keyboard_samurai
hi has anyone done anything like this ? or anything similar ? Cheers! On Apr 3, 12:24 am, keyboard_samurai yog...@gmail.com wrote:  Agree but since this is a tree i wudnt like the subnodes to be seen until its all done generating... similarly when a user selects collapse wudnt like to show

Re: 'Stop running this script' message in browsers

2010-04-03 Thread Ian Bambury
Well, don't show it while that is happening, then :-) - show a twirling pizza or a 'Hang On A Minute' message or a progress bar (which is perfectly possible in this situation) Ian http://examples.roughian.com On 3 April 2010 18:41, keyboard_samurai yog...@gmail.com wrote: hi has anyone done

Re: Deleting gwt-servlet.jar

2010-04-03 Thread Jeff Chimene
On 04/03/2010 10:33 AM, Ian Bambury wrote: If you delete the gwt-servlet.jar from the WEB-INF/lib directory because you don't use it, you'll get a warning. So here's what I just tried: 0. Unfilter .* resources 1. Open the now visible file .settings/com.google.gwt.eclipse.core.prefs 2. Copy

Re: Deleting gwt-servlet.jar

2010-04-03 Thread Jeff Chimene
On 04/03/2010 10:58 AM, Jeff Chimene wrote: On 04/03/2010 10:33 AM, Ian Bambury wrote: If you delete the gwt-servlet.jar from the WEB-INF/lib directory because you don't use it, you'll get a warning. Nevermind. Didn't work. -- You received this message because you are subscribed to the

Re: Deleting gwt-servlet.jar

2010-04-03 Thread Ian Bambury
Thanks for thinking about it. I could resort to putting a dummy, empty jar of the same name in there, but it would confuse people (me, probably) it it were ever needed later on. I don't understand why GWT does this. Miguel Méndez said in May last year We'll relax the WAR (war/WEB-INF/**)

Re: Deleting gwt-servlet.jar

2010-04-03 Thread Jeff Chimene
On 04/03/2010 11:24 AM, Ian Bambury wrote: Thanks for thinking about it. I could resort to putting a dummy, empty jar of the same name in there, but it would confuse people (me, probably) it it were ever needed later on. While failing to prevent the warning message, the technique did

Re: How to read text file that was zipped in GWT?

2010-04-03 Thread dolcra...@gmail.com
I think what he's saying is that if he has a textresource or something sent zip'd to the client, how would you unzip it? I guess you'd have to either find a JS or GWT implementation of whatever compression scheme you're using. On Apr 3, 2:30 am, rjcarr rjc...@gmail.com wrote: How do you read a

Re: GWT and Image Editor

2010-04-03 Thread Lukas Laag
If I were you I would definitely consider SVG for this project. You can easily create your templates with an SVG editor (like http://www.inkscape.org/). You can manipulate the SVG from GWT with an open-source libary I am developing (http://www.vectomatic.org/lib-gwt-svg). SVG is XML so you have

Re: GWT 2.03 add Ssl conector Embebed Jetty

2010-04-03 Thread sergio vonknorring
Hi Stefan In My company we must integrate our GWT projects to a king of single sign on (legacy system) to get session data of logged user and atributes to do stuffs on the web site, that Legacy system had 2 restrictions 1. The Client Systems have to be part of the domain of the company 2. The

Re: GWT 2.03 add Ssl conector Embebed Jetty

2010-04-03 Thread sergio vonknorring
Hi Stefan In My company we must integrate our GWT projects to a king of single sign on (legacy system) to get session data of logged user and atributes to do stuffs on the web site, that Legacy system had 2 restrictions 1. The Client Systems have to be part of the domain of the company 2. The

character encoding IE8 XMLParser.parse problem

2010-04-03 Thread Simon Botting
Hi, I'm sending a request to get an xml file that I then want to parse. the file is in latin-1 / ISO-8859-1 encoded and had the following for some reason firefox / chrome seem to parse the file fine but ie8 (I haven't tried other ie versions) seems to read it as some other character set (I

wish: all GWT widget providers would comply with at least one LAF

2010-04-03 Thread notcourage
Picking up where this old post left of: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/16bbcc4dec7144/8f8d806097a2933b?lnk=gstq=look+and+feel#8f8d806097a2933b I wish all GWT widget providers would comply with at least one LAF (eg, Nimbus). The lack of uniformity among

Use other Google API with GWT

2010-04-03 Thread sumarc
Hi, I'm a beginner web dev and new to GWT, recently started try to build an app using GWT SDK on Eclipse. I am looking to integrate my app with Google calendar and Google docs. I found the APIs on the Google Code and wondering if I can use them with GWT on Eclipse. Thank you. SM -- You

Re: GWT Developer Plugin is not found in Firefox

2010-04-03 Thread Christopher Conroy
On Fri, Apr 2, 2010 at 7:38 AM, na...@hu.inter.net na...@hu.inter.net wrote: I see 'Google Web Toolkit Developer Plugin for Firefox 1.0.7511' in Firefox in 'Tools/Add-ons/Extensions', but if I start 'http:// 127.0.0.1:/MyWebApp.html?gwt.codesvr=127.0.0.1:9997' I got always the message

error in javascript generated by GWT 2.0.3 for IE6 ?

2010-04-03 Thread yves
Hi Everybody, Unless I missed something (I just upgraded to 2.0.3 last week) I get the following error in IE6 (SP3) with the js script generated by GWT. Note that with Chrome (5.0.366.2 dev), I don't get this error ! The browser gives this error : Object doesn't support this property or method

Re: Can't debug client code from Eclipse

2010-04-03 Thread Dan
I'm having a similar problem though the only place breakpoints don't seem to work is in my AsyncCallback. I see no errors in firebug or anywhere in eclipse. The method that accepts the callback is a native js method. the js calls the callback onSuccess. With compiled code, I can see this

Buried ToggleButton doesn't render correctly in Chrome

2010-04-03 Thread James
This might be an issue with Chrome but when I have a ToggleButton that is far down in the widget hierarchy of my app and I test it on Chrome the button doesn't get displayed correctly. There were a couple times when the ToggleButton would display correctly: 1. When the page is first loaded 2.

Another question regarding event handling

2010-04-03 Thread questzen
I know this has been asked before, a href src=http:// groups.google.com/group/google-web-toolkit/browse_thread/thread/ 19e9d0e9102f1fde/4e780cf84d25671a? lnk=gstq=HandlerManager#4e780cf84d25671a here /a. But I still have some questions, so please be gentle. I am currently working on 1.7 version

Re: How to add an additional widget to PopupPanel

2010-04-03 Thread Eric
On Apr 3, 9:44 am, Dan danpr...@gmail.com wrote: You can't add more than one widget to a PopupPanel. You have to add something like a VerticalPanel to the PopupPanel, and then you can add multiple widgets to the vertical panel. Which is better? Adding a widget to the VerticalPanel inside

Re: How to add an additional widget to PopupPanel

2010-04-03 Thread kozura
Just depends on how you want your app to work, having a error/status widget embedded can be a less obtrusive than a popup. Can also just use setVisible instead of going through CSS. On Apr 3, 10:15 pm, Eric erjab...@gmail.com wrote: Which is better?  Adding a widget to the VerticalPanel inside

[gwt-contrib] Improves expenses scaffold to make better use of PagingTableListView. (issue309801)

2010-04-03 Thread rjrjr
Reviewers: amitmanjhi, Dan Rice, Description: Improves expenses scaffold to make better use of PagingTableListView. Breaks out ReportListView and EmployeeListView as their own UI classes. Most of what they do should really be happening in a ui.xml file, but UiBinder doesn't know about

[gwt-contrib] Re: Improves expenses scaffold to make better use of PagingTableListView. (issue309801)

2010-04-03 Thread rjrjr
Deadline pressures being what they are, I'm going to submit this TBR. Dan, are the new column and cell types okay? http://gwt-code-reviews.appspot.com/309801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject.

[gwt-contrib] [google-web-toolkit] r7874 committed - Improves expenses scaffold to make better use of PagingTableListView....

2010-04-03 Thread codesite-noreply
Revision: 7874 Author: rj...@google.com Date: Fri Apr 2 20:13:37 2010 Log: Improves expenses scaffold to make better use of PagingTableListView. Breaks out ReportListView and EmployeeListView as their own UI classes. Most of what they do should really be happening in a ui.xml file, but UiBinder

[gwt-contrib] Server-side portion of Shm+Futex transport (issue310801)

2010-04-03 Thread jat
Reviewers: tobyr, Sam, Description: This adds the native code (shared with the plugins) and the Java changes necessary to switch to the Shm+Futex transport. This is Linux-only, as it requires futexes (fast user-space mutexes), but it could probably be extended to work on any Posix system with

[gwt-contrib] [google-web-toolkit] r7875 committed - Rename JTypeOracle.computeHasClinitTarget() - JTypeOracle.computeClin...

2010-04-03 Thread codesite-noreply
Revision: 7875 Author: sco...@google.com Date: Sat Apr 3 06:52:10 2010 Log: Rename JTypeOracle.computeHasClinitTarget() - JTypeOracle.computeClinitTarget(). See: r7868 Suggested by: spoon http://gwt-code-reviews.appspot.com/184802/show Review by: spoon

[gwt-contrib] Reorganizes bikeshed/com/google/gwt/samples/expenses to a more ideal (issue294802)

2010-04-03 Thread rjrjr
Reviewers: amitmanjhi, Description: Reorganizes bikeshed/com/google/gwt/samples/expenses to a more ideal layout. In particular sets patterns for multiple entry points and shared code. Please review this at http://gwt-code-reviews.appspot.com/294802/show Affected files: M

[gwt-contrib] Re: Reorganizes bikeshed/com/google/gwt/samples/expenses to a more ideal (issue294802)

2010-04-03 Thread rjrjr
Amit, I'll be TBR'ing this. http://gwt-code-reviews.appspot.com/294802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject.

[gwt-contrib] Re: Reorganizes bikeshed/com/google/gwt/samples/expenses to a more ideal (issue294802)

2010-04-03 Thread amitmanjhi
Looks good. I like this new structure, as per we discussed offline. Have the contents of any file changed that I should carefully look at? On 2010/04/03 21:28:52, Ray Ryan wrote: Amit, I'll be TBR'ing this. http://gwt-code-reviews.appspot.com/294802/show --

[gwt-contrib] Re: Comment on UsingOOPHM in google-web-toolkit

2010-04-03 Thread codesite-noreply
Comment by plindsay: So when will Windows 7 64 bit + eclipse 64 bit be supported on Windows 7? For more information: http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors