Re: How can I embed a no-sql graph db into my GWT app(Neo4j)

2011-04-04 Thread john doran
Problem solved, just stored the embedded db directly to c: On Sun, Apr 3, 2011 at 4:52 PM, jonty wrote: > Hi, I've been using neo4j an embed graph db(relationships, properties, > and nodes(very useful)). It's working fine as a stand alone > project(separate to my gwt app). I'm now trying to inte

Re: Is com.google.gwt.view.client.Range restricted to client side usage only?

2011-04-04 Thread Thomas Broyer
Did you create a ValueProxy for the Range, to use it with RequestFactory? (there's no such restriction, except that *.client.* classes might not be in the gwt-servlet.jar that you deploy on the server-side) Given the need to create a ValueProxy, I'd rather suggest you create your own Range class

ButtonCell on some CellTable rows

2011-04-04 Thread Luca Morettoni
Hello list, I have a CellDataTable that display some object of my application; some of that object could be added manually by the user and other are fetched from the server; the user can delete only the ones added by hand, for this I have a column on my table that render a Button, when the user cli

Re: ButtonCell on some CellTable rows

2011-04-04 Thread Luca Morettoni
2011/4/4 Luca Morettoni : > Hello list, I have a CellDataTable that display some object of my > application; some of that object could be added manually by the user > and other are fetched from the server; the user can delete only the > ones added by hand, for this I have a column on my table that

Re: authentication question

2011-04-04 Thread Paul Robinson
As explained here: http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ you should not rely on using cookies to send the session id from the client to the server. It's not clear from your code whether this is what you're going to do. Paul On 04/04/11 00:49, Leung wrote:

update html field in JSP from Java (GWT)

2011-04-04 Thread pepgrifell
hi, we are migrating our old website (based on JSP) to GWT. The application is big and we cannot do all the changes at one, so in the application there are some pages in GWT and some pages in JSP. I have a JSP with some fields. One of them is a textarea. When I click in it, a GWT window pops up w

Re: update html field in JSP from Java (GWT)

2011-04-04 Thread Alexandre Ardhuin
Hi, Are you sure the textarea contains the good id attribute ? Are you sure to enter the if statement ? You don't have to use JSNI to update the textarea. Use instead : Element element = Document.get().getElementById(fieldId); if (element != null) { GWT.log("found element with id:" + fieldId

Re: expand ListBox as droplist using keyboard

2011-04-04 Thread Jonathan Alon
I didn't know about the alt+down/alt+up / space shortcuts I wish I have seen your reply earlier, I ended up changing the size of the select element when pressing space, and changing it back to one on blur Thanks On Mar 24, 12:10 am, Alexandre Ardhuin wrote: > ListBox use html SELECT element. >

Scrolling panels in gwt-maps

2011-04-04 Thread Johan Sten
Hi, I have added different panels to Google Maps using Google Maps API Library 1.1 but i am unable to make any of them scrollable when there is more information that fits in the screen. What i would like is Tree-widget where i dynamically add information as time passes. When there is to much info

CSRF, XSS protection

2011-04-04 Thread pansen
Hi, we figured out some more advanced CSRF protection for our app to be built. I wrote some short spec from the current perspective. If you have some notes or enhancements please let me know. thx, andi GWT CSRF Security = There is a good explanation of different security leaks t

Re: MVP placeController History back activity mayStop

2011-04-04 Thread Francois Wauquier
Hi Thanks erik Use static, wich is not great , but work. Here is the simplified solution : I use MyWorkActivity.back() instead of History.back() class MyWorkActivity extends AbstractActivity { public static boolean allowStopWithoutWarning; /** * @see com.google.gwt.activity.shared.Ab

How to log every RPC service request and response

2011-04-04 Thread Jiunarayan
I want to show progress as "loading" for every RPC request and response. How to do instead of mentioning every time during the rpc service object? Can there be some global location to log all the rpc request and response?? -- You received this message because you are subscribed to the Google Grou

Re: how to return errors from RequestFactoryServlet?

2011-04-04 Thread KaffeineComa
Hi Thomas, On Friday, April 1, 2011 9:27:56 PM UTC-4, Thomas Broyer wrote: > Construct a ServerFailure from a given Throwable. You can then pass > specific "tokens" that your client code will be able to analyze (if needed), > but more importantly, you can tell whether the error should be cons

Re: How to log every RPC service request and response

2011-04-04 Thread Thomas Broyer
Not a "global" location, but you can set it up once for each GWT.create() of a given service: 1. cast the service to a ServiceDefTarget 2. call setRpcRequestBuilder

Re: RichTextArea, SafeHtml, and general rich text best practices

2011-04-04 Thread nogridbag
I'm really looking for a reply to this. Surely someone must be using GWT's RichTextArea. On Mar 31, 1:36 pm, nogridbag wrote: > I just converted one of our simple TextArea's into a RichTextArea > (using the RichTextToolbar from the Showcase).  I'm not quite sure I > understand the best practices

rtl mode

2011-04-04 Thread Jeff Larsen
I'm testing our application in rtl mode and some things are switching (css resource items) and others aren't (LayoutPanels, inline styles). What configuration step am I missing? I've dug through showcase and I can't find any configuration data that changes how rtl mode is changed other than by

Re: CSRF, XSS protection

2011-04-04 Thread jhulford
On Apr 4, 8:56 am, pansen wrote: > Hi, > > Now we prevent anybody to steal our sessions, but we are also unable > to use > the sessionid as CSRF protection. Therefore its necessary to use a > different > token for this kind of protection. We call it ``X-Request-Token``, > which is > returned from

user.agent in gwt 2.2

2011-04-04 Thread Luke
hi, i try to set in gwt.xml. but in gwt 2.2 , i get error . Is there changes on gwt2.2 compared to older version? [ERROR] Property 'user.agent' not found [ERROR] Failure while parsing XML com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.

Re: how to return errors from RequestFactoryServlet?

2011-04-04 Thread Thomas Broyer
On Monday, April 4, 2011 3:41:59 PM UTC+2, KaffeineComa wrote: > > > Assuming "requestContext" above actually is a Request (not a >> RequestContext), that's abnormal. >> > >> If you're indeed talking about a RequestContext (and your T should be read >> as Void), then it's the normal behavior: t

need previous GPE version

2011-04-04 Thread John
The current version (2.2.1.v201103311225) of the Google Plugin for Eclipse 3.6 completely breaks my GWT compiling as it fails everywhere I @Inject an AsyncService. Can someone please tell me where I can find the previous plugin build so I can continue to do work? Thanks, John Broken Scenario: -

Re: CSRF, XSS protection

2011-04-04 Thread Andi
> Perhaps I'm missing something, but isn't this just security through > obscurity. You've raised the bar to some extent, but presumably > you're storing that security token in some sort of client variable, > can't the injected code then just access that same variable too once > the attacker figur

Re: update html field in JSP from Java (GWT)

2011-04-04 Thread pepgrifell
hi, This doesn't work for me. Myabe becasue I didn't explain how we show the JSP. In the root panel we added a toolbar and a LayoutContainer where, depending on the button clicked in toolbar, a different content is shown. In some cases, inside the layoutContainer we place JSP using a Frame. ex:

.Net Developer Job Opening - Valencia, CA

2011-04-04 Thread Makro Tech
Hi This is Vignesh with Makro Technologies, Inc. We have been in business for over 10 years and we are one of the Fast 500 National IT staffing and Solution firms in USA. Our clients include country’s top-notch IT, Healthcare, Pharmaceutical, Financial, Telecom,Government and other industries. St

Re: .Net Developer Job Opening - Valencia, CA

2011-04-04 Thread Ian Petersen
Hey Mods, This job posting has nothing to do with Java, never mind GWT. Ian On Mon, Apr 4, 2011 at 7:03 AM, Makro Tech wrote: > Hi > > This is Vignesh with Makro Technologies, Inc. > > We have been in business for over 10 years and we are one of the Fast 500 > National IT staffing and Solution

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-04 Thread Vladimir Marchev
Hi Ryan! Create child the same request as the parent and all will be fine! -- 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 emai

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-04 Thread Thomas Broyer
Most likely the properties for the children will be set *after* the children have been given to their parent; something like: 1. create parent 2. create child A 3. create child B 4. set parent properties (including "empty" children objects A and B) 5. set child A properties 6. s

Re: authentication question

2011-04-04 Thread Leung
Thanks for your reply. I have not sent sessID from from the client to the server. After receiving the username and password from the client, the server responses by replying the acctId and the cookie with session id. Then all the client requests rely on the acctId. --- On Mon, 4/4/11, Paul Robi

Re: .Net Developer Job Opening - Valencia, CA

2011-04-04 Thread Chris Conroy
Thanks Ian, this has been taken care of. Friendly reminder to everyone on the list, if you spam like the OP, you will be banned. This is a place to discuss GWT--not a place for recruiters to troll. On Mon, Apr 4, 2011 at 12:17 PM, Ian Petersen wrote: > Hey Mods, > > This job posting has nothing

GPE 2.3: Cloud Connecting Eclipse

2011-04-04 Thread David Chandler
GPE 2.3 (beta now available) adds some major new features such as integration with Google APIs and Google project hosting. Read about it on the GWT blog: http://googlewebtoolkit.blogspot.com/2011/04/gwtgpe-23-cloud-connecting-eclipse.html -- David Chandler Developer Programs Engineer, Google We

[GWT 2.2.0] Client bundle does not understand CSS @import?

2011-04-04 Thread Alex Shabanov
Hi all, I have all.css file that refers to the other css files by using @import CSS directive: @import "base.css"; @import "decorations.css"; /* other import statements... */ Unfortunately it seems impossible to use it with GWT's client bundle, may be I miss some important point in the documenta

Re: Is com.google.gwt.view.client.Range restricted to client side usage only?

2011-04-04 Thread JosephLi
Thank you for the reply Thomas, No, I didn't create a valueProxy for that Range class. Thinking that I probably don't need one since the param is going one direction from the client back to the server as parameter only and not included in any return object. I probably go for ur suggestions to crea

Re: [GWT 2.2.0] Client bundle does not understand CSS @import?

2011-04-04 Thread Thomas Broyer
@import are (for now) simply ignored (same as @font-face), but you can list the files in the @Source annotation in your ClientBundle. -- You received this message because you are subscribed to the Google Groups "Google Web Tool

2.3 beta release notes link broken

2011-04-04 Thread Tom Davies
The link http://code.google.com/webtoolkit/beta/release-notes.html#Release_Notes_Current on http://code.google.com/webtoolkit/beta/download.html 404s. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to go

RequestFactory, ServiceLocator, Locator, JDO, Transient object problem

2011-04-04 Thread giannisdag
Hi, I am using the requestFactory, with the ServiceLocator and JDO, but I think I have miss some things. My task is to delete a user from the datastore. When I try to using request factory with locator and serviceLocator, I get an error message saying that I cannot delete transient objects. This me

How to restore previous value of EditTextCell in Cell Table

2011-04-04 Thread Ankur
Hello, I am using CellTable to retrive data from server. I have a EditTextCell. When I try to validate EditTextCell I cannot restore to my previous data. I tried to use cellTable.redraw(). Also I tried using EditTextCell et.SetViewData(Key,ViewData). I am not able to set view data for this functio

celltree: selection, scroll or focus (nothing in API)

2011-04-04 Thread laurent
Hi, I would like to programmatically change the selection and scroll to this selection. I can set the selection but there's no entry point to do scroll or focus on the element that have the selection in CellTree. I don't think for my purpose that this selected element may have the focus just scroll

Switching an image by using "OnMouseOverHandler"

2011-04-04 Thread Arilene França
Hi, I'm trying to do an effect, but it's not working, does anybody knows how can I do it. I'm using the following code: final Img img_p1 = new Img("/icons/grafo1.png", 64, 64); img_p1.setImageType(ImageStyle.CENTER); img_p1.addMouseOverHandler(new MouseOverHandler() {

CellTable onRedrawComplete()???

2011-04-04 Thread affablebloke
It looks like redraw() function within the CellTable class schedules a render/draw call to happen sometime in the future for the CellTable. Is there an event that notifies when the CellTable has been redrawn? I would like to know this before I attempt to write some hacky code. Thanks in advance. -

Post about creating a Facebook app with Google App Engine and Google Web Toolkit in Java

2011-04-04 Thread erezmazor
Hi, I wrote a post about a how to write an introductory Facebook app with Google App Engine and Google Web Toolkit using Eclipse with the Google plugin. You can find it in my blog: http://techo-ecco.com/blog/creating-a-facebook-app-with-google-app-engine-and-google-web-toolkit/ -- You received

SSL troubles

2011-04-04 Thread Patrick
I have a webapp, that is more or less an auto dialer, the user hits a button it sends the number and ext to the server, which constructs the xml request for the phone server and posts it using ssl. In my original program, an applet, it used apache HttpClient 3.1, to establish the connection and po

Nice to see you again.

2011-04-04 Thread Arkady Kamenetsky
How have you been? I saw this Acai Berry stuff that is actually unbelievable! I have been feeling fantastic since i've been taking it. finally found a way to lose weight that works and is actually healthy for you! check out this article about it if you want to read more about it and buy some http:/

Re: Post about creating a Facebook app with Google App Engine and Google Web Toolkit in Java

2011-04-04 Thread Gal Dolber
Nice post, thanks! On Mon, Apr 4, 2011 at 4:18 PM, erezmazor wrote: > Hi, > > I wrote a post about a how to write an introductory Facebook app with > Google App Engine and Google Web Toolkit using Eclipse with the Google > plugin. You can find it in my blog: > > > http://techo-ecco.com/blog/crea

Re: CellTable onRedrawComplete()???

2011-04-04 Thread John LaBanca
You can use CellTable#addLoadingStateChangeHandler() to receive events when the table finishes loading. Thanks, John LaBanca jlaba...@google.com On Mon, Apr 4, 2011 at 3:52 PM, affablebloke wrote: > It looks like redraw() function within the CellTable class schedules a > render/draw call to ha

Re: Switching an image by using "OnMouseOverHandler"

2011-04-04 Thread Zak Linder
Hi Arilene- You need to set the original image with a MouseOutHandler as well. img_p1.addMouseOverHandler(new MouseOverHandler() { @Override public void onMouseOver(MouseOverEvent event) { img_p1.setImage("img", "/icons/grafo.png");

RPC in onWindowClosing() problem

2011-04-04 Thread Ania
Hi, I'm using RPC within onWindowClosing().It is supposed to delete certain data from database based on passed username but nothing happens.Is there any alternative way to modify database without using rpc on tab or browser closing? Thank you for any help! Ania -- You received this message bec

GWT 2.2 HTML 5 Audio Complete

2011-04-04 Thread stymie
Is there any way to hook into a completeListener on the audio? As of right now I am using a timer and checking the current time against the duration and then calling play again. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to t

Passing data from Dialog Box

2011-04-04 Thread Mittal
I have following use case, Master Form - has button called "Add Row" - that shall open Dialog Box to collect data, lets say First Name , Last Name etc. When Dialog Box is closed or based on some other event how to I send this data captured to parent window that opened Dialog Box ? This operation o

Dynamic host page - GWT module not loaded

2011-04-04 Thread David Pinn
Has anybody been successful in running a GWT application the host page of which is dynamically created as per http://code.google.com/webtoolkit/articles/dynamic_host_page.html? I can't get it to work. The page itself appears, but the GWT module does not get loaded. -- You received this message b

Re: Dynamic host page - GWT module not loaded

2011-04-04 Thread Rikard Hultén
Forgot devserver query param maybe? I know I've surprised myself that way a few times... -- 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 gr

Re: Switching an image by using "OnMouseOverHandler"

2011-04-04 Thread Alexandre Ardhuin
Hi, You can also use a com.google.gwt.user.client.ui.PushButton that have a constructor with 2 images as parameter. Alexandre. 2011/4/5 Zak Linder > Hi Arilene- > > You need to set the original image with a MouseOutHandler as well. > > > img_p1.addMouseOverHandler(new MouseOverHandler(