Re: momentgwt - a GWT wrapper library for momentjs.com

2013-03-25 Thread Sebastián Gurin
forgot to impact that little fix in the .jar. Sorry. On Monday, March 25, 2013 9:17:45 PM UTC-3, Mohammad Al-Quraian wrote: > > Thanks for your replies, I really appreciate that. > There's an issue with your code, I'm not sure if it's a bug or not. > > It gives me this error: > > com.google.gwt.c

Re: GWT RPC Serialization stops working when migration from 2.4.0 to 2.5.1

2013-03-25 Thread Paulo Martins
I've managed to solve this problem. Basically I've created a class extending the HashMap: public class MapStatusChanges extends HashMap>>> { ... } And then created a CustomSerializer to the MapStatusChanges. It's not a generic solution, but it works until this problem is solved at GWT.

Re: momentgwt - a GWT wrapper library for momentjs.com

2013-03-25 Thread Mohammad Al-Quraian
Thanks for your replies, I really appreciate that. There's an issue with your code, I'm not sure if it's a bug or not. It gives me this error: com.google.gwt.core.client.JavaScriptException: (ReferenceError) @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/l

Re: Where does the clip on my DialogBox come from?

2013-03-25 Thread Jens
You probably have enabled animations for the DialogBox. DialogBox extends PopupPanel and PopupPanel uses CSS clip when animations are enabled. Take a look at PopupPanel.ResizeAnimation. To get rid of it just disable the animation (and maybe use CSS3 transitions instead). -- J. -- You receive

Where does the clip on my DialogBox come from?

2013-03-25 Thread Michael Hirsch
I have a DialogBox that works well, but now I'm trying to add a drop shadow to it. I can get it, except that the element.style on the div that gets created has "clip: rect(auto auto auto auto)" in it. It I delete that, the drop shadow shows, but with it the drop shadow is invisible. I can't figu

Re: JSONParser.parseStrict() with \"

2013-03-25 Thread rkulisas
For my case, I want to keep \". So I'd need to do replaceAll("\"","\\\"") on all my java object toString() when I want to convert this back to JSON format. Is there a better GWT library to do this conversion? This is now I convert back to JSON string: public String toString(){ return "

Re: JSONParser.parseStrict() with \"

2013-03-25 Thread rkulisas
Hi Thomas, I don't have control over the string value that gets passed in to me. If I don't get \" in return, the JSON will be invalid. I'm having similar problem to this thread. http://stackoverflow.com/questions/13420115/padding-quotes-in-jsonobject Thank you On Monday, March 25, 2013 3:57:

Re: GWT RPC Serialization stops working when migration from 2.4.0 to 2.5.1

2013-03-25 Thread Paulo Martins
Michael, I've cleaned up and rebuilt the whole project. The strange stuff here is that the unique RPC methods that fails are the methods that transport this object. On Monday, March 25, 2013 5:09:24 PM UTC, Michael Prentice wrote: > > Have you cleared out your gwt-unitCache? > > > On Monday, Ma

Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-03-25 Thread Thomas Broyer
On Mon, Mar 25, 2013 at 4:46 PM, Hilco Wijbenga wrote: > On 25 March 2013 02:22, Thomas Broyer wrote: >> Preliminary documentation is available at >> https://github.com/tbroyer/gwt-maven-plugin > > Is it possible to combine multiple "gwt-lib"s into a "gwt-app" without > re-gwt-compiling everythin

Re: momentgwt - a GWT wrapper library for momentjs.com

2013-03-25 Thread Sebastián Gurin
yes is it possible. Take a look at http://momentjs.com/docs/#/i18n/ for seeing how momentjs support internationalization (you must load an extra .js with the desired "language definitions"). YOu can find all the locales files here: https://github.com/timrwood/moment/tree/develop/min/lang I just

Re: momentgwt - a GWT wrapper library for momentjs.com

2013-03-25 Thread Mohammad Al-Quraian
Thanks for the fix, do you know how can I change the locale/language (if that's possible)? Or if it's possible to adopt to the locale of the browser? Cheers On Monday, March 25, 2013 7:09:09 PM UTC+3, Sebastián Gurin wrote: > > Problem fixed. That .jar contains 2 projects inside: momentgwt and

Re: GWT RPC Serialization stops working when migration from 2.4.0 to 2.5.1

2013-03-25 Thread Michael Prentice
Have you cleared out your gwt-unitCache? On Monday, March 25, 2013 1:01:28 PM UTC-4, Paulo Martins wrote: > > I've updated my project from GWT 2.4.0 to GWT 2.5.1 and suddenly a > specific RPC serialization has stopped work (all other are still working). > > I have this class: > > public class St

Re: Closing GWT application

2013-03-25 Thread Michael Prentice
This answer has what you are looking for: http://stackoverflow.com/questions/8617055/how-to-run-javascript-function-from-gwt-java-with-jsni Specifically in Java: myButton.addClickHandler(new ClickHandler(){ public void onClick(ClickEvent event) { closeWindow(); };

GWT RPC Serialization stops working when migration from 2.4.0 to 2.5.1

2013-03-25 Thread Paulo Martins
I've updated my project from GWT 2.4.0 to GWT 2.5.1 and suddenly a specific RPC serialization has stopped work (all other are still working). I have this class: public class StatusChangeMapEntity extends RecordStamp implements Serializable { private HashMap>>> map; ... ... } The

Re: GWT GridPanel max no. of row can be populated

2013-03-25 Thread Jens
GWT only has a widget called "Grid" that is not limited in row size other than its decreasing performance the more rows/columns you add. An alternative is CellTable that supports pageable content and is meant to manage large data sets. In general its a good idea to only show a limited number of

Re: momentgwt - a GWT wrapper library for momentjs.com

2013-03-25 Thread Sebastián Gurin
Problem fixed. That .jar contains 2 projects inside: momentgwt and gwtjsutil - (an utility library of mine for easier javascript wrapper libraries development). Jar replaced. Sorry for the inconvenience On Sunday, March 24, 2013 3:43:10 PM UTC-3, Mohammad Al-Quraian wrote: > > When I tried to us

GWT GridPanel max no. of row can be populated

2013-03-25 Thread majumder . sourav . 2011
Could anyone plz. inform me maximum no. of rows a GripPanle can support. I could display 5000 rows only. What about 15000-2 rows in a GridPanel with 50 rows per page? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe fr

Re: java.lang.NullPointerException at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:187)

2013-03-25 Thread Kris
Hi Thomas, thanks for the reply. I found that the problem is with this dependency... org.jibx maven-jibx-plugin 1.2.5 And using true did solve the compile error. But why does this happen, I only use the jibx classes on the server ?? I did read your suggested posts, but in my case I wou

Using Totoe

2013-03-25 Thread skippy
Does anyone have any examples of using Totoe XML Parser? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. T

Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-03-25 Thread Hilco Wijbenga
On 25 March 2013 02:22, Thomas Broyer wrote: > Preliminary documentation is available at > https://github.com/tbroyer/gwt-maven-plugin Is it possible to combine multiple "gwt-lib"s into a "gwt-app" without re-gwt-compiling everything? Because that would be awesome. :-) > Note that this is an ear

Re: gwtsjcl - a crypto library

2013-03-25 Thread JoyaleXandre
Thanks, good work! Le samedi 23 mars 2013 14:53:20 UTC-4, Sebastián Gurin a écrit : > > I was needing a lightweight crypto library for GWT so I have made a > wrapper of the excellent Stanford Javascript Crypto Library > http://crypto.stanford.edu/sjcl/ > > The project page is http://code.google.

Re: momentgwt - a GWT wrapper library for momentjs.com

2013-03-25 Thread JoyaleXandre
Same problem, the momentgwt-1.0-alldeps.jarhas this description : momentgwt-1.0-nodeps jar . I think there i

Re: Code splittingmysteries

2013-03-25 Thread Ed Bras
BTW: a corresponding issue in the issue tracker: https://code.google.com/p/google-web-toolkit/issues/detail?id=7874 Let's hope more people are experiencing the same problem (and vote the issue) such that the dev team put it on their priority list. On Wed, Mar 20, 2013 at 3:22 PM, Ashton Thomas w

Re: momentgwt - a GWT wrapper library for momentjs.com

2013-03-25 Thread JoyaleXandre
You can use Joda time on the server side. It's a great Java Time/Date library. http://joda-time.sourceforge.net/ Le samedi 23 mars 2013 17:51:25 UTC-4, Sebastián Gurin a écrit : > > I don't think so. This is a 100% JavaScript library for the browser. On > the server you have java.util for date/

Re: JSONParser.parseStrict() with \"

2013-03-25 Thread Thomas Broyer
On Monday, March 25, 2013 11:23:51 AM UTC+1, rkulisas wrote: > > //josn is {"name":"item_name","index":0,*"text":"Kindle Fire HD 8.9\"..."* > } > > JSONValue value = JSONParser.parseStrict(json); > > JSONObject obj; > > JSONString name, text; > > JSONNumber nxd; > > if ((obj = value.isObject(

Re: How to use Objects in SuggestBox instead of text Strings?

2013-03-25 Thread Qrunk
Hi, A very simple solution is to create an method by name *public String getDisplayString()* in your class *Foo*, which should return either bar or any other String field whichever you wanted to display on your SuggestBox. On Monday, 18 March 2013 15:50:05 UTC+5:30, membersound wrote: > > Hi, >

Re: JSONParser.parseStrict() with \"

2013-03-25 Thread rkulisas
//josn is {"name":"item_name","index":0,*"text":"Kindle Fire HD 8.9\"..."*} JSONValue value = JSONParser.parseStrict(json); JSONObject obj; JSONString name, text; JSONNumber nxd; if ((obj = value.isObject()) == null ) return null; if ((value = obj.get("name")) != null) if ((name =

Problem with the function "editRecord" in a DynamicForm (SmartGwt)

2013-03-25 Thread sahli . sabrina
i have in the GUI, a ListGrid and a DynamicForm. When i click on an element in the listGrid, i have to display the values of the edited record on the Dynamic form, for this, i use the EditRecord(Record r) of the dynamicForm public void updateInstanceDetailTabPane(Record record){

[ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-03-25 Thread Thomas Broyer
Hi everyone, Last night (UTC+1), I released 1.0-alpha-1 of my * net.ltgt.gwt.maven:gwt-maven-plugin*. Preliminary documentation is available at https://github.com/tbroyer/gwt-maven-plugin Note that this is an early alpha: • As an experiment, the GWT compiler runs inline rather than in a forked

Re: Adding an "is null" gwt criteria

2013-03-25 Thread Thomas Broyer
On Monday, March 25, 2013 9:51:06 AM UTC+1, Faisal Khan wrote: > > Jens, > > It's Smart GWT Criteria API to be more precise. > You'll have more luck on the Smart GWT forum then: http://forums.smartclient.com/forumdisplay.php?f=14 -- You received this message because you are subscribed to the

Re: JSONParser.parseStrict() with \"

2013-03-25 Thread Thomas Broyer
On Monday, March 25, 2013 3:13:53 AM UTC+1, rkulisas wrote: > > Before calling parseStrict(): > {"name":"item_name","index":0,*"text":"Kindle Fire HD 8.9\"..."*} > So the "text" property of the object is the string « Kindle Fire HD 8.9"... » > After parseStrict(): > {"name":"item_name", "i

Re: Adding an "is null" gwt criteria

2013-03-25 Thread Faisal Khan
Jens, It's Smart GWT Criteria API to be more precise. Regards Faisal On Friday, March 22, 2013 9:55:43 PM UTC+5:30, Jens wrote: > > What is "GWT criteria API"? > > If its something of a 3rd party GWT library then you better ask the > corresponding people that have build that library. They prob