Re: GWT + OpenID - experiences?

2009-06-23 Thread gscholt
Then it seems possible, though perhaps hairy to make it work with a fat client app. Since login verfication is still done serverside, the fat client just launches some form of browser (say, embed a WebView in android) to let the user log in, and verifies successful login at the server using whatev

dom manipulation works in IE but not in FF

2009-06-23 Thread bhomass
I am doing an operation in which I remove a but keep all its children. Element parent = (Element) currentForm.getParentElement(); NodeList formChildren = currentForm.getChildNodes(); // for (int i = 0; i < formChildren.getLength(); i++) {

How to load a url in a panel?

2009-06-23 Thread Sow
Hi, I have two hmls in my module. How do I load one html content into a panel of another html? panel.load("First.html") doesnt work for me. Please help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web To

Re: Send objects from/to Java usting GWT

2009-06-23 Thread Max
OOo yeahh.. that helps! This is weird that I need to add those libraries manually to war/WEB- INF/lib folder. I though they will be added automatically once I add them via Eclipse UI (Right click on the project then Properties then Libraries). Isn't it right to add libs via Eclipse UI? I'm sorry

Re: Class.newInstance and Class.cast

2009-06-23 Thread Kwhit
I'm not sure that it does any good or not but if you need the method too you should star the issue by clicking on the link in Andre's post above and clicking on the star. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Class.newInstance and Class.cast

2009-06-23 Thread Kwhit
+1 It leaves me with a long and ugly if-then-else as a work around --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com

onMouseMove and preventDefault doesn't work in Chrome

2009-06-23 Thread PH
Hi, I'm trying to use this code bellow to prevent text selection (I want to use it together with a drag and drop code). It works very well in IE, FF and in Hosted Browser. But when I try it on Chrome I still can select the text... Someone knows why it doesn't works only in Chrome? Thanks in

Re: Fast Tree Migration Path

2009-06-23 Thread hazy1
Thomas, Thank you! Matt On Jun 18, 5:37 am, Thomas Broyer wrote: > On 18 juin, 04:23,hazy1 wrote: > > > Hi, > > > We are using the Fast Tree widget in the 1.6 incubator with the 1.6.4 > > GWT release.  The Fast Tree still uses the old event model so we get a > > lot of warnings. > > FYI, there

Re: show/hide widget based on user's credentials

2009-06-23 Thread hazy1
This is correct, the RPC must also verify user permissions. The easiest way to do this is to keep the 'user validation/permission' code the same on the client and on the server. This can easily be accomplished in GWT since the client code is Java compiled to JavaScript. BTW, you should be doing

Re: Job Posting

2009-06-23 Thread DuoCentillion
No - no easy way outs. Lets do it right. - Open Source - Posted to Ap Engine. It is the GWT jobs site. Lets make those who are seeking a job in GWT at least build their means of connection and advertising. We can try to incorporate Open Social / Google Profiles / LinkedIn / etc. This type of e

Re: Newbie Question - Integrate GWT on Existing page

2009-06-23 Thread Andrew Myers
Thanks Pavel I will give it a try. I am going nuts with some Javascript libraries at the moment, and hopefully this will be much easier for me as a Java programmer :-)_ 2009/6/24 Pavel Byles > Sure it's feasible. > Just create ur GWT widget and include the *.nocache.js file in your html. > > Yo

Re: Best Practices For Translating Strings To Be Used In An Internationalized Application

2009-06-23 Thread Dean S. Jones
One of my previous enterprise apps was I18N for 22 languages, including proper display of R->L languages like Hebrew and Arabic. We used properties files, all text on the screen was indirectly drawn by looking up it's "key" in the property file. GWT I18N can help here, but it creates ALOT of comp

Re: GWT serialization

2009-06-23 Thread retha pasalli
Hi all, Thx for all replies.. I have fixed the problem..It caused by the wrong Hibernate Query Language. I try to load the CalonMahasiswa table record which has Fakultas_id and ProgramStudi_id foreign key. In my HQL, I didn't join fetch the Fakultas and ProgramStudi table and it caused the error

Re: show/hide widget based on user's credentials

2009-06-23 Thread Dean S. Jones
You CAN'T trust the client, anyone skilled enough can hack the JS to display the widget, or subvert any "in memory" objects. To summarize the best I can, first you MUST check permissions of RPC on the server side. You can use the J2EE roles, but I found that hard to make very dynamic, it's a Pain

Re: GWT best Practices - JS Library Wrappers & Overlay Types

2009-06-23 Thread Bobby
Nice. Is the JsCollections module your own or are you referencing it externally from somewhere? I'd like to add it via svn:externals. Bobby On Jun 23, 5:56 am, Thomas Broyer wrote: > On 22 juin, 23:59, Bobby wrote: > > > One note about arrays. If a method in the API receives or returns an > >

Re: Best Practices For Translating Strings To Be Used In An Internationalized Application

2009-06-23 Thread Arthur Kalmenson
If you want an accurate translation, you're going to have to hire someone. While Google Translate is good enough to understand the general flow, it's not going to look very professional in your application. -- Arthur Kalmenson On Mon, Jun 22, 2009 at 6:12 PM, nellyville wrote: > > Hi, > > I'm

Re: Newbie Question - Integrate GWT on Existing page

2009-06-23 Thread Pavel Byles
Sure it's feasible. Just create ur GWT widget and include the *.nocache.js file in your html. You can use GWT to place the widget anywhere on your page. On Tue, Jun 23, 2009 at 10:32 PM, Andrew wrote: > > Hi All, > > Is it possible to integrate GWT onto an existing page? > > For example, if I w

Re: FireFox On Mac Hosted mode

2009-06-23 Thread Arthur Kalmenson
No. If you want to debug against other browsers you're going to need the latest GWT trunk (i.e. 2.0) and set up Out Of Process Hosted Mode (OOPHM). -- Arthur Kalmenson On Sun, Jun 21, 2009 at 8:26 AM, Yousef.Ghandour wrote: > > Hosted mode on Mac OS uses safari internally, can i change that to

Help

2009-06-23 Thread loongest
Hi, I had a gwt + spring application and it run fine in my test server. But when i deploy it to the production server, i'm facing a problem to RPC call. Basically the function is just a button and it will validate the kaptcha and send the input by GWT-RPC call and email to the admin. Ac

HELP

2009-06-23 Thread loongest
Hi, I had a gwt + spring application and it run fine in my test server. But when i deploy it to the production server, i'm facing a problem to RPC call. Basically the function is just a button and it will validate the kaptcha and send the input by GWT-RPC call and email to the admin. Ac

Newbie Question - Integrate GWT on Existing page

2009-06-23 Thread Andrew
Hi All, Is it possible to integrate GWT onto an existing page? For example, if I wanted to write a GWT news ticker or something similar and put it into a block on the homepage of an existing site, is this feasible? And if so, are there any examples avialable? Most of the examples I have found

Re: element.getStyle().setProperty("borderStyle", "none"); wipes out all style attributes

2009-06-23 Thread bhomass
not a problem. my dumb mistake! --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send

Re: GWT Support for other browsers

2009-06-23 Thread progen
Hi Jeff, Thank you for the suggestion, This is exactly what i tried to do, i changed the UserAgent.gwt.xml to make GWT identify Ant Galio as other browsers one by one and found that it works well when i set as safari. But when i browse the pages in my PC with Ant Galio it works perfect, and when

element.getStyle().setProperty("borderStyle", "none"); wipes out all style attributes

2009-06-23 Thread bhomass
In my app, I need to dynamically set borders to some elements then remove them. to clear the border, I tried element.getStyle().setProperty("borderStyle", "none"); element.getStyle().setProperty("borderWidth", "0px"); DOM.setStyleAttribute(element, "borderWidth", "0px"); it does clear the border

Re: Send objects from/to Java usting GWT

2009-06-23 Thread Alejandro D. Garin
Hi Max, Did you include dozer-5.0.jar and the apache commons-*.jar in your war/WEB-INF/lib folder? Regards. On Tue, Jun 23, 2009 at 7:41 PM, Max wrote: > > Thanks Alejandro. > You example really helped me understand how this should work. Now I > know that it's better to use DTO. > > I just tri

Re: show/hide widget based on user's credentials

2009-06-23 Thread Chad
Well, my current application is an intranet application and uses NTLM authentication and that's what I was referring to. It's constantly authenticating the user I believe. On internet apps (and even some intranet apps), I generate a "session id" on the server side (something like a guid from the d

Re: GWT upload file handle exception

2009-06-23 Thread Thomas Broyer
On 23 juin, 15:29, Petein wrote: > hi I have a form which sends a request to a servlet for uploading a > file. How can i handle the exceptions? THe exceptions are caught in > the doPost method of the servlet. The form in my app looks like: > > form = new FormPanel(); >                 form.setE

Re: N00b to GWT, but Not Java

2009-06-23 Thread Carl Pritchett
You could use a GWT HandlerManager as an "Event Registry" that both widgets reference. See http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/index.html?overview-summary.html Basically the "User List" widget fires "setCurrentUser" events (with the user as a payload) on the HandlerManager

Re: GWT + OpenID - experiences?

2009-06-23 Thread Gabriel Guerrero
There is no problem to implement openId in gwt, we did in our project, (we support normal login and openId) what we do is at the login page the login submit button opens a open id web site in a new window when the user finish the login in the new window open id provider calls back a user page in

Re: Job Posting

2009-06-23 Thread Paul Hargreaves
You do not always have to reinvent the wheel to get a really good forum going, most of the software is out there already. Look here, they have a GREAT forum. I personally was not thinking about another "forum", but something slightly different. Somewhere that the guys and girls here could get

Re: How to get tab Widget in a TabPanel?

2009-06-23 Thread Booth Martin
Which is what I said in the first place and got slammed for it. Rey wrote: > Oke, thanks! > I've used the solution with an ArrayList. > > > On 21 jun, 21:20, Enea wrote: > >> I think that there are no method to do this, at the moment. >> what you can have, is the html of the tab >> with tabPan

Re: When deploying updates application doesn't execute until I clear-cache

2009-06-23 Thread Sumit Chandel
Hi martin23, Setting a pragma for caching in the page isn't always guaranteed to work. A better approach would be to include Expires headers for all GWT application resources served from your web server, and configure them appropriately - never cache the .nocache.js file, always cache the .cache.ht

Re: How to get tab Widget in a TabPanel?

2009-06-23 Thread Rey
Oke, thanks! I've used the solution with an ArrayList. On 21 jun, 21:20, Enea wrote: > I think that there are no method to do this, at the moment. > what you can have, is the html of the tab > with tabPanel.getTabBar().getTabHTML() > but this is not what you want... > > Or you can make the gree

Re: show/hide widget based on user's credentials

2009-06-23 Thread ailinykh
I understand that. But you can't trust the client. If someone who has read only access tries to write, server has to reject such request. In other words how do you implement authorization? Thank you, Andrey On Jun 23, 4:42 pm, Chad wrote: > Permissions aren't really checked on the server. I ha

Re: gwt-maps-1.0.4.jar and gwt-user-1.5.3

2009-06-23 Thread Eric Ayers
I think the problem is that you are clobbering a tree in the DOM using setInnerHTML() that you created with GWT widgets. Can you find a way to comment out the setInnerHTML() or attach to the div some other way? On Tue, Jun 23, 2009 at 5:34 PM, everlongh wrote: > > Just to be comletely clear the

Re: Send objects from/to Java usting GWT

2009-06-23 Thread Max
Thanks Alejandro. You example really helped me understand how this should work. Now I know that it's better to use DTO. I just tried to create two classes and use Dozer library but when I'm trying to instantiate it on my server i'm getting this error: SEVERE: [1245796455609000] javax.servlet.Ser

Hide PopupPanel....

2009-06-23 Thread Rey
I want to controle the hiding of my PopupPanel PopupPanel implements MouseOutHandler.. . . @Override public void onMouseOut(MouseOutEvent event) { hide(); } This wont work. Is there another way? If I use sinkEvents(Event.ONMOUSEOUT ); it also goes off

Re: How to get the row Selection in a Grid

2009-06-23 Thread Sumit Chandel
Hi Suren, If you could provide more explanation as to how applying style with the RowFormatter didn't behave as you expected, that would be helpful to figure out what's going wrong. From what I can tell, you want to apply a style to the Grid that will persist through all interactions with the grid

Dynamic Root Panels

2009-06-23 Thread Daniel Pascariu
Dear All, I have the following problem: I have a Java servlet which creates a dynamic table, each row containing a button that I want to use for the deletion of the row. I want to delete the rows in the table without broser refresh and since I have Java on the backend I thought it would be nice

Re: Job Posting - Created a new forum for GWT posts

2009-06-23 Thread Paul Hargreaves
Thanks for posting this. I thought it might have been dispensed with - Original Message From: Paul Hargreaves To: Google-Web-Toolkit@googlegroups.com Sent: Tuesday, 23 June, 2009 22:27:32 Subject: Re: Job Posting - Created a new forum for GWT posts Hi, The DOES NOT replace this g

GWT networking website.

2009-06-23 Thread Paul Hargreaves
This does noy replace the advice given on this mailing group! It is merely supplemental and was requested. I have created a new website hosted under one of my main websites. It is only temporary and if it becomes useful then I may transfer it to a domain of its own. It can currently be found h

how do I decode an HTTP response where the transfer encoding is chunked ?

2009-06-23 Thread Amitabh
Hi, I'm a newbie at GWT and am using RequestBuilder to send and receive a request to a server which is sending me a response which has transfer encoding "chunked" and content encoding gzipped. In the response when I do "response.getText().Length()", I get a zero and I can't see the text. Is that

Re: gwt-maps-1.0.4.jar and gwt-user-1.5.3

2009-06-23 Thread everlongh
Just to be comletely clear the div id being updated is html in a com.google.gwt.widgetideas.client.FastTree widget inside a map marker infowindow below is the code that adds the widget private void addInfoWindowWidget(final Marker marker, final Widget widget) { marker.ad

Re: Job Posting - Created a new forum for GWT posts

2009-06-23 Thread Paul Hargreaves
Hi, The DOES NOT replace this group! It is merely a supplemental thing which was requested. I have created a new website hosted under one of my main websites. It is temporary only and if it becomes useful then I may transfer it to a domain of its own. It can be found here: http://moneysoft.e

Re: Job Posting

2009-06-23 Thread nellyville
what we really need is a forum like fofou forums for python in java, so we could run it on app engine. I've thought about porting it. http://appengine.google.com http://blog.kowalczyk.info/software/fofou/index.html Anyone feel like porting it to java? Making a good front end in GWT for it woul

Re: GWT 1.6.4 - Problem running Samples in Hosted Mode

2009-06-23 Thread Sumit Chandel
Hi Lupan, There is nothing immediately obvious to me that would explain why the DynaTable sample would work in web mode, but not in hosted mode. Did you make any changes to the DynaTable sample application code before running ant hosted? I just tried running the DynaTable sample out of the box usin

Re: show/hide widget based on user's credentials

2009-06-23 Thread Chad
Permissions aren't really checked on the server. I have tables in a database for users, roles, and rights. And I have tables that link them together users_roles and roles_rights. When the user logs in, and authentication is complete, the user data is retrieved along with the roles the user belongs

Re: New Browser Window

2009-06-23 Thread Paul Hargreaves
Man did I get censored? Sorry if I rubbed anyone up the wrong way with my posts... Regards Paul - Original Message From: blain To: Google Web Toolkit Sent: Tuesday, 23 June, 2009 21:05:28 Subject: Re: New Browser Window Button button = new Button("click me"); button.addClickListe

https for RPC

2009-06-23 Thread Narasimhamurthy Ashwin
Hi, I understand that GWT RPC runs over HTTP. Is it Possible to configure it to run over HTTPS. Thanks, Ashwin N --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,

Re: GWT + Safari (OS X) + Developer console = consistent crash

2009-06-23 Thread Tyler
I can reproduce this problem as well. I found that closing the "Inspect Element" toolbar before refreshing made the problem go away for me. However having the toolbar open still causes a crash. Tyler On Jun 23, 12:20 pm, davidroe wrote: > I have seen the problem ever since upgrading to 4.0 bu

Re: Google web tookit (GWT) - StockWatcher Application

2009-06-23 Thread Brian Blain
Center align your table Check out firebug to be able to dynamically edit your html. Your xml might be malformed; cross your t's and dot your i's. On Jun 22, 10:14 pm, Simon wrote: > Dear all, > > Good day. My question is how to align my application table to center > as shown inhttp://ise

Re: show/hide widget based on user's credentials

2009-06-23 Thread ailinykh
I see. How do you check user permissions on server side? Andrey On Jun 23, 2:47 pm, Chad wrote: > Andrey, > > RPC is the way I do it. I have a User object that can be passed > between the client and server. It's kept on the client after login so > the entire UI can easily refer to it. My securi

Is it possible to use SOYC on a 1.6 application?

2009-06-23 Thread Matt Raible
I have a 1.6 application and I'd like to learn it's "story of compile" (SOYC). Is it possible to do this? I've successfully checked out and built the latest trunk, I'm just wondering if it's possible to use this to compile my project and generate reports? Thanks, Matt --~--~-~--~~---

Re: New Browser Window

2009-06-23 Thread blain
Button button = new Button("click me"); button.addClickListener(new ClickListener() { public void onClick(final Widget sender) { Window.open("http://www.google.com";, "_BLANK", ""); }); http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/index.html?overview-summa

Re: Proxy draggable window

2009-06-23 Thread blain
I highly recommend gwt-dnd http://code.google.com/p/gwt-dnd/ On Jun 23, 12:53 am, shalini wrote: > i am working in GWT project.that project contain one button,when it > was click one dialog will open.i want that the dialog will be a proxy > draggable. please help me. --~--~-~--~~---

Re: show/hide widget based on user's credentials

2009-06-23 Thread Chad
Andrey, RPC is the way I do it. I have a User object that can be passed between the client and server. It's kept on the client after login so the entire UI can easily refer to it. My security scheme contains roles that are a collection of rights. On the server side, at the time of login, the role

GWT + Safari (OS X) + Developer console = consistent crash

2009-06-23 Thread davidroe
I have seen the problem ever since upgrading to 4.0 but today I am starting to think that somehow GWT is related to what is happening. the problem: open Safari, browse to site developed using GWT, open developer console, reload the site, watch Safari crash. I see this consistently on the GWT sit

Re: GWT upload file

2009-06-23 Thread waf
Hi, As far a I know, you can't get server exceptions at FileUpload/ FormPanel because here you are using regular http/post. There can sit anything on the server that such form/post will talk to, not just java servlet. You can catch the exception in servlet and return http status code that fits t

gwt widgets

2009-06-23 Thread Chris
what gwt widgets we should use that will not have licensing problem --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com

GWT RPC - AbstractMethodError

2009-06-23 Thread mbazs
Hello, I'm trying to create RPC with servlet, but I simply can't. I have a GWT project in Eclipse, and want to use that in a servlet of a J2EE project in Netbeans. Appserver log says: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service metho

Cancelling multiple RPCs in IE7 does not free up HTTP connections

2009-06-23 Thread sw
Hi All, My app involves sending a number of RPCs (around 10) to the server concurrently when a user lands on one particular page. Some of these calls take a long time to return as they involve connecting to external resources. The fact that browsers such as IE only allow two concurrent HTTP conne

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread Yegor
Sunny, Prepare for horrible start-up times. Now your application will be downloaded&parsed in full every time a user signs in. Separation of *.cache.* from *.nocache.* files is done specifically to support instant start-up. Good luck. Yegor On Jun 23, 8:44 am, sunny kapoor wrote: > Read i mea

Re: GWT suddenly stops running: SIGSEGV in libxpcom.so (hosted mode, Ubuntu 9.4)

2009-06-23 Thread googelybear
thanks for the hint, but I think I found the problem: When I change the hosted mode port to something different than (e.g. ) it works. It's a problem with the browser cache/credential store of the integrated mozilla. How can I reset/empty this? Where is it located (oviously not in the gwt

Re: GWT suddenly stops running: SIGSEGV in libxpcom.so (hosted mode, Ubuntu 9.4)

2009-06-23 Thread googelybear
thanks for the hint, but I think I found the problem: When I change the hosted mode port to something different than (e.g. ) it works. It's a problem with the browser cache/credential store of the integrated mozilla. How can I reset/empty this? Where is it located (oviously not in the gwt

Re: Eclipse Classic 3.5

2009-06-23 Thread Miguel Méndez
We are working on an update; we expect to release 3.5 support shortly. On Tue, Jun 23, 2009 at 6:56 AM, Prashanth wrote: > > Hi Rajeev, > > Eclipse 3.5 release is tomorrow. > Can you please let us know when is the scheduled release of Google > plugin for the same. > > Thanks, > Prashanth. > > On

Re: GWT upload file

2009-06-23 Thread Petein
And how can i handle exceptions when an exception is thrown from my servlet? On 22 Ιούν, 23:55, waf wrote: > Petein, > > Try to change form.add(vPanel);  with vPanel.add(form); > maybe that helps a little. > > -- > waf --~--~-~--~~~---~--~~ You received this messa

hosted mode nothing displayed

2009-06-23 Thread alkatal
Hi i m using GWT 1.6.4 under Leopard I suddenly have a problem with my application. When i start it in hosed mode nothing gets displayed it just get a bank page. I tried to run one of the examples : Mail or Hello with ant hosted. Same problem nothing gets displayed i just get to the url http://lo

Re: Portal with Dynamic Menus and Views

2009-06-23 Thread David Durham
>> A different approach is to return the menu structure from the server >> based on a users permissions. > > This is more interesting! What would you actually pass back? An XML > structure from which to build the menu? How would you then hook it > into method calls or events to the controller? Yo

Re: Portal with Dynamic Menus and Views

2009-06-23 Thread Paul Grenyer
Hi Dave Thank you very much for your response. > I have a similar situation for my project.  What I do is make the > first async call from onModuleLoad() do something like > 'getPortalAttributes'.  This returns to me info from the server like: > is the user logged in; is the application in devel

Re: GWT-RPC cross site. Proxy?

2009-06-23 Thread THB
Hi, I don't know if it's a good practice but you can override the method doGetSerializationPolicy(HttpServReq,Str,Str) of your RemoteServiceServlet like this : * First : String policyURL = SerializationPolicyLoader.getSerializationPolicyFileName(moduleBaseURL + strongName); * Next, replace : -

hosted mode compile error from eclipse

2009-06-23 Thread chris gwt
Hi everyone, I've run into a little issue when launching hosted mode with an eclipse run configuration. I believe the issue is that all of the source directories for my project are included when compiling for hosted mode.. including unit test directories that I don't want to include. My personal

Re: Eclipse Classic 3.5

2009-06-23 Thread Prashanth
Hi Rajeev, Eclipse 3.5 release is tomorrow. Can you please let us know when is the scheduled release of Google plugin for the same. Thanks, Prashanth. On Jun 12, 1:24 am, Rajeev Dayal wrote: > Hi, > > We're currently working on this. I don't have a set date for you, but we > will get it out th

memory leak with rpc call and gwt 1.4.62

2009-06-23 Thread gwtTexter
Hi! We're developing a rather large app using gwt-ext and of course like everyone else we're having problems with memory leaks in IE7. I know that it's probably alot to do with the ext code but it seems like there is a leak when we're doing rpc call as well. If the client returns to much data we

Re: show/hide widget based on user's credentials

2009-06-23 Thread olivier nouguier
On Tue, Jun 23, 2009 at 5:04 PM, ailinykh wrote: > > Thank you! > I'm thinking about second solution. It brings up next question- how to > get user role on client side? > Right now I see only one way - ask the server through RPC. Does GWT > provide any session management? Nope for client side GW

GWT client files in WEB-INF/classes

2009-06-23 Thread clanusse
I'm using Eclipse with the Google GAE/GWT plugin to build a combined GAE/GWT project. I've noticed that Eclipse builds all my classes and places them in the war/WEB-INF/classes directory even if they are just GWT client code that also gets crossed compiled to javascript. Is this necessary for de

Re: show/hide widget based on user's credentials

2009-06-23 Thread ailinykh
Thank you! I'm thinking about second solution. It brings up next question- how to get user role on client side? Right now I see only one way - ask the server through RPC. Does GWT provide any session management? Thank you, Andrey On Jun 23, 7:34 am, olivier nouguier wrote: > 2 solutions: > *

Re: N00b to GWT, but Not Java

2009-06-23 Thread Daniel Jue
Have a user object reference in the parent. catch the click update button event, put the user object into the parent via a setter, advance the page to the edit page, and then extract the values from the parent. Further if the two widgets you have (list and edit) are singletons, you can just refe

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread sunny kapoor
Read i meant On Jun 23, 7:43 pm, sunny kapoor wrote: > Jason, > > Yes Sir I am going all the documentation. > > Regards > Sunny > > On Jun 23, 7:38 pm, Jason Essington wrote: > > > Primarily it seems you haven't fully understood the bootstrapping   > > process in GWT. > > > the *.js file is sim

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread sunny kapoor
Jason, Yes Sir I am going all the documentation. Regards Sunny On Jun 23, 7:38 pm, Jason Essington wrote: > Primarily it seems you haven't fully understood the bootstrapping   > process in GWT. > > the *.js file is simply to discover which browser is being used and it   > triggers the load of

Re: New Browser Window

2009-06-23 Thread Jason Essington
just remember, you have to do this as a direct result of a user action (button click for example) otherwise any popup blocker will prevent the window from opening. Attempting to open a window from within a DeferredCommand, or as a result of an XHR callback will fail if popup blockers are ena

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread Jason Essington
Primarily it seems you haven't fully understood the bootstrapping process in GWT. the *.js file is simply to discover which browser is being used and it triggers the load of one of the *.cache.* (js or html depending) files that contains javascript code that is tailored specifically for tha

Re: GWT + OpenID - experiences?

2009-06-23 Thread Mark
>> why couldn't you implement it [OpenID] in a fat client if you so desired Not saying I'm an expert with OpenID, but basically OpenID requires on the ability for the user to be redirected to an OpenID provider site for authentication. Example: I go to www.mysite.com, and instead of a login form,

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread sunny kapoor
Thanks Isaac, It worked like a charm. Isaac you are a star. Regards Sunny On Jun 23, 6:50 pm, Isaac Truett wrote: > You want the XS Linker: > > > There's plenty of material on this in the forum history if you need more > information. > > On Tue, Jun 23, 2009 at 9:07 AM, sunny kapoor wrote:

Re: Making further RPC calls on onWindowClosing() not working in Safari & opera.

2009-06-23 Thread Jason Essington
I'd be inclined to believe that an RPC sent in onWindowClosing() would work though you wouldn't get any response. If you don't cancel the window close event then the page should be unloaded and the code would be gone. The asynchronous nature of the call to the server would suggest that the r

Re: New Browser Window

2009-06-23 Thread Thomas Broyer
On 23 juin, 13:25, abhiram wrote: > Hi, > >   From my application, I want to open a new window with a url which is > passed from my application. Eg: If i click a button or something a new > window should open with the url "www.google.com" where this URL is > being passed from my application as

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread Isaac Truett
You want the XS Linker: There's plenty of material on this in the forum history if you need more information. On Tue, Jun 23, 2009 at 9:07 AM, sunny kapoor wrote: > > Dear Rajneesh, > > What I am trying to create is a google analystic like app. But what > holding me back is *.cache.html file

GWT upload file handle exception

2009-06-23 Thread Petein
hi I have a form which sends a request to a servlet for uploading a file. How can i handle the exceptions? THe exceptions are caught in the doPost method of the servlet. The form in my app looks like: form = new FormPanel(); form.setEncoding(FormPanel.ENCODING_MULTIPART);

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread sunny kapoor
Dear Rajneesh, What I am trying to create is a google analystic like app. But what holding me back is *.cache.html file are requested my myProject.js file and hence not permitted by browser because of xss cross domain scripting . Hope this make sense. Regards, Sunny On Jun 23, 5:33 pm, Rajneesh

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread Rajneesh Aggarwal
Can i know why do you do not want to use *.cache.html? Anyway, following is what you can try --- First of all you need to check from no-cache.js file which *.cache.html, the js is using for your target browser and then you can probably get that html and save it as js and use. Remember you will n

Re: N00b to GWT, but Not Java

2009-06-23 Thread Sean Boyer
Thanks very much for the reply! The video was very helpful. Unfortunately, this is information I should have had before getting this far in my application development. There isn't time to turn back now. My application is in dead-line mode, but is only a proof of concept, so it doesn't matter too m

Re: show/hide widget based on user's credentials

2009-06-23 Thread olivier nouguier
2 solutions: * 2 gwt applications user and admin (you could use a custom properties/permutation). * 1 gwt application and applicative (if(userInRole("admin")) customization. HIH On Tue, Jun 23, 2009 at 2:28 PM, ailinykh wrote: > > Hello, everybody! > I have a widget (Tab in TabPanel, for example

show/hide widget based on user's credentials

2009-06-23 Thread ailinykh
Hello, everybody! I have a widget (Tab in TabPanel, for example) which is dedicated to some administrative tasks. Only administrator is supposed to use it. I don't want to bother everyone by this widget, I want to show it only if user logged in as Administrator. What is the best way to implement i

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread sunny kapoor
Rajesh, Thanks for the reply but my aim is to get rid of *.cache.html files. And use only *.js file. And it will be appreciated to find out the way without playing with the main gwt.user.jar file Regards Sunny On Jun 23, 5:04 pm, Rajneesh Aggarwal wrote: > Try changing gwt.user.xml inside gwt

Re: Help ..How to stop GWT to produce extra *.cache.html file.

2009-06-23 Thread Rajneesh Aggarwal
Try changing gwt.user.xml inside gwt.user.jar so that it generates *.cache.html only for respected browsers. Hope this helps ... Cheers ... [?] On Tue, Jun 23, 2009 at 2:37 PM, sunny kapoor wrote: > > Is there any way to use the "myProject.js" script without extra files > like "*.chache.html"

Emma + Logger of gwt-log-2.5.0 + java.lang.NoClassDefFoundError: com/allen_sauer/gwt/log/server/ServerLogImpl

2009-06-23 Thread niamande
I've got some GWTTestCases (with gwt 1.6.4). I would like to know the code coverage with the emma-maven-plugin. My unit tests are correctly executed when i don't want to get the coverage (with mvn install), but when i try mvn emma:emma, i've got : java.lang.NoClassDefFoundError: com/allen_sauer/g

Emma + Logger of gwt-log-2.5.0 + java.lang.NoClassDefFoundError: com/allen_sauer/gwt/log/server/ServerLogImpl

2009-06-23 Thread niamande
I've got some GWTTestCases (with gwt 1.6.4). I would like to know the code coverage with the emma-maven-plugin. My unit tests are correctly executed when i don't want to get the coverage (with mvn install), but when i try mvn emma:emma, i've got : java.lang.NoClassDefFoundError: com/allen_sauer/g

Re: GWT suddenly stops running: SIGSEGV in libxpcom.so (hosted mode, Ubuntu 9.4)

2009-06-23 Thread Enea
maybe a chanche with: sudo apt-get install libstdc++5 if you are using eclipse, try to reinstall eclipse. On 22 Giu, 23:59, googelybear wrote: > Hi there, > > today GWT decided that it does no longer want to run on my machine. > When I run the hosted mode browser (32bit ubuntu) I get the follo

New Browser Window

2009-06-23 Thread abhiram
Hi, From my application, I want to open a new window with a url which is passed from my application. Eg: If i click a button or something a new window should open with the url "www.google.com" where this URL is being passed from my application as a parameter. Which would be the best method to i

Making further RPC calls on onWindowClosing() not working in Safari & opera.

2009-06-23 Thread Nim
FYI On Jun 23, 2:13 pm, Nim wrote: > Hi All, >         when I'm closing Browser window,i've implemented > onWindowClosing() method. >         Its being called in all browser  but  after i'm  making > further RPC calls to logout in Safari & opera Further >         RPC  calls not being called howe

Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no nmica in java.library.path

2009-06-23 Thread Enea
I tell you so, because I see that your error is relative to nmcia library. I never used this lib. Do you use this libs in your project? I think that if you add to the buildpath (in eclipse) ,all the jars contained in the lib folder of http://www.sanger.ac.uk/Software/analysis/nmica/nmica-0.7.2.t

  1   2   >