Upload Maximum Size file giving Memory Out of rage error

2010-07-20 Thread raj
Hi All, I am uploading more than 500MB file it is giving this exception [ERROR] Error for /com.winfoware.voxforce.Index/services java.lang.OutOfMemoryError: Java heap space at org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java: 329) at

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

2010-07-20 Thread rudolf michael
This was nothing to do with GWT, try to add more memory to your servlet container JVM. On Tue, Jul 20, 2010 at 10:04 AM, raj rajendra.a...@gmail.com wrote: Hi All, I am uploading more than 500MB file it is giving this exception [ERROR] Error for /com.winfoware.voxforce.Index/services

Docklayout / Fixed size

2010-07-20 Thread julien
Hello, Is there a way to have a kind of Docklayout with a north zone adjusted to its content size (i.e. the size is not hardcoded on the ui.xml file) ? Regards, Julien -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

UTF-8 Encoding Problem

2010-07-20 Thread Ahmed Shoeib
Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- 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

Re: New Java Documentation Tool from Sencha

2010-07-20 Thread Blagoja Chavkoski
Because i like to have the bought libs used, GWT and GXT for my projects... and to be open on what future to use I create one abstract class extending one of the gxt widgets ...usually ContentPanel..because is the most rich one..and in this class I add all the gwt future I like to have. Just

Re: UTF-8 Encoding Problem

2010-07-20 Thread olivier nouguier
AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, 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 -- You received this message because you are subscribed to the Google

Re: UTF-8 Encoding Problem

2010-07-20 Thread Ahmed Shoeib
what do you mean can you explain it ?? On Jul 20, 11:09 am, olivier nouguier olivier.nougu...@gmail.com wrote: AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all  , now i face a problem with UTF-8 Encoding

Re: UTF-8 Encoding Problem

2010-07-20 Thread rudolf michael
You need to make sure that the String that you are returning from the server is UTF8 Encoded. Since GWT by default supports UTF8 encoding, then you need to make sure that what ever value you are returning from the server/db is encoded properly. best regards, Rudolf Michael On Tue, Jul 20, 2010

Re: How can multiple tabs in the same browser can share the same session?

2010-07-20 Thread cooolcat
Can you give me an code example for this? On Jul 17, 8:22 am, lineman78 linema...@gmail.com wrote: Depends on your definition of session and if you are using container managed security and if that is the case it can depend on your server.  The default session manager for glassfish uses

support F5 to load current page

2010-07-20 Thread Ahmed Shoeib
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 this problem -- You received this message because you are subscribed

Re: UTF-8 Encoding Problem

2010-07-20 Thread Ahmed Shoeib
what about on the client side how to make this cause when adding new one how to make the added value in UTF-8 format On Jul 20, 11:43 am, rudolf michael roud...@gmail.com wrote: You need to make sure that the String that you are returning from the server is UTF8 Encoded. Since GWT by default

Re: Eclipse - Google Addons are gone after update

2010-07-20 Thread rudolf michael
I had the same problem on Windows 7 and after struggling for several hours i had to restore Windows to a previous check point, it worked like a charm. dunno if the problems is an eclipse updates, a plugin updates or a windows update. On Tue, Jul 20, 2010 at 1:58 AM, Rajeev Dayal rda...@google.com

Re: support F5 to load current page

2010-07-20 Thread Muhammad Saifullah
pls use Window.addWindowCloseHandler( new WindowCloseHandler(event) { event.setMessage(your message here); } ); in your onModuleLoad() function. when F5 button is pressed then custom message will be displayed if you press OK button then reloads but if you press the cancel then no reload. OK

Re: Compiler Bug in 2.1.0.m2

2010-07-20 Thread Olivier Monaco
Hi, I've updated the issue with a more specific test case and a possible workaround. Olivier On 19 juil, 15:09, Björn bjoernham...@web.de wrote: Hi George, hi Gal, thanks for you help! The Resymbolization did the trick. After having two days of real fun with compiled javascript I think I

Re: support F5 to load current page

2010-07-20 Thread Ahmed Shoeib
i want to reload current page only without pressing any other button On Jul 20, 12:48 pm, Muhammad Saifullah msaif.muham...@gmail.com wrote: pls use Window.addWindowCloseHandler(  new WindowCloseHandler(event) {     event.setMessage(your message here);  } ); in your onModuleLoad() function.

Create WRT widgets with MS Visual Studio Plug-in

2010-07-20 Thread James Baker
All Web developers who have chosen Microsoft Visual Studio 2008 as their development platform can now plug in features that dramatically simplify the process of creating applications with WRT!! The Nokia WRT Plug-in for Visual Studio provides features that enables the creation, editing,

Password Strength Widget?

2010-07-20 Thread omsrobert
Anyone have a password strength widget for either GWT or GXT? Client side or better client w/server side validation would be great. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Serialization - interface TypeFilter

2010-07-20 Thread Thierry Boileau
Hello all, I wonder if there is any reason to let the interface TypeFilter protected, whereas the public class SerializableTypeOracleBuilder has a public method setTypeFilter(TypeFilter) ? Actually, I'm particularly interested to make this interface public. Best regards, Thierry Boileau -- You

Re: $_POST is empty when request made using RequestBuilder

2010-07-20 Thread malrawi
Thanks Rob, The problem was because I wasn't encoding the URL. Wired, I would expect the whole request to fail if I don't encode the URL. Another thing, I received 0 (zero) as status code, i checked the forums and it seems that it is related to SOP as you suspected. Would having the PHP files in

Re: Serialization - interface TypeFilter

2010-07-20 Thread Thierry Boileau
hello, by protected, I mean package-private. Best regards, Thierry Boileau Hello all, I wonder if there is any reason to let the interface TypeFilter protected, whereas the public class SerializableTypeOracleBuilder has a public method setTypeFilter(TypeFilter) ? Actually, I'm

Re: Password Strength Widget?

2010-07-20 Thread rudolf michael
well you just need to have a server script that do that for you, as for the client side you just need a PasswordTextField Widget with a validator that display the messages back from the server. On Tue, Jul 20, 2010 at 2:30 PM, omsrobert omsrob...@gmail.com wrote: Anyone have a password strength

Re: Share user input data within MVP + Lady_Gaga

2010-07-20 Thread Arthur Kalmenson
No, they should all use the same single event. -- Arthur Kalmenson On Mon, Jul 19, 2010 at 9:04 PM, mk munna.kaka.ch...@gmail.com wrote: Thanks a lot. Now if there are three DIFFERENT presenters (say 2a,2b,2c) listening event from 1st presenter. Than do 1st presenter has to create event

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

2010-07-20 Thread Arthur Kalmenson
As Rudolf said, this has nothing to do with GWT. Perhaps you should look at apache commons upload Streaming API: http://commons.apache.org/fileupload/streaming.html -- Arthur Kalmenson On Tue, Jul 20, 2010 at 3:04 AM, raj rajendra.a...@gmail.com wrote: Hi All, I am uploading more than 500MB

Re: Password Strength Widget?

2010-07-20 Thread Arthur Kalmenson
If you want to enforce a particular password policy, you'll have to check with the server. But for visualizing the password strength, you can check for particular characters (lower case, upper case, password length, numbers, etc) on the client side without checking with the server. -- Arthur

Re: How can multiple tabs in the same browser can share the same session?

2010-07-20 Thread buz...@gmail.com
I will rephrase a bit... By default each browser tab shares same session if you are using Cookie based sessions (which are in turn default on most of the Web containers). In IE6 there where no tabs to my knowledge and that's why it is impossible to implement session sharing for this browser. One

Paging ScrollTable Implementation and New Table Model

2010-07-20 Thread bugg_tb
Hi Guys We currently use a widget from GWT mosaic which is called LiveTable but is basically a rework of the Paging ScrollTable. We are also tied to GWT 1.7. The problem I face with this table is that the user has the ability to completely rework the table and then re-render it, but the only

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

2010-07-20 Thread rajendra dasari
Hi , Thanks for giving suggetion, this is not related to GWT, but i am facing when i set upload maximum file size to(1024MB - 2GB), but it is giving same error, i am using the what ever you sent URL only i used. --- Raj On Tue, Jul 20, 2010 at 6:27 PM, Arthur Kalmenson

Re: Compiler Bug in 2.1.0.m2

2010-07-20 Thread Paul Stockley
The GWT team needs to be all over issues like this. Nothing will put people off GWT quicker than a flaky compiler you cannot depend on. On Jul 20, 5:53 am, Olivier Monaco olivier.mon...@free.fr wrote: Hi, I've updated the issue with a more specific test case and a possible workaround.

Re: Password Strength Widget?

2010-07-20 Thread RPB
Here is the code I use, you can tweak it to fit with your standards. public class ValidationUtils { private final static String EMAIL_VALIDATION_REGEX = [a-zA-Z0-9!#$ %'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%'*+/=?^_`{|}~-]+)*@(?:[a-zA-

Re: Reusability of GWT UI

2010-07-20 Thread Vik
any one on this plz... Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Tue, Jul 13, 2010 at 7:32 PM, Vik vik@gmail.com wrote: hie Thanks but i have following doubt: Since i need two different handlers for two search panels then where will be the deciding

problem in storing data in sessions

2010-07-20 Thread Krati Agarwal
sir, um working on a project and actually needs to maintain a user session when he logs in. i am not getting the proper commands to use sessions in gwt. can u please tell me the proper steps and commands of how to use sessions in gwt and how i can maintain a user login for it. i will be thankful

Used to be a C++ developer, want to move the front end client to GWT, need a step by step example/tutorial for GWT and mysql database. Appreciate for your help!

2010-07-20 Thread Allen
Hi: I am experienced C++ developer and want to migrate UI client (using for app configuration and control) to GWT. Currently, finished the stock price tutorial. Need a similar detail oriented tutorial for working with mysql DB. Please help. Thanks lot, Allen -- You received this message

Re: $_POST is empty when request made using RequestBuilder

2010-07-20 Thread salk31
Do you need the ? ? Maybe worth using firebug to look at what the browser is actually sending? On Jul 18, 1:44 pm, malrawi musab.alr...@gmail.com wrote: Hi, I am really new to GWT, I tried searching the net for hours to get an answer to my problem with no luck. Here is what I am doing: I am

BUG: EditTextCell.render fails when viewdata contains a quote

2010-07-20 Thread Roald Bankras
Hi I'm using GWT-2.1.0-M2 and have encountered a bug. When editing a cell using the EditTextCell, the input field fails to show the correct content when the value contains a quote. The value is trimmed after the first occuring quote. The problem is the render method in the EditTextCell class.

DockLayoutPanel inside custom DecoratorPanel

2010-07-20 Thread Jean-luc Chasseriau
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 Composite Menu() { panel = new FlowPanel(); panel.add( new HTML(

Re: need best GWT book for a begginner to start career

2010-07-20 Thread Ahmed Yehia
You can check the links at the GWT website, there you will find good startup tutorials and available books: http://code.google.com/webtoolkit/doc/latest/tutorial/index.html http://code.google.com/webtoolkit/books.html hth On Jul 19, 3:43 pm, Santosh kumar kopp@gmail.com wrote: hi, this

Re: $_POST is empty when request made using RequestBuilder

2010-07-20 Thread salk31
Do you need that ? at the start? Just guessing. Maybe debug with firebug? Very nice HTTP snooping... On Jul 18, 1:44 pm, malrawi musab.alr...@gmail.com wrote: Hi, I am really new to GWT, I tried searching the net for hours to get an answer to my problem with no luck. Here is what I am doing:

gwt upload

2010-07-20 Thread ibouakl
i use gwtupload to upload files on the server and it works fine. Question: How Check if the file exists before uploading? if the file exists, how can we give for user the permission to replace or rename or override the file Thx for your help. -- You received this message because you

Issue GWT module 'abc' may need to be (re)compiled only with Firefox

2010-07-20 Thread Christophe
Hi, I just compiled my application (using the Compile button provided by Google) and I've found a really strange issue... If I run my application in Compiled mode under Chrome or IE, it works fine, but as soon as I try under Firefox, I have the following issue: GWT module 'abc' may need to be

Re: $_POST is empty when request made using RequestBuilder

2010-07-20 Thread malrawi
Thanks Rob, The problem was because I wasn't encoding the URL, Now when I think about it, it is kind of strange because the logs show that a request was sent but the only problem was with the $_POST, You would expect not being able to send the request if you don't encode the url and not send a

Re: support F5 to load current page

2010-07-20 Thread Stefan Bachert
Hi Ahmed, try Window.location.reload() 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., 06:13, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: i want to reload current page

Re: Java 7 And Closures

2010-07-20 Thread Sebastian Rothbucher
Hi, well, without wanting to be destructive: where is the big difference compared to the command pattern? I really like GWT's stability and maturity. I'd like to keep it as simple and straightforward as possible. It would be great if that stays as the design goal - and whether or not J7 closures

Re: Docklayout / Fixed size

2010-07-20 Thread Stefan Bachert
Hi Julien, there are at least two ways. a) use the old DockPanel b) Measure the size of your content before adding to DockLayoutPanel. Measuring is somewhat tricky. You have to put the testee in an already attached element. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry,

Re: gwt upload

2010-07-20 Thread rajendra dasari
Actually for normal applications we have to make one serial number for storing the files, because with the same file name having different data. So we have to rename file to some serial number, then you can store your actual name in database, map those two columns. As per your concern if you want

Re: GWT response is allowing only boolean value in IE

2010-07-20 Thread Stefan Bachert
Hi Raj, this does not look like GWT. Do you use GXT (GWT-Ext)? 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., 07:24, raj rajendra.a...@gmail.com wrote: Hi All, I am new to

Re: Cache static data?

2010-07-20 Thread Stefan Bachert
Hi, Html5 supports caching and databases. However, only modern browsers support Html5 When this data changes for all users, consider to recompile your app bi-weekly with new datas. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries

Re: Share user input data within MVP + Lady_Gaga

2010-07-20 Thread Eric
On Jul 19, 9:04 pm, mk munna.kaka.ch...@gmail.com wrote: Thanks a lot. Now if there are three DIFFERENT presenters (say 2a,2b,2c) listening event from 1st presenter. Than do 1st presenter has to create event with all the appro. values required by 2a,2b,2c presenters? In fact, you

Re: Used to be a C++ developer, want to move the front end client to GWT, need a step by step example/tutorial for GWT and mysql database. Appreciate for your help!

2010-07-20 Thread Paul Robinson
GWT is a browser client-side technology and cannot access a mysql database directly. Your GWT code can be given data by your server, and it's your server that connects to mysql. GWT is server-technology agnostic, though it includes some tools to be used with java based servers. So, how you do

Re: Java 7 And Closures

2010-07-20 Thread Christian Goudreau
from what I read about Closures, it won't change the way you use command pattern at all, it'll simplify greatly the way you write nested classes. ex: Before closure command.execute(new myasynccallback() { void onSuccess(Result result) { doSomething } } With closure

Re: GWT UI spacing issue

2010-07-20 Thread Stefan Bachert
Hi, I guess this is an firefox issue not an GWT issue. 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., 03:30, vbhansaly vbhans...@gmail.com wrote: Hi, I have designed a GWT

Best way to chain callbacks?

2010-07-20 Thread g p
OK I am sure all of you have come up against this beast at some time during your development process. In order to get results from a backend server you have to make a series of calls to fetch data. And to make it worse the subsequent calls are based on data collected at the previous steps of this

Re: GWT response is allowing only boolean value in IE

2010-07-20 Thread rajendra dasari
Hi Stefan Bachert, You are correct, I am using both GWT and GWT-Ext, but i don't know why it is working in FireFox fine, and in IE it is going to infinite loop(i.e. it is not at all send back to the response to client side), --- Raj, INDIA. On Tue, Jul 20, 2010 at 7:44 PM, Stefan Bachert

Re: Reusability of GWT UI

2010-07-20 Thread Chris Conroy
Please do not bump threads like this. It's disrespectful, adds unnecessary noise to the list, and it won't get your question answered faster. On Tue, Jul 20, 2010 at 9:47 AM, Vik vik@gmail.com wrote: any one on this plz... Thankx and Regards Vik Founder www.sakshum.com

Re: Cache static data?

2010-07-20 Thread mk
Thanks. However, I am looking for non-HTML5 solution. Is there a better solution to cache than recompiling whole app? Static data may be weekly tips, monthly discounts etc which are applicable for all users. (This is kind of data which changes infrequently) On Jul 20, 8:17 am, Stefan Bachert

Re: Cache static data?

2010-07-20 Thread Arthur Kalmenson
GWT is not responsible for setting cache headers, you have to set them through your HTTP server. -- Arthur Kalmenson On Tue, Jul 20, 2010 at 11:46 AM, mk munna.kaka.ch...@gmail.com wrote: Thanks. However, I am looking for non-HTML5 solution. Is there a better solution to cache than

Re: Serializable vs IsSerialisable

2010-07-20 Thread Thad
Originally, back with GWT 1.1 and 1.2, objects that could be serialized across GWT's RPC layer had to implement com.google.gwt.user.client.rpc.IsSerializable. This interface had no methods, it just had to be implemented. Implementing IsSerializable vs java.io.Serializable was a hassle for those

Serialization policy file found in production mode, but not in hosted mode

2010-07-20 Thread Eric
Hi All, I am get the following error in hosted mode only (production mode works fine): 2010-07-20 08:59:22,114 INFO [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/]](http-0.0.0.0-8001-2) spring-mvc: ERROR: The serialization policy file '[module url]/

Re: Cache static data?

2010-07-20 Thread mk
hmm... we do have HTTP servers which set headers to cache forever. Do anybody uses solution to cache static data (like GWT uses for js files which cache forever and file name is equal to hashmap to prevent 304 calls). Again a solution wherein there is network call to load static data only when

Re: Eclipse - Google Addons are gone after update

2010-07-20 Thread Rajeev Dayal
See the bug details for a workaround. On Tue, Jul 20, 2010 at 5:39 AM, rudolf michael roud...@gmail.com wrote: I had the same problem on Windows 7 and after struggling for several hours i had to restore Windows to a previous check point, it worked like a charm. dunno if the problems is an

Re: Serialization policy file found in production mode, but not in hosted mode

2010-07-20 Thread Eric
Maybe getting closer? I found this ProxyCreator.writeSerializationPolicyFile() method is responsible for determining the serialization policy file name. And it is being called in hosted mode. Is it possible this would generate different file names in hosted vs. production modes?

Re: Serialization policy file found in production mode, but not in hosted mode

2010-07-20 Thread Eric
After much debugging, I saw that the serialization policy file name is based on the full set of serializable types. My gwt-compile ant task has a certain classpath which includes only production source. However, in Eclipse, my classpath includes test source, also. This meant that, running a Gwt

Re: Serializable vs IsSerialisable

2010-07-20 Thread Gal Dolber
Also, If you use IsSerializable is easier to control the rpc serializers explotion 2010/7/20 Thad thad.humphr...@gmail.com Originally, back with GWT 1.1 and 1.2, objects that could be serialized across GWT's RPC layer had to implement com.google.gwt.user.client.rpc.IsSerializable. This

th vs td elements (assistive technology)

2010-07-20 Thread Thad
Calling HTMLTable.setText or .setWidget always creates a td element. ALWAYS. I cannot find a way to create within a FlexTable a th element. There's com.google.gwt.user.client.DOM.createTH() but I don't see how to get it into a FlexTable. True, to most people, there's no difference between th

Re: How to find correctly the client's locale?

2010-07-20 Thread Sorinel C
@Glimpse Thank you for the idea. I've tried myself something similar, but getting the request header Accept-Language and I get the browser language ... but this isn't exactly what I want ... For example, I have set my systems locale to France, but the browser (FF Chrome) have English previously

Send String from GWT TO PHP

2010-07-20 Thread bhargava
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 there any tutorial which can provide me a good idea on how to use json in gwt to send a string variable to another server? Thank you -- You

Serialization policy is driving me crazy

2010-07-20 Thread Christian Goudreau
I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be

Re: Share user input data within MVP + Lady_Gaga

2010-07-20 Thread Mikael Couzic
Well, I pretty much agree with Eric. I believe the event should'nt depend on the listeners, rather it should be defined in consideration of the presenter that fires it. The attributes stored in the event are the ones that make sense in its own context (that helps a lot I know ^^). In your

Re: Remove event handlers or not?

2010-07-20 Thread jay
Urgh. Sorry...never should have mentioned listeners. (Old habits die hard. ) I *should* have written, it seems like you may still need to manually remove handlers of logical events. jay On Jul 19, 4:32 pm, jay jay.gin...@gmail.com wrote: Ah, so that's good for handlers of *DOM* events [e.g.,

Re: Cache static data?

2010-07-20 Thread Arthur Kalmenson
So the HTTP server is setting a cache forever on every resource? I think you might get better answers if you ask on the mailing list of whatever HTTP server you're using. The only way GWT is related to this in any way, is that you can cache the .cache files forever. But this setting is done

Re: th vs td elements (assistive technology)

2010-07-20 Thread Jeff Chimene
On 07/20/2010 10:51 AM, Thad wrote: Calling HTMLTable.setText or .setWidget always creates a td element. ALWAYS. I cannot find a way to create within a FlexTable a th element. There's com.google.gwt.user.client.DOM.createTH() but I don't see how to get it into a FlexTable. What's the use

Re: Serialization policy is driving me crazy

2010-07-20 Thread olivier nouguier
Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name

Re: Serialization policy is driving me crazy

2010-07-20 Thread Christian Goudreau
I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does

Re: Serialization policy is driving me crazy

2010-07-20 Thread olivier nouguier
Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface

Re: Serialization policy is driving me crazy

2010-07-20 Thread Christian Goudreau
Yes they are... public class GetCountries extends ActionImplGetResultsCountry { public GetCountries() {} } public class GetDepartments extends ActionImplGetResultsDepartment { public GetDepartments() {} } Exact sane declaration. public class GetResultsT implements Result { private ListT

Re: Serialization policy is driving me crazy

2010-07-20 Thread Christian Goudreau
Ok it work now... While pasting the code here I saw a little something... public class GetResultsT implements Result { I changed this line for : public class GetResultsT extends DTO implements Result { And now it works... what I still don't understand is why some were working and others

Re: Sync AJAX ( instead of async)

2010-07-20 Thread Prakash
Its not possible with GWT. refer below link. http://code.google.com/webtoolkit/doc/latest/FAQ_Server.html Regards, Prakash M. On Jul 20, 10:06 am, mk munna.kaka.ch...@gmail.com wrote: How to make an GWT AJAX call Sync (instead of async) billion years back we used to use a flag as below. how

Re: th vs td elements (assistive technology)

2010-07-20 Thread Thad
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 document management system. The tables are not fixed; they are

Re: Serialization policy is driving me crazy

2010-07-20 Thread olivier nouguier
There is no magic ;) GWT compiler must find working dto implied in some serialization (service interface). Perhaps a cache issues :-/ but I don't really think it is :) Best regard, Olivier. On Tue, Jul 20, 2010 at 9:02 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok it work

Re: Serialization policy is driving me crazy

2010-07-20 Thread Christian Goudreau
Anyway the main problem is that I overlooked the need to force generic to extends IsSerializable or Serializable even if I knew it ! For those who read this while searching, don't forget this ! :) Another something to help for whom who have problems like this :

Re: th vs td elements (assistive technology)

2010-07-20 Thread Jeff Chimene
On 07/20/2010 12:19 PM, Thad 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 document management system.

Re: file upload set filter

2010-07-20 Thread lineman78
http://www.w3schools.com/TAGS/att_input_accept.asp On Jul 20, 2:01 pm, Paachu binu...@gmail.com wrote: Hi, I need to  upload one csv file into my application. I am using FileUpload compontent to  upload the File. But when I use FileUpload, the FileUploadDialog displayed All files.. I need

Re: GWT/iphone/phonegap server communication

2010-07-20 Thread Youen
Thanks, it match to my needs. I'll make it works Regards, Youen Chéné On 15 juil, 16:13, Arthur Kalmenson arthur.k...@gmail.com wrote: We also ran into this issue while building a GWT based iPhone app using phonegap. We also didn't want to use JSONp as our servers were Java based and

iframe JS code linker

2010-07-20 Thread opichals
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 markup. I have been searching for the reason that led to having

Invocation Exception at Run time

2010-07-20 Thread kiss_...@yahoo.com
Hi, Actually our application deals with monitoring the websites. when we make the request through our application we start storing all the resources required by the site (like jpeg,png,hlp,html,js etc) sent the by the webiste in the DB. and then subsequently store all the responses until the

Event Handler Registrations

2010-07-20 Thread Nathan Wells
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 developers didn't have to worry about it. Is it just to allow

Re: Compiler Bug in 2.1.0.m2

2010-07-20 Thread Olivier Monaco
If you think so, star the issue On 20 juil, 15:46, Paul Stockley pstockl...@gmail.com wrote: The GWT team needs to be all over issues like this. Nothing will put people off GWT quicker than a flaky compiler you cannot depend on. On Jul 20, 5:53 am, Olivier Monaco olivier.mon...@free.fr wrote:

Re: remove old javascript file

2010-07-20 Thread bhomass
I found a number of conflicting comments concerning this. And, even if they are in sync, I have questions on how to set cache control. 1. you stated - *Never Cache* - The bootstrap module- name.nocache.js, and your host html/jsp page falls under this category. The browser should never cache. but

Re: Share user input data within MVP + Lady_Gaga

2010-07-20 Thread PhilBeaudoin
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 gwt-platform and has a number of advantages provided the parameter is

VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?

2010-07-20 Thread Magnus
Hi, I want to show the contents of a log file inside a StackPanel. The log file itself is a class LogPanel based on a VerticalPanel. Because the log file grows, I added an intermediate ScrollPanel (see code below). The problem: The ScrollPanel never shows scrollbars. Instead, it grows as the

How to adding a MenuItemSeparator in the UiBinder

2010-07-20 Thread Craigo
Hi all, Want to add a Menu Item Separator to a Menu Bar using the UiBinder? Here is a workaround. It is not possible to do this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItemSeparator/g:MenuItemSeparator g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar As

How to add a MenuItemSeparator using the UiBinder

2010-07-20 Thread Craigo
Hi all, Only MenuItems are allowed in the MenuBar, so it is not possible to do this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItemSeparator/g:MenuItemSeparator g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar However, a cheeky workaround is to make a

CellTree problem/question

2010-07-20 Thread gpan...@gmail.com
It seems CellTrees are 'collapsed' by default when they are created. Though inspection of the source code indicates they should be open be default. Is there any way to programatically expand a cell tree node? -- You received this message because you are subscribed to the Google Groups Google

Re: create hyperlink using GWT

2010-07-20 Thread Prashant Hegde
How about using Anchor widget? Prashant On 21-07-2010 07:25, Lu 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()'.

Re: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?

2010-07-20 Thread Prashant Hegde
The way I would go about doing this is as follows, see if this works for you or gives any hints: 0. Make sure you are in STANDARDS mode. 1. Use StackLayoutPanel and add it to your parent LayoutPanel ( mixing StackPanel with a DockLayoutPanel gives unpredictable results - so some one has said

Re: file upload set filter

2010-07-20 Thread aditya sanas
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 linema...@gmail.com wrote: http://www.w3schools.com/TAGS/att_input_accept.asp On Jul 20, 2:01 pm, Paachu binu...@gmail.com

Re: getting date/time on client?

2010-07-20 Thread Magnus
Hi, works thanks! Magnus -- 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

Re: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?

2010-07-20 Thread Magnus
Hi Prashant, I have done everything you said, with some losings, but also without success (scrollbars): - I changed the StackPanel into a StackLayoutPanel - then, the CSS padding (10px) has no effect anymore (the stack is aligned directly at the left edge, without space, but ok) - I added

Opening a file

2010-07-20 Thread rajan kochhar
I am trying to read an excel file as follows: public class LMSServiceImpl extends RemoteServiceServlet implements LMSService{ public String getExcel(String path) { String r=null; try { File file = new File(D:/q.xls);

Re: How to add a MenuItemSeparator using the UiBinder

2010-07-20 Thread Craigo
FYI: The GWT menus don't seem to work on Android phones (and possibly others). Probably better to go with standard CSS menus like these ones: http://www.lwis.net/free-css-drop-down-menu/ On Jul 21, 10:14 am, Craigo craig...@gmail.com wrote: Hi all, Only MenuItems are allowed in the

[gwt-contrib] Re: Moving the Cookbook examples into Showcase. Also updates a few examples in Showcase that used de... (issue704801)

2010-07-20 Thread jlabanca
http://gwt-code-reviews.appspot.com/704801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

  1   2   >