Re: Problem with java.util.Date

2011-01-05 Thread bond
Yes, if I comment the line date.setHours(13); it works!!! Thanks! On 3 Gen, 22:38, Y2i wrote: > You are using java.util.Date because if you used java.sql.Date your > example would not compile. > > does your example work if you comment out the line below? > // date.setHours(13); > > On Jan 3, 1:1

solving IE6 (SSL) 12030 bug

2011-01-05 Thread pepgrifell
hi, Our application is running ok with IE7 and 8 but in IE6 we are getting random 12030 errors (Connection: close). In this URl they speak about this problem: http://p2p.wrox.com/book-professional-ajax-isbn-978-0-471-8-6/50786-ie6-status-code-12030-a.html http://www.perkiset.org/forum/ajax/xm

Re: RequestFactory persist new object and return the id

2011-01-05 Thread poe
I didn' recognize that I've got a private reply on this. So here is the solution... if you define your persist method with public Employee persist() { } and return the new persisted employee object you can modify your requestFactory interface with InstanceRequest persist(); instead of

Re: RequestFactory find and remove

2011-01-05 Thread poe
Solved this by myself. The remove method should be static. Thats all :-) On 26 Nov. 2010, 15:57, poe wrote: > Hi @ all, > > i've got a little problem using requestfactory. > > public void start(AcceptsOneWidget panel, EventBus eventBus) { >   ... >   ObjectRequest request = > ((RequestFactory)re

Re: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)

2011-01-05 Thread jhulford
If you're not using Google App Engine (and I'm not sure why you would be if you're using Mysql as your datastore), then remove it from your project's setup. The enhanced Security Manager settings that comes w/ using GAE is what's causing your error. Right click on you project's icon, choose Googl

Re: Smart GWT 2.4 Released

2011-01-05 Thread gcstang
Excellent, Thank you for the update! On Jan 4, 8:22 am, Sanjiv Jivan wrote: > Hi, > Smart GWT 2.4 has been released. > > Release Announcement > :http://www.jroller.com/sjivan/entry/smart_gwt_2_4_released > Download :http://code.google.com/p/smartgwt/downloads/list > Showcase Demo :http://www.sma

Looking for GWT Mentor to guide me through first paid app

2011-01-05 Thread B Woods
I am designing a web application that I would like to store with App Engine. I am a senior computer science major in college and this will be my first web application. I am looking for people that has successfully built paid web applications with GWT, that could guide me through the design and de

Re: Looking for GWT Mentor to guide me through first paid app

2011-01-05 Thread Christian Goudreau
Well, I have little to offer in term of time, but I'll gladly answer any question you ask ! Add me on Gtalk. Cheers, On Wed, Jan 5, 2011 at 8:53 AM, B Woods wrote: > I am designing a web application that I would like to store with App > Engine. I am a senior computer science major in college

Re: Where do KeyPress Events go?

2011-01-05 Thread jaybose
OK, what does the button do, at the moment? Do you have your EnterButton's handler call submit() on the form? If so, are you seeing any errors? On Jan 4, 8:53 am, Greg Dougherty wrote: > Yes, but it doesn't do the upload when I hit Enter.  Which is what I'm > trying to figure out how to get it

Re: Looking for GWT Mentor to guide me through first paid app

2011-01-05 Thread B Woods
5-10 minutes here and there is all I need. I will add you, thanks. On Jan 5, 8:59 am, Christian Goudreau wrote: > Well, I have little to offer in term of time, but I'll gladly answer any > question you ask ! > > Add me on Gtalk. > > Cheers, > > > > > > > > > > On Wed, Jan 5, 2011 at 8:53 AM, B Wo

GWT, AnnotatedTimeLine visualization and getOffsetWidth()

2011-01-05 Thread andrew_d_mackenzie
This subject seems to have been raised a number of times in various forums, but I haven't seen a solution offered anywhere and my own attempts to solve the problem have failed, so I post it here for experts. I have a UI created with GWT 2.1.1 and uibinder, for displaying an annotated timeline visu

Re: Trying to split deserialization process after RPC call

2011-01-05 Thread Damien Picard
I've carried out this solution except that I haven't used GWT-RPC ; I have used a RequestBuilder and a standard servlet to serve the JSON string. To serialize my objects in JSON, I have defined an interface for my DTO : interface ExtendedOption { String getId(); ... } its server-side ver

Re: Where do KeyPress Events go?

2011-01-05 Thread Ian Bambury
Greg, is there a reason you can't just set the focus to the button? On 5 January 2011 14:08, jaybose wrote: > OK, what does the button do, at the moment? > > Do you have your EnterButton's handler call submit() on the form? > If so, are you seeing any errors? > > > On Jan 4, 8:53 am, Greg Dough

Re: Where do KeyPress Events go?

2011-01-05 Thread Greg Dougherty
Currently, I'm using a SubmitButton, and forcing the user to click on the button to have anything happen. I'd like for the user to be able to hit Enter, and have the button fire (IOW, I want it to behave like a real application, rather than like a web application). Unfortunately, I can't find any

How to find text in a TextArea

2011-01-05 Thread Kidowell
Hi, in my application I put a text (String) in a TextArea(), I wanted to add a search text input. To find text within the TextArea. Similar to the crtl + f in a browser. How to do that?. Can you please help me out. I also wanted to make it bold when found it. I cant figure out how to do it in a

Re: is there a class that implements HasWidgets & extends FocusWidget

2011-01-05 Thread Joe Hudson
Thanks for the help. That makes sense to me. On Jan 4, 2:10 pm, Gal Dolber wrote: > You can also wrap a FlowPanel into a FocusPanel. > > > > On Tue, Jan 4, 2011 at 2:54 PM, Y2i wrote: > > A Widget.addDomHandler() method may be what you are looking for.  You > > can register a handler for com.go

Re: Logging in shared code

2011-01-05 Thread nacho
I have a similar issue with translations in shared code. Is there any way to know if the code is running on server side or running in client side? For example: if (isRunningOnClient) { Window.alert(myConstants.hello()); } else if (isRunningOnServer) { System.out.println(myResources.getStri

Re: EnterButton

2011-01-05 Thread Greg Dougherty
Hi Jeff, You've got things backwards for my concerns. I want to fire off a Submit event when the user hits Enter, I don't want to do something special once the user has clicked on the button. To do that, I need to figure out how to catch a KeyPress Event when the last thing selected was a FileUp

Re: How to write file with GWT?

2011-01-05 Thread nacho
Can't you deploy your app in a Tomcat? If you do this, you don't have any restriction. On 4 ene, 17:18, "a...@mechnicality.com" wrote: > Yes, but that doesn't actually 'write' the file does it? > > It just generates a String which contains the XML representation of the java > object. Its not >

Re: Where do KeyPress Events go?

2011-01-05 Thread Ian Bambury
fu.addChangeHandler(new ChangeHandler() { @Override public void onChange(ChangeEvent event) { button.setFocus(true); } }); would put the focus on the button - any good? or there's always 'DOM.addEventPreview'

Re: Where do KeyPress Events go?

2011-01-05 Thread Ian Bambury
Or, if you want to be fed keyup events when the FU has focus (or anyt other event you choose) fu.sinkEvents(Event.ONKEYUP); fu.addHandler(new KeyUpHandler() { @Override public void onKeyUp(KeyUpEvent event) { Window.aler

Re: Problem with java.util.Date

2011-01-05 Thread smida02
date.setHours has been deprecated since Java 1.1 On Jan 5, 2:42 am, bond wrote: > Yes, > if I comment the line date.setHours(13); it works!!! > > Thanks! > > On 3 Gen, 22:38, Y2i wrote: > > > > > > > > > You are using java.util.Date because if you used java.sql.Date your > > example would not co

Re: Logging in shared code

2011-01-05 Thread Ben Imp
GWT.isClient(). http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/core/client/GWT.html -Ben On Jan 5, 9:02 am, nacho wrote: > I have a similar issue with translations in shared code. > > Is there any way to know if the code is running on server side or > running in client

Last Page too big in SimplePager

2011-01-05 Thread Micha Roon
I use the SimplePager to page my CellTable. I have setup an AsyncDataProvider for the data but know beforehand how many rows there will be All the pages display fine, but the last. It is as big as the other. If I have a PageSize of 10 with 15 elements, the last page shows elements 6 through 15. I'

Re: Date/Time support on client side

2011-01-05 Thread smida02
I would recommend using GWT date picker. Its a very nice way for users to choose dates http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/datepicker/client/DatePicker.html On Jan 4, 5:11 pm, Ben Imp wrote: > Unfortunately, you are stuck with the old java.util.Date objec

Re: How to find text in a TextArea

2011-01-05 Thread Matthew Hill
Use a contenteditable div (so that you can bold the keywords) with a string searching algorithm. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe fro

Re: How to find text in a TextArea

2011-01-05 Thread Matthew Hill
http://blog.whatwg.org/the-road-to-html-5-contenteditable -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-t

Re: deploy new server version - how to inform clients?

2011-01-05 Thread Thomas Broyer
You seem to be having a caching problem: reloading the page should be made to revalidate the page (*.html and *.nocache.js) freshness to the server, so that the "under construction" (you're using a 503 Temporarily Unavailable, right?) page and then the new version are correctly loaded back from

Re: DatePicker now starting with Monday, used to be Sunday

2011-01-05 Thread Ben Imp
I experienced this as well. I noticed it right after I upgraded to GWT 2.1, so I assume that must have done it. I've ignored it so far, as no one in my organization seems to care, but I must admit, I am curious as to the cause. -Ben On Jan 5, 9:51 am, Dan wrote: > My DatePicker in my program u

Re: Problem with java.util.Date

2011-01-05 Thread bond
Yes, it's deprecated but is the only manner to set the hour on the client with GWT. Daniele On 5 Gen, 16:34, smida02 wrote: > date.setHours has been deprecated since Java 1.1 > > On Jan 5, 2:42 am, bond wrote: > > > Yes, > > if I comment the line date.setHours(13); it works!!! > > > Thanks! > >

DatePicker now starting with Monday, used to be Sunday

2011-01-05 Thread Dan
My DatePicker in my program used to start with Sunday, but since some time recently--I don't know when--it has been starting with Monday. I've done nothing in this area. What do I do to get it back to starting with Sunday? -- You received this message because you are subscribed to the Google Gr

Re: What does this message means -> "Error in Generated.....FieldSerializer.java

2011-01-05 Thread Rodrigo Romano
I dont think the problem is in my gwt.xml file. As I said in the topic its compiles after all. Look my Database.gwt.xml file located in the mypackage directoy. And My module located in mypackage/gwt/modules/client directory. I dont know what this fieldSerializer h

Re: Defining ChangeHandler in a Hidden Widget

2011-01-05 Thread Thomas Broyer
1) use addDomHandler instead of addHandler 2) use ChangeEvent.getType() instead of a new GwtEvent.Type() That being said, won't ever dispatch a change event (setting the value programmatically never dispatches an event on any of the types) See, for example, http://stackoverflow.com/questions/

Setting HTML on TextCell GWT 2.1.1

2011-01-05 Thread bond
Hi, with GWT 2.1.1 I've a problem when I set some html text to a cell. I know that now it used SafeHtml that escape charactes. I've something like this: addSortColumn("Html column", new TextCell(), new GetValue() { public String getValue(String object) {

expenses and other maven apps: how to reflect changes to war folder instantly?

2011-01-05 Thread marius.andreiana
Hi, When importing a maven project such as expenses from gwt, we'd like to make changes to files in war folder (e.g. CSS) and then be able to see them while in debug mode just by pressing Refresh in browser. In order for this to work, one has now to go and change the default war folder as follows

How can I know if my script is running inside an iframe or not?

2011-01-05 Thread nacho
I have a script that sometimes will run inside an iframe an sometimes not. How can i know if the script if running inside an iframe? Another doubt, if the script is running inside the iframe how can i redirect the parent window? If I do Window.Location.assign("/newUrl") obviusly the content of th

Re: Runtime errors after updating to 2.1.1

2011-01-05 Thread Thomas Broyer
The Google Plugin for Eclipse (GPE) integrates with M2Eclipse and should automatically pick up the correct GWT version (i.e. from your Maven repository, depending on what's on the POM). I can't remember if you have to manually enable the GWT "nature" on the project or if the GPE does it automati

Re: GWT with JPA located in a separate project

2011-01-05 Thread Thomas Broyer
Or, instead of packaging your "core" project to add the JAR as a dependency to the GWT project, you can have a "project" dependency in Eclipse; but then you have to add the core project's src/ folder to the classpath when launching the DevMode or the Compiler (for the GWT project); that is, by

DockLayoutPanel and ClickHandler

2011-01-05 Thread Ryan Rathsam
Hi All, I've been scouring the web for the past couple of days looking for some way of implementing this and I have yet to find a way to do this. My setup is as follows: I have a custom widget (Composite) that utilizes a DockLayoutPanel for it's structure. I would like to capture mouse clicks anyw

Re: Problem with java.util.Date

2011-01-05 Thread Ed
Interesting post... Just copied and tested above code in 2.1.1 and works fine in development mode. Looking at the exception, you are using the setHours() method in the sql Date object... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To p

GWT and Struts

2011-01-05 Thread Srividhya Ramachandran
I have a GWT front end app or rather a page deployed with struts framework. The page looks like: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> For the first time I am trying to launch this in devmode and get the

How to delete the time spinner on CellView

2011-01-05 Thread Néstor Boscán
Hi When I add a new CellView Widget without any rows I get a time spinner inside the CellView. Is there a way to eliminate the time spinner. Regards, Néstor Boscán -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, s

How to change CSS on a Vertical MenuBar Window

2011-01-05 Thread Néstor Boscán
Hi I've changed the CSS on MenuItems but I haven't been able to change the Window of a Vertical MenuBar. Any examples on how to do this? Regards, Néstor Boscán -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send

CellView and vertical scroll bar

2011-01-05 Thread Néstor Boscán
Hi I've read that CellView does not support a vertical scroll bar but I also read that the google incubator may have a version with this feature. Anyone knows where I can find it? Regards, Néstor Boscán -- You received this message because you are subscribed to the Google Groups "Google Web T

PopupPanel space on parent Panel

2011-01-05 Thread Néstor Boscán
Hi When I add a hidden PopupPanel on a parent Panel I can see the space on the parent panel where the PopupPanel is. When I center and show the panel the space disappears. I've tried to center the PopupPanel on the constructor but with no luck. Any ideas? Regards, Néstor Boscán -- You received

Re: How to delete the time spinner on CellView

2011-01-05 Thread Ben Imp
I believe if you additionally set the row count to 0, it will stop the spinner. -Ben On Jan 5, 10:56 am, Néstor Boscán wrote: > Hi > > When I add a new CellView Widget without any rows I get a time spinner > inside the CellView. Is there a way to eliminate the time spinner. > > Regards, > > Nést

Re: DatePicker now starting with Monday, used to be Sunday

2011-01-05 Thread macagain
Yes, same here. But what's even more puzzling is that if you run showcase (as in compile it from the dist. samples directory), the datepicker there starts on Sunday! Been digging all over, but can't seem to figure out what/where the setting is. On Jan 5, 8:57 am, Ben Imp wrote: > I experienced

Re: DatePicker now starting with Monday, used to be Sunday

2011-01-05 Thread John LaBanca
Are you using the default locale? I'm pretty sure that the start of week info comes from the CDLR locale data, which we update periodically from some open source resource. Showcase uses the "en" locale, which starts on Sunday. If you switch the app to French, you'll see it starts on Monday (L =

Re: EnterButton

2011-01-05 Thread Thomas Broyer
On Wednesday, January 5, 2011 4:14:47 PM UTC+1, Greg Dougherty wrote: > > Hi Jeff, > > You've got things backwards for my concerns. I want to fire off a > Submit event when the user hits Enter, I don't want to do something > special once the user has clicked on the button. > I think Jeff got

Re: Setting HTML on TextCell GWT 2.1.1

2011-01-05 Thread Thomas Broyer
That's what happens when you take advantage of bugs and then they fix them ;-) Use a SafeHtmlCell instead: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/cell/client/SafeHtmlCell.html -- You received this message because you are subscribed to the Google Groups "Googl

Re: DockLayoutPanel and ClickHandler

2011-01-05 Thread Thomas Broyer
Use addDomHandler within your Composite: this.addDomHandler(new ClickHandler() { ... }, ClickEvent.getType()); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To u

Re: PopupPanel space on parent Panel

2011-01-05 Thread Thomas Broyer
PopupPanel-s are not meant to be add()ed to other widgets. When you call center() or show() on them, they actually add them to the RootPanel.get() (which as a side effect removes them from where they previously were, which explains why the "blank" disappears) -- You received this message becau

Re: SelectionCell is displaying empty combo box

2011-01-05 Thread Deepak Singh
Still no luck. I hope it could be a bug also. On Tue, Jan 4, 2011 at 10:26 PM, Deepak Singh wrote: > Hi Ben, > > I make sure that i am adding string values to list as follows: > final List picUps = new ArrayList(); >// Adding values to picUps list >

Updating Cell Table at run time

2011-01-05 Thread Noor
I am getting problem to update cell table at runtime. I am trying this: View.getTable().setRowData(0,NewMessages); but does not work: also trying View.getTable().redraw(); with no success -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: DatePicker now starting with Monday, used to be Sunday

2011-01-05 Thread John Tamplin
On Wed, Jan 5, 2011 at 12:14 PM, John LaBanca wrote: > Are you using the default locale? I'm pretty sure that the start of week > info comes from the CDLR locale data, which we update periodically from some > open source resource. Showcase uses the "en" locale, which starts on > Sunday. If you

Re: Updating Cell Table at run time

2011-01-05 Thread Y2i
Did you setup table columns? It might be also possible that your table is not visible (collapsed). Try setting background color to red (using styles) to verify that if it is visible. On Jan 5, 9:56 am, Noor wrote: > I am getting problem to update cell table at runtime. > > I am trying this: > >

Development Mode not displaying properly

2011-01-05 Thread EMan
Has anyone run into this? I am running my application through Development Mode. when I test my application in Chrome and IE, they both look considerably different. Also I am not receiving some events in Chrome that I get in IE (click events). Before I post code up, just curious, does this happe

Re: Date/Time support on client side

2011-01-05 Thread Thad
The GWT Incubator extends DatePicker with com.google.gwt.gen2.picker.client.DateTimePicker On Jan 5, 10:38 am, smida02 wrote: > I would recommend using GWT date picker. Its a very nice way for users > to choose dates > > http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... > >

htmlPanel

2011-01-05 Thread Ahmed Shoeib
hi all, now i made my code form using html and Added it to HtmlPanel() now i need to get this html response and handle it on my client. can i make this step or not ? and if not what is the best way to do this ?? thanks. -- You received this message because you are subscribed to the Google Grou

Re: Development Mode not displaying properly

2011-01-05 Thread Ben Imp
Unfortunately, some things are still different between browsers. Your CSS, for instance, GWT doesn't do anything with. IE tends to render things just a wee bit different in some cases, depending on your CSS, so you are still stuck with testing across all of them. I can't say I have ever missed c

Re: gwt rpc

2011-01-05 Thread Y2i
AbstractRemoteServiceServlet and its sub-class RemoteServiceServlet are the classes that implement gwt-rpc. gwt-rpc is implemented using doPost(). AbstractRemoteServiceServlet makes doPost() final and delegates the work to RemoteServiceServlet.processPost() to dispatch remote service interface

Problem with @sprite

2011-01-05 Thread Jeff Schwartz
I want to create an anchor element that has an image as its background and I want to apply a css style selector to the Anchor widget that defines the background image such as myAnchorWidget.setStyle(...). I am not able to get it working and when I run the application it throws an error which I've i

Re: Updating Cell Table at run time

2011-01-05 Thread Noor
When i am updating the cell table, it remaining as it is though the data in the list supplying it has changed thrugh CRUD -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups

Re: Updating Cell Table at run time

2011-01-05 Thread Noor
When using the same technique, i am adding the cell table is being updated but when removing, it not updating -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To uns

Re: Problem with java.util.Date

2011-01-05 Thread Y2i
> Just copied and tested above code in 2.1.1 and works fine in > development mode. This is what I said earlier: the example also works for me in GWT 2.1.1... > Looking at the exception, you are using the setHours() method in the > sql Date object... But if I replace java.util.Date with java.sql.

Re: Updating Cell Table at run time

2011-01-05 Thread John LaBanca
setRowData(int, List) replaces the range of data. So, if the list gets shorted, it doesn't touch the items that appear after the end of the list. You have to update the row count as well: table.setRowData(0, NewMessages); table.setRowCount(NewMessages.size(), true); Or, you can use the new versi

Compiler options

2011-01-05 Thread rmuller
What is the difference between -optimize 0 and -draftCompile? I do no see any difference in terms of compilation speed and js file size. In terms of compilation speed there is *very* little difference between -optimize 0 and -optimize 9. So in what scenarios are these relevant? Regards, Ronald --

Re: Updating Cell Table at run time

2011-01-05 Thread Noor
@John LaBanca; Thanks lot!! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroup

Building for a single locale

2011-01-05 Thread Jim Douglas
This is driving me around the bend. Our production configuration builds for all browsers & several languages. For development / testing purposes, I'm trying to define a restricted configuration that just hard codes a single locale, like this: That configuration seems to work fine i

Re: Building for a single locale

2011-01-05 Thread Jeff Chimene
On Wed, Jan 5, 2011 at 12:43 PM, Jim Douglas wrote: > > This is driving me around the bend. Our production configuration > builds for all browsers & several languages. > > For development / testing purposes, I'm trying to define a restricted > configuration that just hard codes a single locale,

Re: Building for a single locale

2011-01-05 Thread Jim Douglas
You lost me, Jeff. The "restriction" involves inheriting the normal .gwt.xml file and adding these lines to cause it to compile just a single locale (with a goal of reducing the build time from 15 minutes to a couple of minutes): That builds with no problems, and I can run in product

FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Greg Dougherty
I have the following code in a GWT 2.1.0 project: public void onSubmit (FormPanel.SubmitEvent event) { // This event is fired just before the form is submitted. We can take // this opportunity to perform validation. String filename = gDataFileUploader.getFilename ();

Re: Where do KeyPress Events go?

2011-01-05 Thread Greg Dougherty
Thanks Ian! Both solutions work, but I prefer the sinkEvents one, since it seems more broadly applicable. Thank you, Greg On Jan 5, 9:28 am, Ian Bambury wrote: > Or, if you want to be fed keyup events when the FU has focus (or anyt other > event you choose) > >         fu.sinkEvents(Event.ONKE

Re: FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Jim Douglas
I'm doing pretty much exactly that with my FileUpload widget, and it works ok here: /* * User clicked the Chooser OK button. */ public void onSubmit(SubmitEvent p_event) { if (m_progressUpdateTimer != null) { // Upload is already in progress

Re: gwt rpc

2011-01-05 Thread pieceovcake
what i'm getting at is how do i make my gwt-rpc function call available to the rest of the world? So that external users can execute Get() on the RemoteServiceServlet -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,

GWT Simple Pager Help

2011-01-05 Thread Noor
Hi, I am stuck with the gwt cell pager which I want to attach to a cell table. I am setting like this: List AllMessages=populated from an rpc; CellTable cellTable = new CellTable (); simplePager = new SimplePager(); cellTable.addColumn(ColumnM); cellTable.setRowData(0,AllMessages); simplePager.s

Re: Building for a single locale

2011-01-05 Thread Jim Douglas
Solved, although I'm not entirely sure I understand this...and the dev mode error messages are still obscure. But the problem turns out to have been caused by building the restricted configuration, but continuing to specify the original (full) configuration when I started GWT dev mode. Running pr

Re: EnterButton

2011-01-05 Thread Greg Dougherty
Hi Jeff, My fields ARE wrapped in a FormPanel (which I assume is what you mean by "a form". If not, please enlighten me), and hitting Enter after selecting a file most certainly did NOT cause the Form to submit, because if it did, I wouldn't need to spend time making a button to accomplish that b

Re: CellView and vertical scroll bar

2011-01-05 Thread Owen Powell
The incubator is here: http://code.google.com/p/google-web-toolkit-incubator/ ~Owen -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group,

Re: FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Greg Dougherty
GWT 2.0 or 2.1? On Jan 5, 2:41 pm, Jim Douglas wrote: > I'm doing pretty much exactly that with my FileUpload widget, and it > works ok here: > >     /* >      * User clicked the Chooser OK button. >      */ >     public void onSubmit(SubmitEvent p_event) >     { >         if (m_progressUpdateTim

Re: GWT Simple Pager Help

2011-01-05 Thread Y2i
call cellTable.setRowCount(AllMessages.size(), true); On Jan 5, 12:54 pm, Noor wrote: > Hi, I am stuck with the gwt cell pager which I want to attach to a > cell table. I am setting like this: > > List AllMessages=populated from an rpc; > CellTable cellTable = new CellTable  (); > simplePager =

[gwt-contrib] Enterprise CellTable Questionnaire

2011-01-05 Thread John LaBanca
https://spreadsheets.google.com/viewform?formkey=dEx3b0M4cHdSbG5Pd29KSjZxVnFnU3c6MQGWT Contributors - In the next couple of months, the GWT team will create add enterprise features to the CellTable and will eventually replace PagingScrollTable (from GWT incubator). If you currently use PagingScrol

Re: FormPanel.SubmitEvent cancel not working

2011-01-05 Thread Jim Douglas
Hmm, I would hope it wouldn't matter, but 2.0.3; we need to coordinate several developers and build systems to move to 2.1.1, and everyone's been away for Christmas & New Years. On Jan 5, 1:15 pm, Greg Dougherty wrote: > GWT 2.0 or 2.1? > > On Jan 5, 2:41 pm, Jim Douglas wrote: > > > > > I'm do

Re: Problem with @sprite

2011-01-05 Thread Thomas Broyer
A CssResource is always created in the *context* of a ClientBundle, and the ImageResource-s are looked up in that ClientBundle. In the snippet you posted, there's no (apparent, as you didn't include the ClientBundle where InsurancePaymentStyle is used) relationship between LVMResources and Insu

Re: Problem with @sprite

2011-01-05 Thread Jeff Schwartz
Hi Thomas, Thank you for your explanation. I am at a loss understanding how I create the CssResource in the context of the ClientBundle. Can you elaborate on that and maybe provide an example? Just to update the information I previously provided, I've added @Source("lmv/com/client/members/insuran

Re: [gwt-contrib] Enterprise CellTable Questionnaire

2011-01-05 Thread Gal Dolber
so happy to hear that! On Wed, Jan 5, 2011 at 6:55 PM, John LaBanca wrote: > > https://spreadsheets.google.com/viewform?formkey=dEx3b0M4cHdSbG5Pd29KSjZxVnFnU3c6MQGWT > Contributors - > > In the next couple of months, the GWT team will create add enterprise > features to the CellTable and will ev

Re: Enterprise CellTable Questionnaire

2011-01-05 Thread Y2i
John, I'm curious about sorting implementation. When a cell table is attached to an async data provider, range data is requested from the provider in batches. More likely the sorting will occur in the database and only a small range will be returned to the table. In addition, a single data prov

Re: GWT with JPA located in a separate project

2011-01-05 Thread lineman78
Even if you did include source it probably would fail to compile due to the JPA annotations. This is why the EntityProxy API was created in 2.1. I suggest that you use EntityProxy and RequestFactory in order to get your stuff to work. http://code.google.com/webtoolkit/doc/latest/DevGuideReques

Special thanks for Value Proxies

2011-01-05 Thread Y2i
Just can't thank GWT Team enough for the value proxies! It is now possible to run complex JPQL queries involving aggregate functions, construct n...@entity projections and path them through to the client. The projections can even refer to @Entities and it all magically works! Just one more thing

Re: Enterprise CellTable Questionnaire

2011-01-05 Thread zixzigma
in my opinion, one essential feature that is missing from the questionnaire, is "Live Filtering" on columns. I believe for enterprise grids, this is very important. expenses sample in trunk does this, but its a custom implementation, not part of the CellTable API. filtering can be local/remote:as

Unable to run GWT application in production mode - GWT Module may need to be (re) compiled

2011-01-05 Thread Shubhang Mani
I'm trying to deploy a GWT application to an external server in order to run it in production mode. When I try to access the application, I get an alert dialog with the message: "GWT Module '' may need to be (re)compiled" After dismissing the alert, I can see all the static content from my host

Re: PopupPanel space on parent Panel

2011-01-05 Thread Néstor Boscán
Thanks Thomas. On Wed, Jan 5, 2011 at 1:23 PM, Thomas Broyer wrote: > PopupPanel-s are not meant to be add()ed to other widgets. > > When you call center() or show() on them, they actually add them to the > RootPanel.get() (which as a side effect removes them from where they > previously were, w

Re: CellView and vertical scroll bar

2011-01-05 Thread Néstor Boscán
Thanks Owen. On Wed, Jan 5, 2011 at 4:34 PM, Owen Powell wrote: > The incubator is here: > > http://code.google.com/p/google-web-toolkit-incubator/ > > ~Owen > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group,

Re: How to delete the time spinner on CellView

2011-01-05 Thread Néstor Boscán
Yes that worked. Thanks a lot. On Wed, Jan 5, 2011 at 12:32 PM, Ben Imp wrote: > I believe if you additionally set the row count to 0, it will stop the > spinner. > > -Ben > > On Jan 5, 10:56 am, Néstor Boscán wrote: > > Hi > > > > When I add a new CellView Widget without any rows I get a time

Re: Unable to run GWT application in production mode - GWT Module may need to be (re) compiled

2011-01-05 Thread Y2i
May be this post will help: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/8fc260a7865076e9/ It was solved by adding webAppDirectory to the GWT maven plugin. On Jan 5, 8:50 pm, Shubhang Mani wrote: > I'm trying to deploy a GWT application to an external server in order to

Re: PopupPanel space on parent Panel

2011-01-05 Thread Nirmal Patel
Hi Thomas, This way the popup panel always appears at the application level (its glass panel covers the entire browser window). Can we localize the popup to specific regions?? For example, only cover the Center of a DockLayoutPanel (leaving the top and left/right regions clickable and uncovered

Re: Unable to run GWT application in production mode - GWT Module may need to be (re) compiled

2011-01-05 Thread Shubhang Mani
Wow ! Thanks. The link was incredibly useful as it contained a working POM which I could use as a reference. I did have the webappDirectory specified but it was pointing (by default) to ${project.build.directory}/${project.build.finalName}. I changed this to src/main/webapp instead and it is b

please Help me GWT Listbox

2011-01-05 Thread vijay gohel
i want aout put like Group1 Item1-1 Item1-2 Item1-3 Item1-4 Group2 Item2-1 Item2-2 Item2-3 Item2-4 etc for that in HTML there is option in "Select Tag" and Option in "Select Tag" is "optiongroup" i want that's output in get list box thanks Vijay --

Remove gwt.codesvr=127.0.0.1:9997 from http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997

2011-01-05 Thread Noor
I am tired of trying to remove gwt.codesvr=127.0.0.1:9997 this from my url, I have tried my such as removing argument from run and debug configuration or compiling the application but with no success Can someone help me -- You received this message because you are subscribed to the Google Groups