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 su

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 > run

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 updated

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 recommend

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 unti

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

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 To

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: http://code.google.com/webtoolkit/doc/1.6/FAQ_Deb

Re: Problems with GPE, maven, m2eclipse, WTP

2011-04-19 Thread Martin Trummer
not exactly what you want to hear, but maybe it helps: - inteface generation you can tell eclipse to ignore stuff in your target folder: just right click the target-folder select 'properties' and setup resource filters then you will not have any conflict I prefer not to use any maven generation i

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 wrote: > I used the -extra extras when I compile

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 wrote: > Hi, > > we are using InterfaceGenerator quite heavily to generate interfaces > from our css files. Works quite nice. > > But there is one thing I do not really unders

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: src/main/java/com/mydomain/prj/client/HtmlResources.ja

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 o

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: http://timepedia.org/chronos

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 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 Eclipse 3.6(HELIOS) -

Re: using eclipse GPE and WTP

2011-03-08 Thread Martin Trummer
path instead, but eclipse keeps 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 wrote: > On Tuesday, February 22, 2011 1

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, 3:1

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 cl

Re: RPC and Map 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 HashMap and simply call the toString() method on the serverside for every value you want to

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 wrote: > Thanks Bimbo. > > I have tried it with no luck. > I'm working with Chrome. > > For testing, I have tried with Firefox and ,well..., submit button is

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 wrote: > Well i do it in java, but to construct the text using many labels(hrml) > seems stupid, and also how a

Re: How to truncate a String?

2010-03-03 Thread Martin Trummer
the String class has a substring() method, that should help you... http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#substring%28int,%20int%29 On 2 Mrz., 23:30, Memo Sanchez wrote: > Good day =) > > I was looking for a way to truncate a String which is inside a Label, > but I haven't

Re: Question : How set a parameter type as inout when using rpc with gwt ?

2010-02-24 Thread Martin Trummer
there's no such thing as inout-parameters you'll have to return the new value if there are more values you want to return, then you have to declare a class that simply holds the value and use this class as the return type of your service-function class ReturnObject { String userName; Long no

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 wrote: > Specially, this call fails here: > > >                         String s = getValue();

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 wrote: > See the code below. You have to download gwt2swf.jar file and

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 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 them into the same 6 categories

Re: Fwd: Can anyone explain RPC

2010-02-23 Thread Martin Trummer
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideServerCommunication.html On 23 Feb., 07:11, sridevi macherla wrote: > Hi All, > > I am new to GWT and I am working on RPC i couldn ot understand what is > exaclty RPC and how it relates to GWT what GWT is trying to achieve from the >

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 google-web-tool...@googlegrou

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 wrote: > Hi, > > I am new to GWT and facing problem with File

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 Wo

Re: editor for utf-8 properties files

2010-02-17 Thread Martin Trummer
Christian, > > If this kind of editor is integrated in the google eclipse plugin, it > > would be great to add this missing feature. > > > Matthias > > > On Feb 9, 9:03 am, Christian Goudreau > > wrote: > > > > Would be great if that was pre-installe

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 wrote: > Hello, Is there a widget that

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 wrote: > Yes, I have.  You can play with it:

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[" 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 would be very handy to b

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" wrote: > Hi > > I would like to allow file upload of images. I'm using the FileUpload > object in a Form object. I'd like allow the form

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" 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 that will s

Re: Can't remove 0 index in ArrayList

2010-02-01 Thread Martin Trummer
I alreay resolved by > doing the alternative way. > > Thanks > > Christian > > On Mon, Feb 1, 2010 at 5:03 AM, Martin Trummer wrote: > > > seems to work for me - here's a little test: > > >  List list = new ArrayList(); > >  list.add(6); > &g

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 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 > > efficiently: > >

Re: Can't remove 0 index in ArrayList

2010-02-01 Thread Martin Trummer
it's > something that should be corrected. > > Christian > > On Fri, Jan 29, 2010 at 4:23 AM, Martin Trummer > wrote: > > > show some code or a small test case > > > On 28 Jan., 18:16, Christian Goudreau > > wrote: > > > Does anyone had t

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 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 : ArrayList.remove(object), it work agai

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 wrote: > On Jan 27, 2:22 am, dmen wrote: > > > How future proof are GWT compilations? For example, if I compile my > > app today with 2.0: > > > 1. How it will react in

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 Kim

Re: importing contacts using GWT

2010-01-25 Thread Martin Trummer
take a look at oAuth http://oauth.net/ On 24 Jan., 13:02, Qais wrote: > hey everyone; > i am trying to import contacts from : > 1- Gmail > 2- other social media accounts (Hotmail, Yahoo, AOL ...etc ) > > anyone can help me in an piece of code that works with app engine ... > thnx :) -- You rece

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 wrote: > Thank you for your reply. > > The thing is I am actually not rotating

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 wrote: > Hi, i want to put a link like this: > > Hy

Re: RichTextArea Entities

2010-01-12 Thread Martin Trummer
11/wysiwyg-gotchas.html On 12 Jan., 16:13, DCYorke 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 © shows up correctly. > > On Jan 12, 3:50 am, Martin

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 wrote: > When setting HTML to a RichTextArea, some HTML entities are converted > to unicode. For instance, « is converted to «, © is > converted to © and so forth. The problem seems to or

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 se

Re: how about compressing css?

2009-12-03 Thread Martin Trummer
tmas' BTW: thanks for the answer, I somehow missed that On 3 Dez., 12:30, Thomas Broyer wrote: > On Dec 3, 11:16 am, Martin Trummer wrote: > > > when using GWT together with 3rd party libs, you sometimes get really > > huge css files. > > > would it be possible to use

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 resp

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 wrote: > I have a GWT applic

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
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 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: 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 error

Re: Design Patterns

2009-11-23 Thread Martin Trummer
know what more one could say about this.. On 21 Nov., 23:58, Lúcio Camilo wrote: > But someone can xplain what? > > 2009/11/20 Martin Trummer > > > yes > > > On 19 Nov., 21:08, Lúcio Camilo wrote: > > > The component Composite and the object Command have

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 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 running on a Windows

Re: How to handle image/gif response

2009-11-20 Thread Martin Trummer
n_AL/images/ > logo.gif” ); > ,which is working as expected. > Since my image is stored in ServletOutputStream, > I tried to useImage img = new Image (GWT.getHostPageBaseURL() + > "serviceexample/ImgRetrieve"); > But image is not displayed. > > On Nov 19, 7:33 pm, Mar

Re: Design Patterns

2009-11-20 Thread Martin Trummer
yes On 19 Nov., 21:08, Lúcio Camilo wrote: > The component Composite and the object Command have something in common with > the design patterns with same name? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send e

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 wrote: > what are you trying to do? > > what is the form good for? > does it upload the image and afterwards you want to display this

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 wrote: > Hi all, > I have a question about how to handle image/gif type response on > client side, any suggestion will be great. > The

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

2009-11-18 Thread Martin Trummer
ng() shows "UTF-8" > upload.getHeaderEncoding() now also shows "UTF-8" > > But still getting the wrong result. -.- > > On 18 Nov., 11:40, Martin Trummer wrote: > > > what does request.getCharacterEncoding() show? > > > if you use commons-file upload, you could try

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

2009-11-18 Thread Martin Trummer
he special chars are wrong. (Grüße -> "GrüÃ?e") > > I have no more idea to solve my problem... > > On 17 Nov., 15:31, Martin Trummer wrote: > > > check that your html file has the correct content type: > > > > > then put a breakpoint in your serv

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: 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 Nov., 10:46, GWT-Newbie wrote: > Hey there, > > using the FormP

Re: UnmodifiableList Serialization

2009-11-13 Thread Martin Trummer
http://code.google.com/p/google-web-toolkit/issues/detail?id=3065 On Nov 12, 3:01 pm, fedy2 wrote: > As a tmp solution I just create a new LinkedList passing as argument > the Unmodifiable one, but I think this is not a clear solution. > > Anyway thanks for the suggestion. > > Federico > > On No

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 wrote: > When I try to start a new thread in a servlet, I get: > java.security.AccessControlException: access denied

Re: Resize image

2009-11-09 Thread Martin Trummer
t; Now, I'm thinking if this approach 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 wrote: > > > well and one alternative, that might sometimes be usefull

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 MyClass someVar; On Nov 6, 10:19 am, dinosaurus wrote: > Hello, > > I have the following class which has not methods at all: > > public class MyClass extends LinkedList { > > } > > In GWT console and during GWT compilation I'm getting warnin

Re: Resize image

2009-11-06 Thread Martin Trummer
well and one alternative, that might sometimes be usefull is, to transfer the imagename and the imagesize to the client then you already know the dimensions when you create the image On Nov 6, 10:49 am, Martin Trummer wrote: > try to use a load handler > > the getWidth() methods com

Re: Resize image

2009-11-06 Thread Martin Trummer
try to use a load handler the getWidth() methods comment says: Gets the width of the image. When the image is in the unclipped state, the width of the image is not known until the image has been loaded (i.e. load event has been fired for the image). if you just create the Image object and

Re: html in different browsers

2009-11-06 Thread Martin Trummer
no - the HTMLPanel will insert your HTML code as is. it simply creates a div element and sets the innnerHtml. On Nov 5, 12:39 pm, rasp wrote: > Hi. > If i write html code, that display different in some browsers(like > IE,Opera,FF), then set this html to HTMLPanel (or other panel), can > GWT hel

Re: RichTextArea gotchas

2009-11-03 Thread Martin Trummer
is using plain GWT On Nov 3, 12:53 pm, Thomas Broyer wrote: > On 3 nov, 12:25, Martin Trummer 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 f

Re: RichTextArea gotchas

2009-11-03 Thread Martin Trummer
is using plain GWT On Nov 3, 12:53 pm, Thomas Broyer wrote: > On 3 nov, 12:25, Martin Trummer 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 f

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: 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 wrote: > I have encounte

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 pos

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 3.

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 G

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 is

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, D

Re: RPC call efficiency

2009-02-06 Thread Martin Trummer
1 seems much too long for this simple call even when I start an RPC call over the internet and do some simple db- reading, the calls only take about 100-200ms try to find out where exactly the time is lost. e.g. log the time when: * you start the rpc call * when the rpc call reaches the server

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

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 s

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 GW

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: in my entry-point I simply read those values and set them into my gwt- text and gwt-password fields. if the html values are empty, my gwt-fields will also be empty

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 pr

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 wh

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: > > target.setServiceEntr

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

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 :) ... var lang="en"; if (navigator.language.ind

Re: splitting client, RPC and server in different eclipse projects?

2008-10-23 Thread Martin Trummer
did you post the wrong link? it leads to the current page again.. On 23 Okt., 08:38, "Tom Janssens" <[EMAIL PROTECTED]> wrote: > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > On 22/10/2008, TomJanssens <[EMAIL PROTECTED]> wrote: > > > > > Hello all, > > > I am tryin

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 ele

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 t

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=80446&topic=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 h

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 d

Re: How to call applet in gwt

2008-10-01 Thread Martin Trummer
> HTML applet = new HTML(); > panel.add(applet); > applet.setHTML("http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html#anywhere On Sep 30, 11:59 am, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > Hello ... whoever, > > ship schrieb: > > > I am using gwt in a applicat

Re: How to call applet in gwt

2008-09-30 Thread Martin Trummer
AFAIK, gwt does not directly support this. however, this lib looks very promising: http://code.google.com/p/gwtai/ note: I haven't used it yet If you do, please let us know if it works for you. On Sep 30, 9:37 am, ship <[EMAIL PROTECTED]> wrote: > hi all, > I am using gwt in a application in whic

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 compilation

  1   2   >