2009-11-27
Stupid frameworks are forcing you to do stupid things
I am working with GWT+GXT right now. And I have strange problem - I can't save some user object. Just can't. When user logined to the system I want to save user object, containing his name, mail, role, group and other things. But as soon as F5 pressed - all static is cleared from the application, so even static fields can't help me. Cookies can help me, but they're limited to String only...
Of course my imagination works fine, and I can implement some GWT RPC service and get user from the server (where I have user's session, and I can save User object into that session). But it's stupid, isn't it?
2009-11-26
NetBeans and Safari
On my Windows box I am using Safari to read javadocs. Because of fonts antialiasing of course. And just noticed strange effect - NetBeans starts to lag when Safari is opened. Sources parsing is slower, autocomplete waits visibly longer before suggest something... Do you know where is the problem?
2009-11-25
GWT2 Firefox plugin download
First release candidate of GWT2 released on November 17, it can be downloaded here. One of the first changes you'll notice - they removed their "hosted browser" and added plugins for some browsers that will help browser (Firefox?) to do the job of "hosted browser". The first time you'll run application - it will suggest you to download plugin. But what can you do it you want to copy your project on workstation with strict or no internet? Or it you're planning to clean Firefox profile from time to time?
I asked question about where can I get those plugins on Google Groups for GWT, but 7 days passed and no answers...
So here is the small guide how you can get it manually.
1. Find folder where firefox storing it's plugins. For me it was C:\Documents and Settings\Username\Application Data\Mozilla\Firefox\Profiles\5zchoudq.default\extensions\gwt-dmp-ff35@gwt.google.com (yes, yes, I am still using Windows on my job).
2. Open install.rdf in text editor. After reading it for some time the only interesting line you'll find looks like this: http://google-web-toolkit.googlecode.com/svn/trunk/plugins/xpcom/prebuilt/update.rdf in em:updateURL tag.
3. Open that link in browser and read that file. Now you can see the link where you can get that extension, can't you? Here is it: https://dl-ssl.google.com/gwt/plugins/firefox/gwt-dev-plugin.xpi.
4. Now you can save it for farther usage.
Subscribe to:
Posts (Atom)