Re: MVP question

2010-02-15 Thread Jan Ehrhardt
The presenter does sorting, mapping etc. The view even has no direct dependency to the presenter. If the view requires to notify the presenter, it will have to fire an event to the presenters event handlers. In your case, it would be cleaner to put the information, which contact will be displayed

Re: DockLayoutPanel: UIBinder and Style.Unit

2010-02-15 Thread Phil
On Feb 15, 3:03 pm, Ahmed Ashour a.ash...@gmail.com wrote: Hi all,     - First, why Style.Unit [1] is not documenting the values?     - How to make DockLayoutPanel fully occupies the screen (100% width, 100% height), I tried to use the far below example. A couple things to check: -

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Jim Douglas
I think that's part of it, Fabiano, and I think the other part is reconciling what 'this' means between the JavaScript event handler function and the GWT TextBox. I've got it working like this (still using StockWatcher as a test-bed -- note that this the Window.confirm here is for testing; my

internationalization messages with bold parameters

2010-02-15 Thread mariyan nenchev
Hi i am using gwt internationalization for user messages. Some of them are parameterized ig.e. : My test messsage number {0} I want to bold the parameterized part. How can i do this? Regards. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Eclipse JavaEE tools + GWT Development mode

2010-02-15 Thread Chris Lercher
Additional steps to integrate with EJBs (3.1, probably similar for 3.0) This is more straightforward, but there are a few minor stumbling blocks: 7. Enterprise Archive -- Create a JavaEE/Enterprise Application project. Let's call it myEar. Add myProject to its module

Re: Facebook

2010-02-15 Thread Martin Trummer
there's another lib for the client-side that may help http://code.google.com/p/facebook4gwt/ I use it in a 3rd party website on the client side, to log the user in and then on the server-side I user facebook-java-api. On 12 Feb., 20:36, Jeff Schnitzer j...@infohazard.org wrote: Yes, I have.  

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Martin Trummer
just search this group or google for 'gwt rich text editor' you can of course also use any java-scropt richt-text editor you like and integrate with gwt e.g. TinyMce, ckeditor.com (http://code.google.com/p/gwt- ckeditor/), .. On 12 Feb., 18:12, Ahmad Bdair bdair2...@gmail.com wrote: Hello, Is

GWT REST and XML

2010-02-15 Thread eggsy84
Hi all, It has been a while since I have done any GWT development (since 1.5 release!!) so please let me know if I have missed anything. I currently have an application that exposes RESTful URLs for the various actions. In previous versions to communicate with the URL's I would have to use

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Thomas Broyer
On Feb 12, 6:12 pm, Ahmad Bdair bdair2...@gmail.com wrote: Hello, Is there a widget that provides a similar functionality to what text area in emails / blog / forums provides? Where the user can write text, change its color, bold..etc How about a RichTextArea?

Re: internationalization messages with bold parameters

2010-02-15 Thread Thomas Broyer
On Feb 15, 10:53 am, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi i am using gwt internationalization for user messages. Some of them are parameterized ig.e. : My test messsage number {0} I want to bold the parameterized part. How can i do this? @Message(My test message number b{0}/b)

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Thomas Broyer
On Feb 14, 11:19 pm, Jim Douglas jdoug...@basis.com wrote: I've been playing with some code to register oncut against a GWT TextBox.  The basic event registration seems to be working ok; I get to the event handler function, and the return false part seems to be working as designed (the cut

Re: DockLayoutPanel: UIBinder and Style.Unit

2010-02-15 Thread Thomas Broyer
On Feb 15, 7:03 am, Ahmed Ashour a.ash...@gmail.com wrote: Hi all,     - First, why Style.Unit [1] is not documenting the values? Why do you want the values? (and you're given the source, use it!) (btw, they're all the lowercase version of the enum's value name, except for PCT which is %)  

Re: UIBinder unusable without a good layout policy.

2010-02-15 Thread Thomas Broyer
On Feb 14, 3:18 pm, Blessed Geek blessedg...@gmail.com wrote: The only usable layout for UIBinder is DockLayoutPanel, which is not applicable for most layout requirements. Without useable layouts, uibinder is a good demo technology but unuseable. The Grid widget for example. No

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Fabiano
On Feb 15, 10:35 am, Jim Douglas jdou...@basis.com wrote: I think that's part of it, Fabiano, and I think the other part is reconciling what 'this' means between the JavaScript event handler function Trying to solve others issue is a good way to learn.. your final solution is interesting.

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Jim Douglas
Awesome, thanks Thomas! That version does exactly what I need. On Feb 15, 3:22 am, Thomas Broyer t.bro...@gmail.com wrote: On Feb 14, 11:19 pm, Jim Douglas jdoug...@basis.com wrote: I've been playing with some code to register oncut against a GWT TextBox.  The basic event registration

Re: GWT REST and XML

2010-02-15 Thread Harald Pehl
Hi Eggsy, for the XML parsing you can take a look at http://code.google.com/p/piriti/. It's a small XML parser based on annotations and deferred binding. I wrote it as I have several GWT clients talking to RESTful applications with XML representations. Let me know if this is somewhat useful for

Re: i18n and uiBinder

2010-02-15 Thread Christian Goudreau
It's supposed to be automatic. You have to specify the locale in your HTML and then, GWT Compiler does the tricks. For me it always worked fine in Dev, but once I came to publish, my Images didn't change according to my locales... Christian On Sun, Feb 14, 2010 at 7:05 PM, ale

Re: GWT REST and XML

2010-02-15 Thread eggsy84
Hi there, Thank you for the link to Piriti this is something I shall definately make use of Many thanks! On Feb 15, 12:31 pm, Harald Pehl harald.p...@googlemail.com wrote: Hi Eggsy, for the XML parsing you can take a look athttp://code.google.com/p/piriti/. It's a small XML parser based

Re: MVP question

2010-02-15 Thread Eric
It would be great if someone would post a non-trivial example of MVP. I have struggled extrapolating from the Contacts App into more complex arrangements. I am by no means an authority, so please correct me. My first take away was that their were a few rules: 1) Presenters don't know about

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Chris Lercher
I think the RichTextArea is really a great widget! As always, be very careful when you use the result HTML. Parse the result on the server side, and eliminate unwanted tags and also unwanted attributes (like 'onClick'). This isn't so easy, because you probably want to allow exactly the kind of

Re: GWT REST and XML

2010-02-15 Thread Iqbal Yusuf Dipu
A) To communicate with RESTful resources you could use com.google.gwt.http.client.RequestBuilder i.e. String url = /rest/myresources; RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, URL .encode(url));

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Ahmad Bdair
Thanks All, I appreciate. On Feb 15, 3:23 pm, Chris Lercher cl_for_mail...@gmx.net wrote: I think the RichTextArea is really a great widget! As always, be very careful when you use the result HTML. Parse the result on the server side, and eliminate unwanted tags and also unwanted attributes

Re: GWT REST and XML

2010-02-15 Thread eggsy84
Hi Iqbal, Thank you for your reply I shall read over your blog So I assume using RequestBuilder will avoid any SOP issues? On Feb 15, 1:57 pm, Iqbal Yusuf Dipu iqbalyusufd...@gmail.com wrote: A) To communicate with RESTful resources you could use com.google.gwt.http.client.RequestBuilder

Re: Seem like no way to get keycode from KeyDownHandler, KeyUpHandler

2010-02-15 Thread Thomas Broyer
On Feb 14, 7:31 pm, Jim Douglas jdoug...@basis.com wrote: Thomas, Alan is writing low level code that needs to deal correctly with key repeats in all browsers. OK, sorry. The real issue is with repeats then, and more specifically Opera. But Alan titled his message get keycode from

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Joe Cole
We use antisami for this, which is awesome: http://code.google.com/p/owaspantisamy/ On Feb 16, 2:23 am, Chris Lercher cl_for_mail...@gmx.net wrote: I think the RichTextArea is really a great widget! As always, be very careful when you use the result HTML. Parse the result on the server side,

Problems compiling internationalisation files with GWT 2.0

2010-02-15 Thread vasu
I have added the support for Hindi language in my application with GWT 2.0. It worked well in hosted mode but when I tried to compile the module, compiler failed with following error. I tried to Search on internet but didn't find any solution. If someone could help to resolve this issue that would

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Fabiano
On 14 Feb, 23:19, Jim Douglas jdoug...@basis.com wrote: $entry(th...@com.google.gwt.sample.stockwatcher.client.stockwatcher::doCut()); Hi, I'm a bit nood but I have the impression that the problem could be related to the function argument, my proposal, not tested:

Question about OnModuleLoad() and onPageLoad event

2010-02-15 Thread Fabiano
Hi, I am currently integrating my GWT application inside a page (there are graphical elements which are not instanziated by GWT). I have already managed window's OnClose handlers and they are working right but I have not found a GWT way to add an handler to get the page window's onload. I have

RemoteServiceServlte error

2010-02-15 Thread pkp
Hi All, I upgraded to latest GWT ver 2.0. I am getting this below error. [ERROR] Line 10: No source code is available for type com.google.gwt.user.server.rpc.RemoteServiceServlet; did you forget to inherit a required module? Any kind of pointer is higly appriciated. Thx, Pradeep. --

Re: UIBinder unusable without a good layout policy.

2010-02-15 Thread Marcus Christensson
The trick is to add an annotated constructor to your class above: @UiConstructor public UIGrid(nt rowCount, int columnCount) { super(rowCount, columnCount); } Now your code should work as expected. You might need to remove your row and column setter methods. /Marcus On Feb 14, 3:18 pm,

Re: UIBinder unusable without a good layout policy.

2010-02-15 Thread Marcus Christensson
The trick is to add an annotated constructor. In your case the constructor should look something like: @UiConstructor public UIGrid(int rowCount, int columnCount) { super(rowCount, columnCount); } This should work with your ui.xml above. You might have to remove your rowCount and columnCount

Re: MVP question

2010-02-15 Thread Subhrajyoti Moitra
as i am using it currently, my views are indeed dependent on the model, since my models are complicated or not enough granularity on the views to just receive and render only strings or simple data. Its a design question,i think, how you want to put your application. UI logic , like whether to

Hosted Mode with multiple modules

2010-02-15 Thread Jay
All, I'm curious as to how I should handle the gwt.codesvr url parameter in a multi module GWT application. My app is broken into several small pieces, and as I link from one to the other in Hosted debug mode, the gwt.codesvr parameter gets lost. It seems like a terrible idea to use

GWT Command

2010-02-15 Thread Yawn
hi, I'm trying to develope a web app and I used the MenuBar widget to create the top menu but I have now a problem =( .. do I have to create a Command for each menu option or can I create one Command and use args[] or something like that? thanks a lot yawn -- You received this message because

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Fabiano
On Feb 15, 12:22 pm, Thomas Broyer t.bro...@gmail.com wrote: On Feb 14, 11:19 pm, Jim Douglas jdoug...@basis.com wrote: t...@com.google.gwt.sample.stockwatcher.client.stockwatcher::doCut() (); Hi, this is another interesting syntax about function without arguments: doCut() (); Looks

how to add DoubleClickHandler to a FlexTable ?

2010-02-15 Thread moulay ahmed elidrissi attach
Hello everybody, I m knew in GWT... I'm working on the version 2.0. Someone can explain me how to add DoubleClickHandler to a FlexTable ? Thanks Moulay Ahmed EL IDRISSI ATTACH -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Questions about OnModuleLoad() and onPageLoad event

2010-02-15 Thread Fabiano
Hi to all, I am currently integrating my GWT application inside a page (there are graphical elements which are not instanziated by GWT). I have already managed window's OnClose handlers and they are working right but I have not found a GWT way to add an handler to get the page window's onload. I

how to call client site function from plan html file.

2010-02-15 Thread ganesh.shirsat
hi friends, i want to call the client site function from one html file. like example (suppose class ABC { public function xyz() { $wnd.alert(calling from plan html file) } } i want to call 'xyz' function abc.htm file. how would i achieved this? please give

SpreadSheet Editor

2010-02-15 Thread K, Dhamodharan
Does GWT provide a SpreadSheet Editor. I want to have some rules edited in a Spreadsheet. I should be able to get API support to read through the Spreadsheet to collect data and modify the spread sheet, just like as we use POI for Excel. -- You received this message because you are subscribed to

Re: Understanding RequestBilder und SOP Problem

2010-02-15 Thread nino ekambi
Seems to work Thx :) 2010/2/12 Thomas Broyer t.bro...@gmail.com On Feb 11, 3:16 pm, nino jazzmatad...@googlemail.com wrote: Well this code is working inside of the non-application sandboy : function HCall(){ xmlhttp = new XMLHttpRequest();

Re: i18n and uiBinder

2010-02-15 Thread ale
ehm, but where should I put the properties file? under the client folder? thanks.. On 15 Feb, 13:45, Christian Goudreau goudreau.christ...@gmail.com wrote: It's supposed to be automatic. You have to specify the locale in your HTML and then, GWT Compiler does the tricks. For me it always

Re: i18n and uiBinder

2010-02-15 Thread Christian Goudreau
Normally, same directory as you .ui.xml file. Christian On Mon, Feb 15, 2010 at 10:17 AM, ale aleee...@gmail.com wrote: ehm, but where should I put the properties file? under the client folder? thanks.. On 15 Feb, 13:45, Christian Goudreau goudreau.christ...@gmail.com wrote: It's

RemoteServiceServlet Inheritance

2010-02-15 Thread Floch
Hello, I implemented the MVP pattern: in my service implementation (server- side), I got one unique method execute. Because I'm going to develop several applications using this same pattern, I would like to create a base service implementation. Is it possible? While performing some tests, I do

GWT 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-15 Thread Thomas
Hi, I followed the steps on http://code.google.com/webtoolkit/usingeclipse.html and updated my eclipse plugin to GWT 2.0.2, then I created a web application without modifying it. I met a problem while wanting to run the unchanged app locally in development mode : The development mode tab pop up

Unable to change body font from Application.css file.

2010-02-15 Thread Subhrajyoti Moitra
Hello, I am facing a rather silly problem. I cant seem to set the body fonts from my application css file. I have included it in the app-gwt.xml module file in the stylesheet tag, but my font stays to Arial. My app.css file has the following: body { margin: 0px; padding: 0;

Re: MVP question

2010-02-15 Thread Yaakov Chaikin
On Mon, Feb 15, 2010 at 8:20 AM, Eric edimickeast...@gmail.com wrote: It would be great if someone would post a non-trivial example of MVP. I have struggled extrapolating from the Contacts App into more complex arrangements.  I am by no means an authority, so please correct me. My first take

Re: MVP question

2010-02-15 Thread Nathan Wells
The main reason (for me) for removing and dependencies on the model from the view is that as you add dependencies, you will also add state. You will then be managing your application state in your view, which is (1) something you would want to use JUnit for, and (2) a major reason for the

String.matches and history token parameters

2010-02-15 Thread Yaakov
Hi all, So, I stumbled on a bug in GWT that's not been fixed yet: http://code.google.com/p/google-web-toolkit/issues/detail?id=3071 Basically, the conversion of Java regex processing to JS regex processing seems broken in GWT for now (including the latest 2.0.1). I was wondering how others

Re: i18n and uiBinder

2010-02-15 Thread ale
ok, so every ui.xml has a specific message resource file... (or one for package...) It's ok. and the name? is right 'messages.properties'? thanks again. Alessandro On 15 Feb, 16:21, Christian Goudreau goudreau.christ...@gmail.com wrote: Normally, same directory as you .ui.xml file. Christian

Re: i18n and uiBinder

2010-02-15 Thread Christian Goudreau
If you add : ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator ui:generateLocales=default in your .ui.xml file, GWT compiler should create your .propertie file for your .ui.xml file. Then you only have

GWT 2 using Eclipse with plugin and Spring

2010-02-15 Thread Paul S
I have a fresh project that I've started to test GWT 2.0.2 with Spring 3. I am using the Eclipse GWT plugin and am using the in-built Jetty server that is enabled by default for hosted mode. GWT creates a web.xml file inside WEB-INF. I opened this up to add some extra Spring functionality to the

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-15 Thread Paul Grenyer
Hi [WARN] Could not instantiate listener org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener Have you got all the necessary Spring JARs in WEB-INF/lib? -- Thanks Paul Paul Grenyer e:

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-15 Thread Paul S
I believe so, I downloaded spring 3 and the actual jar in question would be this one: org.springframework.web-3.0.0.RELEASE.jar However, in my frustration I just copied ALL the springframework modules and pasted them into my WEB-INF/lib folder just to be sure, but still the same issue. Normally

Re: i18n and uiBinder

2010-02-15 Thread ale
ok, I had read the documentation that you linked, but until now I had not understood :-) thanks again, I will try. On 15 Feb, 17:42, Christian Goudreau goudreau.christ...@gmail.com wrote: If you add : ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'    

Re: String.matches and history token parameters

2010-02-15 Thread Yaakov Chaikin
Hmm... I think I spoke too soon. Well, maybe not, but what I was experiencing is probably NOT related to the bug I mentioned... Here is the regex that was working 100% in development (2.0.1) and not at all in production: private static final String HISTORY_TOKEN_REGEX =

Re: Who uploads GWT to Maven

2010-02-15 Thread Oleg K.
+1 that this problem should be resolved. and when uploaded, it will be nice to have javadoc and sources near the main jar files. (now I deploy them to my local nexus maven repo) On 14 фев, 13:08, Jan Ehrhardt jan.ehrha...@googlemail.com wrote: Well Maven is not bad in practice, the problem is,

file delete problem

2010-02-15 Thread user20
I use the following code with RPC call , with me lockal works correctly but with tomcat 5.5 not HttpServletRequest req = getThreadLocalRequest(); String delpath = req.getSession().getServletContext().getRealPath(/) + job/; File f=new File(delpath+path);

Re: file delete problem

2010-02-15 Thread Paul Grenyer
Hi On Mon, Feb 15, 2010 at 5:35 PM, user20 ba.os...@gmail.com wrote: I use the following code with RPC call  , with me lockal works correctly but with tomcat 5.5 not HttpServletRequest req = getThreadLocalRequest();                String delpath =

Re: file delete problem

2010-02-15 Thread user20
There is no error message . the file is not deleted On 15 Feb., 18:37, Paul Grenyer paul.gren...@gmail.com wrote: Hi On Mon, Feb 15, 2010 at 5:35 PM, user20 ba.os...@gmail.com wrote: I use the following code with RPC call  , with me lockal works correctly but with tomcat 5.5 not

Re: file delete problem

2010-02-15 Thread Paul Grenyer
Have you looked in the Tomcat logs? We can't help you without an error message. -Original Message- From: user20 ba.os...@gmail.com Date: Mon, 15 Feb 2010 09:47:25 To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com Subject: Re: file delete problem There is no error message . the

Re: i18n and uiBinder

2010-02-15 Thread ale
ok, I had read the documentation that you linked, but until now I had not understood :-) thanks again, I will try. On 15 Feb, 17:42, Christian Goudreau goudreau.christ...@gmail.com wrote: If you add : ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'    

Re: DockLayoutPanel: UIBinder and Style.Unit

2010-02-15 Thread Ahmed Ashour
Hi all, On Feb 15, 2:38 pm, Thomas Broyer t.bro...@gmail.com wrote:     - First, why Style.Unit [1] is not documenting the values? Why do you want the values? (and you're given the source, use it!) (btw, they're all the lowercase version of the enum's value name, except for PCT which is %)

See my messages ?

2010-02-15 Thread Floch
Hello, does someone see my messages ? I got no answer at all. My previous message was entitled RemoteServiceServlet Inheritance Thanks, Florian -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: See my messages ?

2010-02-15 Thread mariyan nenchev
yes On Mon, Feb 15, 2010 at 8:26 PM, Floch florian.gimb...@gmail.com wrote: Hello, does someone see my messages ? I got no answer at all. My previous message was entitled RemoteServiceServlet Inheritance Thanks, Florian -- You received this message because you are subscribed to the

Re: See my messages ?

2010-02-15 Thread Gimbert Florian
thank you! Le 15/02/2010 19:28, mariyan nenchev a écrit : yes On Mon, Feb 15, 2010 at 8:26 PM, Floch florian.gimb...@gmail.com mailto:florian.gimb...@gmail.com wrote: Hello, does someone see my messages ? I got no answer at all. My previous message was entitled

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-15 Thread Paul S
Any further thoughts on this from anyone? It seems a lot like a problem between Jetty (imposed by GWT) and Spring 3.0, but then how is it possible that I am the only one/first one to face this issue? My actual project code is very simple so I've managed to isolate the problem down to Jetty not

Re: Facebook

2010-02-15 Thread Jeff Schnitzer
Unfortunately facebook4gwt, like the other gwt wrapper mentioned in this thread, wraps the clunky old v0.4 FeatureLoader.js.php javascript. The new one, while still technically being alpha, is at least as solid as the old (we're talking Facebook here, they break things at regular intervals) and

How to make css layout with old panel layout

2010-02-15 Thread Gary S
We have a GWT application laid out in the old way with lots of nested HorizontalPanels, VerticalPanel, FloatPanels etc. Designers want me to apply CSS ZenGarden type layouts. I know this is impractical and HTMLPanels are what should be used with CSS layout. I can set negative margin and contents

Re: GWT 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-15 Thread John Denley
Im not sure what the problem is here, but Ive had the same problem, and all I did was to change the first 127.0.0.1 to localhost and it worked OK after that In my current development phase I dont have time to mess around trying to fix things properly if I can find a workable workaround, so Im

Re: MVP question

2010-02-15 Thread Yaakov Chaikin
On Mon, Feb 15, 2010 at 11:01 AM, Nathan Wells nwwe...@gmail.com wrote: The main reason (for me) for removing and dependencies on the model from the view is that as you add dependencies, you will also add state. You will then be managing your application state in your view, which is (1)

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-15 Thread Paul S
I tried the alternative to ContextLoadListener, which is ContextLoadServlet and it still fails just the same, but with a slightly longer stack trace: Starting Jetty on port [WARN] EXCEPTION java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet at

Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-15 Thread ckendrick
Carl, On skins, you don't sound as though you've looked at the Showcase since 2.0, when we made a series of improvements which now has most users commenting that our skins are sharper than GXTs. On grids, this is the first time I've ever seen someone claim the GXT grids are better, I really

Re: HTTP Error 503 when running in Hosted Mode

2010-02-15 Thread Manny
honestly 503 errors in gwt usually mean some error in your coding logic. make sure all your compile and runtime dependencies are available. set a breakpoint and select the dropdown debug-debug as web app. It can be quite frustrating but you can revert back to when it was working and add bit by bit

Re: Facebook

2010-02-15 Thread Manny
Yes connect+ custom wrapper is the way to go. after days of frustration I have made a good amount of headway with Connect, it also works whether within the facebook canvas or outside of it. which is a huge plus. THanks. On Feb 15, 1:51 pm, Jeff Schnitzer j...@infohazard.org wrote: Unfortunately

Re: Questions about OnModuleLoad() and onPageLoad event

2010-02-15 Thread Thomas Broyer
On 15 fév, 08:45, Fabiano ftar...@gmail.com wrote: Hi to all, I am currently integrating my GWT application inside a page (there are graphical elements which are not instanziated by GWT). I have already managed window's OnClose handlers and they are working right but I have not found a GWT

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Thomas Broyer
On 15 fév, 13:10, Fabiano ftar...@gmail.com wrote: On Feb 15, 12:22 pm, Thomas Broyer t.bro...@gmail.com wrote: On Feb 14, 11:19 pm, Jim Douglas jdoug...@basis.com wrote: t...@com.google.gwt.sample.stockwatcher.client.stockwatcher::doCut() (); Hi, this is another interesting syntax

Re: Blog/ Email TextArea like widget

2010-02-15 Thread Chris Lercher
Very cool. OWASP is generally a good source for security related things, so this sounds promising. I'll have a closer look at the project tomorrow. I hope it can also parse link targets (to avoid javascript:... hrefs) etc. Thanks for the link Chris On Feb 15, 3:42 pm, Joe Cole

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Jim Douglas
Thanks again for your help, Thomas. FWIW, here's the final version in my application code (this particular widget subclasses TextBox): In the constructor: registerOnCut(getElement()); private native void registerOnCut(Element element) /*-{ var that = this;

Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-15 Thread ckendrick
Um, so, it was pointed out to me that I missed some major ones. Even some I wrote personally :) Drag Reorder of columns http://www.smartclient.com/smartgwt/showcase/#grid_appearance_columnorder The CubeGrid (multi-dimensional data model support)

PNG transparency with a FlexTable in GWT 2.0

2010-02-15 Thread dane.molotok
I have a FlexTable that I want to programmatically add a plus or minus icon next to rows for which the user has pending changes. I do this with FlextTable#setWidget(int, int, Widget), specifying an Image for the Widget. The Image is constructed from an ImageResource that I obtain with a

Re: doubts regarding upgrading to 2.0

2010-02-15 Thread Richard
My project gwt-comet works with GWT 2.0 and is a far better (in my opinion) implementation than Rocket. Check out the feature set here: http://code.google.com/p/gwt-comet/ On Feb 15, 4:29 pm, chill_hus hussain.wa...@gmail.com wrote: Hi I work on a project which uses GWT 1.5.3. I want to

Re: String.matches and history token parameters

2010-02-15 Thread Thomas Broyer
On 15 fév, 18:22, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Hmm... I think I spoke too soon. Well, maybe not, but what I was experiencing is probably NOT related to the bug I mentioned... Here is the regex that was working 100% in development (2.0.1) and not at all in production:

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Thomas Broyer
On 15 fév, 23:31, Jim Douglas jdoug...@basis.com wrote: Thanks again for your help, Thomas.  FWIW, here's the final version in my application code (this particular widget subclasses TextBox): In the constructor:         registerOnCut(getElement());     private native void

Panel.hide() and images

2010-02-15 Thread Manny
So this is really two questions in one post. I want to hide all the elements contained within a panel and show certain others depending on which link the user clicks. i do not want to user clear() as that will just kill its child/ attached widgets. thereby having them to be reinstantiated all over

Re: XMLBeans or XStream equivalent for Client side GWT

2010-02-15 Thread Michael Dausmann
Thanks Harald Looks suitable/light etc. I am playing with it now. Michael. On Feb 15, 6:58 pm, Harald Pehl harald.p...@googlemail.com wrote: Hi Michael, I've written an XML mapper for GWT. You can take a look at it underhttp://code.google.com/p/piriti/. I'm using it to parse XML

Re: Facebook

2010-02-15 Thread Sekhar
I'm using facebook-java-api for an app that's about to go into production for Android and GWT. I thought the API was simple/clean, very easy to use tokens (for Android logins) and session, and has some useful extras like verifying session signature. Also, you can get the source (I've in fact

Re: NumberFormat problems(8 decimal places)

2010-02-15 Thread tomasm
Hi, This is a known bug. See http://code.google.com/p/google-web-toolkit/issues/detail?id=4368 for more details and workarounds. -Tomas On Feb 5, 4:43 am, Tercio terciofi...@gmail.com wrote: Hi! I have aNumberFormatwith 8 decimal places, that the code:                NumberFormatformat

Re: How do you call a Java method from JavaScript?

2010-02-15 Thread Jim Douglas
I actually did read that section more than once, but the JSNI notes are sparse, and there are no event handler samples. I just regenerated my app in detail mode to look for similar generated code, and I do see a few, but I don't understand it. I'll have to take this one on faith; it's not at all

GWT Integration with Acegi or other libraries

2010-02-15 Thread Shyam Visamsetty
Hi, I would like to know if GWT can be integrated with Acegi. I have read the link below. But, looking for more detailed information. http://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi Can anyone provide any better ways of providing form based login. I know that it can be done by

[gwt-contrib] Re: Comment on ValueStoreAndRequestFactory in google-web-toolkit

2010-02-15 Thread codesite-noreply
Comment by andrew.pietsch: Just a quick note before I've had a chance to dig deeper - [http://code.google.com/p/gwt-pectin/ pectin] abstracts where the data comes from using a value model so isn't really concerned with how it comes and goes as long as it's can be adapted to a value model.

[gwt-contrib] Re: now.. afetr GWT 2.0?

2010-02-15 Thread skrat
Allow UiBinder to use any ClientBundle in embedded ui:style CSS, so I can reuse my images actually, can't believe it's not working. On Dec 17 2009, 3:25 pm, FDG fdigiuse...@gmail.com wrote: - remove actual UiBinder limitations - supports printing using css media (so wrap themes around a @media

[gwt-contrib] Re: Comment on ValueStoreAndRequestFactory in google-web-toolkit

2010-02-15 Thread codesite-noreply
Comment by nwwells: The wave is working now. Thanks! For more information: http://code.google.com/p/google-web-toolkit/wiki/ValueStoreAndRequestFactory -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Comment on ValueStoreAndRequestFactory in google-web-toolkit

2010-02-15 Thread codesite-noreply
Comment by sami.jaber: @Ray Ok I understand your async constraints. Let's have look at it when you get back. Sami For more information: http://code.google.com/p/google-web-toolkit/wiki/ValueStoreAndRequestFactory -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] GWT 2.0.2 still broken when there is no history.

2010-02-15 Thread stuckagain
People, Somehow testings needs to be a bit enhanced. GWT 2.0.2 which is supposed to fix issue 4585 does not seem to work correctly. Although the original stack is no longer produced when showing the popup, I now get the stack when closing down the PopupPanel. Can this bug be re-opened ?

Re: [gwt-contrib] Re: now.. afetr GWT 2.0?

2010-02-15 Thread Ray Ryan
That should work already. Are you using @UiField(provided - true)? Please file an issue with details. rjrjr On Feb 15, 2010 3:36 AM, skrat dusan.malia...@gmail.com wrote: Allow UiBinder to use any ClientBundle in embedded ui:style CSS, so I can reuse my images actually, can't believe it's not

Re: [gwt-contrib] Re: Scheduler vs. DeferredCommand

2010-02-15 Thread John LaBanca
I believe there is one other difference, but somebody else on the team will have to confirm. DeferredCommand uses a timeout of 0, which means that the command executes AFTER the current event loop finishes. Scheduler.scheduleEntry/scheduleFinally are executed within the event loop, immediately

Re: [gwt-contrib] GWT 2.0.2 still broken when there is no history.

2010-02-15 Thread Joel Webber
[+jlabanca: can you take a look at this?] On Mon, Feb 15, 2010 at 9:06 AM, stuckagain david.no...@gmail.com wrote: People, Somehow testings needs to be a bit enhanced. GWT 2.0.2 which is supposed to fix issue 4585 does not seem to work correctly. Although the original stack is no longer

Re: [gwt-contrib] Feature Request: VisibilityEvent

2010-02-15 Thread Joel Webber
I'm not sure if it's possible to do this correctly in the general case. You can currently override setVisible(), but that only works if it's called explicitly. Most importantly, there's no way I know of to get the DOM to tell you when an element becomes visible/hidden; to synthesize this would

Re: [gwt-contrib] GWT 2.0.2 still broken when there is no history.

2010-02-15 Thread John LaBanca
I'm already working on it. He's correct, there is still an NPE. I'll fix it immediately. Thanks, John LaBanca jlaba...@google.com On Mon, Feb 15, 2010 at 10:43 AM, Joel Webber j...@google.com wrote: [+jlabanca: can you take a look at this?] On Mon, Feb 15, 2010 at 9:06 AM, stuckagain

[gwt-contrib] PopupPanel NPE when history disabled

2010-02-15 Thread jlabanca
Reviewers: jgw, Description: PopupPanel.setState throws an NPE when history is disabled because the HandlerRegistration for the History handler is null. Fix: We now check that HandlerRegistration is not null. Testing: Added a unit test to test this case. Please review this at

  1   2   >