Loading Plus-One-Button dynamically causes Popup to jump in height

2012-03-14 Thread newnoise
Hi, I'm trying to add a "Plus-One"-Button dynamically to some popups our webapp is using. I'm using the following code: HTML google = new HTML(" annotation=\"none\" href=\"http://somecutomurl.com\";>"); > > Document doc = Document.get(); > ScriptE

Re: How to load an external JS-file without calling a function in there

2012-03-01 Thread newnoise
) /*-{ $wnd.writeCapture.html(div, src, function() { }); }-*/; And it works perfectly well! Regards, Tom On 1 Mrz., 03:14, Joseph Lust wrote: > newnoise, > > I thought you could just place the tag in your manifest file > and that external libr

How to load an external JS-file without calling a function in there

2012-02-29 Thread newnoise
Hi, I'm trying to dynamically add advertisement to our page. Our advertisement-partner provides us a script which we have to include like this: http://www.somesource.com/ output.js?id=123"> The output.js just contains one line of code like this: document.write("some html"); I have no idea ho

Re: Multi-Module Project and Servlet Mappings

2011-02-03 Thread newnoise
Got it. Reading your post several times got me to it. Thanks. On 2 Feb., 22:26, newnoise wrote: > Hi, > > I'm having kind of the same problem, but dont understand what you > actually did. Could you maybe post a sample web.xml? > > Thanks in advance! > Tom > >

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
the sources for that single class ... Maybe this helps anyone. Tom On 2 Feb., 19:18, newnoise wrote: > Yeah that were just typos while "removing details" from my code ... > BUT > > I got it working. Not completely satisfying though, but a first > step :) > I ca

Re: Multi-Module Project and Servlet Mappings

2011-02-02 Thread newnoise
Hi, I'm having kind of the same problem, but dont understand what you actually did. Could you maybe post a sample web.xml? Thanks in advance! Tom On 14 Jan., 09:37, rsimon wrote: > Ouch. Looks like I should have RTFM ;-) Thanks for the hint! > > This solved most of my problem. I was able to ma

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
child1.Child1", while your > entrypoints are named "project.client.Child1" and > "project.client.child2.Child2" – do you really have two different classes > named Child1, or is it possible that there is some mixed dependency here? > > -Colin > > > > O

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
On 2 Feb., 10:31, newnoise wrote: > Ah sorry my mistake, the error is: > Finding entry point classes >       [ERROR] Unable to find type 'project.client.child1.Child1' > > I checked it like 9 times, the "path" is right. > > I'm not trying to compil

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
Ah sorry my mistake, the error is: Finding entry point classes [ERROR] Unable to find type 'project.client.child1.Child1' I checked it like 9 times, the "path" is right. I'm not trying to compile the Parent-Module anymore but the two modules in the project. I can't find any page describing

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-02 Thread newnoise
Ah sorry my mistake, the error is: Finding entry point classes [ERROR] Unable to find type 'project.client.child1.Child1' I checked it like 9 times, the "path" is right. I'm not trying to compile the Parent-Module anymore but the two modules in the project. I can't find any page describing

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-01 Thread newnoise
its source path entries properly Thanks! On 2 Feb., 00:18, newnoise wrote: > Ok. But don't I need some module like parent? If I delete parent I > can't compile the project no more. > Both .html-files point to the right .nocache.js files! I doublechecked > it several times

Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-01 Thread newnoise
Ok. But don't I need some module like parent? If I delete parent I can't compile the project no more. Both .html-files point to the right .nocache.js files! I doublechecked it several times :) Thanks noise On 1 Feb., 23:24, Colin Alworth wrote: > From the little information here, it seems that e

2 Modules in 1 GWT-App, both starting the onModuleLoad?

2011-02-01 Thread newnoise
Hi, I have a GWT-Project currently containing modules (will be more in the future). To make it tidy I created a "containing" module called "Parent". "Parent" does not have any source, its just a containing module. This is the Parent.gwt.xml: The two modules

Re: Request.cancel doesn't work for me!

2010-12-07 Thread newnoise
ver. > > Check theRequest.cancel() code..it's pretty straightforward. > > On Dec 7, 7:01 am, newnoise wrote: > > > Does really no one got any idea? > > > On 29 Nov., 18:29, newnoise wrote: > > > > Me again, > > > > just trie

Re: Request.cancel doesn't work for me!

2010-12-07 Thread newnoise
Does really no one got any idea? On 29 Nov., 18:29, newnoise wrote: > Me again, > > just tried to make the imExpensive-method less complex, but still no > success. > > TheRequestis not cancelled ... What am I doing wrong? > > Thanks > Tom > > On Nov 29, 6

Re: Request.cancel doesn't work for me!

2010-11-29 Thread newnoise
Me again, just tried to make the imExpensive-method less complex, but still no success. The Request is not cancelled ... What am I doing wrong? Thanks Tom On Nov 29, 6:16 pm, newnoise wrote: > Hi, > > I'm working on an GWT-App displaying a map with different layers. > Som

Request.cancel doesn't work for me!

2010-11-29 Thread newnoise
Hi, I'm working on an GWT-App displaying a map with different layers. Some of those layers are drawn just on request and just for the part of the map which is currently displayed. The Problem occurs if a user moves and zooms the map pretty fast, so that a lot of pictures have to be drawn. This re

Session Managment for more than one GWT-Project

2010-11-08 Thread newnoise
Hi there, I'm writing an GWT-App containing several sub-projects. To keep the App lightweight and easy I created different projects for each subproject linking to each other. I deployed the projects on my Tomcat and it works fine, BUT: As every subprojects has its own server-classes and therefore

How to merge 2 projects into 1?

2010-10-06 Thread newnoise
Hi all, I created two projects with GWT and Eclipse-Plugin. Because both projects have a completly different client-side code, but also completly the same server-side code, I want to combine them to avoid having the same code twice. What I did was to link the project without the server-side code t

Re: Sending mails from GWT-App

2010-09-28 Thread newnoise
t to enter at String smtpHost, as I have to enter > > > my > > > Smtp-Host at props.put() again ... > > you don't have to enter this one again. > > Dear newnoise, please google a little bit more for the code, as it > will surely provide you a solution.

Re: Sending mails from GWT-App

2010-09-28 Thread newnoise
What does that mean? On 28 Sep., 15:12, Paul Grenyer wrote: > Hi > > This isn't a GET issue > > Paul > > On Tue, Sep 28, 2010 at 1:46 PM, newnoise wrote: > > > > > Hi, > > > I'm trying to send an email from my GWT-App. I found

Sending mails from GWT-App

2010-09-28 Thread newnoise
Hi, I'm trying to send an email from my GWT-App. I found the following code using google: protected void sendMessage(String smtpHost, String fromAddress, String fromName, String to, String subject, String text) { // Get system properties Properties props = System.getProperties(); // Setup mail ser

Re: How to use one service from several GWT-Apps

2010-06-24 Thread newnoise
just a simple dijkstra ... On 23 Jun., 22:55, giuseppe la scaleia wrote: > A question what do you use for route on map?? Regards giuseppe > > Inviato da iPhone di Giuseppe La  Scaleia > > Il giorno 23/giu/2010, alle ore 22.13, newnoise  > ha scritto: > > > and wh

Re: How to use one service from several GWT-Apps

2010-06-23 Thread newnoise
and when i wrote service again, i totally meant servlet. its been a looong day ... On 23 Jun., 22:11, newnoise wrote: > sorry i meant service. > > i try to explain the problem more precisely: > i got a map. users can, for example, use the app to calculate a route- > advise. if the

Re: How to use one service from several GWT-Apps

2010-06-23 Thread newnoise
sorry i meant service. i try to explain the problem more precisely: i got a map. users can, for example, use the app to calculate a route- advise. if the user did so he may want to print the route. but the map is nearly fullscreen, so if he justs prints it like that it looks pretty bad. so what i

How to use one service from several GWT-Apps

2010-06-23 Thread newnoise
Hi, I'm currently trying to add some printing functions to a map-software. If the user hits the print-button a new browser-window, which's dimensions fit to a normal sheet of paper, is opened. As the user usually wants to print stuff like a route or so the new window needs to use the same services

Re: IE7 does not complete loading pictures

2010-05-02 Thread newnoise
ments need to be loaded, and the icon in the tabbar keeps to be the loading circle all the time. so if maybe anyone could help me out? cheers On 2 Mai, 14:39, newnoise wrote: > And there actually is a workaround. > If I do add something like "x=12345" to the image-path, it does wor

Re: IE7 does not complete loading pictures

2010-05-02 Thread newnoise
Mai, 14:33, newnoise wrote: > Ah I forgot to mention, that the images which didnt load in the first > place, still dont load if I, for instance, zoom back to those tiles > again. Its like a white whole in the middle of the map then. > > thanks! > > On 2 Mai, 14:18, newnoise wro

Re: IE7 does not complete loading pictures

2010-05-02 Thread newnoise
Ah I forgot to mention, that the images which didnt load in the first place, still dont load if I, for instance, zoom back to those tiles again. Its like a white whole in the middle of the map then. thanks! On 2 Mai, 14:18, newnoise wrote: > Hello, > > I am currently developing a ma

IE7 does not complete loading pictures

2010-05-02 Thread newnoise
Hello, I am currently developing a map-service application. Therefore I have a grid containing the tiles of my map. I wrote an algorithm which dynamically fills this grid with the number of needed tiles. Strange thing is, that the IE7 does not complete the initial loading of the images, the status

Can't open my GWT-page

2010-01-08 Thread newnoise
Hi, I created a little GWT-Page. But after I upgraded my GWT to 2.X I can't open the page anymore. The browser always says: "Please (re) compile the project, or use hosted mode" (actually it doesn't say that litterally, but you know what I mean :) ). I recompiled the project several times and no c