Re: How to hot fix a common GWT widget without recompiling the GWT module?

2010-10-14 Thread mmoossen
hi Daniel! if the fix affects only non-private members, the best is to extend the widget by your own. if not possible, then one possibility i have been using is super- source. hth Michael On Oct 14, 2:35 pm, Daniel dan...@gmail.com wrote: I have a common GWT widget and is used in many GWT

Re: Howto: RPC with Http GET

2010-08-28 Thread mmoossen
good hint! thanks for sharing Michael On Aug 28, 11:29 am, George Georgovassilis g.georgovassi...@gmail.com wrote: There've been some requests to perform RPC invocations with HTTP GET, as the response is cacheable by the browser (and if you believe the word on the net, it's faster [1] than

Re: Handling too many locales in a large scale real life app

2010-08-28 Thread mmoossen
good hint, i did not know about the epfe plugin, looks promising. thanks for sharing Michael On Aug 28, 3:57 am, Gal Dolber gal.dol...@gmail.com wrote: Checkout this plugin:http://sourceforge.net/projects/epfe/ 2010/8/27 Fernando spiderkens...@gmail.com So, in my company we face a

Re: Software testing

2010-07-13 Thread mmoossen
hi, anabillo! for me the best design for testability is to start writing the test cases (at least the unit test cases) before writing the actual code! HTH Michael PS: and what has that to do with GWT? On Jul 13, 1:17 am, anabillo bilal.all...@gmail.com wrote: Hello Guys , I start writing a

Re: Does a private variable in Java stays private when compiled to javascript?

2010-06-17 Thread mmoossen
hi, Shedokan! does it matters? first the generated code is obfuscated so you wont find your class, ctor or var so easily. second the GWT compile optimizes a lot, so it could inline any use of your var and completely remove it. HTH Michael On Jun 16, 5:23 pm, Shedokan shedok...@gmail.com wrote:

Re: Final fields and DeRPC

2010-06-11 Thread mmoossen
+1 regards Michael On Jun 10, 7:58 pm, hbf kaspar.fisc...@dreizak.com wrote: Hi, Does the new RPC mechanism, DeRPC, see  http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat... offer serialization of non-static final fields? We have so many immutable classes that use

Re: using gwt for games - svg, canvas or something else?

2010-06-11 Thread mmoossen
hi Aljosa! i have no idea which one is better (svg or canvas) nor which one has better browser support nor which one has better gwt support. i only know this is the most amazing game implementation for a browser i have ever seen: http://code.google.com/p/quake2-gwt-port/ regards Michael On Jun

Re: Compilation NullPointerException

2010-06-10 Thread mmoossen
hi daniel, stefan! i have not had this problem, but wow, i would have never come to that idea, never ever!! but this looks pretty much to me like a compiler bug so it would be good to file an issue, just to get it first better documented. i mean non static inner classes are valid java cosntructs

Re: Google first page - Change background image - in GWT?

2010-06-10 Thread mmoossen
Hi, Matic! It would be a really huge reference i think Google Wave is a better example anyway! regards Michael On Jun 9, 3:03 pm, rudolf michael roud...@gmail.com wrote: yeah you're right...just the obfuscated js made think that it is GWT, but apparently there is not

Re: SerializerBase.check(String,int) throws useless exception?

2010-06-07 Thread mmoossen
hi, would not it be better to have a compilation error in such case, with precise information like class and problem description?? see http://code.google.com/p/google-web-toolkit/issues/detail?id=4828 regards Michael On Jun 3, 6:15 am, Sripathi Krishnan sripathi.krish...@gmail.com wrote:

Re: Changing CSS on the fly

2010-06-02 Thread mmoossen
hi fmod! it is possible, but not out of the box nor easy to implement nor good practice. just use a composite rule with some parent like the body element, ie. .longItems .myRule { width: 500px; } and do: RootPanel.getBodyElement().setClassName(longItems); of course, using a css resource bundle

Re: How to center a VerticalPanel on page with UiBinder

2010-06-02 Thread mmoossen
hi Mark! you should take a look at this in first place: http://blog.themeforest.net/tutorials/vertical-centering-with-css/ HTH Michael On May 30, 3:51 pm, Tristan tristan.slomin...@gmail.com wrote: have you tried... g:HorizontalPanel width=100%   g:Cell horizontalAlignment=ALIGN_CENTER    

Re: How to make a TextBox without the focus bar around it (the yellow/orange bar in Chrome)

2010-05-26 Thread mmoossen
hi lucas! i think what you are looking for is: outline: none; HTH Michael On May 25, 10:18 pm, outsource lucas outsourcelu...@gmail.com wrote: I know that you can edit text areas in google wave without getting the default yellow focus bar (yellow/orange in Chrome) around the area and google

Re: On GWT I18N

2010-05-25 Thread mmoossen
Hi, we do also prefetch all messages in the host page and it works pretty well for us. Michael On May 24, 7:23 pm, Alexandros Papadakis alpa...@gmail.com wrote: On Mon, May 24, 2010 at 7:11 PM, Thomas Broyer t.bro...@gmail.com wrote: On 24 mai, 17:30, Alexandros Papadakis alpa...@gmail.com

Override annotation preventing compilation

2010-05-25 Thread mmoossen
Dear all, I have a serializable object that overrides the Object.clone() method and implements the cloneable interface. and i have the problem that eclipse (and me too) wants to have the Override annotation but while compiling the GWT compiler fails with following error message [java][ERROR]

Re: Found interface com.google.gwt.user.client.Element, but class was expected

2010-05-25 Thread mmoossen
a class AND I refresh the browser. Do you have anything in your environment that gets involved in class lifecycles? I haven't solved my problem yet, but maybe we can find something in common between our problems. -Brian On May 19, 5:06 am, mmoossen mmoos...@gmail.com wrote: Dear all

Re: Override annotation preventing compilation

2010-05-25 Thread mmoossen
compiler with source=1.5 does not trigger this error. Finally, eclipse is the third culprit. It automatically puts in those annotations, and I haven't yet figured out a way to tell it don't put those annotations when I am implementing an interface.. --Sri On 25 May 2010 15:49, mmoossen

Re: UIObject getOffsetWidth() method returning absurd value for IE

2010-05-25 Thread mmoossen
Hi tapas! that is most likely a timing issue. what i mean is that you have to check that: - your widget is attached to the doc when calling that method, *AND* - that it is also visible! HTH Michael On May 25, 7:09 am, Tapas Adhikary tapas4...@gmail.com wrote: Hi all,, Can anybody give any

Re: Override annotation preventing compilation

2010-05-25 Thread mmoossen
for your clone() to override. Paul mmoossen wrote: hi Sri! i thought it was something like that but: - i am using java 1.6 - clone() is a method in Object and not in the interfac, and - as said, eclipse wants that annotation (if not i get a warning) and i get an error only when

Re: MyNamedFrame is better than GWT's NamedFrame

2010-05-21 Thread mmoossen
hi sky! that looks pretty much like our implementation...;) this is the problem of such a big toolkit like GWT, there are too many 'features' (like widgets, rpc, jre emulation, java-to-js compilation, the new data driven widgets and so on) which is great for a fast start and even enough for many

Re: Using JS to access GWT generated JS code

2010-05-20 Thread mmoossen
check also gwt-exporter: http://code.google.com/p/gwtchismes/wiki/Tutorial_ExportingGwtLibrariesToJavascript_en HTH Michael On May 20, 7:17 am, Sky myonceinalifet...@gmail.com wrote: Check out these two sections:http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI...

Re: Client side dynamic configuration/properties

2010-05-20 Thread mmoossen
What's about rpc-prefetching? http://development.lombardi.com/?p=1329 HTH Michael On May 20, 3:16 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: You need to create some .properties file on the server side. And every client must make request for it. If it is on the client side it could

Found interface com.google.gwt.user.client.Element, but class was expected

2010-05-19 Thread mmoossen
Dear all! I am getting following error message: Found interface com.google.gwt.user.client.Element, but class was expected when doing something like: myWidget.getElement().getStyle().setOpacity(0); where myWidget has been just attached to the doc a few LoC before. it is not reproducible, it

Re: Classname table in generated JS

2010-05-18 Thread mmoossen
as a security measure, because there are several ways to bypass it, syncproxy being one of them. My point was that this particular feature is a performance issue and in no way a security issue. --Sri On 18 May 2010 01:35, mmoossen mmoos...@gmail.com wrote: Hi again! btw, i checked

Re: Synchronous Calls with RPC??

2010-05-17 Thread mmoossen
or approach. Suggest good tools. Reframe the question. Regards, Olivier On 16 mai, 08:39, mmoossen mmoos...@gmail.com wrote: Hi, Despite that i wrote the patch for sync-rpc, I completely agree with kozura that in this case sync-rpc would be a bad idea. BUT, who cares? if fomba wants to use

Classname table in generated JS

2010-05-17 Thread mmoossen
Dear all! i just found this: http://degwt.googlecode.com and i was really surprised to actually find a classname table in the generated production js code. i know that the rpc classes and methods are used (which i do not like very much, but that is another story). but i do not see any need for

Re: Classname table in generated JS

2010-05-17 Thread mmoossen
/wiki/NoClassMetadataOptim... Olivier On 17 mai, 12:18, mmoossen mmoos...@gmail.com wrote: Dear all! i just found this:http://degwt.googlecode.com and i was really surprised to actually find a classname table in the generated production js code. i know that the rpc classes

Re: Classname table in generated JS

2010-05-17 Thread mmoossen
Monaco olivier.mon...@free.fr wrote: Hi, Maybe it's about this : http://code.google.com/p/google-web-toolkit/wiki/NoClassMetadataOptim... Olivier On 17 mai, 12:18, mmoossen mmoos...@gmail.com wrote: Dear all! i just found this:http://degwt.googlecode.com and i was really

Re: Synchronous Calls with RPC??

2010-05-17 Thread mmoossen
and ugly!  Instead GWT forces you to understand this issue up front, when you can do a better clean design that fits the problem. On May 17, 12:37 am, mmoossen mmoos...@gmail.com wrote: i completely agree with you Oliver! i said already that i think that sync-rpc is a really bad idea

Re: Synchronous Calls with RPC??

2010-05-16 Thread mmoossen
Hi, Despite that i wrote the patch for sync-rpc, I completely agree with kozura that in this case sync-rpc would be a bad idea. BUT, who cares? if fomba wants to use it, it is up to him, if his application is not responsive it is his problem not mine. (this reminds me the apple-adobe conflict:

Re: Lightweight Metrics in Firebug Console -- a bookmarklet

2010-05-15 Thread mmoossen
Hi Sri! i did check these lightweight metrics just a couple of weeks ago programming a small metrics panel, but your solution is far better! Thank you very much for sharing. Michael On May 14, 11:20 am, Sripathi Krishnan sripathi.krish...@gmail.com wrote: I created a

Re: Roadmap?

2010-05-13 Thread mmoossen
other parts i have seen developing are: - lightweight collections (http://code.google.com/p/google-web-toolkit/ wiki/LightweightCollections) - logging - serializable unmodifiable collections - BigInteger co translation but i have to say that i can not really follow developers priorities, i mean

Re: How to prevent the big and specific file to be uploaded

2010-05-05 Thread mmoossen
i am also interested in a way to do that... there has to be a way, since gmail as well as youtube both check the file size limit before uploading... but most likely it is flash :( regards Michael On May 5, 1:38 pm, abhiram wuntakal abhir...@gmail.com wrote: Hey Ankit,   AFAIK, you wont get

Re: Synchronized RPC requests

2010-05-03 Thread mmoossen
now improved patch providing a simple to use @SynchronizedRpcRequest annotation ;) HTH Michael On Apr 29, 4:20 pm, mmoossen mmoos...@gmail.com wrote: Dear all! i just submitted a patch for sync-rpc:http://code.google.com/p/google-web-toolkit/issues/detail?id=4898 may be somebody can use

Re: Problem with Window.ClosingHandler

2010-05-03 Thread mmoossen
Hi Bruno! the problem is that RPC methods are async, so you fire the RPC request, and the page is unloaded before the request finishes, leaving your app in a unknown state. my solution is to teach gwt to handle sync rpc requests. see

[gwt-contrib] Re: How to serialize client side objects to string?

2010-05-03 Thread mmoossen
?? thanks Michael On Apr 29, 3:56 pm, mmoossen mmoos...@gmail.com wrote: please, somebody help! thanks Michael On Apr 27, 2:54 pm, mmoossen mmoos...@gmail.com wrote: Dear all! i tried the described RPC prefetching mechanism and i am facing one problem: first, on the server-side

[gwt-contrib] Re: How to serialize client side objects to string?

2010-05-03 Thread mmoossen
i thought i was subscribed to lombardi dev channel, but i was not :( but now i am, at least i hope so ;) thanks for the ref Michael On May 3, 11:34 am, Thomas Broyer t.bro...@gmail.com wrote: On May 3, 10:32 am, mmoossen mmoos...@gmail.com wrote: i got it working the problem

Synchronized RPC requests

2010-04-29 Thread mmoossen
Dear all! i just submitted a patch for sync-rpc: http://code.google.com/p/google-web-toolkit/issues/detail?id=4898 may be somebody can use it ;) HTH Michael -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

[gwt-contrib] Re: How to serialize client side objects to string?

2010-04-29 Thread mmoossen
please, somebody help! thanks Michael On Apr 27, 2:54 pm, mmoossen mmoos...@gmail.com wrote: Dear all! i tried the described RPC prefetching mechanism and i am facing one problem: first, on the server-side to serialize/RPC.encode(...) i need the serialization policy, but i need the strong

[gwt-contrib] Re: How to serialize client side objects to string?

2010-04-27 Thread mmoossen
. thanks Michael On Apr 26, 7:55 pm, mmoossen mmoos...@gmail.com wrote: Hi, thomas! good hint that RPC prefetching method... i was using json for that, but with this method i can skip the java to json conversion, cool ;) thanks for sharing Michael --http://groups.google.com/group/Google-Web

[gwt-contrib] Re: How to serialize client side objects to string?

2010-04-26 Thread mmoossen
Hi, thomas! good hint that RPC prefetching method... i was using json for that, but with this method i can skip the java to json conversion, cool ;) thanks for sharing Michael -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: RPC Obfuscation

2010-04-24 Thread mmoossen
an answer for your question, but why don't you use SSL? I can't trust my data going and coming without been encrypted. This way you don't need to worry about obfuscation. Hope can help. Regards. Tercio On Apr 22, 10:47 am, mmoossen mmoos...@gmail.com wrote: dear all! i am

Re: RPC Obfuscation

2010-04-24 Thread mmoossen
good hint Thomas, i did now about that. i will try it now. thanks Michael On Apr 24, 11:28 am, Thomas Broyer t.bro...@gmail.com wrote: On Apr 24, 10:02 am, mmoossen mmoos...@gmail.com wrote: Well, I don't have an answer for your question, but why don't you use SSL? it is not about

Re: Adding custom code before making RPC calls to server,,,,

2010-04-24 Thread mmoossen
hi samurai! check out this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/beea0609e288fa56/6b304eb69b5c92ee HTH Michael On Apr 24, 9:09 pm, keyboard_samurai yog...@gmail.com wrote: Hi , I need to know if there is a way we can inject in a piece of code when

RPC Obfuscation

2010-04-22 Thread mmoossen
dear all! i am preparing for going online, so i started to try out the RPC obfuscation mechanism: inherits name=com.google.gwt.user.RemoteServiceObfuscateTypeNames / and to my surprise (or not, if you stop to read the module name) only classnames get obfuscated but not method names (from the

Re: RPC Endpoints and threads

2010-04-15 Thread mmoossen
Hi, Paul! if you really want one service instance per thread make your service additionally implement SingleThreadModel. or you could also use the standard synchronization mechanism. HTH Michael On Apr 15, 10:48 am, Sripathi Krishnan sripathikrish...@gmail.com wrote: Servlet containers

Re: Exception trace/logging

2010-04-14 Thread mmoossen
that is a really good hint for debugging RPC calls, until now i was using just a breakpoint there... thanks for sharing Michael On Apr 14, 12:09 pm, Sripathi Krishnan sripathikrish...@gmail.com wrote: In your RPC Servlet, override the doUnexpectedFailure(Throwable t)  method and log the stack

configuration properties

2010-04-14 Thread mmoossen
dear all! i just learned this: set-configuration-property name=CssResource.style value=pretty / which takes me to ask the question: is there anywhere a complete list of supported configuration properties? or which configuration properties do you use/know? google (search) could not find much :(

Re: firebug aborted *.cache.html

2010-04-13 Thread mmoossen
From time to time, i have the same problem here... right now with the hosted.html and i think only in dev mode, but not sure... Michael On Apr 12, 7:26 pm, Simon Botting simon.bott...@enbuenosaires.com wrote: Hi, In firefox firebug a red message is showing in the net tab that the request for

Unmodifiable Collections Serialization

2010-04-12 Thread mmoossen
Dear all! currently i am not able to serialize unmodifiable collections getting some exception because the class signature can not found in the serialization policy file. so i thought let's just create a dummy RPC method explicitely declaring Collections.EmptyList and co. as parameters to tell

Re: Unmodifiable Collections Serialization

2010-04-12 Thread mmoossen
on my progress Michael On Apr 12, 9:43 am, mmoossen mmoos...@gmail.com wrote: Dear all! currently i am not able to serialize unmodifiable collections getting some exception because the class signature can not found in the serialization policy file. so i thought let's just create a dummy RPC

Re: Unmodifiable Collections Serialization

2010-04-12 Thread mmoossen
to extend the TypeSerializerCreator but it is hard wired the same as the ProxyCreator :( any idea on how to continue without patching GWT? thanks Michael On Apr 12, 11:19 am, mmoossen mmoos...@gmail.com wrote: well, i created my own serialization policy facade that does whitelist

Re: custom serialization

2010-04-10 Thread mmoossen
thanks for the reply. i just filed an enhancement request: http://code.google.com/p/google-web-toolkit/issues/detail?id=4843 thanks Michael On Apr 9, 4:38 pm, Thomas Broyer t.bro...@gmail.com wrote: On Apr 9, 3:28 pm, mmoossen mmoos...@gmail.com wrote: dear all! i am using a legacy class

custom serialization

2010-04-09 Thread mmoossen
dear all! i am using a legacy class with gwt. first i got it working on the client using super-source :) but then serialization was not working so i had to write a CustomFieldSerializer which is actually also working :) i have now only one question: is there any way to have the serializer class

Re: RPC call in onModuleLoad()? Is it good approach??

2010-03-26 Thread mmoossen
we do generate json data in the host page (with JSP) to save that first RPC. HTH Michael On Mar 26, 8:11 am, jocke eriksson jock...@gmail.com wrote: Well I am no expert on the subject but I have also seen that video. I think the best solution is to download the data with your hostpage. But for

Re: Piriti: JSON and XML mapper

2010-03-26 Thread mmoossen
looks great, i will give it a try. thanks for sharing Michael On Mar 26, 1:29 pm, Harald Pehl harald.p...@googlemail.com wrote: Hi everyone, I'm pleased to announce Piriti 0.3.1. Piriti is a JSON and XML mapper for GWT. It is based on annotations and deferred binding. Here are some of the

Re: Determining Permutation on Server

2010-03-24 Thread mmoossen
+1 great idea, i think caching has to be handled carefully but there should not be any stoppers. Michael On Mar 23, 5:15 pm, Nathan Wells nwwe...@gmail.com wrote: Ooo good point... but couldn't you just set caching headers on the result? I guess I'm not clear on the intricacies of how each

Re: gwt app partially loaded but user can interact

2010-03-24 Thread mmoossen
Hi, Mariyan! you have just to set window.onload handler in your module's entry point, ie: (we aware that i have not tried to compile it, and i am not sure if it will trigger if installed after the window is actually load, which could happen for instance when the images are in the browser cache)

Re: gwt app partially loaded but user can interact

2010-03-24 Thread mmoossen
the point is that your EntryPoint#onModuleLoad method triggers at document load, which is when the dom is ready, but not when the images are ready, so you have to wait until the window load event is triggered. that is all. HTH Michael On Mar 24, 12:45 pm, mariyan nenchev

Re: Bug in eclipse plugin with UiBinder define in an inner class

2010-03-17 Thread mmoossen
hi, I just ran into the same issue. but i did change the code before trying to compile, so i still have the question: it is just an eclipse error, or will also the compiler fail in finding the xml file? thanks Michael On Mar 17, 8:14 pm, Jason Parekh jasonpar...@gmail.com wrote: Hi Bilousme,

Generated widget markup

2010-03-12 Thread mmoossen
Dear all! i was surprised, even disappointed, when i realized how GWT (ab)uses html tables. For instance the vertical panel and the tree widget ARE html tables. why it is so?? should not it be much better just to use a list of DIVs (or even a UL) for the vertical panel and nested ULs for the

Re: Generated widget markup

2010-03-12 Thread mmoossen
mode, and you can make do without Tables (VerticalPanel etc). You can still use them for data tables, in which case they're semantically correct. On Mar 12, 2:19 pm, mmoossen mmoos...@gmail.com wrote: Dear all! i was surprised, even disappointed, when i realized how GWT (ab)uses html

Re: Generated widget markup

2010-03-12 Thread mmoossen
GWT 2.0 Layout Panel address pretty much that - they're designed for standards mode, and you can make do without Tables (VerticalPanel etc). You can still use them for data tables, in which case they're semantically correct. On Mar 12, 2:19 pm, mmoossen mmoos...@gmail.com wrote: Dear

[gwt-contrib] Generated widget markup

2010-03-12 Thread mmoossen
Dear all! i was surprised, even disappointed, when i realized how GWT (ab)uses html tables. For instance the vertical panel and the tree widget ARE html tables. why it is so?? should not it be much better just to use a list of DIVs (or even a UL) for the vertical panel and nested ULs for the

Re: Keeping Dialog Boxes Centered after Window Events

2010-03-11 Thread mmoossen
Hi, patrick! i think your problem is just this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=4720can=4 i had a very similar setup and using the recommended patch did solve all my problems. HTH Michael On Mar 11, 6:37 pm, Patrick Tucker tucker...@gmail.com wrote: I have

Re: Serializing a List

2010-03-10 Thread mmoossen
thanks eric for the info. that seems to be an interesting project. Michael On Mar 9, 5:19 pm, Eric erjab...@gmail.com wrote: On Mar 9, 2:41 am, mmoossen mmoos...@gmail.com wrote: i found the problem inhttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/... line 114

Re: server side internationalization

2010-03-10 Thread mmoossen
that looks really great. thanks for sharing Michael On Mar 10, 7:32 am, Sebastien chassa...@gmail.com wrote: Hi I extracted the code to a dedicated project:http://code.google.com/p/gwt-i18n-server/ Now It supports Constants, ConstantsWithLookup, Messages (plural included). Regards, Seb

Re: Using legacy code

2010-03-08 Thread mmoossen
well i found the answer: super-src with it you can have different classes for server and client. and it is how GWT provides JRE classes on the client. just what i was looking for. but i am a bit disappointed by the 0 answers i got. HTH Michael -- You received this message because you are

RPC Serialization Policy Wrong Magic Number

2010-03-08 Thread mmoossen
Dear All! I am having following problem: i have my serializable bean to be used as result of a RPC service. everything was working but suddently i started to get following error message: The response could not be deserialized i debugged the problem until the

Re: RPC Serialization Policy Wrong Magic Number

2010-03-08 Thread mmoossen
... so the solution was just to remove the final flag from the fields i wanted to serialize. HTH Michael On Mar 8, 2:55 pm, mmoossen mmoos...@gmail.com wrote: Dear All! I am having following problem: i have my serializable bean to be used as result of a RPC service. everything was working

Serializing a List

2010-03-08 Thread mmoossen
Dear all! i want to serialize a bean that has a field of type java.util.ListT but while serializing i get following error message: com.google.gwt.user.client.rpc.SerializationException: Type 'java.util.Collections$UnmodifiableRandomAccessList' was not included in the set of types which can be

Re: Serializing a List

2010-03-08 Thread mmoossen
is emulated, so it would work. On Mar 8, 7:06 am, mmoossen mmoos...@gmail.com wrote: Dear all! i want to serialize a bean that has a field of type java.util.ListT but while serializing i get following error message: com.google.gwt.user.client.rpc.SerializationException: Type

war folder in eclipse

2010-02-28 Thread mmoossen
Dear all! my GWT application can only run in the context of a CMS so it does not make any since for my project to have the war folder. but the eclipse plugin tries to enforce it. any chance to get rid of it? thanks Michael -- You received this message because you are subscribed to the Google

Re: Adding new locale without compiling

2010-02-26 Thread mmoossen
://code.google.com/intl/en/webtoolkit/doc/latest/DevGuideI18n.htm... The hard part - that you must resolve - is how to mix dinamic and static I18N. Hope it helps And Dictionar On 25 feb, 20:43, mmoossen mmoos...@gmail.com wrote: Dear all! i was wondering what is the best way to add support

Re: serving my app in production

2010-02-26 Thread mmoossen
to set this up, let me know.. NTDeaf On Feb 25, 8:07 pm, mmoossen mmoos...@gmail.com wrote: dear all! i just wanted to know what are the best practices for serving my gwt app in production. i mean, in my case, there will be an apache http server in front of tomcat communicating via

Adding new locale without compiling

2010-02-25 Thread mmoossen
Dear all! i was wondering what is the best way to add support for a new locale without compiling the whole module again. my use case, to distribute a CMS plugin written in GWT and we want that users can easily localize it. in java. you just put an additional properties file to the right package

Re: Why does GWT use UserAgent Sniffing?

2010-02-25 Thread mmoossen
thanks dave for sharing :) i think i will start using your code for browser identification Michael On Feb 25, 10:44 am, DaveC david.andrew.chap...@googlemail.com wrote: Thanks for all the replies. Thomas, I get your point - but I don't agree ;o), I think there are more reliable ways for

serving my app in production

2010-02-25 Thread mmoossen
dear all! i just wanted to know what are the best practices for serving my gwt app in production. i mean, in my case, there will be an apache http server in front of tomcat communicating via mod-jk. so, what are your experiences with compression, setting cache headers, etc? thanks Michael --

extending client classes

2010-02-25 Thread mmoossen
dear all! i have following use case: i have, for instance, a client class that is responsible to add the widgets to a dialog and i would like that my gwt app would be so extensible that 'users' can change the behaviour of that case to display other widgets in the dialog. in java, i would have a

[gwt-contrib] Re: RPC policy files usage?

2010-02-25 Thread mmoossen
dear all! what we do is at compilation time, with ant, to move the policy files to the package of the server side implementation of the service, and to use following loader: /** * We do not want that the server goes to fetch files from the servlet context, so we keep the .gwt.prc files

Re: Best approach for modifying meta data?

2010-02-22 Thread mmoossen
hi Dariusz! you should NOT set the keywords via a RPC call. since that info is only usefull to search engine robots, and they do not understand nor execute js code, your rpc call wont never be executed... just do it the 'OLD' way, getting the keywords from DB when rendering the page. HTH

Re: Best approach for modifying meta data?

2010-02-22 Thread mmoossen
, mmoossen mmoos...@gmail.com wrote: hi Dariusz! you should NOT set the keywords via a RPC call. since that info is only usefull to search engine robots, and they do not understand nor execute js code, your rpc call wont never be executed... just do it the 'OLD' way, getting the keywords

Re: Using legacy code

2010-02-17 Thread mmoossen
) gwt code: - BeanService - method SharedBean getBean() { return LegacyFactory.getBean(); } can somebody tell what is wrong here? or how to achieve something similar? many thanks Michael On Feb 16, 1:23 pm, mmoossen mmoos...@gmail.com wrote: Dear all! i am wondering if the is a good way

RPC service reading .gwt.rpc file from servlet context

2010-02-17 Thread mmoossen
Dear all! i am quite new to GWT and i just realized that the rpc service implementations read the so called serialization policy files (strongname.gwt.rpc) from the servlet context, which is quite problematic if using a cms webapp. so i overwrote the

rpc service interface

2010-02-17 Thread mmoossen
Dear all! gwt encourages(forces) you to have following strcuture for writing a rpc service: - package.client: - Service - ServiceAsync - package.server: - ServiceImpl implements Service - package.shared: - Bean so at the end when i compile the server side code i get: - package.client

Using legacy code

2010-02-16 Thread mmoossen
Dear all! i am wondering if the is a good way to re-use legacy code in GWT. the use case is to extend a well established webapp with GWT, where the legacy code has several beans that perfectly fit in the 'shared' package of a GWT module, ie. that can/should be used in the server, as well as