Re: GWT/CSS text align problem

2012-12-18 Thread Thomas Broyer
On Tuesday, December 18, 2012 8:43:54 AM UTC+1, Magnus wrote: Hello, assume a rectangular region at the bottom of the browsers content, used as a statusbar. There should be three containers for text: - left edge, vertically centered, defined left padding - right edge, vertically

Re: GWT/CSS text align problem

2012-12-18 Thread Magnus
Hi Thomas, I assume you mean something like this: http://jsfiddle.net/3EJ7A/19/ In this case the cells all are aligned to the left. How can we position them left, right and centered? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

how to show horizontal scrollbar in scrollpanel automatically?

2012-12-18 Thread tong123123
I have a scrollpanel enclosing a tree. when the tree node expands, the scrollpanel can show the vertical scrollbar automatically. but it cannot show the horizontal scrollbar automatically, instead, only eclipse (...) is shown for overflow item. so how to show the horizontal scrollbar

Can I get the URL where the User want's to go ?

2012-12-18 Thread Dominic Warzok
Hi all, I'm looking for a while now to find a method which gives me the URL the USer typed in. For example: the user is on my webpage www.xyz.com/www/mysite.html and now he types in the browser bar www.google.de and hit enter. It is possible to get the new url in my webapp? Thanks in

GWT performance optimization singleton classes, RPC types, server round-trips

2012-12-18 Thread s3cure
Using GWT 2.5, I am currently going through performance optimizations of a reasonable size GWT client application which is served by C# .NET RPC interfaces on the server side. I have been through the Google I/O video and we have made significant impovements by reducing number of widgets and

GWT app does not work with Safari?

2012-12-18 Thread Magnus
Hi, my GWT app does not start under Safari. http://www.bavaria64.de:8080/bcst/index.html?testStatusBar The app first shows a loading indicator, which is then removed and substituted by the app's main panel, a DockLayoutPanel: RootPanel p = RootPanel.get(apl-Indicator); Element e =

Re: GWT performance optimization singleton classes, RPC types, server round-trips

2012-12-18 Thread Thomas Broyer
On Tuesday, December 18, 2012 10:54:06 AM UTC+1, s3cure wrote: Using GWT 2.5, I am currently going through performance optimizations of a reasonable size GWT client application which is served by C# .NET RPC interfaces on the server side. I have been through the Google I/O video and we

Re: GWT/CSS text align problem

2012-12-18 Thread Andrea Boscolo
There is a typo in the table-row div (missing display). Then use text-align if you want to align just the text. See http://jsfiddle.net/a4RmK/ I'd rather try a cleaner solution though, like http://jsfiddle.net/nnpGb/ On Tuesday, December 18, 2012 9:46:15 AM UTC+1, Magnus wrote: Hi Thomas, I

Re: GWT performance optimization singleton classes, RPC types, server round-trips

2012-12-18 Thread s3cure
Thank you Thomas. I should probably start thinking about changing my button singletons to instantiate them on-demand and discard on detach. Regarding the selection of correct permutation on the server, given the caveats, I may leave this until I become too eager and if I do I will get back to

Re: FastButton? Handling touch events for mobile?

2012-12-18 Thread Mark Wyszomierski
This is great Ashton. Will the press handlers fire when you're scrolling a page? For example: 1. User presses down on a button. 2. User starts to drag downward. 3. Page starts scrolling (if page content tall enough for scrolling) 4. User releases outside original button rectangle.

Re: FastButton? Handling touch events for mobile?

2012-12-18 Thread Ashton Thomas
The PressEvent should only fire if the touchEnd happens over the element. If I understand correctly, the event should not fire if you scroll or somehow move your finger off the target. However, there may be a situation on browsers with the elastic scroll where you try to scroll but there is

Re: Dynamic canvas resize without grawings rescaled?

2012-12-18 Thread RyanZA
When you resize an html5 canvas, the contents will be cleared. You can get around this by creating a second canvas without attaching it to the DOM, and then 1.drawing the original canvas on to the new temporary canvas 2.resize the original canvas (which will clear it) - make sure to use

Re: Duplicated entry in DeobfuscatorBuilder for maven compile

2012-12-18 Thread Thomas Broyer
On Tuesday, December 18, 2012 2:50:04 PM UTC+1, SiJa wrote: The error can be reproduced with this project. If you call mvn clean package and check WebInterfaceRequestFactoryDeobfuscatorBuilder.java you can see the duplicated entry for bean OPAssertionWithInformation. Eclipse compile also

Re: GWT Whiteboard (freehand drawing)

2012-12-18 Thread James
Is it promising to use this library for reporting to replace other third party chart libraries such as GWT Visualization? On Monday, December 17, 2012 5:34:17 PM UTC-5, Alfredo Quiroga-Villamil wrote: Forgot to mention ... You can also add a touch end handler and apply the same concept.

Re: GWT Whiteboard (freehand drawing)

2012-12-18 Thread Alfredo Quiroga-Villamil
Hi James, I am unfortunately not familiar with GWT Visualization. I've seen threads about it though. But to answer your question, yes, it would be fairly straight forward to create a slick charting library. That doesn't mean it would be simple. The devil is usually as people say in the details.

Re: How Gwt runAsync decides to include code... be careful...?

2012-12-18 Thread Ed
Can somebody tell me if the above is expected behavior or a bug? So should I put it in the issue tracker? Of should the doc be more specific about the above usage? Please test it yourself .. - Ed Op zondag 16 december 2012 13:15:21 UTC+1 schreef Ed het volgende: (Using version 2.5.0) I am a

Re: How Gwt runAsync decides to include code... be careful...?

2012-12-18 Thread Jens
Your compile report should tell you why your controller is now in the left over fragment. Its always hard to tell whats going on without knowing the whole code and the compile report. For example a wild guess: In your second example you have two GWT.runAsync() calls with the same AsyncCallback

Re: Problem with SuggextBox as table cell

2012-12-18 Thread jorge vasquez
Hi Ande , sorry i forgot put this method but i can explain you, the method implementarEstilos(suggestBox); set a styleName to the object suggestBox , and the popupStyleName is a constant with the name that you put to suggestBox popup (because is the unique way how we can found the popup

Re: How Gwt runAsync decides to include code... be careful...?

2012-12-18 Thread Ed
Thanks Jens. Your compile report should tell you why your controller is now in the left over fragment. I am aware of that, and that was exactly why I post this, as the soyc report shows a compiler-code path, and no dependency path. Like mentioned, the controller creation code is ONLY called

Re: GWT Whiteboard (freehand drawing)

2012-12-18 Thread Dean S. Jones
GWT Visualization is just for charting, and uses Googles services, Lienzo can be used for Charting, ( as well as any other 2D graphics )... and we are building a charting package that should equal or surpass GWT Visualization or Highcharts On Tuesday, December 18, 2012 9:55:11 AM UTC-5, James

Re: How Gwt runAsync decides to include code... be careful...?

2012-12-18 Thread Matthew Dempsky
On Tue, Dec 18, 2012 at 7:25 AM, Ed post2edb...@gmail.com wrote: Can somebody tell me if the above is expected behavior or a bug? We're aware there are issues with the current split-point algorithm that results in dead code being included in fragments. It's on our list of higher priority

Re: GWT Whiteboard (freehand drawing)

2012-12-18 Thread Dean S. Jones
GWT Visualization is just for charting, and uses Google's services, Lienzo can be used for Charting, ( as well as any other 2D graphics )... and we are building a charting package that should surpass GWT Visualization or Highcharts Charts in general are not all that hard, the math is pretty

Re: How Gwt runAsync decides to include code... be careful...?

2012-12-18 Thread Jens
We're aware there are issues with the current split-point algorithm that results in dead code being included in fragments. It's on our list of higher priority issues to investigate and fix, but I'm not sure how far along that is. Ray Cromwell and/or Roberto Lublinerman would know.

Re: GWT/CSS text align problem

2012-12-18 Thread Magnus
Hi Andrea, I would also prefer a cleaner solution, and I explicitely tried your approach (using the code below). But it also gets misaligned in IE8: http://www.bavaria64.de:8080/bcst/index.html?testStatusBar The word RIGHT is not aligned to the right, but below the word LEFT. There must be a

How to dynamicaly localize datepicker

2012-12-18 Thread tarish
I want to dynamicaly localize datepicker is there any work around for this?? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vTcXus2p-BQJ. To

Tutorial for security in GWT + GAE (Cloud SQL) + Request Factory

2012-12-18 Thread Manuel Alejandro Fernandez Casado
Hi. I´m searching for information about how to secure an application with GWT + GAE + Request Factory. Again, information is disperse, official documentation is a little incomplete, and best advices comes from experience. My application has next features: - It uses his own users: i mean,

Problem getting my GWT RPC to work when I deploy to app engine

2012-12-18 Thread James Frain
I have been following the StockWatcher tutorial and have an RPC service on my local server which is successfully invoked when I open my HTML page and add a new stock. Now, I deployed my app to the GAE but when I go to the same page on the GAE hosted app it no longer calls the RPC service.

Reloading the page without reloading images, sounds, ...

2012-12-18 Thread scarlatine
Hi, I have a GWT application running on a touch screen used as a sort of kiosk. I would like that every day at midnight the browser checks if a new version exists (new background color, ...). So I wrote Window.Location.reload(). That works great, but it also reloads all the images and sounds

Re: Change DatePicker language

2012-12-18 Thread Piyu D
Hi, I have the same problem. I want to change datepicker language without doing changes in html or .gwt.xml file. I want it to be done dynamically using properties file and dictionary. You have any idea on how to do it? Thanks, Piyu On Wednesday, 21 March 2012 18:32:27 UTC+5:30, nicanor.babula

How to dynamically localize datepicker

2012-12-18 Thread Piyu D
I want to localize datepicker component dynamically withouht using html settings of LOCALE. Any idea about how to do it? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Error processing @WithTokenizers, cannot find type

2012-12-18 Thread sean . langford
Hi Tony, Having same problem - did you find a resolution to this? Thanks Sean On Monday, December 17, 2012 5:00:25 PM UTC-5, Tony B wrote: Hello, I have a weird situation. I am getting the following error in my 16:48:34.027 [ERROR] [wmsapp] Error processing @WithTokenizers, cannot

ValueListBox Handlers

2012-12-18 Thread bongy_Cabs
Hi, I am using gwt 2.4 , I am trying to get focus of the valuelistbox, Does anyone know how to get the focus handler , I need to reduce the size after selection has been done. Thanks, Bongy -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: GWT/CSS text align problem

2012-12-18 Thread Andrea Boscolo
I see it misaligned even on firefox. Anyway simply add the divs to the outer panel in the left, right, center order (not left, center, right as you did). Recheck my last fiddle. AFAIK should work also in IE. On Tuesday, December 18, 2012 6:27:19 PM UTC+1, Magnus wrote: Hi Andrea, I would

addClickHandler vs addClickListener

2012-12-18 Thread Aldin Habibović
Hi, What is the difference between *addClickHandler *and* addClickListener*methods. I think there is no difference between it, except *addclickHandler *returns HandlerRegistration (used to remove this handler) and by *addClickListener *return* *type *is void. * What 's better to use?* *

Re: GWT Whiteboard (freehand drawing)

2012-12-18 Thread James
I am feeling this library can provide good chart potential abilities. I can wait for a couple of months for my project. Do you have a road map for chart features? James On Tuesday, December 18, 2012 12:17:12 PM UTC-5, Dean S. Jones wrote: GWT Visualization is just for charting, and uses

Re: addClickHandler vs addClickListener

2012-12-18 Thread Jens
Use addClickHandler. addClickListener is deprecated and will probably be removed soon. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: how to show horizontal scrollbar in scrollpanel automatically?

2012-12-18 Thread Andrei
This is not a standard behavior. You must have a CSS style applied to your scroll panel or its content which resets overflow property. It should be overflow:auto. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: FastButton? Handling touch events for mobile?

2012-12-18 Thread Ashton Thomas
I have since updated the FastPressElement to fix some issues pointed out by mark. I have also cleaned up some things. All the code is on Github. Feedback from people needing this solution would be awesome. I believe this will work very well in the situations that call for it. (It's a huge

Re: How Gwt runAsync decides to include code... be careful...?

2012-12-18 Thread Ed Bras
Thanks for your feedback. I will open an issue these days and will links the issue and this topic. I will put a minimum test-case on my todo, I will do my best to add it in the comming weeks.. - Ed On Tue, Dec 18, 2012 at 6:24 PM, Jens jens.nehlme...@gmail.com wrote: We're aware there are

Re: Error processing @WithTokenizers, cannot find type

2012-12-18 Thread Tony B
Sadly, not yet. If I found out something, I will update this thread. On Tuesday, December 18, 2012 9:51:26 AM UTC-5, sean.l...@perceptivesoftware.com wrote: Hi Tony, Having same problem - did you find a resolution to this? Thanks Sean On Monday, December 17, 2012 5:00:25 PM UTC-5,

Re: GWT Whiteboard (freehand drawing)

2012-12-18 Thread Dean S. Jones
well, we have already started http://www.emitrom-lienzo.appspot.com/#ExplorerPlaceImpl:pie_chart that is a pretty poor excuse for a pie chart, but the math is right, and it's only 50 LOC As for timelines, we have a few things to solidify in Lienzo core, so it will be at least the end of

Re: GWT Whiteboard (freehand drawing)

2012-12-18 Thread Dean S. Jones
in the meantime, here is a mandelbrot app you can have fun with, just for kicks, it's all in-browser http://graphics4j-test.appspot.com ;-) On Tuesday, December 18, 2012 4:01:57 PM UTC-5, James wrote: I am feeling this library can provide good chart potential abilities. I can wait for a

GWT cant get data from Spring REST

2012-12-18 Thread taha
I wrote an Spring REST application.I tested it with curl command, it worked truly. And in another GWT Ajax applictaion i have an RequestBuilder object that it doesn't work with my Spring Rest . after calling sendRequest method , onResponseReceived event fired but getText method returns empty

UnEscape Html

2012-12-18 Thread J.Ganesan
Is there any utility to unescape html stuff from a String ? Input : nbsp;gwtamp; Output : gwt J.Ganesan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT/CSS text align problem

2012-12-18 Thread Magnus
Hi, in the meantime I tried more than 5 different approaches, using divs with float or display:table/row/cell and that. All approaches work with all browsers except IE8! So I found that the problem may not be located within the CSS! The key observation for me is that the problem went away

Upgrading from 2.4 to 2.5: Issues with Generics?

2012-12-18 Thread objectuser
I'm working through the upgrade to 2.5 and I'm having trouble with my use of generics when used with an RPC service. My app works fine in 2.4, but if I change it to use 2.5, my service calls never make it to the server. I've been able to reproduce the problem by using a generic method. If I

Re: how to show horizontal scrollbar in scrollpanel automatically?

2012-12-18 Thread Kei Kei
No, the scrollpanel overflow property is already auto, but the horizontal scrollbar cannot be shown in ie8 or FF13 I set the css using scrollPanel.getElement().setAttribute(style, width:210px;height:247px;border:1px solid #B5BBC8; overflow:auto;); In FireFox, I use firebug and see

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-18 Thread Milan Cvejic
You could use event.preventDefault() in onWindowClosing method, display custom dialog box and if user confirmed close logout him. Best, Milan On Monday, December 17, 2012 5:10:52 PM UTC+1, Dominic Warzok wrote: The solution is posted her on

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-18 Thread RyanZA
Hey The 'proper' way to do the confirm dialog is to use the Activies and Places framework in GWT. https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces#Activities /** * Ask user before stopping this activity */ @Override public String

Re: Tutorial for security in GWT + GAE (Cloud SQL) + Request Factory

2012-12-18 Thread Manuel Alejandro Fernandez Casado
Any? :( -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s3sy6jBMjMwJ. To post to this group, send email to google-web-toolkit@googlegroups.com.

Re: GWT/CSS text align problem

2012-12-18 Thread Andrea Boscolo
Actually a !DOCTYPE HTML declaration means standard mode, not strict. So you are fine with it. See https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#Standards To force IE8 standard mode try to add in the head element meta http-equiv=X-UA-Compatible content=IE=8 See

Re: [gwt-contrib] Re: Compile error after moving to 2.5

2012-12-18 Thread Brent Ryan
I'm seeing this same compile error when going from 2.4 to 2.5. Any workaround for this yet? On Wednesday, November 7, 2012 12:24:29 PM UTC-5, dflorey wrote: Sure... I'm just not sure if it helps. My app is fairly complex and includes a number of modules: ?xml version=1.0 encoding=UTF-8?

[gwt-contrib] Re: incremental dev mode

2012-12-18 Thread Brian Slesinsky
Seems reasonable in principle. I wouldn't want a hard dependency on Eclipse though; you should be able to get incremental compiles without it. I think it should work by watching the filesystem for changes and doing dependency analysis to only build what's necessary after a file changed. One

Re: [gwt-contrib] Re: Another approach to DevMode: taking advantage of browsers' remote debugging protocol

2012-12-18 Thread Brian Slesinsky
On Friday, December 14, 2012 5:18:33 AM UTC-8, Paul Robinson wrote: Tricky is too strong a word for it. It only takes a small amount of code, so that the RPC servlet's doGetSerializationPolicy(...) can fetch the serialization policy file from the code server. Once that's done, it just