Re: GWT post security on RPC

2010-10-13 Thread dolcra...@gmail.com
JuDac, I think you're looking at the communication for MitM attacks too granular for security that can be imposed by javascript. In GWT you can only hope to secure Browser<->Server (ie SSL). If the security is that important for whatever data you're sending, maybe you shouldn't send it? BTW what

Re: Export to CSV file...

2010-09-08 Thread dolcra...@gmail.com
Yeah, do it on the server and download it to the client side. Why would you think everything in java.io is supported? (http:// code.google.com/webtoolkit/doc/latest/RefJreEmulation.html) On Sep 8, 5:40 am, Asela Neligama wrote: > Hi all, > > I need to export a list of objects (Eg. ArrayList of S

Re: Translating already compiled Java?

2010-09-08 Thread dolcra...@gmail.com
I don't think it can, although if you can get the wsdl tool to include the source and a module xml (maybe during your build process) then it could access the jar appropriately, but the source would need to be there along with a module xml (you know to exclude non translatable code). On Sep 8, 5:56

Re: GWT for Python

2010-08-30 Thread dolcra...@gmail.com
http://pyjs.org/ On Aug 30, 1:24 am, Reid Lai wrote: > Is there any GWT branch for python or other language so we could rely > on this branch if GWT can't use Java technology for some reasons later > on? -- You received this message because you are subscribed to the Google Groups "Google Web T

Re: GWT serialization

2010-08-25 Thread dolcra...@gmail.com
I concur, seems like they're trying to overcomplicate it. Unless it requires either JSON or XML, but the OP did say the serialization format didn't matter. I would suggest GWT-RPC serialization as it is probably the easiest to setup. Then you just need to go to/from java objects to xml on the se

Re: Volunteers???

2010-08-25 Thread dolcra...@gmail.com
Why not natively port YUI to GWT? Yeah exposing the api/library can make it easier if you're writing code that needs to be accessible from external javascript, but if you wrote it as a native/pure gwt library you would be able to benefit from gwt's optimizations. On Aug 24, 12:37 pm, Rodrigue wr

Re: Repeated events when button held down

2010-08-25 Thread dolcra...@gmail.com
On mouse down start a recurring event to scroll, on mouse up cancel/ stop the recurring event? On Aug 23, 6:56 am, Hopey_Dishwasher wrote: > Hiya. I have a panel that with two buttons to scroll it up or down. > This works, but it only scrolls once per click. Is there a way to make > it continue t

Re: New in Eclipse + GWT Plugin and that lovely browser

2010-08-25 Thread dolcra...@gmail.com
What version of GWT are you using? The tutorial you are referencing is for version 1.6. In 2.0 the oophm mode replaced the hosted browser, which allows you to use an actual browser for development mode instead of the slow gwt browser. On Aug 24, 11:26 am, Gustavo Insaurralde wrote: > Hi there, >

Re: Making GWT look good...

2010-08-06 Thread dolcra...@gmail.com
+1 for working towards a Nimbus implementation On Aug 6, 8:44 am, Chris Ramsdale wrote: > Hey GWT(ers), > > I've heard from many of you that GWT apps simply don't look that good out of > the box, and styling the default app would go a long way. We couldn't agree > more. As some of you know, GWT 2

Re: System.getProperty("line.separator") replacement/equivalent?

2010-08-06 Thread dolcra...@gmail.com
You do know that GWT runs in the browser right? I think you're trying to find out if a file is new lined with \r\n or \n, then i would detect it on the server and either translate it or make a way to return the information to the browser (RPC?). On Aug 6, 11:18 am, darkflame wrote: > I wish to f

Re: Java 7 And Closures

2010-07-19 Thread dolcra...@gmail.com
I think GWT should refrain from including Java 7 features until it is released at least... On Jul 19, 1:48 pm, Daniel Simons wrote: > Hey Guys, > > I was wondering if there have been plans centered around including Java 7 > features such as closures to future versions of GWT. > > Thanks, > Daniel

Re: network data per second

2010-07-16 Thread dolcra...@gmail.com
There is no way someone can give you an accurate answer. It is all up to how much bandwidth your application is going to use per user multiplied by the number of users. Neither of those pieces of data you present, therefore no one can give you an accurate answer. I mean I *could* say yes, but i w

Re: How to send message from server to client without callback(RPC)

2010-07-15 Thread dolcra...@gmail.com
You're basically asking for server push, I'd look into either comet, server events, or websockets. Regardless none will be available (except maybe comet, haven't checked this) in GWT since there isn't a large base (IE) that supports those methods. Also, you can use "real java codes", they're just

Re: GWT printing on dot matrix printer

2010-07-05 Thread dolcra...@gmail.com
What example? As far as I know it would be the browser and css (in addition to the printer driver) that would control the printing. Look into those three areas (browser, css, and driver). I think you may have a misunderstanding of what GWT is. On Jul 5, 1:52 pm, Sreeni wrote: > Currently we ar

Re: Eclipse Modeling Framework (EMF) port to GWT

2010-06-03 Thread dolcra...@gmail.com
You can provide a dummy supersource implementation of SimpleDateTimeFormat so that it would compile. On Jun 2, 12:12 pm, Ed Merks wrote: > I'm busy refining EMF's support for GWT: > >  http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios#Support_for_Goo... > > One of the problems I have is that

Re: Hidden FileUpload Widget

2010-05-13 Thread dolcra...@gmail.com
if it's possible in html+js then it's possible in GWT, if it is impossible in html+js then it is most likely impossible in GWT. On May 8, 1:17 pm, kratzbaumkordel wrote: > Hi, > > I'm wondering if it is possible to hide the GWT UploadWidget (or not > use it at all) and instead open the file choos

Re: Exiting GWT program, ending process

2010-05-13 Thread dolcra...@gmail.com
What sort of server are you planning to use this on? On May 11, 6:50 pm, Martin wrote: > I wrote a program meant to serve as a customized form for a google > spreadsheet. It's a a fairly standard Web Application project: a > client-side class handles form i/o through the html. Collected > informa

Re: gwt facebook like xfbml

2010-04-29 Thread dolcra...@gmail.com
so, fb is using a preprocessor to replace their tags with their internal denotation of that widget. What you'd need to do is write some jsp (or jsf, or whatever) tags and would output a certain tag format (such as class is "xx" and it is a div with an text box with classes "xy" and "zz") and then

Re: error javax.mail

2010-04-29 Thread dolcra...@gmail.com
Are you using javax.mail in the clientside code? (If so, you can't do this). Otherwise you just need to add the correct classpath entries to the run configuration. On Apr 29, 10:26 am, Felipe Guarda wrote: > I think i may have a problem with which JRE the appengine hosted > browser is using to c

Re: cant open base64 encoded pdf files

2010-04-28 Thread dolcra...@gmail.com
That .part extension is probably because your browser is still downloading the pdf? On Apr 28, 5:17 am, Viliam Durina wrote: > > That's the whole idea of DataResource - you can set aggressive cache headers > > to reduce the load on your servers. > > But another feature I don't like about this is,

Re: Attaching my panels to preexisting divs?

2010-04-25 Thread dolcra...@gmail.com
I think there's a wrap() method for most widgets. You just need to get the div as a divelement and then wrap() it. On Apr 25, 2:14 pm, markww wrote: > Hi, > > I have a page generated using jsp, it just creates a bunch of skeleton > elements to which I'd like to then attach my gwt code. Something

Re: CloseHandler and Window.ClosingHandler() working differently in IE than Firefox?

2010-04-08 Thread dolcra...@gmail.com
Any idea what the CloseHandler's closeevent contains? (such as target et al). What version of IE does this occur in? What do you mean by swap a panel in your wdiget? If you want feedback/help you'll need to be more descriptive. On Apr 6, 8:11 pm, Stuff22 wrote: > It seems that CloseHandler and

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

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

Re: Quick question on GWT Print

2010-04-01 Thread dolcra...@gmail.com
.setId(""); maybe. On Mar 31, 4:03 pm, abhiram wrote: > Hi all, > >    I am trying to use Print class for printing the contents of a > particular Popup Panel. > >     I believe, i need to use the > >               Print.it(DOM.getElementById("myId")); > >       code for this functionality. But I

Re: Server side: start independent Thread at deploy on server

2010-03-25 Thread dolcra...@gmail.com
> > > 1. I need this thread at server side not client. > > > 2. I'm allready using RPC interface async etc. > > > 3. But I dont know what is proper way to start socket server at Server > > > side. > > >    Via Modulu or something like that > >

Re: How can I change the body's background without using external style sheets?

2010-03-24 Thread dolcra...@gmail.com
Document.getBody().getStyle().setBackgroundColor("red"); On Mar 24, 3:48 pm, Shedokan wrote: > How can I do in GWT this: > document.body.style.background = "red"; > > I'm trying to change the background color of the body element without > adding a special class to the body or any of that external

Re: Server side: start independent Thread at deploy on server

2010-03-23 Thread dolcra...@gmail.com
I think you need to review GWT and the official tutorials. 1. You cannot use threads on the clientside as javascript is single threaded. 2. Review the RPC mechanism in GWT as it requires a service interface, an asynchronous interface, a servlet implementing the service, and some client code to crea

Re: Multi-tenancy in GWT

2010-03-23 Thread dolcra...@gmail.com
So you can just built the ui once and always include it in the login page for which ever client as the server should be where you filter/ prevent access to data that's not for the current client. On Mar 22, 10:41 am, Kyle Baley wrote: > I'm new to GWT and the Java world having been in the .NET sp

Re: GWT 1.3 and firefox 3.6

2010-03-18 Thread dolcra...@gmail.com
Have you debugged it with firebug? Any reason you can't upgrade the toolkit to a more recent version of gwt? On Mar 18, 8:26 am, Roland wrote: > Hello, > > I'm maintaining an application which uses gwt's version as old as  1.3 > Without using latest features, it has worked fine so far. > > But wi

Re: Obfuscate java source

2010-03-16 Thread dolcra...@gmail.com
No. GWT relies upon the java source to convert to javascript. On Mar 16, 2:35 am, "rasmus.olaus...@gmail.com" wrote: > Hi. > > I'm developing a GWT library. And I would like to be able to obfuscate > the java source code in the .jar file to be able to give the library > to others without them re

Re: Read Html selected list menu in GWT Entrypoint

2010-03-16 Thread dolcra...@gmail.com
I believe there's a SelectElement.wrap() method. On Mar 16, 2:53 pm, San wrote: > Hello, I wanna read selected list menu which appears in html into GWT > Entrypoint class. > >  Actually, I am trying to add gwt scripting in existing html. So, I > could not create list menu in html using GWT widget

Re: GWTCanvas - Is this a Bug?

2010-03-16 Thread dolcra...@gmail.com
Hate to break it to you but your code is broken on Chrome as well... I mean it appears to redraw some shape on the second "row" of content and then many more times off horizontally. Why aren't you using an image (which can be cacheable)? On Mar 15, 12:12 pm, Palantar wrote: > Hey all, > > I have

Re: The import java.rmi cannot be resolved

2010-03-13 Thread dolcra...@gmail.com
If the rmi package contains data structures/config's that you *need* on the client side you can either make a DTO (much safer) or override the desired classes using the super-source tag in your module definition. On Mar 12, 9:37 am, rudolf michael wrote: > I dont think that you can use java.rmi,

Re: Why and How does GWT extract these subset of the core Java class libraries ?

2010-03-13 Thread dolcra...@gmail.com
The modules use the super-source directive to state where the override class are stored. These still need to be Java and compilable in java, the gwt compiler sort of replaces references of the real class with this override class when referenced on the clientside. On Mar 12, 8:37 am, Olostan wrot

Re: can / how do i inherit google-collections?

2010-03-13 Thread dolcra...@gmail.com
1. Do you have a module/xml file defined for google-collections? This would be needed to import that jar and any necessary module dependencies. 2. Does your jar contain the source code as well as class files? GWT requires the source code for anything going to the clientside. On Mar 11, 12:14 pm,

Re: AsyncCallback Memory Leak

2010-03-09 Thread dolcra...@gmail.com
public void onModuleLoad() { Timer t = new Timer() { public void run() { greetingService.greetServer( new AsyncCallback() { public void onF

Re: AsyncCallback Memory Leak

2010-03-07 Thread dolcra...@gmail.com
Does it still happen if you define the callback and assign it to a final variable and use it that way? On Mar 7, 5:00 pm, "winhqwebm...@gmail.com" wrote: > Hello, > > I am developing a small application that requires an AsyncCallback > call every second. The following implementation generates a f

Re: Using "Tab" key to navigate a FlexTable

2010-03-05 Thread dolcra...@gmail.com
I think there's a property (html) called tabIndex http://www.w3schools.com/tags/ref_standardattributes.asp On Mar 5, 12:37 pm, bcr666 wrote: > I have created a TextBox that we'll call txtFocus. > > An anonymous listener is bound to txtFocus like so: >     txtFocus.addKeyDownHandler(new KeyDow

Re: Problem: When XmlRpcRequest starts GUI freezes

2010-03-03 Thread dolcra...@gmail.com
Define update it. On Mar 3, 5:45 am, sergey-miryanov wrote: > Hi all, > >   I have a trouble with XmlRpcRequests and GUI updates. When I start > XmlRpcRequest (with async callback) my GUI freezes, I try to use Timer > and IncrementalCommand + DeferredCommand to update it, but nothing > helps. > >

Re: Gwt hosted mode too slow

2010-03-01 Thread dolcra...@gmail.com
Are you saying that you run hosted mode in production? as a final product? On Mar 1, 9:14 am, glascaleia wrote: > Hi all, > i have a maven multi module project with gwt 2.0.3. > When i execute goal mvn gwt:gwt the application in hosted mode starts > but takes 30 seconds more or less to go. > Too

Re: Issue: Compile GWT1.6.4 code on 64 bit OS CentOS - JDK 1.6.0_04

2010-02-25 Thread dolcra...@gmail.com
Did you happen to look in /data/cc/cruisecontrol-bin-2.8.3/projects/ gikiapp/giki/app/hs_err_pid9372.log? On Feb 24, 1:51 am, AmolSawant wrote: > Hello Friends, > > While compiling GWT code on 64-bit CentOS with Jdk1.6.0_04, I get the > following message: > Please advise. > > Build tool used is C

Re: Generalpath

2010-02-12 Thread dolcra...@gmail.com
You would need to look at the graphics solutions for GWT (svg/canvas/ vml/flash). As there is no native (nonFlash/plugin) corssbrowser methods you would need to either look at a gwt library or wrap an existing javascript solution for graphics. But I would instead inspect your ui, because a lot of

Re: JSONParser bug ?

2010-02-05 Thread dolcra...@gmail.com
// It was a primitive wrapper, unwrap it and try again. It looks like javascript's date is a primitive wrapper to a number (maybe seconds from epoch?) Which makes sense as that's the only bit of data it should store. Maybe look at implementing Date with a JavaScriptObject that wraps the object.

Re: Mozilla Problem

2010-02-05 Thread dolcra...@gmail.com
It actually looks like you are using Firefox 3.5.7 (Mozilla the browser isn't really around). I am assuming you are running in dev mode, do you have the plugin installed in both instances of Firefox? Are you looking to fix some behavior difference between 3.4 and 3.5? On Feb 4, 2:57 am, Sanj wro

Re: Help on gwt app initial download...

2010-02-04 Thread dolcra...@gmail.com
GWT.runAsync(). On Feb 3, 6:45 pm, golfdude wrote: > My app ( obfuscated ) is at 850kb and my users are complaining on > initial download time as in beta mode I tend to put regular releases. > My users are all in dialup ( 56 kb ) kind of connections. I have been > searching this group and searchi

Re: Prevent class conversion when compiling modules

2010-02-04 Thread dolcra...@gmail.com
Well as a work around to see if/where gwtc is needing class A you could create a "dummy" class using the super directive in your module gwt that is serializable (and empty). On Feb 4, 8:42 am, getaceres wrote: > I chose the wrong letter to describe my algorithm. Going to my > example: > > Class A

Re: WebSocket

2010-02-03 Thread dolcra...@gmail.com
I'm pretty sure you can write a library to add this functionality, you would just need to have graceful degradation support for all those browsers and servers that do not support websocket. It would probably have to be a combination of Websocket/(ServerSendEvents+XHR)/(Comet/ Continuations+XHR)/Lo

Expanding the scope of GWT

2010-02-02 Thread dolcra...@gmail.com
So I've seen some questions regarding Generators and generics in the past. Well I've put together a patch to SVN that modifies GWT.create to GWT.create(Class, Class...) and adds generate(..., String[] genericTypes) to Generator. I have tested this in devmode and compiled mode. The reason? Well

Re: OOPHM r4218: java.lang.ClassNotFoundException: com.google.gwt.user.client.rpc.RemoteService

2008-12-03 Thread dolcra...@gmail.com
This is an issue of your web.xml or war not including the jar correctly (or at all). By dumping it into the lib folder (which one?) it will automatically be on the class path already. Posting your web.xml could allow people to help discern why it's not including the jar. On Dec 3, 4:42 am, Kevi