Re: Scalability problem with Cell widgets and KeyboardPagingPolicy.INCREASE_RANGE

2011-08-15 Thread camerojo
Whoops - ignore the last two lines below - they snuck into my posting by mistake... > I suggest either redefining, creating a new enum, or allowing > pluggable policies -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group

Scalability problem with Cell widgets and KeyboardPagingPolicy.INCREASE_RANGE

2011-08-15 Thread camerojo
Cell widgets were a great step forward for GWT - enabling efficient client display of very large amounts of server data by means of RangeChangeEvents processed by AsyncDataProviders. However there is a serious problem with keyboard navigation as defined by KeyboardPagingPolicy.INCREASE_RANGE. Sup

debugging javascript call.?

2011-08-15 Thread Navindian
> > Hi > native void showGeoAddress(String address) /*-{ > > alert('before call:'+address); > $wnd.codeAddress(address); > alert('not reaching this'); >} > I am trying to call javascript function from a GWT. somehow its not getting > called. Not sure about the problem. any ideas. Atleast l

javascript call

2011-08-15 Thread Navindian
Hi native void showGeoAddress(String address) /*-{ alert('before call:'+address); $wnd.codeAddress(address); alert('not reaching this'); } I am trying to call javascript function from a GWT. somehow its not getting called. Not sure about the problem. any ideas? -- You received this messag

Re: Eclipse, Maven, GWT: Multiple modules in a single Eclipse project

2011-08-15 Thread Lwando Mjila
you could also use maven and set up parent poms with dependants as required, On Aug 15, 2:07 pm, Mike wrote: > Hi, we have an existing web application (JSF, Seam on JBoss) and are > reimplementing portions of it in GWT.  These portions will be separate > GWT modules, each with their own entry poi

Re: log in tomcat with gwt - j_security_check limitation

2011-08-15 Thread Vitrums
I found this solution very handy. At least it suits my needs quite well. But still there's an issue with login.jsp, which might also produce an authentication interface for admin tools as an example. And the point is, that while an ordinary user gets everything what he needs, some manager with

Re: GWT CellTable Row Height Problem

2011-08-15 Thread Ashok
Its mainly because of the parent that contain the cellTable. Make sure the height of the parent is not set to any value. solution: http://stackoverflow.com/questions/7072063/gwt-celltable-resize On Aug 16, 11:46 am, Ashok wrote: > Did you guys find a solution?? > > On Jul 13, 11:08 pm, DanG

Re: GWT CellTable Row Height Problem

2011-08-15 Thread Ashok
Did you guys find a solution?? On Jul 13, 11:08 pm, DanG wrote: > Did you solve this? I'm having the same problem. -- 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-toolkit@googlegroups.com.

GWT CellTable row height

2011-08-15 Thread Ashok
Hi, I'm developing an application using GWT. I'm using celltable to display dynamic values from database (based on a query). I have following queries: Assume: I have set the table height as 100px. I have placed the table in a scrollpanel. 1. Now, My query returns 20rows, which are more than 100

Testing RequestFactory in GWT 2.4 RC1

2011-08-15 Thread Dominik Mayer
I tried GWT 2.4 RC1 today. My application does compile and run in a browser, but some unit tests don't pass anymore. I get the following Stack Trace: java.lang.RuntimeException: Did not have deobfuscation data for 2UqELyqusA0NSi_wPI4ZRpQ$hFw= at com.google.web.bindery.requestfactory.vm.InProces

Re: HTTP Persistent Connection in Jetty

2011-08-15 Thread Kevin Jordan
Well, Comet is a pretty broad term that includes what you want. Although you can't keep a connection alive forever, unless you use the hidden iframe technique from your wikipedia link, which is where the vulnerability comes in. At the moment, you can use Jetty Continuations or Servlet 3 to achieve

Re: GWT 2.3 XSRF Invalid RPC token (Session cookie is not set or empty! Unable to generate XSRF cookie)

2011-08-15 Thread Алексей Заряев
Thanks for advice Chak, I have added setCookie, but I have other error now: [WARN] gorodServlet: An RpcTokenException was thrown while processing this call. com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token (XSRF token missing) at com.google.gwt.user.server.rpc.XsrfProtectedS

Re: Focus bug with TabLayoutPanel?

2011-08-15 Thread camerojo
There is a workaround - which is to defer the setFocus call: ie Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { public void execute() { name.setFocus(true); } }); Clearly this is some kind of timing problem. -- You received this message because y

Re: Embed pdf into gwt app

2011-08-15 Thread Ivan Pulleyn
Depending on your requirements, you may find the pdfjs project useful: http://andreasgal.github.com/pdf.js/ Ivan... On Tue, Aug 16, 2011 at 5:38 AM, karim duran wrote: > Hi Papick, > > In my opinion, the problem is not about your iframe or any GWT container. > Concerning or , i think you shou

Re: Embed pdf into gwt app

2011-08-15 Thread karim duran
Hi Papick, In my opinion, the problem is not about your iframe or any GWT container. Concerning or , i think you should use the standard way provided by W3C specifications e.g . GWT provides cross-browser support for rendering. But don't process media-type rendering. Remember that if your brows

Re: SuggestBox popup Z-Index issue (appears behind everything)

2011-08-15 Thread Ben Imp
I suppose you could also use CSS, too. That would seem to be a bit less hacky. -Ben -- 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/-/0xAyuDytV

Re: SuggestBox popup Z-Index issue (appears behind everything)

2011-08-15 Thread Ben Imp
One of the SuggestBox constructors lets you pass in a custom SuggestionDisplay. You should be able to just extend the DefaultSuggestionDisplay, override the decorateSuggestionList method, and set the z-index of the widget it makes. -Ben -- You received this message because you are subscribed

Re: display file icon in GWT grid

2011-08-15 Thread Thad
You can write a servlet that gets the icon and returns it as a PNG. Call that servlet as the Image url (vs using AbstractImagePrototype). Warnings: (1) this will make a servlet call for each icon you load in the grid; (2) if JFileChooser.getIcon() needs a DISPLAY, your call may not succeed. That d

SuggestBox popup Z-Index issue (appears behind everything)

2011-08-15 Thread darkflame
It seems this issue is still present; http://code.google.com/p/google-web-toolkit/issues/detail?id=1351 Using a SuggestBox in a composite which has had a zIndex value set means the popup of the suggestions appears behind everything else. (no Index seems to be set at all on the popup). So I either

Re: GWT Compiler Hanging

2011-08-15 Thread Stijn Bienkens
I have exactly the same issue at work. Using Windows 7 64bit, jdk 6 update 26, gwt 2.3 and eclipse indigo 3.7. Same deadlock happens when using different versions of java jdk, gwt and eclipse. On 15 aug, 20:02, otth2oskier wrote: > Added -XdisableUpdateCheck to command line and it no longer hang

Re: Number Of Permutations Question

2011-08-15 Thread Alfredo Quiroga-Villamil
Hello group: I was able to find the solution for the runtime JS that was being generated. I was able to remove the runtime JS code by adding: Hope this helps someone in the future. Regards, Alfredo On Mon, Aug 15, 2011 at 12:30 PM, Alfredo Quiroga-Villamil < laww...@gmail.com> wrote: > He

Re: CellTable custom footer

2011-08-15 Thread John LaBanca
There is an example in the DataGrid example of Showcase: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwDataGrid.java?r=10228#270 Within the footer getValue() mathod, you can get all of the row data and extr

Re: upload file with GWT (MVP pattern)

2011-08-15 Thread Thad
Did you call setName(String) on the FileUpload object? If you do not, org.apache.commons.fileupload.servlet.ServletFileUpload won't list your field in parseRequest(HttpServletRequest). On Aug 15, 8:47 am, GWT and Web Services wrote: > i want to add upload file on my application, i implemented it

Re: CellTable custom footer

2011-08-15 Thread Mark Wengranowski
Thanks John! Do you have an example of how i would total all of the cells in a particular column and set the footer (Header instance)? On Aug 15, 11:19 am, John LaBanca wrote: > If you pass a Header instance as the footer, it will be updated every time > you push new row data.  You can also refr

Re: CellTable custom footer

2011-08-15 Thread John LaBanca
If you pass a Header instance as the footer, it will be updated every time you push new row data. You can also refresh footers manually using CellTable#redrawFooters(). There is also a pending change that allows you to fully customize headers and footers: http://gwt-code-reviews.appspot.com/14998

Using normal Panels and LayoutPanels

2011-08-15 Thread Foermchen82
Hi all, I want to use the DataGrid of GWT 2.4. But this I have to add to the RootLayoutPanel. For a specific layout with other panels I have to use f.e. the DockLayoutPanel. But to add Widget to the DockLayoutPanel, I have to apecify the size: DockLayoutPanel mainPanel = new DockLayoutPanel(Unit

Re: Activities and Places and Layouts (again)

2011-08-15 Thread Mike Dee
Dave, I think you got it. Double checked and wasn't setting height to 100%. Thanks, that seems to have done it. Thought I was doing that. Mike On Aug 15, 9:01 am, DaveC wrote: > Hi Mike, > > I'm trying to understand your issue... > > I'm assuming that DockLayoutPanel is in an Activity and t

event.getKeyCode not returning correct for key up event

2011-08-15 Thread SG
I am running GWT 2.3 in Standards mode and ran into this issue where the getKeyCode method on the Event(com.google.gwt.user.client.Event) object does not return correct values for special characters and also those for letters seem to be inverted i.e. if I type 'S' I am getting the code for 's' and

Re: GWT Compiler Hanging

2011-08-15 Thread otth2oskier
Added -XdisableUpdateCheck to command line and it no longer hangs. On Aug 15, 1:53 pm, otth2oskier wrote: > There appears to be a deadlock: > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\Documents and Settings\xx>jstack 1220 > 2011-08-15 13:50:55

Re: DataGrid GWT 2.4 RC1

2011-08-15 Thread NR
Thank you all. Adding the DataGrid directly to a LayoutPanel works. On Aug 15, 8:02 am, Jeff Larsen wrote: > DockPanel mainPanel = new DockPanel(); > > DockPanel isn't a LayoutPanel. Try DockLayoutPanel. -- You received this message because you are subscribed to the Google Groups "Google Web

Re: GWT Compiler Hanging

2011-08-15 Thread otth2oskier
There appears to be a deadlock: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\xx>jstack 1220 2011-08-15 13:50:55 Full thread dump Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing): "GWT Update Checker" daemon prio=6 tid=0x03

Re: Activities and Places and Layouts (again)

2011-08-15 Thread Mike Dee
Dave, I never thought about adding the DockLayout in the activity's start() method. I am using the HelloMVP sample and they add widgets to the view in the view's implementation (HelloViewImpl). When the activity (associated with the view) is activated (at a later point), HelloViewImpl creates it

Re: Activities and Places and Layouts (again)

2011-08-15 Thread Mike Dee
Jens, I am doing as you suggest. onModuleLoad() creates the SimplePanel and the View implementation adds a DockLayoutPanel. Basically, I copied the HelloMVP example. You bring up an interesting issue. Do I really want a DockLayoutPanel for just one activity/place. In this case I do. I would

Re: GWT 508 - Alternative text on gwt-tree expand/collapse image

2011-08-15 Thread andrew
Running into the same kinds of issues almost a year after this post (using GWT 2.0.4)... Need to set alt text and need to discern both tree selection and hierarchy with CSS turned off. This can be made more elegant but here is the strategy (some GWT Tree assumptions are made here)... We are ad

UI Binder Button Problem

2011-08-15 Thread walker1c
Can anyone tell me what I'm doing wrong here? g:Image gets an image URL, but g:upFace just gets a text input field. ButtonPanel.ui.xml --- Button panel The image: The but

Re: Updating a celllist from a JSONP call

2011-08-15 Thread Jeff Chimene
On 08/15/2011 03:33 AM, Paul Browne wrote: > Intestingly, If I add a "Timer" that delays for 1ms before calling > "cellList.setRowData(result)" it all works > > I will live with this, dont like it but it seems to work Sorry, I missed the issue the first go-round. Rather than a fixed delay, I rec

Re: Number Of Permutations Question

2011-08-15 Thread Alfredo Quiroga-Villamil
Hi Magno, appreciate the response. Yes looking for a way to remove that check at run time if possible. It didn't do that prior to GWT 2.3.0. I've checked the generated JS and it starts to do that after 2.3.0. Regarding constants, I can't do what you are suggesting because it'll do more than one p

Re: Number Of Permutations Question

2011-08-15 Thread Magno Machado
I don't know why, but GWT check for the user agent at runtime to assert it is the corresponding user agent for that given permutation. I don't think you can change that. Regarding i18n, afaik you can restrict the number of locales on your *.gwt.xml file as you did for user agent, there's no need t

Re: Activities and Places and Layouts (again)

2011-08-15 Thread DaveC
Hi Mike, I'm trying to understand your issue... I'm assuming that DockLayoutPanel is in an Activity and that you're adding it to the SimplePanel using panel.setWidget() in the start method...? (I don't want to teach you to suck eggs - but you can use Firebug (or similar) to check the DOM of your

Remove "Warning: You are installing software that contains unsigned content" when installing GAE Plugin for Eclipse

2011-08-15 Thread long pham ngoc
Please unsubscribe me from the Group because I can not install GAE Plugin for Eclipse before deploying GAE application. Thank you! -- 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-toolkit@goog

GWT Compiler Hanging

2011-08-15 Thread otth2oskier
Trying to run GWT compiler on project from within Eclipse. The compiler hangs with no console output. If I run it with the -LogLevel ALL flag, it outputs "Checking for updates" and then hangs. Currently running GWT 2.2.0, JDK 1.6.0_22, Eclipse 3.4 Note I got the same problem with GWT 2.2.1 and 2.

Number Of Permutations Question

2011-08-15 Thread Alfredo Quiroga-Villamil
Hello group: Prior to GWT 2.3.0 I was able to limit the number of permutations generated by GWT by specifying the property user.agent. The generated JS had no references in it to the actual agent or anything related to it. When I use GWT 2.3.0 now to compile I see a few lines in the generated JS t

Re: CellTable custom footer

2011-08-15 Thread Mark Wengranowski
Anyone? On Aug 9, 1:05 pm, Mark Wengranowski wrote: > Hi Everyone, > > I'm trying to add a footer to my CellTable and am having a hard time > finding information on creating a footer that would update dynamically > based on the cells in that column. > > i.e. I want the last row in my cell table t

problem

2011-08-15 Thread jose felix estevez
I just migrated to version 2.3 and when I'm creating a Panel I get the following error: ERROR: Errors in 'jar:file:/C:/Repositorio/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/EditorDriver.java'. ERROR: Line 20: The import javax.validation.ConstraintViolation c

Re: problem

2011-08-15 Thread Juan Pablo Gardella
Simple add jsr303 api and implementationto the classpath. 2011/8/15 jose felix estevez > I just migrated to version 2.3 > and when I'm creating a Panel > I get the following error: > ERROR

Aw: Re: Activities and Places and Layouts (again)

2011-08-15 Thread Jens
I think you should use SimpleLayoutPanel appWidget = new SimpleLayoutPanel(); RootLayoutPanel.get().add(appWidget); Now you should be able to add a DockLayoutPanel to the appWidget inside an activities start method. But do you really want a DockLayoutPanel just for one Place/Activity or do yo

Re: Eclipse, Maven, GWT: Multiple modules in a single Eclipse project

2011-08-15 Thread Mike
As always, the answer becomes apparently minutes after asking the question: it turns out you need to explicitly list your modules in the pom file's configuration of the gwt-maven-plugin plugin. This allows you to specify an order, ensuring that the shared module is compiled first. On Aug 15, 10:

Re: HTTP Persistent Connection in Jetty

2011-08-15 Thread Gator Bait
Hi Kevin, Thanks for the reply. Didn't think Comet was a good choice because of issues regarding second level domains and cross-site scripting vulnerabilities: http://en.wikipedia.org/wiki/Comet_%28programming%29 Not familiar with Websockets. What I want to do is this: have my servlet push dat

Re: DataGrid GWT 2.4 RC1

2011-08-15 Thread Jeff Larsen
DockPanel mainPanel = new DockPanel(); DockPanel isn't a LayoutPanel. Try DockLayoutPanel. -- 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/-

Re: Dynamically editing list of ValueProxies with ListEditor

2011-08-15 Thread Miroslav Genov
What version of GWT you are using ? What happens if you try something like: PhoneNumber p1 = request.create(PhoneNumber.class); PhoneNumber p2 = request.create(PhoneNumber.class); p1.setValue("234234234"); p2.setValue("12312"); p1.equals(p2) ? -- You received this message because you

Re: Activities and Places and Layouts (again)

2011-08-15 Thread Mike Dee
I replaced RootPanel with RootLayoutPanel. Here is the EntryPoint from HelloMVP: private SimplePanel appWidget = new SimplePanel(); ... RootPanel.get().add( appWidget ); activityManager.setDisplay( appWidget ); I replaced RootPanel with RootLayoutPanel: private SimplePanel appWidget = new

Re: GWT 2.2.0 RequestFactory + Spring 3.0.x Integration (SOLVED) - NEW LINK

2011-08-15 Thread Ido
Works like charm, thanks a lot for the post! -- 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/-/C6JsuJVunwYJ. To post to this group, send email to

Re: HTTP Persistent Connection in Jetty

2011-08-15 Thread Kevin Jordan
Are you referring to Comet and/or Websockets? For both of those, it's part of the servlet you're connecting to. Websockets will require a Jetty 7 version though. On Aug 14, 7:45 pm, Gator Bait wrote: > Hi, > > I'm new to GWT. > > I'm using GWT 2.3 and the embedded Jetty server instance(not sure

Eclipse, Maven, GWT: Multiple modules in a single Eclipse project

2011-08-15 Thread Mike
Hi, we have an existing web application (JSF, Seam on JBoss) and are reimplementing portions of it in GWT. These portions will be separate GWT modules, each with their own entry point. The application is currently a single Eclipse project with Maven handling dependency management and the GWT comp

post complex data to server, decode it and show results in iframe

2011-08-15 Thread basinilya
Hi group. There's a GWT form with editable GXT grid. I need to display a JSP page based on the form data in a separate IFRAME. I want to encode/decode the form data by means of GWT, and I want to send this data directly to the JSP page without caching it on server. Here's the code to post the data

Re: GWT 2.3 XSRF Invalid RPC token (Session cookie is not set or empty! Unable to generate XSRF cookie)

2011-08-15 Thread Chak Lai
Just need to set the cookie before you start XSRF For example: import com.google.gwt.user.client.Cookies; . // The name of cookie should match with the value defined by gwt.xsrf.session_cookie_name in your web.xml // The value can be anything you want // Cookies.setCookie(name, value); -

upload file with GWT (MVP pattern)

2011-08-15 Thread GWT and Web Services
i want to add upload file on my application, i implemented it like you did, but it doesnt work, when i debug i found that items is null. PS: i use MVP pattern , so is there another way to implement upload file. -- You received this message because you are subscribed to the Google Groups "Google

Re: Activities and Places and Layouts (again)

2011-08-15 Thread P.G.Taboada
You need rootlayoutpanel, the host page should be in standards mode ( see doctype declaration). Then you should look if all the panels being used implement provides resize/ requires resize. That is the way resize events get propagated to child elements in gwt. On Aug 15, 8:00 am, Mike Dee wrote:

Dynamically editing list of ValueProxies with ListEditor

2011-08-15 Thread Mihail Lesikov
I have a list of phoneNumbers(ValueProxy) for a specified contact that I need to edit dynamically(add new/remove/change) using ListEditor. When I try to remove one of the phoneNumbers : listEditor.getList().remove(phoneNumber); // phone number is the last proxy in the list 1) as a result, the

Access ServerFailure exception in RequestTransport ?

2011-08-15 Thread Mihail Lesikov
Hi, In my aplicaiton I have loading bar that is managed with events via the event bus. I'm using requestFactory framework. When a request is sent, the loading bar should become visible, and when the response is received it should be hidden or if there is any system error it should be visualized

Best/Correct way to attach events to an element

2011-08-15 Thread DaveC
Hi, I've got some generated HTML that I'm trying to hook into using GWT to listen to events. At the moment I've this: public class LightWeightUiObject extends UIObject { public LightWeightUiObject(Element element) { setElement(element); sinkEvents(Event.ONTOUCHSTART);

Re: Drop files onto Web Page

2011-08-15 Thread Sean
Thank you for the suggestions! -- 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/-/ni4Bkr3xCZsJ. To post to this group, send email to google-web-too

Re: Alternative to DTO's

2011-08-15 Thread J.Ganesan
Give DataStoreGwt a try. It does exactly what you require. It helps you to persist client-side objects to Google App Engine directly and retrieve them. No mediator like JDO or RequestFactory is required. J.Ganesan www.DataStoreGwt.com On Aug 12, 1:57 am, J D wrote: > Hi, > > I was wondering if

Re: file upload once again

2011-08-15 Thread J.Ganesan
Try http://code.google.com/p/gwt-fileapi/ http://code.google.com/p/lib-gwt-file/ There is a way to drag and drop the files for uploading. J.Ganesan www.DataStoreGwt.com On Aug 12, 6:13 pm, Nick Siderakis wrote: > take a look at the code inhttp://code.google.com/p/upload4gwt/, its not a > polish

Re: Drop files onto Web Page

2011-08-15 Thread J.Ganesan
Try http://code.google.com/p/gwt-fileapi/ http://code.google.com/p/lib-gwt-file/ J.Ganesan www.DataStoreGwt.com On Aug 12, 9:11 pm, Sean wrote: > I've seen a few topics on this, but most are a few years old at this point. > I was wondering if there are any ways to drop a file onto the webpage f

Re: DataGrid on a hidden tab

2011-08-15 Thread P.G.Taboada
Well, not really, as I am not using lazy panels. But that is not the point: the should get rendered once the tab gets selected. To work around it, I did add the grid to a split panel in the tab. Now I have to move the slider to make the grid appear. Ok, it is not a workaround. ;) Btw, split panel

Re: Singleton instance in RPC AsynCall with two or more RPCs

2011-08-15 Thread J.Ganesan
I have encountered this problem quite a few times. I would create another class GreetingLoginServiceAsync, if possible extending GreetingServiceAsync and creating a static method getInstanceOfGreetingLoginServiceAsync(). J.Ganesan www.DataStoreGwt.com On Aug 13, 12:14 am, Miguel Ruiz Rodriguez

Re: DataGrid on a hidden tab

2011-08-15 Thread J.Ganesan
Is this not the expected behaviour of TabLayouPanel, the content of a hidden tab should not be rendered ? J.Ganesan www.DataStoreGwt.com On Aug 15, 3:32 am, "P.G.Taboada" wrote: > Hi, > > I am using a DataGrid on a TabLayouPanel. As long as the the DataGrid > is on the viewable tab it gets rende

GWT 2.3 XSRF Invalid RPC token (Session cookie is not set or empty! Unable to generate XSRF cookie)

2011-08-15 Thread Алексей Заряев
I try to implement XSRF on gwt project, but get error: [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.google.gwt.user.client.rpc.XsrfToken com.google.gwt.user.client.rpc.XsrfTokenService.getNewXsrfToken()

Activities and Places and Layouts (again)

2011-08-15 Thread Mike Dee
Getting started with Activities and Places. I'd like to use a DockLayoutPanel to comprise the entire view (page). When I try, it doesn't work. Note I'm using HelloMVP is a starting point and that in the EntryPoint a SimplePanel is set up as the default Panel. I've tried adding a DockLayoutPanel

display file icon in GWT grid

2011-08-15 Thread nurit guthrie
Hi, In my application I need to display icons of files next to the file name. I want to dynamically decide upon the icon, based on the file extension (I do not have a fixed set of icons stored). In java, there is a way to get file's icon using JFileChooser.getIcon(). However, the image I display

JUnit test and deferred binding.

2011-08-15 Thread Adolfo Panizo Touzon
Hi, One question. How can I get the GeneratorContext when I´m using deferred binding for make a JUnit test ?? something like: *testXXXGenerator (GeneratorContext context){* *.* *}* Any example? Thanks for your time. -- El precio es lo que pagas. El valor es lo que recibes. Warren

Aw: should ActivityMapper always return default activity

2011-08-15 Thread Jens
In general you have to handle SetContentOnCenterPlace in all ActivityMappers and in case of the west activity mapper return a new menu activity again (or a cached one). I do not know your places but maybe a FilteredActivityMapper can also help (it can be used to map one place to another so that

Re: Updating a celllist from a JSONP call

2011-08-15 Thread Paul Browne
Intestingly, If I add a "Timer" that delays for 1ms before calling "cellList.setRowData(result)" it all works I will live with this, dont like it but it seems to work On Aug 12, 1:41 pm, Paul Browne wrote: > Hi, > > I have have a celllist in a UIBinder,  when I use JSON to get some > data fro

should ActivityMapper always return default activity

2011-08-15 Thread Abdullah Shaikh
Hi All, I have 5 activitymappers for all the directions of DockLayoutPanel, and they all return appropriate Activities for DefaultPlace. My query is, I have a menu (hyperlinks) on the West side, whenever user clicks on the hyperlink, a place is activitated, for example, SetContentOnCenterPlace, n

GWT HTTP does not support chunked Transfer-Encoding ?

2011-08-15 Thread OrNOt
Hello, The question seems asked before but never have a clear answer. Anybody has ideas? If support, how to decode it ? Thanks in advance. OrNot -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

GWT 2.4: DataGrid with custom CellTableBuilder

2011-08-15 Thread Tolwi
Loking at http://showcase2.jlabanca-testing.appspot.com/#!CwCustomDataGrid - CellTableBuilder is greate feature, but can anyone suggest me how to make friend fields aditable?? There is no problem to render child row the same way as parent row: just utility.renderCell(td, utility.createContext(2

Re: How to set the selection color of a CellList widget?

2011-08-15 Thread Michael Allan
PS - I should have mentioned that we're not inheriting any "theme" module: http://zelea.com/project/votorola/a/xf/Entry.gwt.xml Rod Trendy wrote: > I can't help it anymore. I am really stuck on the CellList. Creating > and working with a CellList is quite simple, but I can't change the > style of

Re: How to set the selection color of a CellList widget?

2011-08-15 Thread Michael Allan
Hi Rod, I found I had to disable keyboard selection. http://zelea.com/project/votorola/a/count/resource/SacSelectionV.java sacListV.setKeyboardSelectionPolicy( HasKeyboardSelectionPolicy.KeyboardSelectionPolicy. // BOUND_TO_SELECTION ); causes odd coloured (yellow) background to

Re: GWT Remote Logging - Logger Name replaced by logOnServer

2011-08-15 Thread Wooi
I mean I expect something like this, net.xxx.client.Abc Test WARNING: blablabla and I forgot to mention that this happen when I try to log from client side. While I try to log from server side, it work fine. net.xxx.server.AbcDao Test WARNING: blablabla Anyone can help? Thank you. -- You recei

Re: GWT 2.4: RequestFactory versus GWT-RPC

2011-08-15 Thread Michel Jonker
+1 On Jul 18, 9:25 am, Elhanan Maayan wrote: > i think google should clarify it's own philosophy in a special article in > the developer guide, because as of right now , there way too many "black > holes" on the subject of transports and frameworks that use them > > GWT-RPC > JSON > RequestFactor