Unrecognized history token

2013-10-05 Thread Kulnor
Hi: started to use Activities and PLace is all our GwT apps and my understanding is that it not onlymanages history but also makes all the different states ('pages') bookmarkable. However, if I copy/paste or manually enter a place URL in a browser like

how to control height of dialogbox

2013-10-05 Thread J.Ganesan
Hi, I have a dialogbox, which contains a grid. The gird has about 500 rows. The dialogbox becomes very long and goes beneath the screen. I need to show the grid inside a scrollpanel and the dialogbox should not go beyond screen. I tried dialogbox.setSize(), grid.setSize() and tried with css

Re: how to control height of dialogbox

2013-10-05 Thread Boris Brudnoy
Have you tried wrapping your grid in a ScrollPanel? On Oct 5, 2013 8:40 AM, J.Ganesan j.gane...@datastoregwt.com wrote: Hi, I have a dialogbox, which contains a grid. The gird has about 500 rows. The dialogbox becomes very long and goes beneath the screen. I need to show the grid inside a

Unrecognized history token

2013-10-05 Thread wayne rasmuss
Perhaps your = sign in your string version of your place is messing it up? -- 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

Re: Unrecognized history token

2013-10-05 Thread Kulnor
Wayne: Thanks for confirming that this should work and for the tips. WIll investigate accordingly. Much appreciated your feedback. best *P On Saturday, October 5, 2013 3:21:37 PM UTC+2, wayne rasmuss wrote: Perhaps your = sign in your string version of your place is messing it up? -- You

Re: how to get the width height of dialog box (also calculate the actual size of dialog when it was shown) in GWT?

2013-10-05 Thread Paul Mazzuca
I usually set the width and height of the contained widget explicitly and just use the DialogBox or PopupPanel as a wrapper. I use the following extended version of Popup panel to size the popup at 75% width and 60% height of the current window. Basically, resizing the widget and not the

Re: how to control height of dialogbox

2013-10-05 Thread J.Ganesan
I did that too. No avail. J.Ganesan On Saturday, October 5, 2013 6:32:06 PM UTC+5:30, Boris Brudnoy wrote: Have you tried wrapping your grid in a ScrollPanel? On Oct 5, 2013 8:40 AM, J.Ganesan j.ga...@datastoregwt.comjavascript: wrote: Hi, I have a dialogbox, which contains a grid. The

Re: how to get the width height of dialog box (also calculate the actual size of dialog when it was shown) in GWT?

2013-10-05 Thread Tom
but we have to use dialog.setPopupPositionAndShow to get the width otherwise there no way to get the WidthHeight of dialog dynamically. On Saturday, October 5, 2013 2:18:13 AM UTC+10, Tom wrote: I have a dialogbox holding a HTMLPanel that has a flextable 2 buttons. So I tried

why i can't see continueDragging method of gwt DialogBox?

2013-10-05 Thread Tom
in here http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html#continueDragging(com.google.gwt.event.dom.client.MouseMoveEvent), Google said that there's continueDragging method to capture the event when user's moving the dialogbox. But i couldn't see this

Re: how to control height of dialogbox

2013-10-05 Thread Tom
u should set width + height in Uibinder. if that does not work, then try to set using gwt code height Window.getClientHeight On Sunday, October 6, 2013 1:07:44 AM UTC+10, J.Ganesan wrote: I did that too. No avail. J.Ganesan On Saturday, October 5, 2013 6:32:06 PM UTC+5:30, Boris Brudnoy

Re: why i can't see continueDragging method of gwt DialogBox?

2013-10-05 Thread Jens
The method is protected and not public. -- J. -- 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. To post to

Re: why i can't see continueDragging method of gwt DialogBox?

2013-10-05 Thread Tom
so how can i fire a moving event when users move the dialogbox? On Sunday, October 6, 2013 3:08:07 AM UTC+11, Jens wrote: The method is protected and not public. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

Re: why i can't see continueDragging method of gwt DialogBox?

2013-10-05 Thread Tom
I think this is correct one class CustomMouseMoveHandler implements MouseMoveHandler { DialogBox myDialogBox; public CustomMouseMoveHandler(DialogBox myDgBox){ myDialogBox=myDgBox; } @Override public void onMouseMove(MouseMoveEvent event) { //do stuff here } } }

Re: why i can't see continueDragging method of gwt DialogBox?

2013-10-05 Thread Tom
I think this is correct one class CustomMouseMoveHandler implements MouseMoveHandler { DialogBox myDialogBox; public CustomMouseMoveHandler(DialogBox myDgBox){ myDialogBox=myDgBox; } @Override public void onMouseMove(MouseMoveEvent event) { //do stuff here } }

what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread Tom
Ok, let say I want my dialogbox to be moved within an area that have 500px width 600px height. The rule is that If the users move the dialogbox out of that area, then the dialogbox will stay at where it was right at the point that it will be about to break the rule. int

Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread GWTter
Hi all, Although the dochttp://www.gwtproject.org/javadoc/latest/com/google/gwt/uibinder/client/UiChild.html does say ...add a child widget to... in my searching it seems as if you can also use UiChild with DOM elements that extend com.google.gwt.dom.client.Element class. Thomas Broyer gives

Re: what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread GWTter
The only way the the popup is going to drag (barring the use of native dnd) is if you adjust its top and left. If you can move your popup then you should already be adjusting the top and left in your code. The popup isn't going to be aware that it's moving (keeping in mind good design) so you

Re: what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread GWTter
I know you said shortest code but that's too arbitrary of a request considering that it would depend on your code too, On Saturday, October 5, 2013 10:09:35 PM UTC+2, GWTter wrote: The only way the the popup is going to drag (barring the use of native dnd) is if you adjust its top and left.

Re: what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread GWTter
Actually I realized that you were asking specifically about a Dialog box (my initial answer was based on basic DnD). If you're overriding the *Dragging methods then you can just check the mouse position from the events like I said. On Saturday, October 5, 2013 10:11:27 PM UTC+2, GWTter wrote:

Re: Decimals acting wierd : 5.3 * 3 = 15.899999999999999

2013-10-05 Thread Martones
Many thanks guys. I think I got some serious gaps in this regard. For now I'm going with NumberFormat and it fits me, I'll try BigDecimal if I need more ! Thanks ! Le lundi 30 septembre 2013 00:38:06 UTC+2, Jim Douglas a écrit :

Re: Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread Thomas Broyer
Looks like I was wrong and you can only use widgets (there's an explicit isImportedElement test that checks the element is within a namespace whose URI starts with “urn:import:”) BTW, isn't the error message rather “Expected child from a urn:import namespace, found div” ? On Saturday, October

Re: Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread Thomas Broyer
Ah sorry, hadn't looked carefully at your code: with @UiChild(tagname=div), UiBinder expects a my:div (my being the same as the containing widget): my:customWidget my:div ui:HTMLPanel foo /ui:HTMLPanel /my:div /my:customWidget That doesn't change the problem though:

GWT not loading .js

2013-10-05 Thread Martones
Hey everyone, I have this issue with 3 different GWT projects : I try to load app.exemple.com/index.php where index.php has the module/module.nocache.js include, I have a 404 error failing to load one of the permutation JSs' + the gwt css file. Wierdly enough the file called strips out the

Re: Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread GWTter
I see. No problem though, thanks a lot for the explanation. I have a work around for this, I just wanted to make sure that I wasn't going that route if uichild on elements was possible. Thanks again Thomas. On Saturday, October 5, 2013 10:54:36 PM UTC+2, Thomas Broyer wrote: Ah sorry, hadn't

Re: GWT not loading .js

2013-10-05 Thread Jens
Maybe your 3G provider optimizes web pages on the fly and inlines JavaScript automatically? How does the HTML source of your index page look like once the browser has loaded it (use FireBug / Chrome/Safari DevTools)? Does it still contain script src='module-name/app.nocache.js'/ ? -- J. --

Re: Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread GWTter
Hi Thomas, Just one last thing, are there still no plans for uibinder element parsing functionality extension like the patch in this issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4461? Would be preeetty awesome. On Saturday, October 5, 2013 10:54:36 PM UTC+2, Thomas Broyer

Feature Request: Support for Input Event Type

2013-10-05 Thread Nathaniel Johnson
Per a question I asked on Stack Overflow: Add an event handler for TextBox and TextArea to handle composition changes by binding to the native DOM event input. It is common now to need the ability to detect changes to the value during composition. The event I am referring to:

Re: Feature Request: Support for Input Event Type

2013-10-05 Thread Jens
The GWT issue tracker already has such requests: https://code.google.com/p/google-web-toolkit/issues/detail?id=4549 https://code.google.com/p/google-web-toolkit/issues/detail?id=8379 Someone just have to write a patch or you have to wait until you can more easily add custom events to GWT's

Sorting with AsyncDataProvider - how to lshow several columns with sorticon

2013-10-05 Thread Patrick Tucker
As far as I know, the current code base is not capable. If it was, how would you display the sort order? -- 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

Re: what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread Tom
my question is all about logic, it not specific to any lang, there should be a way to control that elegantly. On Sunday, October 6, 2013 7:17:15 AM UTC+11, GWTter wrote: Actually I realized that you were asking specifically about a Dialog box (my initial answer was based on basic DnD). If

[gwt-contrib] Build failures after deprecated tree/treeitem methods removed

2013-10-05 Thread Colin Alworth
It looks like a recent commit that removed some deprecated methods may not have gone far enough, as there is still code that makes use of those methods - the https://gwt.googlesource.com/gwt/+/f9630059081921b195ee4f7014e1a78c4b570f79 commit dropped several methods from Tree and TreeItem, but