Re: Who knows how to execute native code in server-side

2010-08-12 Thread cokol
to invoke a OS process by Java is a part-of Java and its VM not GWT! so ensure JDK runtimes are on the classpath (as Yingwei said, uncheck app engine) and remember, GAE does not support it On 12 Aug., 04:26, Yingwei HU wrote: > uncheck the app engine option when creating the project...so simple

Re: GWT security

2010-08-12 Thread cokol
its a way it works, like Greg said - a dumb client should not worry, or better said not be too serious about security, everything what happens on the client is INSECURE, so the only security concern it should think about is to make the security "look good" to its user. the real security should alw

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
Application bugs when the code is reached, i tried DefferedCommand and i even tried to launch it with a button... Debug mode won't give me any explaination. It's been three days i'm on it and i can't see any sunbeam :) -- You received this message because you are subscribed to the Google Groups

Re: How do you use @sprite's and in UiBinder ui.xml templates?

2010-08-12 Thread Andrew Hughes
Thanks for all your help Nicolas.. here's a brief summary of anyone looking to for a few hints (NOTE failWhale.png is located in the same directory as the ui.xml). http://dl.google.com/gwt/DTD/xhtml.ent";> @sprite .imageSprite { gwt-image: 'failWhaleImage' }

Re: GWT and Map dynamic loading

2010-08-12 Thread cokol
i would use appropriate API for either maps but control them from "above", from the DOM of the browser, so first I'd create two DIV containers and bind GMaps or OpenLayers to each, depending on the user selection you can make the one or another container invisible, BUT you should not consider to cl

Re: Reading a local file

2010-08-12 Thread cokol
actually, its the way you look for, you can also make a classic FileUpload using just HTML forms and write own servlet to save/parse the contents and to return the results in old-web manner (full page reload) On 11 Aug., 23:22, Greg Dougherty wrote: > My users want my app to be able to read data

Re: GWT security

2010-08-12 Thread Peter Simun
I'm not talking about the data. Secured data, that user is not allowed to minupulate with, are not sent to client! This logic is done on the server side security implementation. I'm talking about displaying the screens and securing the components: - like if the user is not able to maintain users, h

Re: Excessive number of property descriptors

2010-08-12 Thread Gard Vaaler
Den 11. aug. 2010 kl. 15.28 skrev Fernando: > split it into multiple files This isn't hand-coded -- GWT is writing the setupBeanInfo method. Is there some sort of switch or toggle? -- Gard -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" grou

Re: Does Timer class only last one session + images as an attachment in an email

2010-08-12 Thread cokol
you should not read the images from datastore using HTTP but rather use the API for that, if you really want first to load a stream from a HTTP connection and then put its contents into a message, then consider using URL().open() since GAE does not permit to use fileIO On 12 Aug., 03:41, GKotta w

Re: Excessive number of property descriptors

2010-08-12 Thread cokol
lol this happens really seldom but is a Java "feature" maximum compiled method size is 64k, like Fernando said - you have to split the method "manually" or report a BUG to BeanBinder team to make a split on big methods automatically On 12 Aug., 09:43, Gard Vaaler wrote: > Den 11. aug. 2010 kl. 15

Re: Excessive number of property descriptors

2010-08-12 Thread Gard Vaaler
Den 12. aug. 2010 kl. 09.49 skrev cokol: > lol this happens really seldom but is a Java "feature" maximum > compiled method size is 64k, like Fernando said - you have to split > the method "manually" or report a BUG to BeanBinder team to make a > split on big methods automatically Righto. Thanks

Re: Should i use incubator FastTree or the Tree from the GWT dist.?

2010-08-12 Thread Thomas Broyer
On 12 août, 08:39, Subhrajyoti Moitra wrote: > Hello, > I am trying to use a tree widget to render some items. > Should i use the FastTree widget in incubator project or the main Tree > widget from the GWT dist. ? > > Please advice, if you know of other better tree widget implementation. If you

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
Hi, I always tried with JSNI and it's the same... ("Unloading module" when scipt is loading) On Aug 12, 9:35 am, cokol wrote: > i would use appropriate API for either maps but control them from > "above", from the DOM of the browser, so first I'd create two DIV > containers and bind GMaps or Op

Re: GWT security

2010-08-12 Thread cokol
oh yeah, totally right , this what I mean by make security look good to the user ;) On 12 Aug., 09:42, Peter Simun wrote: > I'm not talking about the data. Secured data, that user is not allowed > to minupulate with, are not sent to client! This logic is done on the > server side security impleme

Re: GWT and Map dynamic loading

2010-08-12 Thread cokol
lol, maybe OpenLayer detects and kills Google Maps :-) On 12 Aug., 09:57, Vincent COROLLEUR wrote: > Hi, > > I always tried with JSNI and it's the same... ("Unloading module" when > scipt is loading) > > On Aug 12, 9:35 am, cokol wrote: > > > > > i would use appropriate API for either maps but c

Re: Should i use incubator FastTree or the Tree from the GWT dist.?

2010-08-12 Thread Subhrajyoti Moitra
Thanks a lot Thomas. 1 quick question: - Can i apply different node images (closed/open) at different levels of the tree. For example the top node might have a "folder icon" open/close and the children can have "+/-" as its open close? Is this possible with the CellTree widget? Thanks, Subhro. O

Re: How to change a default property from a i18n .properties file

2010-08-12 Thread cokol
either to can patch it when loading the resoucebundles in the java OR you can open the GWT JAR file with some package manager (winzip, winrar or such), modify the file in there and close it then the changes gonna stay there forever. On 11 Aug., 19:19, oyepez003 wrote: > Hello! > > I am using GWT

Re: gwt voices problem

2010-08-12 Thread mariyan nenchev
Could someone answer me please? On Wed, Aug 11, 2010 at 1:15 PM, mariyan nenchev wrote: > Hi, > > I need to play simple wav file with gwt voices. But i have problem (may be > with plugins)... > > Here is what i do: > > // construct sound > final SoundController sc = new SoundController(); > sound

Re: gwt voices problem

2010-08-12 Thread cokol
maybe IE just worries about security? and it would help if you add your url to trusted sites or maybe IE doesnt allow XSS so make sure the wav file reside on same origin host where the HTML code comes from On 12 Aug., 10:06, mariyan nenchev wrote: > Could someone answer me please? > > On Wed, Aug

showing all the elements from SuggestOracle in suggestionBox

2010-08-12 Thread Aditya
hi, I want to show all elements from the suggestoracle whenever suggestionbox recieves a focus. I did some search for it and i found something as follows : http://groups.google.com/group/google-web-toolkit/browse_thread/thread/2c7cf04d96a4ba1c/da7d510c07349cfe?lnk=gst&q=all+suggestions+from+sugg

Re: why we probably won't use GWT for a large UI project

2010-08-12 Thread Rob
Hi Marius, Sorry I can't share the code as it isn't open source, however it isn't that hard to do - just take a look at the RequestBuilder class. Rob On Aug 10, 10:59 am, "marius.andreiana" wrote: > Hi Rob, > > Would you share a sample project (full source code) using REST APIs > from plain GWT

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
But even if try to load only one map dynamically, it bugs. It works only by the static way for the moment (script tag in index.jsp) -- 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...@go

Re: GWT and Map dynamic loading

2010-08-12 Thread cokol
maybe you make a change to a DOM node what GWT is aware of and therefore triggers module unload? try following function (ready to use) define the function inside JSP function loadJS(url){ var loaderNode = document.createElement("script"); loaderNode.setAttribute("id","ffxep");

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
I just tried this and it doesn't work, same problem. I had already tried a similar thing but the JSNI was implemented in GWT code, same problem anyway :) I tried to put a javaScript file with basic code on tomcat and it succed. So the problem doesn't come from the way i load the script. I think

Re: GWT and Map dynamic loading

2010-08-12 Thread cokol
this indeed could be the case, never seen that such things refuse to work - but we're ont done yet, please try to defer loading the script upon button click - just to be sure browser loaded and initialized, so create a button and load the script from that onClickHandler() if still would ont work,

issue of gwt2.0.3 with internet explorer 7

2010-08-12 Thread saurav
hi All, We have developed an application on gwt2.0.3. it works fine on google chrome and on mozilla firefox. but with ie7 its giving problems. the login is happening and the screens with the data from the databse is getting displayed successfully on ie7. But there is a listbox which is not getting

Re: compile report

2010-08-12 Thread ben fenster
thats sounds good how can i do that ? On 11 אוגוסט, 18:50, Katharina Probst wrote: > It's possible that it's not stuck, but actually building a compile report > for all your 42 permutations (you can look into your extra directory and see > if it's happily outputting stuff there).  That could take

Re: How to build a rules-based form controller for a dyn. form in GWT

2010-08-12 Thread A.Augustini
Dear Sam: > If you like the Tohu spec (but not the implementation choice) could > you not use their data model for describing forms? That is probably > the most time consuming and painful to undo mistakes bit. Tohu follows a different tech approach (server-side rule eval & actions exec) compared

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
It's the same when i load on a button click. I ll take a look at requireJS. Thank you for your help ! On Aug 12, 11:47 am, cokol wrote: > this indeed could be the case, never seen that such things refuse to > work - but we're ont done yet, please try to defer loading the script > upon button cl

Re: gwt voices problem

2010-08-12 Thread mariyan nenchev
Every thing is packed in war file. I've changed the MIME type to Basic, wav...nothing. Could it be something with the wav file itself? audio format, Hz? I just want to play simple sound on button click, didn't know that this will be so hard with this lib or i'm missing something On Thu, Aug 1

Re: Upgrade from 1.5.3 to 2.x

2010-08-12 Thread Rokesh
I would recommend to do this step by step. Check this link: http://googlewebtoolkit.blogspot.com/2009/04/introducing-gwt-16-and-friends.html Most of the work I had back then (1.5->1.6), was the refactoring from Listeners to Handlers. After the 1.6 upgrading was fairly easy (mind the DevMode sta

Re: How to build a rules-based form controller for a dyn. form in GWT

2010-08-12 Thread salk31
Alessandro, Ignoring the UI for a moment and assuming HTML5 as your data model (for model, layout and behaviour) then I guess the non admin end user runtime could be something like this: 1) We have the HTML5 from your previous example (is the admin user going to type in the expressions?) 2) Use th

Re: How to build a rules-based form controller for a dyn. form in GWT

2010-08-12 Thread salk31
Me again, Thinking about it a bit more it would probably much better if the HTML form that the JS worked on was not the same as the one the user is filling in. So you have a fancy form generated by GWT and an underlying very simple one that the JS works on. Some advantage are: 1) The JS should ne

Re: Building two war-files with Maven using different web.xml

2010-08-12 Thread Stephan T
I need to build two war files with different web.xml files becuase of different servlet filter configurations depending on which server it will be deployed on. It will be deployed on two server simultaneously. I'd rather build two war files during one build, because that will always be the scenari

Subversion Access with File Writing/Reading

2010-08-12 Thread day_trader
My web service, written in GWT (with GXT) needs an XML configuration file. At the moment, the file is in my resources area. Therefore, by calling a service on my server, it will grab the file, unmarshall it with JAXB etc, etc, etc. However, at some point, I will need to access subversion. This wil

Re: Subversion Access with File Writing/Reading

2010-08-12 Thread cokol
you can also store the XML file in the datastore, why do you want to use versioning control? or do u also want to support diffs? by "sandbox" is meant that GAE does not provide more than a servlet container, even less, as there are some restrictions like JNDI or FileIO is not permitted. On 12 Aug.

Re: css bullets with sprites ?

2010-08-12 Thread Ed
Thanks for the explanation, I will try it shortly. On Aug 11, 4:14 pm, Thomas Broyer wrote: > On 4 août, 16:57, Ed wrote: > > > Anybody any idea how to use gwt sprites with bullets  in css? > >  Normally you would use gwt sprites in css like this: > > > @sprite ul.bulletSimple li { > >   gwt-ima

Re: Change font-size on window resize

2010-08-12 Thread Henrique Viecili
There are a couple options using CSS: 1. if your layout supports you can try the 'zoom' property, it's not a standard but it should work in most browsers. (I would not recommend it anyway) 2. specify all your font-size's using the 'em' unit, then you can dynamically change the base font-size and

Re: compile report

2010-08-12 Thread ben fenster
can anyone tell me how to create a compile report for just one permutation On 11 אוגוסט, 18:50, Katharina Probst wrote: > It's possible that it's not stuck, but actually building a compile report > for all your 42 permutations (you can look into your extra directory and see > if it's happily out

Re: Subversion Access with File Writing/Reading

2010-08-12 Thread day_trader
This application is going to be used at multiple locations by multiple users. Therefore, allowing users to create their own configs, or choosing a default or another user's config. This requirement means there has to be a 'central location' for all configs... subversion is the best idea I thought?

Re: Making GWT look good...

2010-08-12 Thread Uberto Barbini
We're developing a "web 2.0" style app with gwt. I cannot post url here (not yet) but the goal is something like basecamp or twitter, nothing to do with desktop style widget (also cool ones like vaadin). Our experience so far: 1. UiBinder is much better than try to create our own widget by code. 2

.gwt-TabBarItem - setting Max width

2010-08-12 Thread Bhavik
Hi, I am trying to set a max width value on the Tab-Bar item but it seems that the size of the item is always equivalent to the size of the text entered for the barItem. I am trying to implement a google chrome style tab panel structure where if the number of tab increases the size of each tab is

String.matches() does not work with \p{ASCII}

2010-08-12 Thread Vlad
Hi, I have a simple code that works correctly in development mode but fails to run on production. Basically, I need to check if the text entered by user contains only ASCII characters. So, I do the following: String s = getTextArea().getText(); if(s.matches("\\p{ASCII}*")) { ... } else { // Some n

GWT compiler breaks valid JS

2010-08-12 Thread consiliens
Simple code that changes the background to black and creates a square fails to work when compiled by the GWT compiler. The code works in hosted mode and when the JavaScript is run manually. In the latest version of Firefox the compiled code doesn't run. If the innerHTML call is commented out

Detecting Network connection loss - com.google.gwt.user.client.rpc.InvocationException

2010-08-12 Thread nokostar
What is the best way of detecting a loss of network connectivity to the server? I have a GWT app that saves state to the server through an RPC. I would like to be able to detect when the connection to the servers fails so I can take appropriate action. I disconnected my network by removing the netw

Re: showing all the elements from SuggestOracle in suggestionBox

2010-08-12 Thread ctasada
Hi Aditya, The problem is that you don't have direct access to the SuggestBox popup. If you want to see all the possible solutions you should extend the SuggestOracle and implement your own requestSuggestions method (see this link for some nice examples: http://development.lombardi.com/?p=39) In

GWT/Tomcat serialization issues during deployment

2010-08-12 Thread duey
I have a simple application setup. It is comprised of a single module that has one responsibility. Its job is to test RPC in my application. Here's what I have. First, on the client side, I have a TestData object. This object implements java.io.Serializable. It has one member variable, which

Re: Scraping website with GWT

2010-08-12 Thread Henrique Viecili
hmmm... you could use IFRAME to load the page, some JSNI to get the HTML from the IFRAME (you might get a security warning or even be blocked), after you have the HTML you just use DOM support on GWT to do the thing. but should be much easier if you use any server side language to do that for you

Clicking HyperLink Twice or more...

2010-08-12 Thread Santosh kumar
Hi, I am using GWT HyperLinks in my Project, i want some clarification about these links. when i click on the link for the first time it works fine. Immediately when i click the same link its not working. Like control is not coming to that link.. is their any logic to get the control to the link w

Re: Scraping website with GWT

2010-08-12 Thread cokol
nope, thats not possible - u cannot access JS namespace of an iframe, so serverside is the only way but you can bring up results into the client though On 12 Aug., 14:35, Henrique Viecili wrote: > hmmm... you could use IFRAME to load the page, some JSNI to get the > HTML from the IFRAME (you migh

Re: String.matches() does not work with \p{ASCII}

2010-08-12 Thread cokol
as you probably know, regex is belongs to that cases not fully compatible between java and javascript, and in dev mode your GWT engine uses real JDK therefore it works, whereas after compilation your matches() is performed on the browser with its regex engne and it fails. well u have to rewrite t

ArcBees blog

2010-08-12 Thread Christian Goudreau
As some of you may have noticed, me and Philippe are in the process of creating a business. Well, we also need to build a web page for our business and we think: why not using Gwt-Platform , open source it and give a complete tutorial to the community ? Here it is, the

Re: Clicking HyperLink Twice or more...

2010-08-12 Thread aditya sanas
Hi, check for click handlers that you are registering for that particular link Ideally it should work fine... meanwhile if you are losing that event handler after first click then and then only this problem could be faced. I never faced such kind of situation with the links I used Anchor from GWT.

Re: String.matches() does not work with \p{ASCII}

2010-08-12 Thread cokol
and if you really want to check for ascii why dont u just check for the ascii code? try java.lang.Character to check or write in JSNI small for-each testing if decimal value of char is greater than 127 is faster than a regex evaluation On 12 Aug., 15:17, cokol wrote: > as you probably know, regex

Re: Loading a GWT module into a jsp page

2010-08-12 Thread mass0ne
I have the same problem in devmode, with a compiled application JSP works fine. Try reloading the page or use the *. html for devmode. I'm using *. html On Aug 7, 8:19 pm, shinokamparos wrote: > Hi Luis, > > this is my entrypoint: > > public void onModuleLoad() { > >         loginPanel = new Logi

synchronize asynchronous calls?

2010-08-12 Thread Kevin Qiu
I don't know if the title makes sense but working with gwt for about 2 years, I often find myself in the position to mix both asynchronous and synchronous (blocking) apis. It's easy to transform a synchronous call to asynchronous, but the other way around is not immediately obvious to me, especiall

Re: Detecting Network connection loss - com.google.gwt.user.client.rpc.InvocationException

2010-08-12 Thread Subhrajyoti Moitra
yeah .. i am too interested to know how to handle network connection loss. Experts please help. Thanks, Subhro. On Thu, Aug 12, 2010 at 6:42 AM, nokostar wrote: > What is the best way of detecting a loss of network connectivity to > the server? I have a GWT app that saves state to the server t

Re: Clicking HyperLink Twice or more...

2010-08-12 Thread Santosh kumar
Hi aditya, Actually the issue is when i click the continuously the same link it should work.. in the sense it should work as it was clicked for the fist time ...?? it should start its work from the first ... like (refresh)... i hope u got my doubt ...!!! On Thu, Aug 12, 2010 at 7:07 PM, aditya

Re: Detecting Network connection loss - com.google.gwt.user.client.rpc.InvocationException

2010-08-12 Thread Jeff Chimene
On 08/11/2010 06:12 PM, nokostar wrote: > What is the best way of detecting a loss of network connectivity to > the server? I have a GWT app that saves state to the server through an > RPC. I would like to be able to detect when the connection to the > servers fails so I can take appropriate action

Re: Clicking HyperLink Twice or more...

2010-08-12 Thread miller
Have you checked for javascript errors on the first click? On Aug 12, 9:50 am, Santosh kumar wrote: > Hi aditya, > > Actually the issue is when i click the continuously the same link  it should > work.. > in the sense it should work as it was clicked for the fist time ...?? > it should start its

Re: Images only show sometimes

2010-08-12 Thread Thomas Dvornik
My guess is that, sometimes the code gets run, and other times it doesn't? Can you show some code? Where are your images stored? You can also try to upload it to GAE and see if the problem shows up there too. Maybe it is just a localhost issue, although I doubt it. Tom On Aug 11, 1:33 pm, GKotta

Re: GWT security

2010-08-12 Thread Greg Dougherty
"Personally I would like to know proper name for it" I'd go for "Consistent UI design." Which, I admit, doesn't sound nearly as sexy as "improved security." BUt that is what you're doing: you're keeping the UI consistent with what the user is allowed to do. Another way to put it is "don't tease

Re: synchronize asynchronous calls?

2010-08-12 Thread salk31
Don't you have to count the async returning and then do yet another callback? So hook into the callback of all your commands and then when the last one is done do the callback? On Aug 12, 3:30 pm, Kevin Qiu wrote: > I don't know if the title makes sense but working with gwt for about 2 > years,

Re: Switching a class for precompile

2010-08-12 Thread Evan Ruff
Cokol, Thanks for the response, that's exactly what I'm trying to accomplish! Just to make sure I understand correctly, this is only used when compiling for production. In Hosted Mode, the usual (read: REAL) java classes continue to be used. Only when I compile will the swap take place? Thanks!

Re: GWT security

2010-08-12 Thread Greg Dougherty
"I'm talking about displaying the screens and securing the components." The problem is that that is a meaningless statement, and to the extent that it's not meaningless, it's pointless. I suppose you could set up your code so that the JS to display a screen isn't downloaded unless the user will b

Re: RequestCallback.onResponseReceived() always returning status code 0

2010-08-12 Thread Philippe Laflamme
Oops. It should have read: "[...] is considered a cross-site request (per the same-origin policy). [...]" Philippe On Aug 11, 9:52 am, Philippe Laflamme wrote: > Had the same issue. In my case, it was due to making cross-site > requests. > > My server was at localhost:8080 and I was running in

Re: synchronize asynchronous calls?

2010-08-12 Thread Jeff Chimene
On 08/12/2010 08:38 AM, salk31 wrote: > Don't you have to count the async returning and then do yet another > callback? > > So hook into the callback of all your commands and then when the last > one is done do the callback? Extending salk31's logic: Put your execute() inside a loop, inside an In

Re: How to build a rules-based form controller for a dyn. form in GWT

2010-08-12 Thread A.Augustini
Hello Sam, hello everybody: @Sam: I've have to "digest" your thoughts in your 2 last postings a little bit... ...but for the meanwhile: today I found "Form Boss II", a commercial form wizard tool with an "interesting" ui and -- more important -- some features that are close to mine. I think that

Re: RequestCallback.onResponseReceived() always returning status code 0

2010-08-12 Thread Deepak Singh
Hi Philippe, I also have to use proxy servlet in my GWT 2.1 project. I have to make cross domain web services call and then the response xml has to be sent to client code. Can u pls suggest me how to modify this servlet to use for my project so that i should be able to make cross domain web service

Re: .gwt-TabBarItem - setting Max width

2010-08-12 Thread lineman78
You will need 3 things: white-space: nowrap; overflow: hidden; max-width: 30px; However, max-width is not fully supported in IE. You can fix this in a couple ways. 1) Use IE's CSS expression. 2) CssResource has some ways of getting values and acting on them, but I believe this is only run once.

Re: RequestCallback.onResponseReceived() always returning status code 0

2010-08-12 Thread Jaya
Thanks Phillippe, I now noticed after deploying the GWT web app on the same domain like http://mydomain/u2/Gwt.html, it is not getting the response after calling the http://mydomain.com/u1/MySerlet. The 'MyServlet' is getting request from Gwt.html and sending the response to GWT.html.Can you pleas

How do I set the border around elements in a DockLayoutPanel?

2010-08-12 Thread Greg Dougherty
The topic pretty much says it all. I know how to do this for a DockPanel. How do I do it for a DockLayoutPanel? Yes, I know, "use uibinder". That doesn't work when you're building things grammatically, which is what I'm doing. BTW, why don't the Showcase application use ANY *LayoutPanels? I t

Re: Clicking HyperLink Twice or more...

2010-08-12 Thread Thomas Broyer
On 12 août, 14:49, Santosh kumar wrote: > Hi, > > I am using GWT HyperLinks in my Project, i want some clarification about > these links. > when i click on the link for the first time it works fine. Immediately when > i click the same link its not working. > Like control is not coming to that li

Re: compile report

2010-08-12 Thread Katharina Probst
You can just add this to your .gwt.xml: (or whatever user agent you want). You can also define a new module for separate compilation with -compileReport. This is described here . kathrin On Thu,

Re: String.matches() does not work with \p{ASCII}

2010-08-12 Thread Thomas Broyer
On 12 août, 15:40, cokol wrote: > and if you really want to check for ascii why dont u just check for > the ascii code? Such as "[\\u-\\u007F]*" > try java.lang.Character to check or write in JSNI > small for-each testing if decimal value of char is greater than 127 is > faster than a rege

Re: why we probably won't use GWT for a large UI project

2010-08-12 Thread lineman78
I can't help you with the TileGrid other than saying that you could write something similar yourself with a little effort assuming you are willing to overlook some of the niceties such as animation. I have used SmartGWT in the mast and would warn you to use extreme caution in making the decision t

Re: How to use gwt to synchronize outlook to get the appoitments of calendar

2010-08-12 Thread kgeri
Assuming a Java server backend the easiest way is using WebDAV and connect to the Exchange server itself (unless the WebDAV connector is disabled), you may get the calendar and mails from there. See http://msdn.microsoft.com/en-us/library/aa143161(EXCHG.65).aspx for some specs. But note that this a

Re: Making GWT look good...

2010-08-12 Thread Thiago Miranda de Oliveira
We're developing a "web 2.0" style app with gwt too, using the UiBinder to construct our "panels" and the GQuery API to interact with them ( that can be learned more about in here http://code.google.com/p/gwtquery/ ). Is there any chance that the GQuery will be included on the GWT core? On Aug 1

Re: why we probably won't use GWT for a large UI project

2010-08-12 Thread Kevin Qiu
Totally agree with lineman78 on the use of SmartGWT. We used SmartGWT to build a prototype, only to find out that mixing Js library wrapper with native GWT is bad. It's super easy in SmartGWT if you're building a simple CRUD application, but anything beyond that which requires customized widgets in

Re: How do I set the border around elements in a DockLayoutPanel?

2010-08-12 Thread dane.molotok
How did you do it with a DockPanel? Wouldn't you want to style the elements you've placed in the panel? So it shouldn't matter if it's a DockPanel or a DockLayoutPanel. On Aug 12, 12:09 pm, Greg Dougherty wrote: > The topic pretty much says it all.  I know how to do this for a > DockPanel.  How d

Re: Building two war-files with Maven using different web.xml

2010-08-12 Thread dane.molotok
Have you thought about using the maven-assembly-plugin to generate a secondary end-state? Just an idea. On Aug 12, 6:23 am, Stephan T wrote: > I need to build two war files with different web.xml files becuase of > different servlet filter configurations depending on which server it > will be dep

Re: synchronize asynchronous calls?

2010-08-12 Thread Kevin Qiu
Thanks. That's helpful. On Thu, Aug 12, 2010 at 12:05 PM, Jeff Chimene wrote: > On 08/12/2010 08:38 AM, salk31 wrote: > > Don't you have to count the async returning and then do yet another > > callback? > > > > So hook into the callback of all your commands and then when the last > > one is don

Re: How do I set the border around elements in a DockLayoutPanel?

2010-08-12 Thread Greg Dougherty
With a DockPanel I just create a CSS style, and apply it to the Panel. I did that with a DockLayoutPanel, and nothing seemed to happen. I searched the archives of this group for CSS and DockLayoutPanel, and the concolusion I came to is that CSS doesn't work with DLPs. If that's not correct, I'd

Re: Caching issue in host mode?

2010-08-12 Thread markM
I believe the issue I was having is because I'm not using the - noserver option as is explained in Google's FAQ. However, the odd thing is that I originally got my GWT Server Library / Spring integration working briefly under the built in Jetty instance. Not sure how this was possible but it work

Re: GWT compiler breaks valid JS

2010-08-12 Thread André Moraes
Running the compiled code and the hand-made code the desired effect happens (black background with white square). I tested on Chrome 6 and FF 3.6.6 The only thing to notice is that i placed the code before the body tag, the html that i used was: Teste $doc = document; docume

RE: WSDL

2010-08-12 Thread Armishev, Sergey
When you have pretty big WSDL file the problem is how automatically generate not only server side stubs but GWT RPC calls and data structures that GWT client can use. You don't want to program all those API manually. I used SUN jax rpc for that http://java.sun.com/webservices/jaxrpc/overview.htm

Re: GWT compiler breaks valid JS

2010-08-12 Thread consiliens
I'm testing on Firefox 3.6.8 and can consistently reproduce the issue. Here's a hosted version of the Java code compiled with the pretty output style. http://69.164.194.47/gwt/Isotile.html The .java file is here. http://69.164.194.47/gwt/Isotile.java If I comment out body.appendChild then the

Re: synchronize asynchronous calls?

2010-08-12 Thread Kevin Qiu
After some thought, I don't think putting it in IncrementalCommand and execute with DeferredCommand help much here. Jeff, If I understand you correctly, my execute method will look like this: class Executor { // declaration of list of commands void execute() { DeferredCommand.addCommand(ne

Re: synchronize asynchronous calls?

2010-08-12 Thread Jeff Chimene
On 08/12/2010 12:50 PM, Kevin Qiu wrote: > After some thought, I don't think putting it in IncrementalCommand and > execute with DeferredCommand help much here. Jeff, If I understand you > correctly, my execute method will look like this: > > class Executor { > // declaration of list of commands

Re: Making GWT look good...

2010-08-12 Thread Manuel Carrasco Moñino
On Thu, Aug 12, 2010 at 7:49 PM, Thiago Miranda de Oliveira wrote: > We're developing a "web 2.0" style app with gwt too, using the > UiBinder to construct our "panels" and the GQuery API to interact with > them ( that can be learned more about in here > http://code.google.com/p/gwtquery/ > ). >

Re: How to build a rules-based form controller for a dyn. form in GWT

2010-08-12 Thread salk31
I'm with you that it seems very low level. If your users know enough to write that much JS then they would probably be better off with proper developer tools!? So as you say, same engine but with more complete wizards might be better. > My key question in former posting thus becomes how to get th

Re: RequestCallback.onResponseReceived() always returning status code 0

2010-08-12 Thread Philippe Laflamme
Deepak, Simply "install" Jetty's Transparent proxy in your web.xml. Look at my comment on Issue 3131, I explain how to set things up in DevMode, but it would be identical in a production environment: http://code.google.com/p/google-web-toolkit/issues/detail?id=3131#c46 Philippe On Aug 12, 12:19

Re: RequestCallback.onResponseReceived() always returning status code 0

2010-08-12 Thread Philippe Laflamme
Hi Jaya, It's really hard to say. I guess I would try testing things in pieces, see if they work independently... First, try making the request to your servlet without GWT. That is, use your browser (or some other tool) to make the request your server expects and then verify that your getting the

attaching images to an email that are already on your server

2010-08-12 Thread GKotta
I am getting a file access denied when I try to send and image in the datastore as an attachment. I there any way around this? Code (result.get(i).getAssociatedImage is the url where it is stored on the database. In this case, it is http:\127.0.0.1:\image? title=t609i1) : // second part (the i

Re: synchronize asynchronous calls?

2010-08-12 Thread Jeff Chimene
On 08/12/2010 12:50 PM, Kevin Qiu wrote: > After some thought, I don't think putting it in IncrementalCommand and > execute with DeferredCommand help much here. Jeff, If I understand you > correctly, my execute method will look like this: > > class Executor { > // declaration of list of commands

Re: GWT compiler breaks valid JS

2010-08-12 Thread André Moraes
Things get a little more weird. In chrome i see a black window, without the white square. The code loaded in chrome was: var body, document_0, ele; !!$stats && onModuleStart('com.google.gwt.query.client.css.CSS'); !!$stats && onModuleStart('com.example.isotile.client.Isotile'); document_0

Re: why we probably won't use GWT for a large UI project

2010-08-12 Thread lineman78
Not to mention the licensing on GXT is not for commercial use. My suggestion is to try to piece together all the UI elements you need from other libraries or write your own as they will be more efficient and integrate with one another better. Also, don't be lazy and pick a UI library by it's LAF,

Re: why we probably won't use GWT for a large UI project

2010-08-12 Thread marius.andreiana
Thanks Lineman and Kevin. Your feedback strengthens my recommendation for the hybrid approach described in the doc. On Aug 12, 11:46 pm, lineman78 wrote: > Not to mention the licensing on GXT is not for commercial use.  My > suggestion is to try to piece together all the UI elements you need > f

Re: GWT compiler breaks valid JS

2010-08-12 Thread consiliens
On 08/12/2010 02:43 PM, André Moraes wrote: Looks like the compiler removed the code where you add the div inside the div element created by $doc.createElement('div'); Should I file a bug? In firefox 3.6.6 the code isn't download, only the selection script is loaded and the code with the logi

Re: synchronize asynchronous calls?

2010-08-12 Thread Kevin Qiu
Thanks for taking the time. Although it's not clear what action you put in the timer and what the timer is supposed to do (IncrementalCommand is executed by DeferredCommand.CommandExecutor and it already has a timer with timeslice set to 100ms). Also, I suppose you need to reset the "busy" flag in

  1   2   >