CellTree Resources too general?

2011-03-24 Thread aarnott
The CellTree's Resources seem a bit too prohibitive for what I'm trying to do. My tree is a table of contents for a set of topics for online documentation. We have a scope setting where a user can choose to filter out any topics that don't pertain to them. In the TOC, these topics appear gray.

Traversing a CellTree

2011-03-11 Thread aarnott
I'm having a bit of difficulty writing some code to traverse a CellTree. Here is my goal: 1. I want to first close all of the TreeNodes in the CellTree. There doesn't seem to be an efficient way to do this besides literally looping through the entire tree structure. 2. I have a separate model

Re: Traversing a CellTree

2011-03-11 Thread aarnott
; } parents.add(0, parents.get(0).parent); return addParentList(parents); } - I can't seem to figure out a good way to actually scroll to the specific node in the tree (ie. #3). Thanks for taking a look :) --Andrew On Mar 11, 1:02 pm, aarnott

CellTree: Changing the default no data message for empty nodes

2011-03-08 Thread aarnott
Is there a way with the CellTree to change the default no data message when a tree node is empty? Maybe I'm taking the wrong approach, but I am using an RPC to load the children of a particular node once it is opened and when the loading is happening, the node shows the no data message. I'd

Re: Building GWT from source

2010-12-02 Thread aarnott
/eclipse/README.t... On Wed, Dec 1, 2010 at 5:15 PM, aarnott andrew.wj.arn...@gmail.com wrote: I'm investigating a bug I reported (here http://code.google.com/p/google-web-toolkit/issues/detail?id=5669). I'm hoping that I can figure out a fix myself and either post the solution in the bug

Re: To smart GWT or not

2010-12-01 Thread aarnott
I've found Smart GWT to have rather poor performance and it comes at the added cost of massive javascript libraries (even when they are gzipped). If you are anything like me, you will probably find that you lose time in the long run by going with Smart GWT because you will want to get rid of it

Building GWT from source

2010-12-01 Thread aarnott
I'm investigating a bug I reported (here http://code.google.com/p/google-web-toolkit/issues/detail?id=5669). I'm hoping that I can figure out a fix myself and either post the solution in the bug report or actually figure out how to submit it. * I'm not very experienced with SVN (although I am

CellList: setVisibleRange

2010-11-25 Thread aarnott
I'm having trouble understanding what the CellList setVisibleRange(start,length) function is actually supposed to do. Here is a simple example that seems to have unexpected results: public class ExampleCellList implements EntryPoint { public void onModuleLoad() {

Re: CellList -- is prefilled sizing possible?

2010-11-24 Thread aarnott
I have made a rough implementation of an InfinitePagerPanel. It involves a small cheat, but here is the code (hopefully google groups doesn't butcher the formatting): public class InfinitePagerPanel extends AbstractPager { private DockLayoutPanel pagerPanel; private

CellList -- is prefilled sizing possible?

2010-11-18 Thread aarnott
Hi there, I've been using the SmartGWT library mainly for the ListGrid (which is similar to the CellList). The problem is, the SMartGWT library comes with a massive footprint (even when it is gzipped). The performace of our site has been terrible ever since we introduced the ListGrid, but on the

Re: CellList -- is prefilled sizing possible?

2010-11-18 Thread aarnott
.  At some point we will probably implement an infinite scrollbar, but it isn't on the agenda in the near term. Thanks, John LaBanca jlaba...@google.com On Thu, Nov 18, 2010 at 3:52 PM, aarnott andrew.wj.arn...@gmail.com wrote: Hi there, I've been using the SmartGWT library mainly

Re: Does anyone know of some example code to traverse the DOM tree in GWT?

2010-11-18 Thread aarnott
You could always look at the GQuery source code. On Nov 18, 3:39 pm, Blackberet ramonjsanti...@gmail.com wrote: Yeah, I'm not really looking for theory. I'm looking for code examples. I found the ChildWalker class in the uibinder package and am currently trying to see if that can be used.

Re: GWT Obfuscation crashes iPad Safari browser

2010-11-18 Thread aarnott
One thing I would highly endorse with such a large compiled project is to gzip it if you are not doing that already. You might find that doing that also fixes the iPad Safari issue (if it is line length, the zipping might allow the iPad browser to look at the file in a different way). --Andrew

Converting static html hrefs to use GWT history management

2010-03-22 Thread aarnott
I currently have a bunch of static HTML pages and I need to convert all of the links on the pages to use GWT's history management. What I am currently doing is reading in all of the HTML and parsing the a tags. I convert their href from path/page.html to #path/ page.html (handling cases like