Re: Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-13 Thread shaun . tarves
Hi Thomas - That was the missing piece. I can now get the automatic re-compile on browser refresh. However, the launcherDir parameter is only available in the gwt-maven-plugin:run-codeserver mojo. Doesn't that start Super Dev Mode directly? I thought that *wasn't* the correct way to do things

Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-12 Thread shaun . tarves
Hi guys - I've spent more than a day now on a quest to get DevMode running properly for GWT 2.7 with my multi-module GWT application. NOTE: I can run SDM completely fine using the bookmarklets, but I'm not sure that's the right way to do things now. As background, I use the gwt-maven-plugin

Re: Multiple cell Renderers (or composite cells with UiRenderer/UiHandler)

2015-10-12 Thread Shaun Tarves
xactly my question but > has no answers! > > Did you find a nice solution to this in the end? I'd be interested to hear > what you came up with or any advice anyone might have. > > On Thursday, 16 October 2014 13:50:12 UTC+1, Shaun Tarves wrote: >> >> I have a fa

How to update cell with timer

2014-10-23 Thread Shaun Tarves
Hi - I have created a custom cell that displays a duration of time between a start date and end date (public class DurationCell extends AbstractCellDate []). If the end date is null, I would like the duration to count up, like a stopwatch. I'm stuck with how to periodically (every second)

Multiple cell Renderers (or composite cells with UiRenderer/UiHandler)

2014-10-16 Thread Shaun Tarves
I have a fairly complex question about using cells with UiRenderer. I'm finding that for the same object type, I have several variations of the cell that I render based on the view and context it's rendered in. For example, sometimes the cell has a button to remove/delete, other times it

Manipulating current history token

2014-07-24 Thread Shaun Tarves
I am using Places in my GWT app, but I've encountered a scenario in which I want to manually manipulate the current history token, and I'm having trouble: I have a screen showing a collection of objects, where the user can click a button to load more results (similar to an infinite scrolling

Re: Manipulating current history token

2014-07-24 Thread Shaun Tarves
It's not that simple. The user can return to the same place many times over the course of the application. Each time they go place X, there may be a different number of objects that they loaded while they were at Place X. My idea was to just update the current place (which is the same instance

Re: Correct way to sink events on UiBinder Element

2013-08-30 Thread Shaun Tarves
Thanks all. The addDomHandler suggestion worked wonderfully for my needs. On Tuesday, August 27, 2013 11:55:47 AM UTC-4, Thomas Broyer wrote: On Tuesday, August 27, 2013 5:01:07 PM UTC+2, Shaun Tarves wrote: Thomas, Thanks for the heads up about the leak. How would I use uibinder

Re: Correct way to sink events on UiBinder Element

2013-08-27 Thread Shaun Tarves
is my UiField Element? On Mon, Aug 19, 2013 at 7:59 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, August 15, 2013 9:59:48 PM UTC+2, Shaun Tarves wrote: I am defining several elements via UiBinder. My understanding is these are created as com.google.gwt.dom.client.Element during

Correct way to sink events on UiBinder Element

2013-08-15 Thread Shaun Tarves
I am defining several elements via UiBinder. My understanding is these are created as com.google.gwt.dom.client.Element during the createAndBind call. I would like to add a click handler to one of these elements. Is there any way other than casting those to com.google.gwt.dom.client.Element

Re: GWT-RPC: loose vs. tight coupling

2013-06-14 Thread Shaun Tarves
Hi Jens - Thank you for the info. For what it's worth, I was able to successfully use the an interface in the Async service interface and then the implementation in the RemoteService interface. GWT compiled without complaint even though the async method signature was technically different.

GWT-RPC: loose vs. tight coupling

2013-06-13 Thread Shaun Tarves
I know it has been mentioned that GWT-RPC code should be tightly coupled (i.e., use ArrayList vs. List), but is that true for both the RemoteService interface and the Async interface? Or rather, is the performance gain only from using it in the RemoteService and server-side implementation of

Re: Is there a nice Birthday date picker out there?

2013-01-24 Thread Shaun Tarves
You can do this kind of thing: http://www.zackgrossbart.com/hackito/gwt-slider/, but with jQuery's datepicker instead of the slider. On Thursday, January 24, 2013 12:20:53 PM UTC-5, Jambi wrote: Hey guys, I´m looking for a nice GWT birthday date picker but I can´t find a good one. The

Re: Are you happy with GWT?

2012-10-10 Thread Shaun Tarves
There is no doubt that what GWT does, it's really good at. However, some things that I've found GWT really isn't good at: 1) Producing clean HTML The structure of GWT page views, especially with GWT widgets, is really poor. The DOM gets bloated with lots of extra elements that are used for

CellTable sorting when updating CellTable in MVP architecture

2012-10-10 Thread Shaun Tarves
Hi - I have a presenter that provides data for a CellTable. The presenter holds the ListDataProvider, and attaches that data provider to the cell construct it gets from the view. I am unsure of how to handle column sorting in this case. My presenter periodically refreshes the data in the

Multiple modules (how to share outer container state and structure)

2012-08-30 Thread Shaun Tarves
I have read a whole bunch of articles on multiple modules, and I'm still not sure I fully understand what they are (or their limitations) so I'm hoping someone can help. 1. Can multiple modules be loaded in the same host page? 2. Can multiple modules live inside of the same RootLayoutPanel, or

Multiple cells per row in CellTable (like a Cell Grid)

2012-08-21 Thread Shaun Tarves
Is there any way to have multiple cells per column in a CellTable? What I would really like is a grid of cells, but it only seems to be one per row. The closest I can come is a CellList whose cells are display: inline-block. Any ideas? -- You received this message because you are subscribed

Re: Multiple cells per row in CellTable (like a Cell Grid)

2012-08-21 Thread Shaun Tarves
, Andrea Boscolo andrew...@gmail.com wrote: It's up to you to create a grid of cells. Try to use a CompositeCell http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/cell/client/CompositeCell.html On Tuesday, August 21, 2012 3:29:20 PM UTC+2, Shaun Tarves wrote: Is there any

Re: Animating DockLayoutPanel widget size change

2012-07-25 Thread Shaun Tarves
and processed by a Scheduler#scheduleFinally command. animate() will change the behavior of that command to animate the layout changes. On Wednesday, July 25, 2012 8:40:36 PM UTC+2, Shaun Tarves wrote: Hi - Is there any way to animate the setting of a widget size within the DockLayoutPanel

IE hacks in CssResource

2012-06-19 Thread Shaun Tarves
I would like to include some IE-specific hacks in my CssResource. Something along the lines of: *header {width:290px;height:200px;background:#000;} However, the GWT CSS compiler throws warnings when it encounters one. In some cases, the user.agent is not specific enough (for example, it

Re: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Shaun Tarves
thoughts how to implement a PlaceHyperlink with UIBinder and GIN? On Thu, May 17, 2012 at 11:11 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, May 17, 2012 4:42:13 PM UTC+2, Shaun Tarves wrote: It's about optimization, I guess. If you just have a shallow Place object (say it only

Re: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Shaun Tarves
Thanks for the suggestions. I'm still perplexed why the field injection of the PHM doesn't work in a PlaceHyperlink. On Thu, Jun 7, 2012 at 11:35 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, June 7, 2012 4:43:40 PM UTC+2, Shaun Tarves wrote: Hi Thomas - I went down the road

Re: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Shaun Tarves
, June 7, 2012 5:58:10 PM UTC+2, Shaun Tarves wrote: Thanks for the suggestions. I'm still perplexed why the field injection of the PHM doesn't work in a PlaceHyperlink. Depends how you do it; but given that it's created by UiBinder and not by GIN (unless you use @UiFactory or @UiField

Re: ScrollPanel inside HeaderPanel // Another option for an auto-resizable DockLayoutPanel?

2012-05-24 Thread Shaun Tarves
No, I can't get the header panel to work at all. The header block shows up, but nothing in the content area is visible. -- 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: ScrollPanel inside HeaderPanel // Another option for an auto-resizable DockLayoutPanel?

2012-05-23 Thread Shaun Tarves
Did you ever figure out a solution to this? On Sunday, June 5, 2011 4:21:17 PM UTC-4, Ernesto Oltra wrote: The title says all. I have the following structure: - DockLayoutPanel - north - north - center - HeaderPanel - header: [ Here I have a HTMLPanel,

Re: Hyperlink/Anchors: Passing data in Places

2012-05-17 Thread Shaun Tarves
enough data to go fetch it. On Thu, May 17, 2012 at 6:14 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, May 15, 2012 10:13:56 PM UTC+2, Shaun Tarves wrote: When using activities and places, what is a proper approach to passing data through places on link clicks, but still keeping

Re: Hyperlink/Anchors: Passing data in Places

2012-05-17 Thread Shaun Tarves
to a URL or does a right-click - Open in new tab...). I was just curious if there's a preferred pattern here. On Thu, May 17, 2012 at 10:31 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, May 17, 2012 2:56:40 PM UTC+2, Shaun Tarves wrote: Sorry, the alternative below would be to have

Re: Advice using activities/places in MVP with some self-contained widgets

2012-05-15 Thread Shaun Tarves
: On Monday, May 14, 2012 9:48:14 PM UTC+2, Shaun Tarves wrote: I have an application utilizing AP with an MVP set-up. There are some situations where I want to create some self-contained widgets (think, a small alert window that needs to fire and event or a box that might want to pull some data

Hyperlink/Anchors: Passing data in Places

2012-05-15 Thread Shaun Tarves
When using activities and places, what is a proper approach to passing data through places on link clicks, but still keeping the good behavior associated with real links. Is it best to use an Anchor, set an href using the placeHistoryMapper, and then preventDefault on the DOM when the anchor

Advice using activities/places in MVP with some self-contained widgets

2012-05-14 Thread Shaun Tarves
I have an application utilizing AP with an MVP set-up. There are some situations where I want to create some self-contained widgets (think, a small alert window that needs to fire and event or a box that might want to pull some data from a server). They aren't whole views and don't occupy

Handling History items when using FilteredActivityMapper and CachingActivityMapper

2012-04-03 Thread Shaun Tarves
I am using a FilteredActivityMapper to redirect requests, in front of a CachingActivityMapper, but I'm getting strange behavior. My filter has defined the following: if (agreement not accepted): return Place B if (not logged in): return Place C return Place A I initialize my browser history in

Using CssResource @def inside some css property with parenthesis not working

2012-03-08 Thread Shaun Tarves
Hi - I'm having trouble using a defined constant inside of a css property that has its own parenthetical reference. What I mean is: @def HEADER_ROW_BACKGROUND_COLOR #b2bbc9; This works: background: HEADER_ROW_BACKGROUND_COLOR; This does not work. background-image: linear-gradient(top,

Re: Using CssResource @def inside some css property with parenthesis not working

2012-03-08 Thread Shaun Tarves
for CssResources. See http://code.google.com/p/google-web-toolkit/issues/detail?id=5771 On Thursday, March 8, 2012 4:43:52 PM UTC+1, Shaun Tarves wrote: Hi - I'm having trouble using a defined constant inside of a css property that has its own parenthetical reference. What I mean is: @def

Using Anchor/Hyperlink in Cell Widget constructs

2012-03-08 Thread Shaun Tarves
It looks like Anchors/Hyperlinks are the most full-featured and link like way to provide user navigation (right-click context menu support, etc.) Is there a way to integrate these with the notion of CellLists or CellTrees? For example, if I wanted each cell to be a GWT Anchor (or at least

Can someone clear up the use of ClientBundle?

2012-03-06 Thread Shaun Tarves
My understanding was that ClientBundle could be used to create a global-type style/image package that would be delivered when needed. I am not sure that is a correct interpretation. Let me explain my use-case: 1) I have an app with 3 implementations (Desktop/Mobile/Table). My hope was to have

How to add custom styles to custom cells

2012-03-06 Thread Shaun Tarves
Hi - I have a custom cell definition that I want to add a custom style definition (.quiet) for. In this case, it's a cell that goes into a cell table. What I have done (and is NOT working) is the following: interface CellTableResources extends CellTable.Resources {

Re: How to add custom styles to custom cells

2012-03-06 Thread Shaun Tarves
); -- J. Am Dienstag, 6. März 2012 17:10:41 UTC+1 schrieb Shaun Tarves: Hi - I have a custom cell definition that I want to add a custom style definition (.quiet) for. In this case, it's a cell that goes into a cell table. What I have done (and is NOT working) is the following: interface

Re: Selecting list items from history actions using Activities and Places

2012-03-03 Thread Shaun Tarves
/chrisprice/menubodyexample/blob/master/src/com/scottlogic/cprice/menubodyexample/client/menu/Menu.java#L48 On 2 Mar 2012 20:57, Shaun Tarves sh...@tarves.net wrote: This worked out fine. However, the obvious issue is that it's pretty hard to have anything done in your app BEFORE that initial

Re: Selecting list items from history actions using Activities and Places

2012-03-03 Thread Shaun Tarves
. historyHandler.handleCurrentHistory(); On Sat, Mar 3, 2012 at 1:39 PM, Shaun Tarves sh...@tarves.net wrote: What I meant is that in your app structure, you'll typically have a call to initBrowserHistory pretty early on. That will fire the initial placeChangeEvent. When that happens, the activity containing the menu

Re: Selecting list items from history actions using Activities and Places

2012-03-02 Thread Shaun Tarves
This worked out fine. However, the obvious issue is that it's pretty hard to have anything done in your app BEFORE that initial PlaceChangeEvent (say, if you directly go to a specific place via the URL) gets fired. My solution was to write the same logic in both a placeChangeHandler and on

Re: Selecting list items from history actions using Activities and Places

2012-03-01 Thread Shaun Tarves
. Februar 2012 14:30:21 UTC+1 schrieb Shaun Tarves: Hi all - First off, thanks for all the great info on this board. I've gotten so much out of it. However, I'm having a problem I haven't seen addressed before. Here's my scenario: 1) I have 2 places, 2 separate activity managers/mappers (one

Re: Selecting list items from history actions using Activities and Places

2012-03-01 Thread Shaun Tarves
-toolkit%5C.googlecode%5C.coml=106 However, Jens raises a very good point about the potential downside of this approach. Chris On Thu, Mar 1, 2012 at 2:23 PM, Shaun Tarves sh...@tarves.net wrote: @Thomas - In the example you pointed me to, what prevents this from essentially creating

Re: Selecting list items from history actions using Activities and Places

2012-03-01 Thread Shaun Tarves
are the same in both, or do I need to explicitly define an equals() method? On Thu, Mar 1, 2012 at 10:28 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, March 1, 2012 3:23:01 PM UTC+1, Shaun Tarves wrote: @Thomas - In the example you pointed me to, what prevents this from essentially

Re: Selecting list items from history actions using Activities and Places

2012-03-01 Thread Shaun Tarves
(new PlaceChangeEvent(newPlace)); } } On Thu, Mar 1, 2012 at 3:31 PM, Shaun Tarves sh...@tarves.net wrote: Hi Thomas/Chris - Thanks for the responses. I was missing the part about the build-in check for Place equality. Any idea how the equality check is implemented? For example

Selecting list items from history actions using Activities and Places

2012-02-29 Thread Shaun Tarves
Hi all - First off, thanks for all the great info on this board. I've gotten so much out of it. However, I'm having a problem I haven't seen addressed before. Here's my scenario: 1) I have 2 places, 2 separate activity managers/mappers (one for a menu display area and one for content display

Re: Selecting list items from history actions using Activities and Places

2012-02-29 Thread Shaun Tarves
It does, but this is a differrent issue. The selectionmodel needs to be notified of selection somehow if the user isn't selecting with mouse or keyboard. My problem is when the user *navigates* to a state in the app where an item should appear to be selected - directly via a URL (as