Re: Keeping Dialog Boxes Centered after Window Events

2010-03-12 Thread Patrick Tucker
://code.google.com/p/google-web-toolkit/issues/detail?id=4720can=4 i had a very similar setup and using the recommended patch did solve all my problems. HTH Michael On Mar 11, 6:37 pm, Patrick Tucker tucker...@gmail.com wrote: I have extended GWT's DialogBox in an attempt to make it capable

Re: Dropping IE6 support

2010-03-18 Thread Patrick Tucker
I agree that the IE6 user group is still pretty large. But, I also believe that web applications are becoming to advanced for IE6. We want to do so much more with our web applications than IE6 was designed for/is capable of. To be honest I think the time spent coding fixes could be much better

Re: Resizing DockLayoutPanel child.

2010-05-02 Thread Patrick Tucker
Have you tried putting the text editor in a panel that implements RequiresResize and manually setting the size of it in the onResize method? Or even extending the SplitLayoutPanel... On Apr 29, 9:28 pm, kirtcathey kirtcat...@gmail.com wrote: Any resolution on this one... I have a text editor in

Re: gwt maps API and earth enterprise server

2010-05-13 Thread Patrick Tucker
Unfortunately as far as I know the API is not capable of constructing a MapWidget that points at the Fusion server. You will have to load the API onto the page different as well as a few other things... The gwt-maps api constructs a GMap2 object when a map widget is created. You would need to

Inheriting a class within a package

2010-06-07 Thread Patrick Tucker
I'm trying to inherit 1 class file that is in a particular package. The problem is the package has other classes that inherit from java classes that GWT has not emulated. Because of this I can not use something like source path=blah/blah / in my GWT module. The class iself can be emulated byt

Re: Inheriting a class within a package

2010-06-08 Thread Patrick Tucker
...@gmail.com wrote: On Jun 7, 11:32 pm, Patrick Tucker tucker...@gmail.com wrote: I'm trying to inherit 1 class file that is in a particular package. The problem is the package has other classes that inherit from java classes that GWT has not emulated.  Because of this I can not use

NumberFormat on integer

2010-06-23 Thread Patrick Tucker
Why does GWT not have a getIntegerInstance() in NumberFormat?? It seems simple enough to implement and it is part of java... Is it implemented somewhere else? Thanks, Pat -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: NumberFormat on integer

2010-07-07 Thread Patrick Tucker
Nobody knows?? On Jun 23, 10:28 am, Patrick Tucker tucker...@gmail.com wrote: Why does GWT not have a getIntegerInstance() in NumberFormat?? It seems simple enough to implement and it is part of java... Is it implemented somewhere else? Thanks, Pat -- You received this message because

Re: NumberFormat on integer

2010-08-17 Thread Patrick Tucker
, Patrick Tucker tucker...@gmail.com wrote: Nobody knows?? On Jun 23, 10:28 am, Patrick Tucker tucker...@gmail.com wrote: Why does GWT not have a getIntegerInstance() in NumberFormat?? It seems simple enough to implement and it is part of java... Is it implemented somewhere else

Flash Objects being Garbage collected in tablayoutpanel?

2010-08-17 Thread Patrick Tucker
On my page I have a TabLayoutPanel that has a few widgets in it, one of which is a flex/flash object. When I load the page in Firefox or Chrome and switch to the tab containing the flex/flash object everything loads as expected. The problem arises when you switch to a different tab and then

Re: Is TabLayoutPanel lazy?

2010-09-08 Thread Patrick Tucker
TabLayoutPanel does not lazy loads its widgets. On Sep 6, 5:35 pm, macagain rgk...@gmail.com wrote: Does anyone know if the pages for each tab in a TabLayoutPanel are created lazily, i.e. on the first selection of a given tab, or on instantiation of TabLayoutPanel?  And does it make a diff if

Re: Download, IE7 Download Blocker

2010-02-19 Thread Patrick Tucker
I know in IE8 there is a security setting that can be turned off to remove this feature as they would probably call it. Unfortunately that will require all of your users to make sure they turn this setting off. What I have done to get around this is to return the URL to the user and place it in

Keeping Dialog Boxes Centered after Window Events

2010-03-11 Thread Patrick Tucker
I have extended GWT's DialogBox in an attempt to make it capable of staying centered in the browser window. I added the following code to the show method: super.show(); if (rReg == null) rReg = Window.addResizeHandler(this); if (sReg == null) sReg =

gwt-TabLayoutPanelContent adding 6 px of padding

2010-10-29 Thread Patrick Tucker
When I place an object into a TabLayoutPanel it adds the style gwt- TabLayoutPanelContent. This style adds 6 px of padding to my widget. In my style sheet I have already set the padding value I want it to have. Is there any way you guys can remove this from the SDK? I have to either modify the

Re: gwt-TabLayoutPanelContent adding 6 px of padding

2010-10-29 Thread Patrick Tucker
all apps. Thanks, John LaBanca jlaba...@google.com On Fri, Oct 29, 2010 at 12:08 PM, Patrick Tucker tucker...@gmail.comwrote: When I place an object into a TabLayoutPanel it adds the style gwt- TabLayoutPanelContent. This style adds 6 px of padding to my widget.  In my style

Re: Serializing Enum with Marker Interface

2010-10-29 Thread Patrick Tucker
The enum itself can implement Serializable On Oct 29, 2:41 pm, Mike mikem2...@gmail.com wrote: How can I make an enum that implements a marker interface serializable in GWT 2.0? The below example: public interface IsConfigurable { } public enum Color implements IsConfigurable {    

Extend GOverlay from the Maps API

2010-11-03 Thread Patrick Tucker
Is it possible to write a GWT JavaScriptObject that extends GOverlay from the Google Maps API? I don't have the luxury of using any of the GWT wrappers that are out there because none of them are compatible with the GFusionMap object from the enterprise version of the API. If this statement is

Re: Serializing Enum with Marker Interface

2010-11-03 Thread Patrick Tucker
...@gmail.com wrote: I tried changing the line to: public enum Color implements IsConfigurable, Serializable and I'm still getting the same compile error. Thanks! Mike On Oct 29, 3:57 pm, Patrick Tucker tucker...@gmail.com wrote: The enum itself can implement Serializable

Re: Weird EOF Exception while trying to download file from GWT application

2010-12-23 Thread Patrick Tucker
I know this sounds crazy but in the past I've run into this and this seemed to fixed the problem... ... OutputStream os; try { os = response.getOutputStream(), BufferedOutputStream output = new BufferedOutputStream(os, DEFAULT_BUFFER_SIZE); ... } if (os != null) os.flush(); Also, have

Re: Can Flash communicate with GWT?

2010-12-25 Thread Patrick Tucker
On Dec 24, 6:34 am, BogdanB buta.i.bog...@gmail.com wrote: Hy, How can I return a value or set a parameter at the end of a flash movie and then get it using gwt2swf? I need to know when the flash movie ended so I can make another widget visible. Thanks. before loading the flash object

Does SuggestBox.setOracle(SuggestOracle) have to be private?

2011-01-06 Thread Patrick Tucker
I have a form that depending upon a listbox value that the user selects needs different suggestions. Currently I have 1 SuggestOracle and I have to clear it and reload it, with values from the server, every time the user changes the ListBox. What I would like to do is store a SuggestOracle for

Re: Does SuggestBox.setOracle(SuggestOracle) have to be private?

2011-01-06 Thread Patrick Tucker
Thats a good idea, I will look into doing that instead. The SuggestBox isn't going to have any problems with the SuggestOracle being changed even though, if implemented this way, it doesn't know it is being changed? Thanks again, Pat On Jan 6, 11:46 am, Thomas Broyer t.bro...@gmail.com wrote:

PreefixTree code question

2011-02-18 Thread Patrick Tucker
I was looking at the code in PreefixTree to see if it would be feasible to make it generic so I can pass it values other than a String and noticed something that I thought was a little odd. See init() in the following code snippets: private JavaScriptObject stack; public

Re: Celltable w/ selectionModel and ActionCells

2011-02-21 Thread Patrick Tucker
I haven't played with this a whole bunch but have you looked at handlesSelection? I was under the impression that by setting this to false you indicate that a particular cell type is not allowed to determine selection state? Like if you have a checkboxcell it can be the only cell that

Re: PreefixTree code question

2011-02-22 Thread Patrick Tucker
So, I'm guessing there is nothing wrong with using JavaScriptObject.createArray() in place of the native function?? On Feb 18, 1:30 pm, Patrick Tucker patrick.tuc...@macefusion.com wrote: I was looking at the code in PreefixTree to see if it would be feasible to make it generic so I can pass

Re: where to place my own jre and google emulated classes?

2011-03-23 Thread Patrick Tucker
Is your jre folder in the same folder as your Module.gwt.xml file? On Mar 22, 12:32 pm, KD kanwald...@gmail.com wrote: This is my current setup... src/ com acme Model.gwt.xml model token Token.java ... test/ super com acme jre java lang CloneNotSupportedException.java

UiBinder can't put a Celltable in a Scrollpanel

2011-03-31 Thread Patrick Tucker
Does anyone know how I can get around this problem? I did some digging and it looks like the problem is because I can't import the class with urn:import: in front of the package. UiBinderWriter has a method, isWidgetElement(XMLElement), that checks for urn:import: in front of the package name.

Re: UiBinder can't put a Celltable in a Scrollpanel

2011-03-31 Thread Patrick Tucker
I guess the error message would help: [ERROR] [project] - Expecting only widgets in g:ScrollPanel ui:field='scrollPanel' Element gc:CellTable ui:field='cellTable' (: 92) On Mar 31, 5:46 pm, Patrick Tucker patrick.tuc...@macefusion.com wrote: Does anyone know how I can get around

Re: UiBinder can't put a Celltable in a Scrollpanel

2011-04-01 Thread Patrick Tucker
xmlns:gc=com.google.gwt.user.cellview.client.CellTable I just realized that my namespace declaration was defining only the CellTable class. This works fine without urn:import: infront of it. Removing .CellTable from the namespace declaration fixed the problem. Thanks, Pat On Apr 1, 4:54 am,

UiBinder issue with non-static inner class

2011-04-05 Thread Patrick Tucker
I have a UiBinder template, MyClass.ui.xml, where I am trying to add an element that is of a type defined in MyClass.java. The referenced import works as expected and eclipse does not complain. xmlns:c=urn:import:com.package c:MyClass.InnerClass ui:field=pager / But, when I compile I get an

Re: UiBinder issue with non-static inner class

2011-04-05 Thread Patrick Tucker
Correct except the InnerClass Widget is being placed in a TD element. I would have to fish the DOM or use a Grid or other Table based widget in order to add the InnerClass widget to it. The reason for converting this class to a UiBinder template was to get rid of the over head of a Widget where

Re: UiBinder issue with non-static inner class

2011-04-05 Thread Patrick Tucker
I was able to get it to work by defining the InnerClass element, in MyClass.ui.xml, as its Parent class, for example Composite, and using @UiField(provided=true). g:Composite ui:field=innerClass / @UiField(provided=true) InnerClass innerClass = new InnerClass(); Thanks Thomas, Pat On Apr 5,

Re: Last Page too big in SimplePager

2011-04-06 Thread Patrick Tucker
It seems my original reply didn't get recorded properly, so I will try again with less detail... I noticed that if you call setRangeLimited(false), you get the behavior that you expect, but the forward buttons do not get grayed out. If you look at setPageStart(int) is uses isRangeLimited and

Re: InlineLabel doesn't display a subsequent blank space in IE (but does otherwise.)

2011-04-09 Thread Patrick Tucker
Why not just put left margin or padding on the label with the style element? On Apr 8, 11:05 pm, dindeman dinde...@googlemail.com wrote: The following simple structure in UiBinder produces different results in IE than in other browsers: pg:InlineLabel text='Hello'/ world!/p When debugging

Re: InlineLabel doesn't display a subsequent blank space in IE (but does otherwise.)

2011-04-09 Thread Patrick Tucker
You could also use the escape sequence nbsp; instead of the space. On Apr 9, 12:04 pm, Patrick Tucker tucker...@gmail.com wrote: Why not just put left margin or padding on the label with the style element? On Apr 8, 11:05 pm, dindeman dinde...@googlemail.com wrote: The following simple

Re: select TreeItem with right click

2011-04-21 Thread Patrick Tucker
When you show the context menu, set the menuitem's selected style class. Just make sure you remove it upon hiding the menu. On Apr 20, 12:00 pm, Ernesto Reig erniru...@gmail.com wrote: Hello everybody, I´ve googling a bit but I don´t find a good/easy way of achieving this. The thing is that

GPE checkbox to indicate compile report generation

2011-05-11 Thread Patrick Tucker
Any chance the GWT Eclipse plugin compile window can have a checkbox, or something like that, to indicate that we want a compile report generated? I guess its more of a convenience things but it would be nice to just check a box instead of type out the argument when a compile report is needed.

CellTable specify no records message

2011-05-18 Thread Patrick Tucker
Is there a way to tell CellTable that it should display a particular message when it has no rows to display? Similar to how it draws the loading indicator, but I need to display something like No records available. after the request comes back from the server. Thanks, Pat -- You received this

Re: cell table with empty rows

2011-05-19 Thread Patrick Tucker
Sounds like someone should make a feature request. I'll vote it... On May 5, 12:53 am, Dilli arasu.sun71...@gmail.com wrote: Hi, i have one application usingcelltable, i just want to make a message whenever the cell table isempty, that should show the message *** in center boy of the cell

Re: CellTable specify no records message

2011-05-19 Thread Patrick Tucker
onFailure to show an error message, and in onSuccess to show the no records found message. On Wed, May 18, 2011 at 11:17 AM, Patrick Tucker patrick.tuc...@macefusion.com wrote: Is there a way to tell CellTable that it should display a particular message when it has no rows to display

Re: CellTable specify no records message

2011-05-20 Thread Patrick Tucker
It is not in 2.2, I do see it in 2.3 though... Thanks for the heads up. On May 19, 2:16 pm, Isaac Truett itru...@gmail.com wrote: I use 2.3.0. I don't know if it's in 2.2.0. On Thu, May 19, 2011 at 2:14 PM, Patrick Tucker patrick.tuc...@macefusion.com wrote: What version of GWT

Re: GWT 2.3 composite editor // setValue called twice

2011-05-30 Thread Patrick Tucker
I didn't look at the code, so this may not be feasible, but shouldn't you be doing this heavy stuff only when the value changes? It's pretty easy to check the current vale prior to doing any work, or implement via handling valuechangeevents. On May 27, 8:27 am, Sebastian Beigel

UiBinder multi-line tool tip not possible?

2011-06-10 Thread Patrick Tucker
I'm trying to set the title on an element in UiBinder with a carriage return or line feed in it, which is valid in JavaScript. For example, the following code works: element.setTitle(Line 1.\r\nLine2.); When I put the same text into the title attribute in a UiBinder element, the text is written

Re: UiBinder multi-line tool tip not possible?

2011-06-10 Thread Patrick Tucker
I had tried the escape for both of them, unfortunately the compiler doesn't like them and errors. Sorry, I should have mentioned it in the original post. [ERROR] Line 32: String literal is not properly closed by a double- quote I'm assuming it converts them to an actual carriage return or line

Re: CheckboxCell 2 clicks for selection, when using SingleSelectionModel

2011-06-11 Thread Patrick Tucker
I've noticed the same behavior in IE8 too. It's a tad annoying. On Jun 10, 9:36 am, bb.f.pav bb.f@googlemail.com wrote: Hi, I have a celltable with several columns, one of them holds CheckboxCell ´s. Additional I use a SingleSelectionModel for that celltable. The CheckboxCell column

Re: CheckboxCell 2 clicks for selection, when using SingleSelectionModel

2011-06-13 Thread Patrick Tucker
If you don't need the selection model, try NoSelectionModel. On Jun 13, 2:56 pm, bb.f.pav bb.f@googlemail.com wrote: Hi Juan, 1) i'm not yet reached that point. i'm using the stockwatcher examples as basis for my celltable example and run it via eclipse as web application     that's my

Re: UiBinder multi-line tool tip not possible?

2011-06-16 Thread Patrick Tucker
If anyone cares to rate it up here is a link to the issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6478 On Jun 10, 9:37 pm, Thomas Broyer t.bro...@gmail.com wrote: You should (IMO) file a bug in the issue tracker then:http://code.google.com/p/google-web-toolkit/issues/entry

Issues with renaming a uifield that is used in a uihandler

2011-07-07 Thread Patrick Tucker
I just stumbled across the following issue: I have a SuggestBox that is attached to a ValueChangeEvent with more than 1 SuggestBox like this: @UiHandler({suggestBox1, suggestBox2}) If I rename suggestBox1 using Alt+Shift+R or the RefactorRename menu item, the value in the UiHandler is not

Re: how to fire blur event when keydown ?

2011-07-21 Thread Patrick Tucker
Why not set focus to false. On Jul 16, 11:48 am, Luke travalle...@gmail.com wrote:      @UiHandler(textboxField)      public void keyDownSearchHandler(KeyDownEvent event){         //how to fire textboxField blur event after user press key down?      } -- You received this message because

Re: GWT CELLTABLE SimplePager : Event handling on first,last,next,prev button present in SimplePager?

2011-08-06 Thread Patrick Tucker
Look at range change. On Aug 5, 6:31 am, vaibhav bhalke bhalke.vaib...@gmail.com wrote: Hi, How to handle event on SimplePager? Event handling on first,last,next,prev button present in SimplePager? I am using CellTable gwt 2.3.0 Right now I am parsing xml in which 100 records are present.

Test folder included in GWT compile??

2011-09-28 Thread Patrick Tucker
I recently added a GWTTestCase class to one of my project for learning/ experimental purposes. Today when I went to compile the project for deployment, I was given an error indicating that the test class source code is not available. The test class is in a separate folder from my actual projects

Re: SmartGWT migration to 2.4 version

2011-10-09 Thread Patrick Tucker
Did you check the release notes to ensure that the version of Smart GWT that you are using is compatible with the version of GWT that you are using? Smart GWT 2.5 lists compatibility from 1.6 to 2.3 of GWT or something like that... On Oct 7, 8:36 am, Boris H squarepusher...@gmail.com wrote: I

Re: JSON issue with GWT

2011-10-09 Thread Patrick Tucker
Did you look at JsArray or JsArrayString? On Oct 8, 4:17 am, anand jain anandjain1...@gmail.com wrote: I am making a DTO (JSON fomat). In that if my method returns a List, then I am unable to get that List elements from JS0N string. In JSON string, I can see the elements but unable to fetch

Re: One-To-Many RElations Serialization

2011-10-09 Thread Patrick Tucker
Does MyClass implement IsSerializable or Serializable? On Oct 6, 6:58 pm, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: I'm getting this error when my RPC returns a list of a custom object: Type 'org.datanucleus.sco.backed.List' was not included in the set of types which can be serialized

Re: Developers, please don't ignore reported GWT issues.

2011-10-14 Thread Patrick Tucker
Providing your own patches doesn't guarantee it will get looked at... I submitted the following patch because it was a simple and quick first attempt at recommending a patch for GWT: http://code.google.com/p/google-web-toolkit/issues/detail?id=6589 The patch got no attention from the GWT team,

Re: SimplePager in CellTable on a DialogBox using UiBinder

2011-10-16 Thread Patrick Tucker
In initTableColumns you are assigning pager to a new SimplePager. Get rid of that line and it might work. On Oct 14, 9:52 am, jgm j...@glusted.dk wrote: Dont't know why it was posted 4 times :-( On 14 Okt., 15:48, jgm j...@glusted.dk wrote: Hi, We are having problems getting the

Re: GWT Dialogbox Draggable icon not comes when mouse over to caption of dialogbox

2011-10-19 Thread Patrick Tucker
Add the cursor:move; style to the Caption classes. On Oct 19, 4:44 am, vaibhav bhalke bhalke.vaib...@gmail.com wrote: GWT Dialogbox not showing draggable icon when mouse over to caption of dialogbox. I followhttp://examples.roughian.com/index.htm#Widgets~DialogBox Example provided in above

Re: SOLVED how to Put a GWTPanel into a html div/div

2011-10-25 Thread Patrick Tucker
Looks like the only difference would be that he ends up setting the body element, which is retrieved with get(), to 800 x 600. Other than the extra work of moving VLayout from the body element to the main element. On Oct 23, 12:29 pm, Thomas Broyer t.bro...@gmail.com wrote: How is that

Classname.this in code split (GWT 2.4)

2011-10-28 Thread Patrick Tucker
Has anyone else had trouble with using Classname.this in a code split block? The code I'm referring to worked fine in 2.3 but throws a NPE when I updated it to 2.4. I have a work around but not looking forward to finding all the places where it is now broken. Thanks, Pat -- You received this

Re: Classname.this in code split (GWT 2.4)

2011-10-29 Thread Patrick Tucker
.); GWT.log(ClassName.doSomething() Async Failure, caught); } @Override public void onSuccess() { Scheduler.get().scheduleDeferred(new SomeCommand(instance, id, name)); //ClassName.this was changed to instance } }); } On Oct 28, 11:41 am, Patrick

Re: Does GWT 1.7 support Class.getSimpleName()?

2011-11-02 Thread Patrick Tucker
Rate the issue up: http://code.google.com/p/google-web-toolkit/issues/detail?id=1944 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT Temp files

2011-11-14 Thread Patrick Tucker
Are you referring to the AppData\Local\Temp folder? http://code.google.com/p/google-web-toolkit/issues/detail?id=5261 On Nov 14, 8:03 am, Sanjay Jain snj...@gmail.com wrote: Hello All, This question may be a very easy for many of you, But I am not getting any answer for it. I am using GWT

UiBinder use ImageResource height and width to specify a elements height and width

2011-12-20 Thread Patrick Tucker
I'm trying to convert one of my Widgets to a UiBinder in GWT 2.4. The current Widget uses the width from an ImageResource to size a parent TD element. The parent TD has to be the exact same size as the image or the overall Widget will not look right. I do not want to hard code the value... I

Re: Clientbundle mearges all images into one and displays the mearged image

2011-12-20 Thread Patrick Tucker
Take a look at image sprites. On Dec 20, 1:44 pm, Deepak Singh deepaksingh...@gmail.com wrote: Hi, GWT 2.4 I have a client bundle and generates images and background images as follows, Document.get().getElementById(hbhtopbar2).getStyle().

Re: UiBinder use ImageResource height and width to specify a elements height and width

2011-12-21 Thread Patrick Tucker
It is not me that is entering the width=22, the value 22 is programatically injected by {res.refreshButton.getWidth}. The error message is complaining because the function getWidth does not return a String. I also try to use tables as little as possible, but in this case I have to use one in

HasCell interface and setFieldUpdater(FieldUpdaterT, C)

2011-12-22 Thread Patrick Tucker
Anyone know if there is a reason as to why HasCell does not have setFieldUpdater(FieldUpdaterT, C)? I had to use Column in my Presenter Display to add a FieldUpdater because this funciton is missing from the interface. Thanks, Pat -- You received this message because you are subscribed to the

Re: TabLayoutPanel SelectionHandler invoked multiple times

2011-12-27 Thread Patrick Tucker
Where are you adding the SelectionHandler? On Dec 27, 7:47 am, ALB-PSP-DV1 albpsp...@gmail.com wrote: Hi, I have a TabLayoutPanel  with 3 tabs. I have added a selection handler to it to change the color of the selected/unselected tabs. However the selectionHandler seems to be invoked 3

Re: TabLayoutPanel SelectionHandler invoked multiple times

2011-12-28 Thread Patrick Tucker
the output. On Dec 28, 1:08 am, ALB-PSP-DV1 albpsp...@gmail.com wrote: I'm adding the selection handler to the TabLayoutPanel. fareDisplayPanel.addSelectionHandler(new SelectionHandlerInteger() { } On Dec 28, 8:56 am, Patrick Tucker tucker...@gmail.com wrote: Where are you adding

Re: UiBinder use ImageResource height and width to specify a elements height and width

2012-01-05 Thread Patrick Tucker
I guess I should file an issue? On Dec 21 2011, 5:24 pm, Patrick Tucker tucker...@gmail.com wrote: It is not me that is entering the width=22, the value 22 is programatically injected by {res.refreshButton.getWidth}. The error message is complaining because the function getWidth does

Re: GWT 2.1 cell table paging bug?

2012-01-07 Thread Patrick Tucker
I'd star the issue if some filed one. On Jan 6, 7:27 am, Emilian Bold emilian.b...@gmail.com wrote: I agree. The current GWT pagination seems to be more of a workaround. They try to avoid having less items on the last page because it might change the layout and the pager position. What

Re: TabLayoutPanel Dynamic Resizing

2012-01-13 Thread Patrick Tucker
The tablayoutpanel should not go bigger than the browser window. Instead of overflow try overflow-y. I think you are able to apply that to the container element and skip the extra widget. You should look at the W3 schools CSS tutorials... On Nov 24 2011, 1:21 am, Ashwani Gupta

Re: CellTable height shrinks upon paging

2012-01-14 Thread Patrick Tucker
I agree. I think the number of rows should stay the same and when needed, set the left over cells to empty. Unfortunately, they probably had a good reason to remove the rows instead. I'm guessing rendering is faster the way it is now. On Jan 13, 11:06 am, Raziel raziel...@gmail.com wrote: The

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-18 Thread Patrick Tucker
setFieldUpdater should also produce the same results. I'm not sure which is better though... On Jan 17, 9:47 am, Drew Spencer slugmand...@gmail.com wrote: OK, I am making some headway with this. I realised I was going the wrong way about it needed to attach some kind of handler in the

Re: Help with resizing

2012-01-18 Thread Patrick Tucker
Define the element as a SplitLayoutPanel in the uibinder and provide it with an instance of your class in the java code. @UiField(provided=true) On Jan 17, 7:37 pm, Mike Dee mdichiapp...@gmail.com wrote: Just getting back to this.  Was working on something else. I did as describe below, by

Re: Problem with Layouts not showing up as expected (SplitLayoutPanel/DockLayoutPanel ...)

2012-01-18 Thread Patrick Tucker
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html On Jan 17, 6:10 am, Nicolas nicolas.schwarzent...@gmail.com wrote: This is strange: If I use the  RootLayoutPanel.get().add(xxx) to add the Dock or SplitLayoutPanel, it works, but this is not what I want. I want to add it in an

SplitLayoutPanel center widget min size

2012-01-18 Thread Patrick Tucker
Has anyone played with this? I know the current implementation does not allow a minimum size to be set on the center widget, what I am wondering is if anyone has modified the current implementation or an older implementation to enforce the minimum. My layout needs to enforce that the center

Re: SplitLayoutPanel center widget min size

2012-01-20 Thread Patrick Tucker
My solution if anyone is interested: http://code.google.com/p/google-web-toolkit/issues/detail?id=7135 On Jan 18, 12:07 pm, Patrick Tucker tucker...@gmail.com wrote: Has anyone played with this? I know the current implementation does not allow a minimum size to be set on the center widget

Re: SplitLayoutPanel center widget min size

2012-01-20 Thread Patrick Tucker
7135 was merged into 4731: http://code.google.com/p/google-web-toolkit/issues/detail?id=4731 On Jan 20, 8:37 am, Patrick Tucker tucker...@gmail.com wrote: My solution if anyone is interested:http://code.google.com/p/google-web-toolkit/issues/detail?id=7135 On Jan 18, 12:07 pm, Patrick Tucker

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-20 Thread Patrick Tucker
I think I modified my HasCell to include the setFieldUpdater(). I'm not sure why they didn't include it... On Jan 19, 6:34 am, Drew Spencer slugmand...@gmail.com wrote: Hey Patrick, The thing with setFieldUpdater is that I can't work out how to access it from the Presenter. If I add

Re: Inner Activity Place Token Changes

2012-01-22 Thread Patrick Tucker
The 2011 Google I/O session High-performance GWT: best practices for writing smaller, faster apps talks a little about this. If you haven't watched the video yet, it might be worth your time. On Jan 22, 11:38 am, Mike H mike.m.her...@googlemail.com wrote: Thanks for taking the time to read my

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-24 Thread Patrick Tucker
Views are not supposed to know about the model. Meaning, the view is not supposed to know that a particular button is going to result in a Thing being deleted. I guess it is up to you to decide how closely you want to follow that though... On Jan 23, 4:39 pm, Eric Metcalf emetcalf@gmail.com

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-26 Thread Patrick Tucker
You should be able to watch your traffic to see whether or not the browser is returning a cached copy of the result. What browser are you using? On Jan 26, 5:50 am, Drew Spencer slugmand...@gmail.com wrote: I actually just switched to using ListDataProvider instead of just calling

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-27 Thread Patrick Tucker
Using Chrome, you can watch it under the Network tab of Developer Tools. If you look at the Size Content column it will say (from cache)... IE9 has a similar feature. On Jan 26, 10:30 am, Drew Spencer slugmand...@gmail.com wrote: On Thursday, 26 January 2012 14:49:59 UTC, Patrick Tucker wrote

Dates and SafeHTML

2012-02-08 Thread Patrick Tucker
Is there a SafeHTML implementation for Dates? I've done a little digging and have not been able to find anything. It may not add much overhead, but it seems pointless to sanitize a formatted date, if a predefined format is used. If not, is there something in the pipe? Any reason there isn't?

Re: CalendarUtil has no hour, minute, seconds options

2012-02-08 Thread Patrick Tucker
You can implement the functions yourself pretty easily. I don't have them in front of me but you just have to convert the date to milliseconds and add the correct number of milliseconds to the number and turn it back into a date. On Feb 7, 12:52 am, tong123123 tong123...@gmail.com wrote: as gwt

Re: Dates and SafeHTML

2012-02-09 Thread Patrick Tucker
I realize that, I was just thinking a class that can be appended directly to a SafeHtmlBuilder would be convenient. Something like SafeHtmlString but SafeHtmlDate? Thanks, Pat On Feb 9, 5:28 am, Thomas Broyer t.bro...@gmail.com wrote: You have the choice to skip sanitization if you trust the

Re: Dates and SafeHTML

2012-02-09 Thread Patrick Tucker
)); } public static SafeHtml fromTrustedDate(Date date, String pattern) { return new SafeHtmlString(DateTimeFormat.getFormat(pattern).format(date)); } On Feb 9, 8:12 am, Patrick Tucker patrick.tuc...@macefusion.com wrote: I realize that, I was just thinking a class that can be appended directly

Re: Gwt 2.4 DialogBox close-icon

2012-02-09 Thread Patrick Tucker
You have to construct it with your own caption widget. http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html#DialogBox(com.google.gwt.user.client.ui.DialogBox.Caption) It would be nice if there was a better solution, but this is better than

Re: Am I able to write a panel that likes DockLayoutPanel with scroll bar

2012-02-10 Thread Patrick Tucker
I'm not sure it makes sense to make an entire DockLayoutPanel scroll, its a LayoutPanel... If you apply the appropriate overflow value (auto or scroll) to the container element that you would like to scroll, the container will scroll when the child is to big for its current size. Example:

Re: Am I able to write a panel that likes DockLayoutPanel with scroll bar

2012-02-15 Thread Patrick Tucker
ScrollPanel is not a LayoutPanel, so you are correct it will not work without the developer writing extra code to instruct the DockLayoutPanel of its size and what not. On Feb 15, 1:52 am, linhua linhu...@citiz.net wrote: Hi add a DocklayoutPanel to a ScrollPanel won't work. The inner layout

Re: DataGrid and CheckBoxCell

2012-02-15 Thread Patrick Tucker
Col2 should represent a value in your object. If that is the case, change the value in the object and ensure the grid redraws. On Feb 14, 4:15 am, mo marioost...@googlemail.com wrote: Hi, I'm just exploring the DataGrid and have some questions about the CheckboxCell. In the Grid are 4

Re: how to show the button in simpepager

2012-02-19 Thread Patrick Tucker
It is a ClientBundle which is an interface that defines the location of images, CSS files, and what not. Google GWT ClientBundle, how to create one is pretty well documented. In your case, extend Resources and override anything that you want different. On Feb 2, 11:09 am, tong123123

Re: Synchronise view loading and activity start in MVP

2012-02-24 Thread Patrick Tucker
This is what I have done in the past, for similar reasons as you described. On Feb 23, 7:14 am, Thomas Lefort lefortho...@gmail.com wrote: Hi Thomas, My current idea is to add a whenViewReady(AsyncCallback) to my view in the activity start. This method will call the callback if the view is

Re: GWT Timer doesn't work

2012-02-26 Thread Patrick Tucker
You should execute the Timer right away, by directly calling its run(). Then in the run() determine whether or not it needs to run again. If so, use schedule(int) to make it run() again. The process should be similar to how an IncrementalCommand would work... On Feb 24, 3:36 pm, Peter D.

Re: String replacement with grouping

2012-02-26 Thread Patrick Tucker
String.toUpperCase() will not do the trick? You should probably provide an example of the before and after text... On Feb 25, 4:20 pm, oogie cmadu...@gmail.com wrote: If I wanted to perform a search and replace on a string where I need to use grouping functionality, what is the best approach?  

Re: How to hide a column in the GWT DataGrid Widget

2012-03-08 Thread Patrick Tucker
Maybe try setting the columns value to empty when the width is 0? Something like this? Column... itemColumn = new Column...(new TheCell()) { @Override public Object getValue (Object object) { if (theDataGrid.getColumnWidth(this) == 0) { return ;

Re: CellTable styles incorrectly on IE9

2012-03-09 Thread Patrick Tucker
Turns out someone installed Chrome Frame on this machine. It works fine when disabled... On Friday, March 9, 2012 3:07:49 PM UTC-5, Patrick Tucker wrote: I'm having the same problem with one of the machines at my work, but the others work fine. Really strange, if you look at the HTML

Re: CellTable styles incorrectly on IE9

2012-03-10 Thread Patrick Tucker
Either way, you would think a resolution is possible, be it from the ChromeFrame team or the GWT team? The app works fine when ChromeFrame is disable, so it seems the problem lies in GWT's detection code. -- You received this message because you are subscribed to the Google Groups Google Web

Re: Appending a String within a ClickHandler.

2012-03-16 Thread Patrick Tucker
You have a few different options: 1. Use an object like StringBuilder, which stores a string that is modifiable. 2. Wrap your string in a custom object which can be final, acts like a place holder. 3. ... I generally use number 2, unless of coarse I am modifying the string, then

Re: GWT support for Safari on Windows

2012-03-16 Thread Patrick Tucker
Take a look here: http://code.google.com/p/google-web-toolkit/issues/detail?id=6601 On Thursday, March 15, 2012 9:08:28 AM UTC-4, jsg wrote: Hello, I'm developing a mgwt http://code.google.com/p/mgwt/ application for iPads. I'm doing the development on Windows and Safari offers the best

  1   2   3   >