Re: file upload path gives full path

2012-12-03 Thread Markus
Hi, we simply clear the filename: if (filename.contains(/)) { filename = filename.substring(filename.lastIndexOf('/') + 1); } if (filename.contains(\\)) { filename = filename.substring(filename.lastIndexOf('\\') + 1); } -- You received this message because you are subscribed to the

Re: Could not load GWT DMP Plugin

2012-10-23 Thread Markus Grill
the new version works... Thank you Markus Am Mittwoch, 24. Oktober 2012 01:53:48 UTC+2 schrieb Brian Slesinsky: A new version is now live in the Chrome store. The only difference is that the Windows version is statically linked. I don't have a sufficient number of Windows machines

Re: Could not load GWT DMP Plugin

2012-10-22 Thread Markus Grill
: Windows7; Chrome 22.0.1229.94 m; GWT-Plugin 1.0.11338 Markus Am Montag, 22. Oktober 2012 20:09:54 UTC+2 schrieb Brian Slesinsky: Yes, we released a new version of the plugin on Friday. For some reason, upgrading to the new plugin loses your preferences for the hostnames that Dev Mode is allowed

Re: Lots of DIVs

2012-01-18 Thread Markus
of these 10cm-wide divs extends beyond the edges of the window. Is there a way to prevent this without sacrificing functionality (like a display:none or something), or can it be disabled, since I don't really need any units other than px in my page? Thank you very much for you help, Markus -- You

UnitCacheLoader Exception oO

2011-12-09 Thread Markus Unger
I got the following Exception and have no idea what's wrong. 5 Minutes ago my Project was running ... Exception in thread UnitCacheLoader java.lang.RuntimeException: Unable to read from byte cache at com.google.gwt.dev.util.DiskCache.transferFromStream(DiskCache.java: 166) at

Re: FileOutputStream Not supporting

2011-11-11 Thread Markus Zywitza
You need to use the blobstore on GAE. --Markus 2011/11/11 arun paul arunpaul...@gmail.com: Hello , i am trying to upload a file to other server through gxt, i got a error which telling that  java.io.FileOutputStream is not supported by Google App Engine's Java runtime environment  how can i

Re: How to Refresh a View?

2011-11-09 Thread Markus Zywitza
There are two techniques: To change the main view, which is presumably tied to the URL,you should open a new Place. Any secondary widgets (sidebar, status bar etc.) should be notified via EventBus of the new main content and act accordingly. --Markus 2011/11/10 Victor Lujan victor...@gmail.com

Re: Eclipse ann GWT serialization

2011-11-03 Thread Markus Zywitza
I'm no expert by any means, but I recall having some issue with policy when Eclipse used JDK 7 for compilation and running development mode. After I configured it to use Java 1.6, everything went fine. --Markus 2011/11/3 Steve Parker pizak...@gmail.com: I currently have an issue when trying

Re: I want to learn GWT,..

2011-10-29 Thread Markus Zywitza
of examples here including links to screencasts: http://code.google.com/p/gwt-examples/ .-Markus 2011/10/28 mlotfi mlotfi2...@gmail.com Hi, I am a java developer, I have done java, jsp. Please can you direct me where should I start to learn GWT. your help is appreciated. thanks -- You received

Re: SerializationException with List

2011-10-28 Thread Markus Zywitza
Did you already try ArrayList instead of List? --Markus 2011/10/28 darkling darkling...@aol.com I've just managed to update my GWT (2.4) and I'm having problems with my RPCs. Every time I try to send a List object it says the item can not be deserialized. I single stepped through

Jetty as Standalone Server

2011-09-27 Thread Markus Unger
Hello! Currently I use the Tomcat as Servlet Container, but I need to use WebSockets. So I find the Jetty WebContainer with integrated WebSocket support. I search for some tutorials and looked for some books for jetty as webserver. But the results are low... Is there a good reason why I should

Saving Widget as Image

2011-09-21 Thread Markus
Hello! I want to draw some stuff on a SimplePanel and send this to the Server via RPC. It is possible to get a Panel maybe a AbsolutePanel as Byte Array and save it as JPG? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Saving Widget as Image

2011-09-21 Thread Markus
I found a lib that resolves the Problem: http://ajaxian.com/archives/canvas2image-save-out-your-canvas-data-to-images -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com.

GWT multiple resolution

2011-09-21 Thread Markus
Hey! Is there a good Framework for GWT that supports mutiple resoltions like in Android with mdpi, hdpi and so on...? Thanks for help! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

GWT + Server Paths

2011-09-20 Thread Markus
Hello! In normal Webapps the Server Paths show in which directory the user is. Example: http://www.myDomain.de/news/ = In the news http://www.myDomain.de/shop/ = In the shop GWT is just one call... So how can I show the Shops on URL /shop/ and how the News on /news/? Currently I just add a

GWT RPC Request not loaded

2011-09-11 Thread Markus Unger
Hello! I developer a simple Form that loads Data from via RPC from an Tomcat Server. But sometime the request load and load and get no response from the server. Seems to be a bug? The server is still alive and after refreshing the site, the request ist ok... I think that could be a critical

Re: GWT RPC Request not loaded

2011-09-11 Thread Markus Unger
I checked this problem with another service and it is the same problem. After 3-4 requests the Server does not response. It logged it with Log4j logger.debug(Lade Nennweite); // Printed in the logs logger.debug(test); // NOT Printed in the logs I check the problem with GWT 2.3 and 2.4... No

ResourceBundle an Properties

2011-09-05 Thread Markus Unger
); @Source(messages/Messages.properties) MessageBundle messageBundle(); } I get the following error: Type mismatch: cannot convert from new DataResource(){} to MessageBundle Does anybody use Propertie File in GWT? Thanks for help! Regards, Markus -- You received this message because you

GWT 2.3

2011-08-29 Thread Markus
Hello! I developed for years with struts and tomcat, but I wanted to start with gwt. I want to use GWT only with JDBC and not with GAE. Can anybody explain me how I configure a Connection Pool like in tomcat with JNDI? I Tomcat I just need to configure the Context Context Resource

GWT 2.3 with Jetty Datasource NameNotFoundException

2011-08-29 Thread Markus
Hello! I try to use GWT without GAE and I will use a normal Datasource. But I always get an NameNotFoundException. My jetty-env.xml under WEB-INF: ?xml version=1.0? !DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN http://jetty.mortbay.org/configure.dtd; Configure id=myapp

Re: GWT 2.3 with Jetty Datasource NameNotFoundException

2011-08-29 Thread Markus
Thanks for ur reply. But I don't want to use another Servlet Container and I think that jetty has JNDI Support. So I just find the bug in my config.. -- 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: ClientBundle don't load the ImageResource

2011-07-19 Thread Markus
Thanks for reply, but ur solution is not working. ensureInjected always return false. If I draw the Image with the Canvas, the image will never be displayed. After I add these Image into an Image before or after drawing the Image will be correct display in the canvas. I think GWT did not load the

Re: ClientBundle don't load the ImageResource

2011-07-19 Thread Markus
Ok, but there is no preloading and every image will be loaded with a single request... So there is currently no use of ClientBundle with Canvas.. I hope Google will fix this issues. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Canvas and drawing Images that are not in the DOM

2011-07-19 Thread Markus
Hello! I try to draw a simple Image on a Canvas. At the first request, the image is not cached and so I drawing the image but it will not be displayed. After a lot of request, the Browser has the Image loaded and maybe cached and it will be draw. But want the image at the first time, so how can

Re: Canvas and drawing Images that are not in the DOM

2011-07-19 Thread Markus
No, that will only work if I add the image to the RootPanel or other Components. The Canvas does not display the Image, they draw the image. And the second Problem is, that they are over 100+ images... I want to use a general solution. Image img = new Image(_resources/img/tiles/smiley.png);

ClientBundle don't load the ImageResource

2011-07-18 Thread Markus
an Instance every Image/Css and others fill be loaded? Regars Markus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email

Re: ClientBundle don't load the ImageResource

2011-07-18 Thread Markus
CssResource css(); } But now? Where can I define ImageResources? Could you please explain your solution... maybe with an short example? Thanks for your help Regards, Markus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Re: Cookie that doesn't get sent to server

2011-07-17 Thread Markus A.
Hi Jens, thanks for your reply. I had actually looked into this and was under the impression it requires HTML5, which is not quite that widely available yet. But maybe I misunderstood something. I'll have another look at it. Greetings, Markus On Sat, Jul 16, 2011 at 6:21 PM, Jens jens.nehlme

Cookie that doesn't get sent to server

2011-07-16 Thread Markus
not like to create that extra dependency, so let's not open that discussion here again as there are plenty of other threads that already talk about this. Thanks for your help and ideas, Markus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Canvas performance

2011-03-29 Thread Markus
... So is the performance really so bad or do I a failure? Regards, Markus Here the code: protected final Timer mUpdater = new Timer() { @Override public void run() { double start = Duration.currentTimeMillis

Re: convert xml file to html file to GWT

2010-12-31 Thread Markus Kramer
and used GWT widgets to display the data. Regards, Markus On Dec 29, 1:55 pm, padam padam2...@gmail.com wrote: Hi I am new to GWT. I have a xml and xsl file .I want to convert it in html and display in the RichText area in GWT.  ...please reply -- You received this message because

Re: GWT panel for HTML UL/LI lists

2010-10-05 Thread Markus Kramer
if it can be removed... Never used the H1, H2,... tags in GWT until now. Just Labels with CSS classes instead. /Markus On Oct 5, 3:56 pm, Andy pula...@gmail.com wrote: I took a similar approach but made it more generic and didn't add special Widget wrapping methods (I just add ElementPanel(LI

Re: GWT panel for HTML UL/LI lists

2010-10-03 Thread Markus Kramer
! regards opn On Oct 2, 11:42 am, Markus Kramer tomaton...@googlemail.com wrote: Yes that's true. But I don't like the UIBinder stuff that much. There is a lot which I found difficult to do with UIBinder, so I'll stay with the old way. Just a personal taste. On Sep 27, 6:45 am, lalit

Re: GWT panel for HTML UL/LI lists

2010-10-02 Thread Markus Kramer
the layout in ui.xml and insert  the widget in the li tags. On Sep 25, 2:51 am, Markus Kramer tomaton...@googlemail.com wrote: Hi, for my current GWT project I wanted to make more use of HTML UL/LI elements than the table based layouts that you normally use in GWT applications. Biggest

GWT panel for HTML UL/LI lists

2010-09-25 Thread Markus Kramer
(widgetB); For the code go here: http://markusbraindump.blogspot.com/2010/09/gwt-panel-for-html-ulli-lists.html Or did I reinvent the wheel? Markus -- 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

Re: Gwt testing couldn't find module gwt.xml

2010-07-14 Thread Markus
-DE/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#Is_the_war_directory_used_by_GWT_compiler_for_both_input_and_output Regards, Markus Thomas Van Driessche schrieb: Hi Markus, Why do you need to that? I have named my module jobcv. and therefore the module xml is jobcv.gwt.xml. So i need

Re: Gwt testing couldn't find module gwt.xml

2010-07-14 Thread Markus
: - mvn clean install - mvn gwt:compile Both don't even recognize my test. Must i still inherit be.thomas.jobby.jobcv? Even if i don't have a separate gwt.xml file for testing? It's a riddle to me why it doesn't work, and a disaster i don't find it. kind regards On Jul 14, 12:24 pm, Markus dev

Re: Gwt testing couldn't find module gwt.xml

2010-07-14 Thread Markus
know if it worked. Regards, Markus Thomas Van Driessche schrieb: Hi Markus, I tried that, but it didn't change anything. But that line is going to inherit itself? Module jobcv in module jobcv? kind regards On Jul 14, 1:50 pm, Markus dev...@dit-systemhaus.de wrote: Hi Thomas, try adding

share class in server and client

2009-05-22 Thread Markus Obdenbusch
. best regards, Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email

Re: share class in server and client

2009-05-22 Thread Markus Obdenbusch
Hi Jim, thanks a lot. That solved my problem perfectly. Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com

TileLayer (eg. hiking map) as overlay

2009-05-11 Thread Markus Obdenbusch
of the satellite or usual maps view as shown in the example with the option to uncheck it like a lable. Thanks a lot. Markus p.s.: JavaScript implementations are there in large numbers. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Start server implement loop with timer

2009-04-25 Thread Markus Obdenbusch
. Then the server should run continously one procedure. My Problem is, that I did not find anything about starting the server sepeartely and therefore do not know how to start contin. data production. Thanks a lot. Markus --~--~-~--~~~---~--~~ You received this message because

Different sessionIDs in one application

2009-03-15 Thread Markus
Hello I have following problem with my application. If I make generally rpc calls during RemoteServiceServlet all is fine, if I use: this.getThreadLocalRequest().getSession().getId() I allways get the same sessionID back and I can work with it. No I have following case. I added a long polling

Re: GWT 1.6 - setting up eclipse launcher for hosted-mode with external jars

2009-03-06 Thread Markus Knittig
, Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web

Re: Jetty classpath in GWT 1.6

2009-03-05 Thread Markus Knittig
On 03/04/2009 02:53 PM, Markus Knittig wrote: Currently it seems that Jetty only loads class files and jars from WEB-INF/classes and WEB-INF/lib. The classpath argument are getting ignored (worked with Tomcat). I tried to add extra classpath folder via jetty-web.xml / jetty-env.xml

Re: Announcing GWT 1.6 Milestone 2

2009-03-05 Thread Markus Knittig
for Maven: http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory MfG Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit

Jetty classpath in GWT 1.6

2009-03-04 Thread Markus Knittig
://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory This would make things with Maven much cleaner / easier... Best regards, Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Sizing Images from ImageBundle in browser view?

2009-01-27 Thread Markus Kolb
and the browser wants to show the image in the smaller size but the images are not resized. It only shows a clipped rectangle with correct size. How the resize can be done? Thanks Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google