Re: file upload set filter

2010-07-21 Thread Paachu
Yes I am talking about in GWT fileupload component. On Jul 21, 9:58 am, aditya sanas 007aditya.b...@gmail.com wrote: how to embed form input type=file name=pic id=pic accept=image/gif, image/jpeg / /form into gwt file upload...? -- Aditya On Wed, Jul 21, 2010 at 2:00 AM, lineman78

Re: DockLayoutPanel MVP and events

2010-07-21 Thread xworker
Hi Thomas Thanks for your reply, I have started to look into the ActivityManager and Place patterns, but have not found lots of documentation. Is there any examples? Is gwt-p going to be standard for 2.1 or will google release there own implementation? Thanks On 14 Juli, 17:07, Thomas Broyer

gwt-gadgets and maven

2010-07-21 Thread yoann.per...@gmail.com
Hi, I'm trying to develop a simple gadget using gwt-gadgets, Eclipse and Maven. If i follow the procedure described in the gwt-gadgets Getting started page (http://code.google.com/p/gwt-google-apis/wiki/ GadgetsGettingStarted), my gadget is fully functional on iGoogle. Now I try to convert

Re: Opening a file

2010-07-21 Thread aditya sanas
I think this must be a server side issue should not be posted here. -- Aditya On Wed, Jul 21, 2010 at 11:08 AM, rajan kochhar rajan_kochhar2...@yahoo.com wrote: I am trying to read an excel file as follows: public class LMSServiceImpl extends RemoteServiceServlet implements LMSService{

Re: trying to run bikeshed app and got error in Loading module 'com.google.gwt.core.XSLinker'

2010-07-21 Thread Eugen Paraschiv
I'm having the same issue with the M2 version of GWT 2.1.0. Is this a known issue? On Jun 16, 12:34 am, Otto von...@gmail.com wrote: Hi, I was playing around with GWT and learning it and found the bikeshed source code.  I got it to compile but when I try to run it I get errors. As you can

Re: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?

2010-07-21 Thread Prashant Hegde
Not sure abt the ScrollPanel but, I have also found out ( the hard way) VerticalPanel ( table based ) does not work well with layout panels (div based) .. Try using a DockLayoutPanel - with all widgets added to the north - instead... may be worth a try. - Prashant On 21-07-2010 10:58,

User Management without Google-Accounts

2010-07-21 Thread AlexG
Hi everyone, I want to have a User-Management without forcing the users off my application to have Google-Accounts or something like this. The plan is, that the users should register on my site, and the applcation shall do the management like: - What is the user abc allowed to do and so pn.

Re: create hyperlink using GWT

2010-07-21 Thread Thomas Broyer
On 21 juil, 03:55, Lu chenglu.annal...@gmail.com wrote: Hi, After getting a bunch of urls from the sever side, I want to dispay them in the format of hyperlinks on the client side. In this case, I didn't use history at all so I choose to use 'new HTML()'. tableLeft.setWidget(index, 0, new

Re: DockLayoutPanel MVP and events

2010-07-21 Thread Thomas Broyer
On 21 juil, 10:15, xworker blomqvist.andr...@gmail.com wrote: Hi Thomas Thanks for your reply, I have started to look into the ActivityManager and Place patterns, but have not found lots of documentation. Is there any examples? You could look at the Scaffold app in bikeshed (in the SVN

Re: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?

2010-07-21 Thread Magnus
Hi, I've got it working now. The actual hierarchie is: DockLayoutPanel - StackLayoutPanel - ScrollPanel - VerticalPanel. However, what is this all about with these multiple classes for one and the same thing: DockPanel - DockLayoutPanel StackPanel - StackLayoutPanel ... What's the difference,

Re: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?

2010-07-21 Thread Olivier Monaco
Hi You may be interested in reading http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiPanels.html Olivier On 21 juil, 13:35, Magnus alpineblas...@googlemail.com wrote: Hi, I've got it working now. The actual hierarchie is: DockLayoutPanel - StackLayoutPanel - ScrollPanel -

Re: $_POST is empty when request made using RequestBuilder

2010-07-21 Thread malrawi
Hello Again, For a second I thought the I managed to solve the SOP by following and applying Google's tutorial found in http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html But I realized that I was doing a GET request and not a POST request :/ So I guess I am back to square 1. I

Starting with GWT

2010-07-21 Thread Vinicius Carvalho
Hi there! I'm starting a project and the candidate architecture will be GWT 2.0.4 + Spring 3.0 + SpringGWTRPC + Hibernate 3.3 + Gilead. So far, the GWT project have been created and I'm integrating it with spring. My first thought was to separate in two maven modules nested in a main project:

Re: Starting with GWT

2010-07-21 Thread rudolf michael
well the way i did it and i am sure that this is not the optimal way. Since they dont want to use maven in here i had to create the package *.share.* on svn and share it by the gwt module and any other module/project that needs to use those classes. so when i ran eclipse and import it, it looks

XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread Jan
Hi, I would like to use an xsl transformation inside an HttpServlet. The code is essentially the following: File xslfile = new File(test.xsl); TransformerFactory factory = TransformerFactory.newInstance(); factory.setAttribute( debug, true ); Transformer transformer = factory.newTransformer(new

Re: UTF-8 Encoding Problem

2010-07-21 Thread Thomas Broyer
On 20 juil, 09:37, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all  , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project GWT expects all your source files to be UTF8-encoded (Java source and *.properties used for I18N). GWT produces

Dynamica menu integration with GWT

2010-07-21 Thread Siraj
Hi, I am working with the GWT SDK 2.0.4, and SDK App engine 1.3.1. Facing the problem to integrate the dynamic menu integration with the GWT. In my jsp file the menu is display based on the login credentials. So for each user menu is differ. I got GWT Menu to my jsp page but 1) It display

Re: DockLayoutPanel inside custom DecoratorPanel

2010-07-21 Thread Thomas Broyer
On 20 juil, 14:00, Jean-luc Chasseriau jean...@kernub.net wrote: Hi all, I'm getting the same behavior, only the north part of the DockLayoutPanel is displayed. Need to set DockLayoutPanel's height in pixel to make it work. Running gwt 2.1.0 M2, here is the structure: Menu extends

RE: file upload set filter

2010-07-21 Thread MRAHMAN (Gmail)
Just keep all files and try the file name with extension CSV (eg. Xyz.csv) Thanks Regards == Mohammed Rahman System Admin KOJ - Head Quarters Tel: 00971 (04) 3355232 Ext: 1339 Fax: 00971 (04) 3355231 Mob : 00971 (50) 9774048 Email : mrah...@kojamjoom.com

Gwt program is not working in IE8

2010-07-21 Thread suresh babu
Hi, I am using eclipse 3.4.2 with gwt 2.0 , when i run gwt program using firefox and chrome it is working fine but when i try to run same program in IE8 (internet explorer) it is not showing any result , only small module it work not with complex module . I have also added emulateIE7 in head of

Re: AJAX of type GET ( and not POST)?

2010-07-21 Thread cokol
btw: here a sample XMLHttpRequest r = XMLHttpRequest.create(); r.setOnReadyStateChange(new ReadyStateChangeHandler() { @Override public void onReadyStateChange(XMLHttpRequest xhr) { Window.alert(GET

Re: getting date/time on client?

2010-07-21 Thread capt. scott
hello you can send you number to me now i can call you as soon as i can goodbye On Tue, Jul 20, 2010 at 9:07 PM, Magnus alpineblas...@googlemail.comwrote: Hi, works thanks! Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Java Type Mapping or Compiler Extension

2010-07-21 Thread cokol
hello folks, I wanted to use already existings beans transparently on the client. The issue is, that they have BigInteger members, which cannot be translated to JS. Now, I did not want to write adapters or TOs but rather patch the GWT compiler to know how to translate such classes. In my case I

Can you use GWT with the spring framework (spring mvc)?

2010-07-21 Thread Gitted
Can you use GWT with the spring framework (spring mvc)? -- 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...@googlegroups.com. To unsubscribe from this group, send email to

Did anybody try Cross site communication?

2010-07-21 Thread VM
Hello GWT Users, I just wanted to check if anybody had success with Cross domain communication. I followed Google documentation: http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html handl...@com.google.gwt.sample.stockwatcher.client.stockwatcher::handleJsonResponse(Lcom/

IncompatibleRemoteServiceException caused by different RPC Protocol Versions (server: 5, client 6)

2010-07-21 Thread macgyver
Hi folks, i just upgraded one of my projects from 2.0.4 to 2.1.0.M2. The whole reason was to use the new Data Presentation Widgets, which indeed are very cool and working. On the other hand I went into problems on my RPC calls. It seems like the protocol for this has changed: from version 5 up to

Re: $_POST is empty when request made using RequestBuilder

2010-07-21 Thread V M
Got this from old thread : http://development.lombardi.com/?p=611 I hope it helps. -VM On Wed, Jul 21, 2010 at 7:55 AM, malrawi musab.alr...@gmail.com wrote: Hello Again, For a second I thought the I managed to solve the SOP by following and applying Google's tutorial found in

Spring Security UI Conditional Rendering

2010-07-21 Thread seanrocket
I am running GWT2.0.4 and Spring Security 3.03. I am able to authenticate with Spring Security but have not found a good way to conditionally render Widgets and Panels based on ROLES from Spring Security. For example: In the StockWatcher program, if a user has a ROLE_ADMIN then I want to allow

Re: Send String from GWT TO PHP

2010-07-21 Thread cokol
hi, please see documentnation on RequestBuilder class, there is a good sample On 20 Jul., 20:20, bhargava bhargav...@gmail.com wrote: Hi all, I need to send a string from my gwt platform on glassfish to a website running(using php) on apache server. I know that i need to use JSONP . Is

Re: create hyperlink using GWT

2010-07-21 Thread cokol
you have to provide full qualified url, so in your case it should be: tableLeft.setWidget(index, 0, new HTML(a href='http:// www.google.com'text/a)); br, On 21 Jul., 12:42, Thomas Broyer t.bro...@gmail.com wrote: On 21 juil, 03:55, Lu chenglu.annal...@gmail.com wrote: Hi, After getting a

HTML5 DnD mouse events - Drop not fired, but others are

2010-07-21 Thread Harry
Hey All, I've been trying to implement support for HTML5 drag 'n' drop events in GWT 2.0.3. Thus far i've managed to override the default DOMImpl with a custom class that supports the events: i've overridden : public native int eventGetTypeInt(String eventType) to include... // other

[CHROME] DialogBox seems to interfere with scrolling a ScrollPanel when mouse is over a widget...

2010-07-21 Thread Asfand Yar Qazi
Hello guys, This is ONLY RELEVANT TO GOOGLE CHROME. I've been googling for this for a while now, so excuse me if it is a known issue, but I could not find the answer. I have this code inside an entry point class. Panel createScrollableStuff() { VerticalPanel vp =

External library on GWT server side.

2010-07-21 Thread Alexander Ustinov
Hi all, I faced with following problem. I want to you use cryptix library on the server side of my app. I creared classfile : [code] package com.rfo.cabinet.server; import java.util.Random; import cryptix.provider.md.MD5; public class TestHash { ... public static String encrypt() {..} } [/code]

Re: AJAX of type GET ( and not POST)?

2010-07-21 Thread cokol
yeah, use the com.google.gwt.xhr.client.XMLHttpRequest class br On 20 Jul., 18:51, mk munna.kaka.ch...@gmail.com wrote: Is there a way to make AJAX async call of type GET ( instead of POST). (RequestBuilder is ok but still is there a easier way) -- You received this message because you are

Re: $_POST is empty when request made using RequestBuilder

2010-07-21 Thread cokol
hi! so if you really need to go for HTTP POST rather than get, then do so, remove the '?' from post body, these would be required for CGI doing GET but not in this case. you dont need to go for JSNI!! SOP cannot be workarounded on the client solely. You have to write simple gateway service which

Re: $_POST is empty when request made using RequestBuilder

2010-07-21 Thread cokol
btw: you can of course abuse HTML resource reference tags allowing SOP ( like SCRIPT, IMG, IFRAME ) but they all do only support HTTP GET. If your service you gonna talk with requires HTTP POST, there is no other way you can also patch your DNS but this is for sure not the way you look

Re: support F5 to load current page

2010-07-21 Thread Thomas Broyer
On 20 juil, 11:30, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , i face a problem with pressing F5 button to load current page i use history manager to make next back in my project now after pressing the f5 button it return to the first page in my projects how to fix

Re: Remove event handlers or not?

2010-07-21 Thread Thomas Broyer
On 20 juil, 01:32, jay jay.gin...@gmail.com wrote: Ah, so that's good for handlers of *DOM* events [e.g., using addDomHandler()]. For logical events [those added via addHandler()], however, it seems like you may still need to manually remove listeners. Is that correct? As long as the

Re: remove old javascript file

2010-07-21 Thread Stefan Bachert
Hi, the bootstrap code should never be cached. Assume you are deploying a new version. The bootstrap code refers the browser/locale specific JS using an own strong name. If you cache the bootstrap file, it may happen that old bootstrap code refers to old strong named file which are no more

Re: Java Type Mapping or Compiler Extension

2010-07-21 Thread cokol
ok, got it - using the super-source/ tag in the gwt descriptor does do the trick On 21 Jul., 12:14, cokol eplisc...@googlemail.com wrote: hello folks, I wanted to use already existings beans transparently on the client. The issue is, that they have BigInteger members, which cannot be

Re: Remove event handlers or not?

2010-07-21 Thread Thomas Broyer
On 20 juil, 01:23, Blagoja Chavkoski baze...@gmail.com wrote: Hi, I have some small question related to events..but other way around: How can we fire a native(browser) event in gwt 2.xx ?!  On 1.6 there was a method.Document.fireXXXEvent but not in the newer relies.

Re: AJAX of type GET ( and not POST)?

2010-07-21 Thread Stefan Bachert
Hi, what do you expect from using GET instead of POST? Basically POST could definitely transfer many bytes, GET may have a limit. (In the past they talked about 2K limit for an url, which may no more apply) It is more effort necessary to do a CSRF/XSRF with POST, so I consider POST somewhat more

Re: th vs td elements (assistive technology)

2010-07-21 Thread Thomas Broyer
On 20 juil, 21:19, Thad thad.humphr...@gmail.com wrote: My application uses FlexTables mostly to present database records of one sort or another:  Query a table on the server, get back a list of records, and select a row to edit a record or to open a file indexed to that record via a

Re: GWT response is allowing only boolean value in IE

2010-07-21 Thread Stefan Bachert
Hi Raj, this is probably a problem with GWT-Ext. I never experienced such a problem on pure GWT Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 16:57, rajendra dasari

Re: iframe JS code linker

2010-07-21 Thread Thomas Broyer
On 20 juil, 17:06, opichals opich...@gmail.com wrote: Hi! Commonly JS frameworks' .js files are simply added to the .html file as script tags. GWT linker by default creates an iframe that contains all the JS code script tags inside kept separate from the rest of the application page

Re: Sync AJAX ( instead of async)

2010-07-21 Thread Dimitrijević Ivan
It is strongly recommended to avoid using AJAX on synchronous way! Remember that A in AJAX is for Asynchronous. So you should consider and use this as a feature not as a problem. Using AJAX on Synchronous way is a very common anti pattern in AJAX programming. On Jul 20, 9:09 pm, Prakash

Re: Share user input data within MVP + Lady_Gaga

2010-07-21 Thread Thomas Broyer
On 21 juil, 01:54, PhilBeaudoin philippe.beaud...@gmail.com wrote: Another approach that wasn't mentioned but that I use quite frequently is to use the history and pass the information as parameters in the history token. This is made really easy in frameworks like gwt- presenter and

Re: Event Handler Registrations

2010-07-21 Thread Thomas Broyer
On 20 juil, 22:57, Nathan Wells nwwe...@gmail.com wrote: What is the purpose of registering event handlers? I originally thought it was to avoid memory leaks, but that doesn't seem to be true, given that the whole point of the handler API was to avoid accidental memory leaks, making so that

Re: Upload Maximum Size file giving Memory Out of rage error

2010-07-21 Thread Stefan Bachert
Hi Raj, I think this will not work in general. On 32 Bit-System Java is limit to somewhat betwenn 1.5-2GByte memory. Uploading GByte Files may excete this limit. I suspect an upload may need twice twice the memory in java. I would consider a different mechanism when uploading such big files

Re: Opening a file

2010-07-21 Thread Eric
The server application has no way of magically accessing client files. Depending on how the web server is configured, it might not be allowed to access files on the server itself. After all, the operators of a web server might be hosting web applications from many different sources. Those

Re: Upload Maximum Size file giving Memory Out of rage error

2010-07-21 Thread rajendra dasari
Hi Stefan Bachert, Thanks for giving suggestion, i will try on this issue as you told for increasing memory. --- Raj. On Wed, Jul 21, 2010 at 7:54 PM, Stefan Bachert stefanbach...@yahoo.dewrote: Hi Raj, I think this will not work in general. On 32 Bit-System Java is limit to somewhat

Re: Can you use GWT with the spring framework (spring mvc)?

2010-07-21 Thread amjibaly
Check out the the GWT + Spring Roo integration demo shown at Google IO. It was pretty slick. Roo is basic Spring MVC. On Jul 20, 10:19 pm, Gitted sahmed1...@gmail.com wrote: Can you use GWT with the spring framework (spring mvc)? -- You received this message because you are subscribed to the

GWT and maven

2010-07-21 Thread lam
hi, I am trying to run a GWT project by calling the main in DevMode. This works fine. However, I want to use the maven plugin for gwt. The output of web-inf and war structure differs. The files are not located where DevMode.main would normally look for them. The files are not located, and it wont

Re: GWT response is allowing only boolean value in IE

2010-07-21 Thread rajendra dasari
Hi Stefan Bachert, ok, thanks for responding. -- Raj. On Wed, Jul 21, 2010 at 7:41 PM, Stefan Bachert stefanbach...@yahoo.dewrote: Hi Raj, this is probably a problem with GWT-Ext. I never experienced such a problem on pure GWT Stefan Bachert http::/gwtworld.de due to recent cases, I

Needing help, building a Login

2010-07-21 Thread AlexG
Hi @ all, I want to build a Suer-Management System, where Users can Login und persist personal Data. I found this article below, as a little how-to-guide. http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ What I want, is to save a session id on the client, recieved

Window close listener is not working

2010-07-21 Thread raj
Hi All, I am facing problem on Close listener in GWT-Ext Window . com.gwtext.client.widgets.event.WindowListener, it is having all override methods for Window. When onclose of Window it is calling onClose () method and onbeforeClose() methods. the problem is i am not able to close that window,

Re: gwt-gadgets and maven

2010-07-21 Thread Eric Ayers
Unfortunately, the latest gwt-gadgets release hasn't been pushed to Maven. We're working on it. On Wed, Jul 21, 2010 at 5:29 AM, yoann.per...@gmail.com yoann.per...@gmail.com wrote: Hi, I'm trying to develop a simple gadget using gwt-gadgets, Eclipse and Maven. If i follow the procedure

JNDI datasources in GWT 2.1.0 M2 hosted mode

2010-07-21 Thread lukateake
Has anyone successfully got JNDI datasources up and running under Milestone 2? The class packages changed from mortbay to eclipse as I understand it. My jetty-env.xml file (DOES NOT WORK): Configure class=org.eclipse.jetty.webapp.WebAppContext New id=MySQLMSA

Re: Sync AJAX ( instead of async)

2010-07-21 Thread Nathan Wells
There is only one case I know of where synchronous should be used: when you want to do a server call and get a response when the user is leaving the page. If you don't use synchronous here, you will fail to get the response from whatever asynchronous call you made when the page exits. On Jul 21,

Re: Spring Security UI Conditional Rendering

2010-07-21 Thread Arthur Kalmenson
Conditional rendering (i.e. hiding certain UI) would have to be done manual or using something like Acris or Errai Workspace: http://www.jboss.org/errai/Components/Workspaces.html. At the end of the day, unless you're adding additional generator conditions to strip non-admin parts based on

How to fix this GAE-related problem: Must be called from a blob upload callback request.

2010-07-21 Thread Alexander Orlov
I'm trying to persist blobs using GAE and assign them to the user who has uploaded the blob. I've took the following sample code as a starting point: http://code.google.com/intl/en-US/appengine/docs/java/blobstore/overview.html Uploading blobs works fine as you can see here: lox.loxal.org

Best way to handle header panel html

2010-07-21 Thread David Vree
Hi -- Totally new GWT developer here. My application has a header panel that will contain a couple divs with a branding logo and some login/logout buttons and status text. Whats the best way to handle this in GWT: 1) I can create an HTML widget and hand it a string I concatenate together 2) I

Re: Sync AJAX ( instead of async)

2010-07-21 Thread David Given
On 21/07/10 16:10, Nathan Wells wrote: There is only one case I know of where synchronous should be used: when you want to do a server call and get a response when the user is leaving the page. I sincerely hope that my web browser would fail to honour this! Delaying page close is deeply

Re: Best way to handle header panel html

2010-07-21 Thread lukateake
UI Binder is the way to go. Bite the short-term learning curve once and you'll reap long-term efficiency gains. Luke. On Jul 21, 10:53 am, David Vree david.h.v...@gmail.com wrote: Hi -- Totally new GWT developer here.  My application has a header panel that will contain a couple divs with

Re: Sync AJAX ( instead of async)

2010-07-21 Thread cokol
indeed it could be a valid use case; but not without a constraint, just imagine I wanna close my browser and your sync onunload() request would take 5 secs to be processed by server - what happens then? its evil! imho, if you want to process the response afterwards, like printing it out to the

Re: Sync AJAX ( instead of async)

2010-07-21 Thread mk
I understand that asynchronous is the way to go and sometimes we change UI design just to support async. But atleast in our project, there are functional requirements where sync is the only solution. (BTW: sync is not as bad. I understand that javascript in browser is single threaded but it's used

Re: Sync AJAX ( instead of async)

2010-07-21 Thread cokol
I see, i think google just did not want to make a tool which can be abused resulting in frustrated users :) but anyway, you can endeed get it simpler than just hacking JSNI from scratch - extend the XMLHttpRequest class and add a new method open() which flags the underlying connection as async

GWT app looks ugly in IE6

2010-07-21 Thread Magnus
Hi, my GWT app works great under current browsers, but it looks ugly under IE6: http://www.lfstad-chess-club.de:8080/ics/ Should I spent effort in finding out the reasons or isn't it worth the work? Thanks Magnus -- You received this message because you are subscribed to the Google Groups

Re: GWT and maven

2010-07-21 Thread dane.molotok
Have you gone through what the Google Eclipse Plugin's FAQ[1] has? http://code.google.com/eclipse/docs/faq.html#gwt_with_maven On Jul 21, 9:36 am, lam lama.gh...@gmail.com wrote: hi, I am trying to run a GWT project by calling the main in DevMode. This works fine. However, I want to use the

Re: Upload Maximum Size file giving Memory Out of rage error

2010-07-21 Thread cokol
stop doing that, its not your intention to load the entire filestream into the memory?! :-) you'd be better off with streaming, so on doPost() in your servlet you could acquire a stream from the request and forward it to your outputstream on the file system, so only the internal buffer is used.

Re: Sync AJAX ( instead of async)

2010-07-21 Thread mk
Thanks cokol for A+ responses. On Jul 21, 10:10 am, cokol eplisc...@googlemail.com wrote: I see, i think google just did not want to make a tool which can be abused resulting in frustrated users :) but anyway, you can endeed get it simpler than just hacking JSNI from scratch - extend the

Re: Did anybody try Cross site communication?

2010-07-21 Thread cokol
if you just tried to get the example working, maybe you mistyped something? On 21 Jul., 02:09, VM thinker...@gmail.com wrote: Hello GWT Users, I just wanted to check if anybody had success with Cross domain communication. I followed Google documentation:

Re: AJAX of type GET ( and not POST)?

2010-07-21 Thread mk
Thanks cokol and Stefan I expect cache from GET On Jul 21, 8:07 am, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, what do you expect from using GET instead of POST? Basically POST could definitely transfer many bytes, GET may have a limit. (In the past they talked about 2K limit for an

Re: how to control the pixel sizes of a Grid?

2010-07-21 Thread Magnus
Hi Andreas, may I come back to your code? I have build my chess game on your idea using SimplePanels for the cells. It always worked great, but today I found that it looks ugly under IE6. What would you do in this case? Is IE6 so old that you can ignore it? Thanks Magnus On Jun 28, 12:24 pm,

Re: Sync AJAX ( instead of async)

2010-07-21 Thread Nathan Wells
Don't get me wrong... I'm about as opposed to synchronous requests as everyone else... I'm just saying that in some cases it might be justifiable. On Jul 21, 10:32 am, mk munna.kaka.ch...@gmail.com wrote: Thanks cokol for A+ responses. On Jul 21, 10:10 am, cokol eplisc...@googlemail.com wrote:

Re: how to control the pixel sizes of a Grid?

2010-07-21 Thread andreas
Hey Magnus, to be honest I was very glad to read this post: http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-modern-applications.html Besides, what exactly is looking ugly? Me personally, I would not spend much time in fixing it for IE6 if it can not be fixed by slightly

Re: support F5 to load current page

2010-07-21 Thread Ahmed Shoeib
i use History.fireCurrentHistoryState() on the first page module load what can i do ??? On Jul 21, 4:08 pm, Thomas Broyer t.bro...@gmail.com wrote: On 20 juil, 11:30, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , i face a problem with pressing F5 button to load current

Re: Possible to access GWT-RPC serializer?

2010-07-21 Thread Sekhar
Thanks guys. Yau: that's an interesting technique, but not quite what I need (which is to marshal/unmarshal on the client side for local storage). Olivier, I can't quite make out how your stuff would work, but I see it's basically annotation based and generates the marshal/ unmarshal code - which

Re: how to control the pixel sizes of a Grid?

2010-07-21 Thread Magnus
Hi Andreas, the most ugly thing concerns the chess board, which I set up with SimplePanels based on your idea: There are gaps between the columns. Look at this: http://yfrog.com/0nappdp I find that most web apps still work good with old browsers, and I am not sure if my app should look better

Re: GWT app looks ugly in IE6

2010-07-21 Thread lineman78
depends on your target audience. The majority of IE6 users are either enterprise or people who are running XP SP1. On Jul 21, 10:11 am, Magnus alpineblas...@googlemail.com wrote: Hi, my GWT app works great under current browsers, but it looks ugly under

Re: file upload set filter

2010-07-21 Thread lineman78
Well, first of all if you notice the link I posted earlier, none of the browsers implement the spec. If you would like to do it anyway in case they ever do, you will have to do a getElement and manually set the property through the DOM API. Remember every GWT widget is just a wrapper of an HTML

Re: Send String from GWT TO PHP

2010-07-21 Thread lineman78
There are examples around that are coppied directly from a book, I believe it was GWT in Action. If you are using GWT 2.0+ a JSONP API was added... http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html On Jul 21, 6:15 am, cokol

Re: Sync AJAX ( instead of async)

2010-07-21 Thread Brian Reilly
Could you get the same effect by preventing user input during your server request, either by finding all of the controls/links and disabling them or overlaying something that receives and swallows all events? At least that way, you're not locking up the browser completely. Is there some other

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread lineman78
From what I can tell it is failing while compiling the stylesheet. I would suggest taking app engine out of the loop altogether first and just so it in a static main to make sure it is compiling. If it works as a static main than it is probably the file IO. To test this I recommend to try just

MenuBar + UiBinder

2010-07-21 Thread Vinicius Carvalho
Hi there! Just starting here, so apologize for the noob question: I have a uitemplate: ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui ui:style .important { font-weight: bold;

Focus problems moving from RootPanel to RootLayoutPanel

2010-07-21 Thread Thad
I'm testing moving my application from a RootPanel to RootLayoutPanel. Given my layout, it's not a 1-to-1 swap, and the end result is some focusing problems with my logon from. My HTML page contains an iframe for GWT history, an iframe that serves as target for downloading files (so I don't have

Re: GWT app looks ugly in IE6

2010-07-21 Thread Alexander Orlov
Google has dropped its support for IE6 on YouTube and Google Docs. I don't see a reason for supporting it if you haven't a REALLY good reason. On Jul 21, 6:11 pm, Magnus alpineblas...@googlemail.com wrote: my GWT app works great under current browsers, but it looks ugly under

Re: MenuBar + UiBinder

2010-07-21 Thread Vinicius Carvalho
Sorry, I was missing the correct user.agent on my user.agent in the module. Fixed now On Jul 21, 3:31 pm, Vinicius Carvalho viniciusccarva...@gmail.com wrote: Hi there! Just starting here, so apologize for the noob question: I have a uitemplate: ui:UiBinder

GWT 2.1 with roo: custom changes to .ui.xml files overwritten (major issue)

2010-07-21 Thread marius.andreiana
Hi, Before filling a bug with this, I'd like to understand the intended behavior of roo 1.1 final version. A common use case, which I just tried, is developing a small app, and customizing the generated .ui.xml files. For example, for Employee entity, I have changed EmployeeDetailsView.ui.xml.

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread cokol
as already states by cause Caused by: java.security.AccessControlException: access denied you are not allowed to access the filesystem neither for read nor for write - I remember there was a workaround for this issue, like putting the resource into classpath or such, then you can get the stream

Re: Sync AJAX ( instead of async)

2010-07-21 Thread cokol
...in that case it would be an option to show up a modal dialog asking the user to get some coffee :-) @mk youre welcome! On 21 Jul., 20:20, Brian Reilly brian.irei...@gmail.com wrote: Could you get the same effect by preventing user input during your server request, either by finding all of

Re: External library on GWT server side.

2010-07-21 Thread cokol
hi, as the cause indicates java.lang.NoClassDefFoundError: cryptix/ provider/md/MD5 means that the class could not be found, means is not in the classpath. I guess you uploaded your application on googles appengine? however, make sure, that the .jar file of your crypter library resides in

Jetty login-config realm problems with GWT 2.0

2010-07-21 Thread mkh
I am trying to define a security realm for jetty under hosted mode, but get the following: 00:10:38.130 [WARN] Configuration problem at login-config auth- methodBASIC/auth-method realm-namegenomix/realm-name /login- config java.lang.NullPointerException at

Re: Invocation Exception at Run time

2010-07-21 Thread cokol
hm, seems like you dont have a transparent proxy, intstead your backend may be breaking the output, please post the doFilter() method of your proxy filter from the backend which actually handles the request br, On 20 Jul., 18:16, kiss_...@yahoo.com praveenshett...@gmail.com wrote: Hi,

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread emurmur
This seems very similar to issue 4267. The issue is the GWT is setting a system property, overriding the default transformer factory. This causes the appengine server to get the wrong transformer factory. The exception you are getting is not exactly the same as the bug, but the circumstances

Re: Sync AJAX ( instead of async)

2010-07-21 Thread Paul Stockley
I wrote a loading mask that creates a transparent mask over the window to stop input. After a second or two an animated loading message fades into view. That way if the request is quick you don't get a message flashing on and off. On Jul 21, 3:36 pm, cokol eplisc...@googlemail.com wrote: ...in

Re: Needing help, building a Login

2010-07-21 Thread cokol
hi, you dont need to care for session ids, unless cookies are disabled, since almost every servlet container (tomcat, appengine,etc) creates a new sessionid for every request it does not recognize and this sessionid is sent back with a cookie. from now on, the browser automatically sends a cookie

Re: Opening a file

2010-07-21 Thread cokol
hi actually, this is a question to googles appengine forum, appengine implies many restriction, such as those, you cannot access the filesystem, put the excel file into classpath and access the stream via getResourceAsStream(foo.xls) from your classloader br, On 21 Jul., 16:26, Eric

Re: Dev plugin for firefox 3.7

2010-07-21 Thread andreas
I'm having the same problem ... just built development plugin from trunk but FF 4.0 still displays its Plugin required... stuff. Working on Ubuntu with actually only newest versions of browsers (Chrome dev channel and FF 3.6 4.0). At least for FF 3.6 a working development plugin exists. Hope

Mouse Over Image

2010-07-21 Thread nacho
Hi, i want to do the following, i want to display a label when the user passes the mouse over the image and i want to hide the label when the user takes out the mouse from the image. Just like a toolkit. What i did is the following, what am i missing? final Label lblRecyclerBin = new

  1   2   >