GWT and DefinitelyTyped

2016-01-26 Thread Martin Trummer
are there any plans/thoughts of using DefinitelyTyped with GWT - maybe in GWT 3.x? http://definitelytyped.org/ i.e. it would be great to generate GWT js-interop code from the DefinitelyTyped type-script definitions. then GWT would immediately have type-safe access to all the DefinitelyTyped

Re: Teavm

2015-12-03 Thread Martin Trummer
there is an old group post that already discusses the byte-code vs. source code issue - maybe it is still helpful I think the http://www.gwtproject.org/makinggwtbetter.html page should be

Re: Teavm

2015-12-03 Thread Martin Trummer
> That said, browser-specific permutations has IMO reached a dead-end: > Microsoft will stop support IE<11 in 40 days or so (except IE9 on Vista), > which means that we'll have (hopefully) almost everyone using a "modern > browser" where discrepancies aren't that many and can be dealt with at >

Re: Mojo's maven-gwt-plugin or Thomas's maven-gwt-plugin?

2015-11-20 Thread Martin Trummer
@Thomas: I am surprised, that you make a maven plugin. I can remember one of your blog posts was like "Maven is broken by design" Then, why do you write a maven plugin? Did Maven improve with version 3.x, or is there just no other alternative for some reason? What build system would you

Is GWT 3.0 alpha already available?

2015-10-06 Thread Martin Trummer
is there already a GWT 3.0 alpha branch available somewhere? i.e. github, etc? if not: any coarse time-estimate: i.e. Q1 2016 -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: Web app launch view activator

2013-10-23 Thread Martin Trummer
same for me. the problem is that I cannot even tell if this is the way it should be or not. another thing I've noticed is, that it takes very long if I refresh the browser when the application is in dev-mode. i.e. nothing is running - I start the debug mode in eclipse - takes about 10 secs

Re: Future of GWT survey

2012-11-16 Thread Martin Trummer
where can we see the results? On Wednesday, 19 September 2012 15:23:24 UTC+2, Joonas Lehtinen wrote: What is your opinion on the future of GWT? How should GWT develop? What technologies should it better support? ... We all would like to get answers to these questions, right? To do so, we

Re: URGENT-Generating gwt web pages

2012-04-24 Thread Martin Trummer
I have a model which contains data(an xmile file) which i've already converted to a model object. and why don't you use this existing generation process to also generate the packages, that you mention? -- You received this message because you are subscribed to the Google Groups Google Web

Re: Error when obfuscating a gwt jar

2011-05-27 Thread Martin Trummer
I guess, that your extra obfuscation step changes the names of all classes and thus the GWT serialization mechanism will not find the correct classes. I don't think you need to obfuscate anything, because GWT already obfuscates the java-script code:

Re: Is there a way to generate i18n property from Constants?

2011-04-13 Thread Martin Trummer
? try to delete the line that says 'on' if this doesn't help: what's the compiler error-message? for more info on java-annotations see: http://download.oracle.com/javase/1.5.0/docs/guide/language/annotations.html On Apr 12, 3:23 pm, Soon Fatt Hoo sf...@sfhoo.com wrote: I used the -extra extras

Re: Visibility problems when using css.InterfaceGenerator

2011-03-30 Thread Martin Trummer
+1 from me: see http://code.google.com/p/google-web-toolkit/issues/detail?id=4599 On Mar 22, 4:46 pm, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: Hi, we are using InterfaceGenerator quite heavily to generate interfaces from our css files. Works quite nice. But there is one

where to put my Module.css file

2011-03-29 Thread Martin Trummer
most GWT doc says, I should put it in the public dir: e.g. src/main/java/com/mydomain/prj/public/Module.css the module file would be here: src/main/java/com/mydomain/prj/Module.gwt.xml but now when I want to use this in a ClientBundle, say in:

Re: ORM or JDBC?

2011-03-24 Thread Martin Trummer
note, that you can mix JPA and JDBC - there's no need to decide for only one of them. I try to use JPA 2.0 as much as possible with Hibernate as persistence provider. For special cases , I fall back to native SQL commands or even plain JDBC. what I like with JPA/Hibernate: * it's easier to use

Re: Need Feedback on charts frameworks for GWT

2011-03-23 Thread Martin Trummer
another important question is if you GWT application has access to the internet or not. e.g. the Google Visualization API is great, but will not work offline I think chronoscope (an interactive time series chart) can also be used offline: a nice offline time-chart is:

Re: External Tomcat in hosted mode

2011-03-09 Thread Martin Trummer
here's a good description: http://code.google.com/eclipse/docs/faq.html#gwt_with_maven On Mar 9, 3:34 pm, Eduardo Palma eduardo.palma...@gmail.com wrote: I'm working on a project that's currently using:   GWT - 2.0.4   Spring - 3.0.5   Hibernate - 3.3.1   Maven - 2.2.1   Google Plug in for

Re: using eclipse GPE and WTP

2011-03-08 Thread Martin Trummer
telling me that this dir does not exist: ${workspace_loc:/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/ wtpwebapps/appGwtDsm} Any ideas what the problem could be? On 22 Feb., 11:37, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, February 22, 2011 11:30:28 AM UTC+1, Martin Trummer wrote

Re: using eclipse GPE and WTP

2011-02-22 Thread Martin Trummer
Thanks for the reply - it is actually what I used to setup the project (almost - I used the maven entry below) So, does it work for you, if you start the server first (from a clean project) and then start the GWT development mode? (if so, then I have made some mistake in my setup) On Feb 18,

using eclipse GPE and WTP

2011-02-18 Thread Martin Trummer
hi, I am using google plugin for eclipse and start my tomcat server instance via the eclipse-WTP servers view. Basically it works, but the first start is quite inconvenient and I wonder, if anyone knows a better way to do this. so here is what I need do to start the gwt-app. when I checkout a

Re: RPC and MapString, Object serialization problem

2010-03-12 Thread Martin Trummer
I strongly recommend to use DTO's because then you have all the benefits of type-safety which is one of the most compelling reasons to use GWT. however, if you really don't care about that, you could use a HashMapString, String and simply call the toString() method on the serverside for every

Re: FileUpload widget trouble

2010-03-08 Thread Martin Trummer
I guess you must add the fileupload to the form - not to the panel so call: form.add(fuAppSrcZip); On 7 Mrz., 20:19, Víctor Llorens Vilella victor.llor...@gmail.com wrote: Thanks Bimbo. I have tried it with no luck. I'm working with Chrome. For testing, I have tried with Firefox and

Re: fire event when user clicks on specific part of Label text

2010-03-04 Thread Martin Trummer
oh yeah - that's great * beg for help * and if someone comes up with a a viable idea: call it stupid I bet you won't get too many answers that way.. On 4 Mrz., 14:33, mariyan nenchev nenchev.mari...@gmail.com wrote: Well i do it in java, but to construct the text using many labels(hrml)

Re: how to embed flash in gwt?

2010-02-24 Thread Martin Trummer
or simply build your html fragment and use the html-widget http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/HTML.html if you don't want to use 3rd party libs On 23 Feb., 20:14, Anoop John anoopjoh...@gmail.com wrote: See the code below. You have to download

Re: Applet to Javascript in GWT

2010-02-24 Thread Martin Trummer
you'll need JSNI and a bridge method the ' bridge method' part of this article may help http://timepedia.blogspot.com/2007/06/gwt-demystified-generators-part-deux.html On 23 Feb., 22:10, Stanley Wong wong.stan...@gmail.com wrote: Specially, this call fails here:                        

Re: Why does GWT use UserAgent Sniffing?

2010-02-23 Thread Martin Trummer
Dave: Pauls last post is the correct answer for your question On 23 Feb., 13:41, DaveC david.andrew.chap...@googlemail.com wrote: So perhaps your question ought to be why GWT uses the user agent to put the browser into its 6 categories rather than using browser capability detection to put

Re: Why does GWT use UserAgent Sniffing?

2010-02-22 Thread Martin Trummer
because it's much better: http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html#benefits -- 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: Directory Selector

2010-02-18 Thread Martin Trummer
AFAIK it is not possible with HTML and js to do what you want (yet?) anyway - there are some upload applets out there some for free (e.g. http://jupload.sourceforge.net/index.html) and some you have to pay for another alternative would be to embedd some flash-object On 17 Feb., 18:25, Stanley

Re: Fileupload question

2010-02-18 Thread Martin Trummer
as a first step, I'd recommend to check what is actually sent to the server. you could use e.g. firebug (a firefox plugin) then you will at leas know if the problem is on your client code or on your server code On 17 Feb., 15:59, Ravi raveend...@yahoo.com wrote: Hi, I am new to GWT and facing

Re: editor for utf-8 properties files

2010-02-17 Thread Martin Trummer
, 9:03 am, Christian Goudreau goudreau.christ...@gmail.com wrote: Would be great if that was pre-installed within google eclipse plugin. You should write an issue for that. On Tue, Feb 9, 2010 at 9:59 AM, Martin Trummer martin.trum...@24act.atwrote: I'm using:http

Re: Facebook

2010-02-15 Thread Martin Trummer
there's another lib for the client-side that may help http://code.google.com/p/facebook4gwt/ I use it in a 3rd party website on the client side, to log the user in and then on the server-side I user facebook-java-api. On 12 Feb., 20:36, Jeff Schnitzer j...@infohazard.org wrote: Yes, I have.  

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Martin Trummer
just search this group or google for 'gwt rich text editor' you can of course also use any java-scropt richt-text editor you like and integrate with gwt e.g. TinyMce, ckeditor.com (http://code.google.com/p/gwt- ckeditor/), .. On 12 Feb., 18:12, Ahmad Bdair bdair2...@gmail.com wrote: Hello, Is

Re: editor for utf-8 properties files

2010-02-09 Thread Martin Trummer
I'm using: http://sourceforge.net/projects/eclipse-rbe/ and like it On 8 Feb., 21:34, ]matmat[ matthias.buch...@gmail.com wrote: Hello, I am looking for a properties file editor for my GWT i18n-ed resources. As the application I am working on supports several languages (en, fr, ja), it

Re: GWT and applets

2010-02-03 Thread Martin Trummer
http://code.google.com/p/gwtai/ may be helpful On 2 Feb., 22:20, K.WA chd...@gmail.com wrote: Hi I'd like to write an applet that would allow to paste an image (+ a few other thing like croping) inside a rich text area form. To be able to paste and crop, I think I will write a small applet

Re: how to control that a FileUpload has been filled properly

2010-02-03 Thread Martin Trummer
you could check the filenames in the SubmitHandler of the form or you could use the onChange event FileUpload to show an error message On 2 Feb., 21:48, K.WA chd...@gmail.com wrote: Hi I would like to allow file upload of images. I'm using the FileUpload object in a Form object. I'd like

Re: Can't remove 0 index in ArrayList

2010-02-01 Thread Martin Trummer
On Fri, Jan 29, 2010 at 4:23 AM, Martin Trummer martin.trum...@24act.atwrote: show some code or a small test case On 28 Jan., 18:16, Christian Goudreau goudreau.christ...@gmail.com wrote: Does anyone had that same problem ? Everything works fine when it comes to other indexes, but when

Re: How do I make the server RPC to client?

2010-02-01 Thread Martin Trummer
more generally speaking, you want server push http://en.wikipedia.org/wiki/Server_push On 31 Jan., 21:27, Paul Robinson ukcue...@gmail.com wrote: Search for comet. It's the closest technique to what you want. JA wrote: Might be a silly question, but how do you make this scenario work

Re: Can't remove 0 index in ArrayList

2010-02-01 Thread Martin Trummer
by doing the alternative way. Thanks Christian On Mon, Feb 1, 2010 at 5:03 AM, Martin Trummer martin.trum...@24act.atwrote: seems to work for me - here's a little test:  ListInteger list = new ArrayListInteger();  list.add(6);  list.add(7);  list.remove(0);  list.remove(0); after

Re: Can't remove 0 index in ArrayList

2010-01-29 Thread Martin Trummer
show some code or a small test case On 28 Jan., 18:16, Christian Goudreau goudreau.christ...@gmail.com wrote: Does anyone had that same problem ? Everything works fine when it comes to other indexes, but when I do ArrayList.remove(0), the object is still in here ! But When I try :

Re: How future proof are GWT permutations?

2010-01-27 Thread Martin Trummer
I didn't know about the callback error function. How/where can I register such a callback? On 27 Jan., 12:34, Thomas Broyer t.bro...@gmail.com wrote: On Jan 27, 2:22 am, dmen dmenou...@gmail.com wrote: How future proof are GWT compilations? For example, if I compile my app today with 2.0:

Re: RFC 1867-compatibe File Upload

2010-01-26 Thread Martin Trummer
I'm not sure, what you mean with non-UI and on the other hand you want to display a progressbar. maybe you want a pure-GWT implementation without any 3rd party stuff like flash or applets? if so, this may be what you are looking 4: http://code.google.com/p/gwtupload/ On 25 Jan., 17:43, Lothar

Re: Saving page and running it locally breaks the functionality

2010-01-25 Thread Martin Trummer
I've never done this before, and I'm not sure it will work, but these things come to my mind: * you have to take a look at what other files your html file refers to - also copy them to the correct place and adopt the links (if neccessary) also take care of other dependencies: the main

Re: Image Rotates Itself

2010-01-20 Thread Martin Trummer
what happens if you copy the URL of that image and open it in a new browser window/tab? maybe you should also clear all cache/s, restart the webserver/s to avoid any old data to confuse you. On 19 Jan., 16:25, Deerman deermang...@gmail.com wrote: Thank you for your reply. The thing is I am

Re: Charset Problem

2010-01-14 Thread Martin Trummer
it's not enough to change the value of the content-type meta tag your editor must also save the file in the corresponding content-type in eclipse you can change the encoding of the file under File - Properties - Resource On 13 Jan., 21:41, nacho vela.igna...@gmail.com wrote: Hi, i want to put a

Re: RichTextArea Entities

2010-01-12 Thread Martin Trummer
I just wonder, why you would want to do that? what's wrong with the unicode chars? On 11 Jan., 20:03, DCYorke d...@yorkemail.org wrote: When setting HTML to a RichTextArea, some HTML entities are converted to unicode. For instance, laquo; is converted to «, copy; is converted to © and so

Re: RichTextArea Entities

2010-01-12 Thread Martin Trummer
-gotchas.html On 12 Jan., 16:13, DCYorke d...@yorkemail.org wrote: We're using RichTextArea to compose emails. The problem seems to be that some email clients aren't seeing the characters correctly. So © shows up as a ?, but copy; shows up correctly. On Jan 12, 3:50 am, Martin Trummer

Re: Form + servlet + Firefox does not work

2009-12-04 Thread Martin Trummer
so does your applet actually get called i mean: when you upload a file in FF, is the doPost method called? maybe you should throw in some log statements and maybe try to catch all Exceptions in the do post just to log it you could also use firebug to check what the client actually sends to the

how about compressing css?

2009-12-03 Thread Martin Trummer
when using GWT together with 3rd party libs, you sometimes get really huge css files. would it be possible to use some mechanism like the i18n constants for css classes and styles, so that the css-classnames could be shortened/ obfuscated? Not only would it decrease filesize (like zipping the

Re: Tomcat security + GWT = misery

2009-12-02 Thread Martin Trummer
if I understood the tomcat security-manager right, it would be no problem to turn it off, if your app runs on your own dedicated server. on the other hand, if you host serveral apps that you have no control over, you should not turn it off. On 1 Dez., 21:57, bradrover brk...@gmail.com wrote: I

Re: Default language

2009-11-30 Thread Martin Trummer
I thought GWT 1.6. would do this automatically - anyway an alternative to the serverside detection is to do it in js on the clientside in your html file - example: I'm sure this f** forum will completely mess up my source code again... why can't we have [code] tags in a developer(!) forum?

Re: Verification Email Process

2009-11-27 Thread Martin Trummer
If it works for you it must be right :) another aproach would be to write a small servlet that does the verification job: In this case the URL in the mail would point to the verification servlet. the servlet could check if everything is correct and the redirect to your application (or to an

Re: Verification Email Process

2009-11-27 Thread Martin Trummer
another benefit is, that you don't have the username in the url as a parameter when the app is started On 27 Nov., 10:37, Martin Trummer martin.trum...@24act.at wrote: If it works for you it must be right :) another aproach would be to write a small servlet that does the verification job

Re: Controlling desktop windows size and position.

2009-11-23 Thread Martin Trummer
you can't do that with html/javascript, so GWT can't help you On 19 Nov., 18:35, PatrickJ patrickjsim...@gmail.com wrote: Is there and equivalent functional in GWT to VB's FindWindow, ShowWindow and MoveWindow? I would like to write a simple GWT application that would list all applications

Re: Design Patterns

2009-11-23 Thread Martin Trummer
more one could say about this.. On 21 Nov., 23:58, Lúcio Camilo luciocam...@gmail.com wrote: But someone can xplain what? 2009/11/20 Martin Trummer martin.trum...@24act.at yes On 19 Nov., 21:08, Lúcio Camilo luciocam...@gmail.com wrote: The component Composite and the object Command

Re: How to handle image/gif response

2009-11-20 Thread Martin Trummer
is working as expected. Since my image is stored in ServletOutputStream, I tried to usepreImage img = new Image (GWT.getHostPageBaseURL() + serviceexample/ImgRetrieve); /pre But image is not displayed. On Nov 19, 7:33 pm, Martin Trummer martin.trum...@24act.at wrote: if you only want

Re: How to handle image/gif response

2009-11-19 Thread Martin Trummer
what are you trying to do? what is the form good for? does it upload the image and afterwards you want to display this uploaded image? On 19 Nov., 13:01, zhangj5 jianzhan...@gmail.com wrote: Hi all, I have a question about how to handle image/gif type response on client side, any suggestion

Re: How to handle image/gif response

2009-11-19 Thread Martin Trummer
if you only want to display an image there's no need for a form this might be useful: http://bit.ly/2Wgvtm On 19 Nov., 20:22, Martin Trummer martin.trum...@24act.at wrote: what are you trying to do? what is the form good for? does it upload the image and afterwards you want to display

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-18 Thread Martin Trummer
. (Grüße - GrüÃ?e) I have no more idea to solve my problem... On 17 Nov., 15:31, Martin Trummer martin.trum...@24act.at wrote: check that your html file has the correct content type: meta http-equiv=content-type content=text/html; charset=UTF-8 then put a breakpoint in your servlet and check

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-18 Thread Martin Trummer
; charset=UTF-8 request.getCharacterEncoding() shows UTF-8 upload.getHeaderEncoding() now also shows UTF-8 But still getting the wrong result. -.- On 18 Nov., 11:40, Martin Trummer martin.trum...@24act.at wrote: what does request.getCharacterEncoding() show? if you use commons-file

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-17 Thread Martin Trummer
check that your html file has the correct content type: meta http-equiv=content-type content=text/html; charset=UTF-8 then put a breakpoint in your servlet and check if the special chars are still ok and make sure, to use the correct method on your form setMethod(FormPanel.METHOD_POST) On 13

Re: Starting a new thread result in AccessControlException

2009-11-13 Thread Martin Trummer
that is not related to GWT it depends on what webserver/servicecontainer your application is running on e.g. Google App Engine won't let you create new threads On 12 Nov., 10:42, y y...@cs.washington.edu wrote: When I try to start a new thread in a servlet, I get:

Re: MyClass is not a generic type; only generic types can be parameterized

2009-11-09 Thread Martin Trummer
just a guess: maybe somewhere else in the code you use MyClassSomething someVar; On Nov 6, 10:19 am, dinosaurus dinosau...@inbox.lv wrote: Hello, I have the following class which has not methods at all: public class MyClass extends LinkedListMyAnotherClass { } In GWT console and during

Re: Resize image

2009-11-09 Thread Martin Trummer
is the appropriate one... maybe I should shrink the images already when saving to the database for performance reason. On Nov 6, 10:50 am, Martin Trummer martin.trum...@24act.at wrote: well and one alternative, that might sometimes be usefull is, to transfer the imagename and the imagesize to the client

RichTextArea gotchas

2009-11-03 Thread Martin Trummer
If you are using or are planing to use GWTs RichTextArea (or GXTs, which is basically the same), then the following blog post may be interessting for you http://martin-trummer.blogspot.com/2009/11/wysiwyg-gotchas.html I am already keen to get to know your point of view about * this topic * the

Re: RichTextArea gotchas

2009-11-03 Thread Martin Trummer
is using plain GWT On Nov 3, 12:53 pm, Thomas Broyer t.bro...@gmail.com wrote: On 3 nov, 12:25, Martin Trummer martin.trum...@24act.at wrote: If you are using or are planing to use GWTs RichTextArea (or GXTs, which is basically the same), then the following blog post may be interessting

Re: RichTextArea gotchas

2009-11-03 Thread Martin Trummer
is using plain GWT On Nov 3, 12:53 pm, Thomas Broyer t.bro...@gmail.com wrote: On 3 nov, 12:25, Martin Trummer martin.trum...@24act.at wrote: If you are using or are planing to use GWTs RichTextArea (or GXTs, which is basically the same), then the following blog post may be interessting

Re: Compiler: Why Lazy loading in the Client-Package?

2009-10-29 Thread Martin Trummer
you should read DevGuideSerializableTypes to understand what's going on: http://tinyurl.com/yk6cfnn when you somehow refer to the class in the client-app, GWT compiler does (must) include it: your problem is the serialization of the class On Oct 28, 12:19 pm, gwtfanb0y

Re: How To Unlock Locked iPod

2009-10-13 Thread Martin Trummer
AFAIK, GWT can't do that Forum wrote: How To Unlock Locked iPod http://bit.ly/hddpp http://bit.ly/hddpp How To Unlock Locked iPod --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

RichText: inconsistent output on different browsers

2009-10-08 Thread Martin Trummer
I just noticed, that the RichtText editor produces different output for the same actions in different browsers: you can try it at: http://examples.roughian.com/index.htm#Widgets~RichTextArea Example: write a word, select it, click 'Toglle Bold' button, will produce: * Firefox 3.5.2, Chrome

how to reset the values of a formpanel in GWT1.5?

2009-08-13 Thread Martin Trummer
I want to clear all input that the user has already made in a form panel. How can I do that in GWT1.5? I'm sure it's very simple, but I just can't find the proper function... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

ClassCastException only in Chrome and OBF mode

2009-07-21 Thread Martin Trummer
I get a ClassCastException on some of my RPC only, when the application runs in Chrome and only when it's compiled in (OBF) obfuscated mode. When I compile it in DETAILED mode, everything works fine. The same RPCs in other browsers also work fine (even in OBF mode). Now I'm quite stuck, because

IE: history token lost on http -- https redirect

2009-06-03 Thread Martin Trummer
we have some public (plain HTML) pages, that are not ssl encrypted these pages have (relative) links to a GWT application some of those links in the public area use history tokens, to open certain views of the GWT application: so you click the link, then http:///secure/GWTApp.html#sometoken

Re: Hosted Mode crashes when embedding applet

2009-02-19 Thread Martin Trummer
I found some related tickets some time ago: * gwt ticket: http://code.google.com/p/google-web-toolkit/issues/detail?id=283 * swt ticket: https://bugs.eclipse.org/bugs/show_bug.cgi?id=59506 * java ticket: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587166 On Feb 18, 9:56 pm,

Re: Microsoft Picture Manager

2009-02-02 Thread Martin Trummer
So things related to Javascript and HTML have nothing to do with GWT? AFAIK: If you can do it with HTML and JS, you can also do it with GWT. I insist, how do I open a, for example MS Word, from a GWT instruction? If you can get this to work, using HTML and JS only, it will also work with GWT.

Re: Clear all html tags from a page

2009-02-02 Thread Martin Trummer
here's what I do: I put all stuff that I want to hide after the app. start into a div: e.g. called loadingdiv (because I use it to show a loading message). the first thing I do in my entrypoint, is to hide the loading div: e.g. RootPanel.get(loadingdiv).setVisible(false); then I

Re: how to set signature for JSNI?

2009-02-02 Thread Martin Trummer
I guess you want to call the static method A.checkDup() from your java code. if this is true, in your java code, you would simply call the method, as if it were a normal java-method: e.g. class A { private static native Boolean checkDup(String id, int index)/*-{ .. }-*/; private

Re: GWT Remember username and password

2009-01-09 Thread Martin Trummer
what I do is: have a hidden html-form in my html page: div id=hiddenLoginDiv style=display:none form id=hiddenLoginForm method=post action=dummy.html onsubmit=javascript:return false; input id=username name=username type=text size=20

Re: Internationalization not working for all strings

2008-12-16 Thread Martin Trummer
just some thoughts: * maybe there are some hidden characters, that your editor does not show * maybe the translation has been copied from the default and it just seems not to translate * you could post some of those random strings here - maybe this helps anyone to get a better idea about the

Re: Annoying issue, integrating with Hibernate

2008-12-09 Thread Martin Trummer
you should take a look at: http://noon.gilead.free.fr/gilead (formerly known as hibernate4gwt) On Dec 7, 10:54 am, LoneWolf [EMAIL PROTECTED] wrote: Hey, Our application is using Hibernate 3 as the persistence mechanism, and of course we have one-to-many relationship. The problem is when

Re: How to run signed applet in hosted mode and other inside

2008-12-01 Thread Martin Trummer
ad 1) http://code.google.com/p/google-web-toolkit/issues/detail?id=283 On Nov 28, 10:20 am, avd [EMAIL PROTECTED] wrote: hello sir, I have two problem in gwt: 1..How to run signed applet in hosted mode.i put all class files of applets in public folder and change the html file that exist in

Re: Pass an applicationSessionId in each rpc request

2008-12-01 Thread Martin Trummer
isn't this very insecure (passing the sessionId via URL)? AFAIK: the URL is always readable (even if you use SSL) and thus it would be very easy to intrude the users session On Nov 29, 3:52 am, Joe Cole [EMAIL PROTECTED] wrote: You could just change the request urls:

Re: Dynamically generating meta-tag for specifying locale

2008-11-05 Thread Martin Trummer
here's what we do: very simple java script (in the header section of the .html file) of course the accept-language approach is much better and I also consider implementing that approach: some day when I have some spare time :) ... script type=text/javascript var lang=en;

Re: Image LoadListener: onError not called for HttpServletResponse.SC_NOT_FOUND

2008-10-23 Thread Martin Trummer
this happens in hosted mode and webmode (FF3.0.3) On Oct 22, 7:00 pm, Martin Trummer [EMAIL PROTECTED] wrote: hi, I have an imageServlet that returns HttpServletResponse.SC_NOT_FOUND if it cannot find the requested image. On the client side I use an Image element with an attached

Image LoadListener: onError not called for HttpServletResponse.SC_NOT_FOUND

2008-10-22 Thread Martin Trummer
hi, I have an imageServlet that returns HttpServletResponse.SC_NOT_FOUND if it cannot find the requested image. On the client side I use an Image element with an attached LoadListener. But even when the servlet returns HttpServletResponse.SC_NOT_FOUND, the onLoad() method will be called and not

Re: Norton 360 slows GWT app?

2008-10-16 Thread Martin Trummer
FYI: I found those 2 interessting sites: http://mail.google.com/support/bin/answer.py?answer=80446topic=12780 http://shaunmccarthy.wordpress.com/2007/02/14/symmantec-virus-definitions-slow-websites-with-javascript-significantly/ On Oct 15, 11:45 am, Joe Cole [EMAIL PROTECTED] wrote: We had huge

Re: Norton 360 slows GWT app?

2008-10-15 Thread Martin Trummer
what exactly is slow? * the time it needs to load the app * the app itself during execution? On Oct 15, 4:32 am, makoki [EMAIL PROTECTED] wrote: Can't find an explanation about it and hope anyone can tell me something, using Norton 360 in a Windows Vista environment seems to be slowing down

confusion about gwt-tmp

2008-09-29 Thread Martin Trummer
when I start the gwt-compiler I can specify the -out parameter. This output directory also contains following dirs: * .gwt-tmp * myModule * myModule-aux I could not find the purpose of the .gwt-tmp directory in the docs. However, I think it's only needed by the gwt-compiler during the

Re: problem with multiple fileupload in GWT 1.5

2008-09-24 Thread Martin Trummer
seems, that you are setting the name twice for fileUploadDataset. the second one should be fileUploadMetadata . On Sep 23, 6:11 pm, Erik van Ingen [EMAIL PROTECTED] wrote: In GWT 1.5 I have an implementation like:http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... The

Re: Sharing the localization code between client and server

2008-09-23 Thread Martin Trummer
Hi, I am also interested in this. Our approach is to write the texts into the properties files and then use the GWT-i18n tool to generate the interface-files. Of course this is not the best thing to do, because all the arguments will be strings... Maybe another approach would be to extend the

Re: RichTextToolbar

2008-09-19 Thread Martin Trummer
+1 from me On Sep 19, 4:52 am, Michael Neale [EMAIL PROTECTED] wrote: Is there any reason why RichTextToolbar is not including as part of GWT but is only as a sample ? (in the Showcase project)? Shouldn't this really be part of GWT itself, I mean the text area is not terribly helpful

Re: JSNI method '@com.google.gwt.dom.client.OptionElement::setLabel(Ljava/lang/String;)'

2008-09-16 Thread Martin Trummer
looks like a bug to me On Sep 15, 6:33 pm, jchimene [EMAIL PROTECTED] wrote: Hi, I'm seeing the following message: [WARN] JSNI method '[EMAIL PROTECTED]::setLabel(Ljava/lang/ String;)' returned a value of type string but was declared void; it should not have returned a value at all Is

Re: HTML-Widget ignoring some tags?

2008-08-29 Thread Martin Trummer
this should explain why the ext guys reset the styles: http://extjs.com/forum/showthread.php?t=8907 BTW: does anyone know how to format links in this fourm or where to find help on formatting? On Aug 14, 5:16 pm, Ian Bambury [EMAIL PROTECTED] wrote: Also, you have to ask yourself what right