Re: gwt httpclient and json

2009-10-09 Thread Marcelo Emanoel B. Diniz
with RequestBuilder can you only contact the server that the application is on... but since you are using json as data interchange format you can use the json padding technique and can contact any server :D http://code.google.com/webtoolkit/articles/using_gwt_for_json_mashups.html On Oct 9,

Re: Wiping application memory on the broser after user logout or window/tab close

2009-10-07 Thread Marcelo Emanoel B. Diniz
as said earlier there's no way to trigger the browser's garbage collector but you could help him and set to null some references... unregister any handlers you have... and so on :) this should point to the garbage collector that it should free that memory hope it helped you On Oct 7, 8:32 am,

Re: problem in storing and retreiving multi lingual data

2009-08-26 Thread Marcelo Emanoel B. Diniz
on eclipse you can change the encoding of your project... try it.. you should always use only one encoding... for everything... or else you end up with problems like this... try to set your project encoding to utf-8 and see if it solve your problem :) On Aug 27, 2:33 am, vasem want

Re: Plain OO question

2009-08-25 Thread Marcelo Emanoel B. Diniz
I would implement something diferent... each Course would have a CourseCalculator for instance... and then diferent types of calculator could be injected... public interface CourseCalculator { public Double calculate(); } public class Course { private CourseCalculator calculator;

Re: Is there a way to add a mouselistener to a treeitem that has these properties?

2009-07-09 Thread Marcelo Emanoel B. Diniz
Have you tried to wrapp the treeitem and then add the mouse listener to the wrapper? it should work like you want :) On Jul 9, 3:32 pm, ProtoLD protosh...@gmail.com wrote: Is there any response on this?  Working as intended...somehow?  Even though it doesn't work? On Jul 8, 4:03 pm, ProtoLD

Re: Runtime.exec()

2009-07-06 Thread Marcelo Emanoel B. Diniz
Your only way to do it is through signed applets :) there is a project that helps to integrate applets and gwt http://code.google.com/p/gwtai On Jul 6, 4:28 am, brett.wooldridge brett.wooldri...@gmail.com wrote: You can't do it, dude.  There is no way out of the JavaScript sandbox unless

Re: same-origin security restriction

2009-06-28 Thread Marcelo Emanoel B. Diniz
the problem is with the port that serves the authentication code... SOP takes to account server and port you'll have to write a proxy or change the port of the service... On Jun 27, 3:48 am, Surya master...@gmail.com wrote: I have tomcat server running on port 6828. I have GWT hosted mode

Re: Communicate w/ existing GWT-RPC service

2009-04-29 Thread Marcelo Emanoel B. Diniz
To simple reuse the services classes and the vo classes I would separate them in a diferent module... export them...(with the .java) and reuse on another module... the main point in my opinion would be to configurate the service url... On Apr 28, 3:30 pm, JoeB joe.berm...@gmail.com wrote: I get

Re: Help! My Generators don't work for Web Mode :(

2009-03-31 Thread Marcelo Emanoel B. Diniz
On Thu, Mar 26, 2009 at 6:42 PM, Marcelo Emanoel B. Diniz marceloeman...@gmail.com wrote: Hi Sumit here are the generator rule and the generator class: rule: generate-with class=br.com.gwt.symbiosis.rebind.generator.BoundModelGenerator when-type-assignable class

Re: Help! My Generators don't work for Web Mode :(

2009-03-26 Thread Marcelo Emanoel B. Diniz
. My thought is that whatever is going on in there is depending on rules that might not hold true in web mode. Cheers, -Sumit Chandel On Thu, Mar 19, 2009 at 2:46 PM, Marcelo Emanoel B. Diniz marceloeman...@gmail.com wrote: this is my entry point package br.com.gwt.symbiosis.client

Re: Help! My Generators don't work for Web Mode :(

2009-03-19 Thread Marcelo Emanoel B. Diniz
this is my entry point package br.com.gwt.symbiosis.client; import br.com.gwt.symbiosis.client.mock.FormView; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.RootPanel; public

Re: How i found the real name of a obfuscated function? How i find the code lines?

2009-03-17 Thread Marcelo Emanoel B. Diniz
You can disable obfuscation by putting -style PRETTY on the compiler command line On Mar 17, 3:06 pm, MN nietz...@gmail.com wrote: I have a error message from a user. but i have only some obfuscated code for the stacktrace. is there a change to get the realnames method names from this? is

Re: Changing CSS dynamically in GWT code

2009-03-17 Thread Marcelo Emanoel B. Diniz
Can't you just change the style name? something like: include a all-in-one css: change the xpto-class-Style to xyzu-classStyle acording to the user role..? On Mar 17, 12:07 pm, Sush sush.r...@gmail.com wrote: Hi, First off my apologies, if this is the duplicate topic. I need to change

Re: Custom widget theme?

2009-03-16 Thread Marcelo Emanoel B. Diniz
I think it can't know... but you can have a method that asks the user which one he's using... for example: MyWidgetLibrary.setTheme(anyTheme); and that should change the styleName of the widget :) On Mar 15, 11:08 am, Riyaz Mansoor riyaz.mans...@gmail.com wrote: How would I do this without a