Re: Last Page too big in SimplePager

2011-11-09 Thread vaibhav gwt
Hi I am using GWT2.3 Celltable I'm using SimplePager and I want to show 11 items(users) per page. 1 empty records + 10 actual records = 11 records per page so PageSize=11 All my data is 36 items. I want to show text in Simple pager such way that Pager should display following values in my pager

Re: How to Refresh a View?

2011-11-09 Thread Victor Lujan
Thank you, I would like to dig deeper into this. So, I'm using Activities/Places so I understand what you say about creating a new Place. The Activity Mapper will then ask which is the current Place and will create a new activity which will load the same view? Is that correct? And this new activ

Re: How to Refresh a View?

2011-11-09 Thread Markus Zywitza
There are two techniques: To change the main view, which is presumably tied to the URL,you should open a new Place. Any secondary widgets (sidebar, status bar etc.) should be notified via EventBus of the new main content and act accordingly. --Markus 2011/11/10 Victor Lujan : > Oops , I really H

Re: How to determine *at runtime* which permutation is used?

2011-11-09 Thread Hilco Wijbenga
On 9 November 2011 17:37, Danny Kirchmeier wrote: > You can use GWT.getPermutationStrongName() Thank you. Unfortunately, this gives me: F0A79CA92B424357F8F0A6170AD004B9. Is there a way to turn this into something readable? -- You received this message because you are subscribed to the Google G

Re: GWT Developer Plugin for Firefox 8

2011-11-09 Thread David Guo
I'll try it in Win7 64 bit to see if it works or not. If not,maybe i CAN rebuild it on my own. -- 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/-/Y

Re: GWT Developer Plugin for Firefox 7

2011-11-09 Thread David Guo
Now FF8 has already lanched,so the new GWT plugin still need to rebuild. -- 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/-/3ySZum0w9k4J. To

Re: WindowBuilder/GWT Designer error

2011-11-09 Thread chris
Very similar to the OP, I've found myself reaching a java.lang.IllegalArgumentException within GWT Designer. Now that we started getting this error, we can't use it to open files that had previously worked, including some that were created wholly within GWT Designer. GWT Designer worked as expe

classloader can not load class from annotation

2011-11-09 Thread bhomass
I am integrating a mvp4g into java Play. I am running into an unexpected error, related to Thread based context classloader. When the code gets to TypeOracleMediator, line 750 in the resolveAnnotationValue method, try { return Class.forName(valueType.getClassName(), false,

Re: How to Refresh a View?

2011-11-09 Thread Victor Lujan
Oops , I really Hope this question doesnt get ignored ! If there is some fundamental flaw on the question please tell me : ) Anything can help. Remember I'm new at GWT, but im sure that I can get to understand you. Thx! -- You received this message because you are subscribed to the Google Gro

Re: How to determine *at runtime* which permutation is used?

2011-11-09 Thread Danny Kirchmeier
You can use GWT.getPermutationStrongName() You can choose to write that to the screen like so RootPanel.get().add(new Label(GWT.getPermutationStrongName())); -- You receiv

How to determine *at runtime* which permutation is used?

2011-11-09 Thread Hilco Wijbenga
Hi all, It would be helpful to see which permutation is being downloaded by the browser. Is there a way to determine *at runtime* which permutation (or at least which browser permutation) is being used? It would be fine if extra work is needed during the build to generate this information. Perhap

Is it possible to select menuItem onMouseOver?

2011-11-09 Thread Ahmed
Hello, I realize a web application that run commands displayed in menuItem. These commands may depend on each other, for example if a command C depends on B, B depends on A to execute C we must execute in order A- > B-> C. In short, I would like to improve the feedback on my application and selec

Re: Reload Place using getWhere()

2011-11-09 Thread Jens
1.) You can do a Window.Location.reload() which will reload your page which in turn will load the same place again (url does not change and should reflect the current app state). 2.) A different way would be to create a custom PlaceController that provides a method like .forcedGoTo(Place newPla

Reload Place using getWhere()

2011-11-09 Thread Mark Wengranowski
Hi Everyone, Just wondering if anyone knows a way to reload the applications current place in the following way: PlaceController.goto(PlaceController.getWhere()); What happens is that the place controller realizes that it's the same place your trying to go to so it doesn't do anything. I could

Re: Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-09 Thread gangurg gangurg
Its not possible to use Anchor and ClickHandlers inside RichTextArea directly . I could convert the anchor to element , but again events would not get intercepted . On Wed, Nov 9, 2011 at 9:09 AM, Danny Kirchmeier wrote: > No idea. Seems to me that you should be using an Anchor and ClickHandler

Re: GWT and reports

2011-11-09 Thread Shalin Lazar
Thanks. Will get started reading up. I'm still not certain whether I should use gwt as opposed to good old swing. In terms of performance on a relative average server (3.0 dual core, 4gb ram, ubuntu server), would gwt's performance be suitable to serve say 15 users at an instance? I'm still plannin

IE not downloading external scripts included in UiBinder

2011-11-09 Thread frostedsugar
I have some external Javascript files in my GWT app that I only want to download when the user accesses the section that requires them. I included the JS files in a UiBinder page like this: The files won't necessarily be downloaded as soon as the view is initialized, so when I

HtmlUnit not running GWT js - onInjectionDone

2011-11-09 Thread MH
I'm trying to use htmlunit as recommended to return ? _escaped_fragment_ queries by Google's crawler I ask htmlunit to load my html page which contains a GWT program and call waitForBackgroundJavaScript(). However the page then returned by .asXml() has not got any GWT components. The only proces

Re: GWT 2.4 installation

2011-11-09 Thread Sachin Sreenivasan
Hi TBirch, Thanks for the advice. I did that and now I was able to install GWT conveniently. But I have 2 more problems. - I dont see the Design Mode option at all which I used to see in my prev GWT versions. - I dont even see the Deploy Module option and I am not able to generate a

Re: MenuBar - how can I cause it to wrap?

2011-11-09 Thread Danny Kirchmeier
The MenuBar uses a table, with each item being a table cell. AFAIK, you're not going to have any luck getting that to wrap. You should be able to check to see if any of the items are flowing out of the window and have those move themselves into a "More" menu item. -- You received this messag

Re: Using DockPLayoutPanel - can I get an autoexpanding south widget?

2011-11-09 Thread King_V
Danny, Thomas, Thanks for the suggestions. I actually came up with a workaround - though Thomas, I think I like the HeaderPanel idea, and may adapt it to my project instead. What I'm doing currently is: 1) Attach a DockLayoutPanel to the RootPanel 2) Attach a DockPanel to the CENTER of the DockL

Re: MenuBar - how can I cause it to wrap?

2011-11-09 Thread King_V
Uh, let me clarify my structure - what I've described above is more or less accurate, but the DockPanel is specifically the CENTER item of the DockLayoutPanel. Also, I should mention that the individual items will wrap in the menu bar (ie: an item that is called "File Menu" rather than just "File"

Re: Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-09 Thread Danny Kirchmeier
No idea. Seems to me that you should be using an Anchor and ClickHandlers instead of that native method, but I may not understand exactly why you need that. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the w

Re: Using DockPLayoutPanel - can I get an autoexpanding south widget?

2011-11-09 Thread Thomas Broyer
Have you looked at the HeaderPanel? http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/HeaderPanel.html -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit http

Re: Using DockPLayoutPanel - can I get an autoexpanding south widget?

2011-11-09 Thread Danny Kirchmeier
> > Now, my initial instinct is to somehow try and determine whether or not > the FlowPanel needs to vertically resize (how do I determine this? Can it > be determined?) and then use DockLayoutPanel.setWidgetSize to perform the > resizing "manually". Sounds like a good approach. On the bo

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-09 Thread Jens
Hehe I hate it when this yellow "1 new message" box appears just when clicking on "post" and both new posts are basically the same :) -- 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

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-09 Thread Jens
> > my problem is that i use the event bus within some activities outside of > start(..) and there i always should use the bindary-One. > Why should you? Assuming you only have one global event bus, the one provided by the start() method and the injected one are basically the same. The one pr

MenuBar - how can I cause it to wrap?

2011-11-09 Thread King_V
All, Ok, playing around with GWT in general, MenuBar right now in particular. I have a situation where a demo app screen I have is more or less looking how I want it to. But, I have an issue with MenuBar, and didn't know if there was a simple way around it. If the user shrinks the screen so tha

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-09 Thread Thomas Broyer
On Wednesday, November 9, 2011 4:59:12 PM UTC+1, tanteanni wrote: > > thx for clarification jens. > > my problem is that i use the event bus within some activities outside of > start(..) and there i always should use the bindary-One. So in such > activities i have two different EventBuses. the

Re: Basic JavaScript onClick not getting called from inside GWT richTextarea

2011-11-09 Thread gangurg gangurg
Any thoughts ? On Mon, Nov 7, 2011 at 1:58 PM, gangurg gangurg wrote: > > The following code works fine if i do HTML = new HTML(" onclick=window.test()>Hi 123I'); ( Meaning HelloWorld gets Printed ) > But the same HTML from inside a RichTextArea does not get printed . > > I am doing missing some

Re: SuggestBox with RequestFactory

2011-11-09 Thread Mark Wengranowski
Thanks. I should be able to figure it out from here but more source code is always helpful. On Nov 8, 7:34 pm, Ashwin Desikan wrote: > have you checked out the sample in the following location. > > http://jectbd.com/?p=45 > > the example uses an RPC connection, but that can be easily replaced > w

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-09 Thread tanteanni
thx for clarification jens. my problem is that i use the event bus within some activities outside of start(..) and there i always should use the bindary-One. So in such activities i have two different EventBuses. the bindary-One is imported the other one is explicitly set in start method. And

Re: GWT Developer Plugin for Firefox 8

2011-11-09 Thread Thad
Thanks, Alan. After uninstalling the FF7 plug-in, I restarted FF8 and loaded this. My first attempt to use it was successful. I'll keep you posted. For your records, I'm running FF on OpenSuSE 11.4, 32-bit with GWT 2.3 (gonna run 2.4 as soon as I get permission to drop support from some old Mac se

Re: Cancel CellList selection

2011-11-09 Thread Thomas Broyer
Try with a custom CellPreviewEvent.Handler; possibly delegating to a DefaultSelectionEventManager for the default behavior. -- You received this message because you are sub

Firefox 8.0 just released

2011-11-09 Thread Евгений
Hi gwt-dev-plugin.xpi need to be updated Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit ht

How to Refresh a View?

2011-11-09 Thread Victor Lujan
Hi everyone, I'm starting a GWT project, I'm using both MVP and Activities/Places. I have a certain amount of views per page (lets say 5). I gave this views the name of their position in the page, lets say TopView, MiddleView, etc. When a button is clicked I would like to change the content of Mi

Cancel CellList selection

2011-11-09 Thread Yann
Hello, Is there a way to cancel a user selection of a row in a "CellList" ? I can't find something like a "BeforeSelectionHandler" on a "TabLayoutPanel". I would like to be able to prompt a message indicating that the current edited object of the CellList has not been saved if the user clicks on a

GWT FlexTable performance

2011-11-09 Thread Dmitry
Hi, I'm working on GWT project where we are using FlexTable to display some data. I know that we should probably be using CellTable as it has better performance, but FlexTable is easier to style (style specific cells) and makes it easier to update specific cell. To receive updates for the table w

GWT compiler vs. generics

2011-11-09 Thread Tomek Kup...
Guys, I found critical issue with GWT Compiler (gwt version is 2.4.0) and java generics. I included into my project Lambdaj library and gwt compiler says: --- gwt-maven-plugin:2.4.0:compile (default-cli) @ gwtmvntest --- [INFO] auto discovered modules [kuprowski.gwtmvntest] [INFO] Compiling module

GWT a breadbcrumb for NooBS like me.

2011-11-09 Thread Steven Peterson
From: SampleClient.java /** * Create a remote service proxy to talk to the server-side Greeting service. */private final GreetingServiceAsync greetingService = GWT .create(GreetingService.class); From: GreetingServiceAsync.java /** * The async counterpart of GreetingServi

Document.get().getScrollHeight() returns same value always ?

2011-11-09 Thread Ed
I call "Document.get().getScrollHeight()" when I have a scrolling area such that it returns something like 1600. When I remove widgets such that the vertical scrolling appears, and call this method again, it returns the same value :( Why? I tested it in IE7 and FF 7 (GWT 2.3). For some reason it

Training on Google-web-toolkit

2011-11-09 Thread lavanya kannan
Hi, We are basically a Technical Corporate Training Company. If you know any individual or Corporate looking for GWT - Google Web Toolkit Training, pls let us know. We have a team of 15+yrs exp. staff. Thanks you. -- You received this message because you are subscribed to the Google Groups "Goo

Re: looking for a way to fire the F11 key event

2011-11-09 Thread Thomas Broyer
Simply put: you can't. See https://wiki.mozilla.org/Gecko:FullScreenAPI for the rationale. You'll see however at the very end of that page that Firefox and WebKit (Safari and Chrome, and many more) have implemented the proposed API: - http://blog.pearce.org.nz/2011/09/mozilla-full-scree

Re: looking for a way to fire the F11 key event

2011-11-09 Thread Paul Robinson
This is really about what you can do from javascript. See: http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen and http://stackoverflow.com/questions/7495373/how-to-make-browser-full-screen-using-f11-key-event-through-javascript

Re: GWT 2.4 installation

2011-11-09 Thread TBirch
Sachin, I had the same problem for a long time and finally downloaded the gwt zip file and installed locally. Follow the link on this note on the download page: Note: As an alternative to installing from the update site, you can install the Google Plugin for Eclipse by downloading and installing an

looking for a way to fire the F11 key event

2011-11-09 Thread David
Most browsers have a built in fullscreen mode via the F11 key. I have a requirement to add a "full screen mode" button to my gwt app and am looking for a way to fire the F11 Event F11_KEY = 122; NativeEvent f11Event = Document.get().createKeyPressEvent(false, false, false, false, F11_KEY); Both

Re: GWT Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-11-09 Thread Jens
Are there any new information about the Safari 5.1 plugin? -- 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/-/BszeHSSUJfAJ. To post to this group,

GWT Developer Plugin for Firefox 8

2011-11-09 Thread Alan Leung
Hi all: I just finished building / testing the FF8 dev mode plugin for Linux 32 bit (http://www.sendspace.com/file/h8wgmn) More to come tomorrow. Again, if you are using FF8 already. I'd greatly appreciate if you give that a try and let me know when you see anything weird. -Alan -- You receiv

Re: GWT and reports

2011-11-09 Thread Jens
GWT would make a server request and the server will build the PDF file. We store the Jasper design XML (created with iReport) in a database and the server would fetch the xml, compile it and then fill it to generate the PDF. For simple reports we directly use a query to fill the report and for