I'm also very much interested in this.

You can get Elemental to run on pure Java, but it will take a lot of work.
Before Elemental came out I did a very similar DOM abstraction and wrote a
pure Java implementation for it as well, to get the tests running.
Implementing a java version of Elemental should be pretty much the same.

Take a look here for the GuitDom java implementation:
https://github.com/galdolber/Guit/tree/master/src/main/java/com/guit/junit/dom


On Wed, Oct 10, 2012 at 5:36 PM, Andrea Boscolo <andrew...@gmail.com> wrote:

> I'm using Cell widgets elsewhere but don't think they'll buy me enough
>> here because I can't use paging in this UI - I need to display the whole
>> table.  I'm already loading using an async request.
>
> Even if you don't use paging, it can increase the rendering speed of a
> basic, say, flext table.
>
>>
>> Thanks for the pointer to ElementBuilder.  That seems promising but has
>> some drawbacks - it won't help me manipulate the DOM after it's been
>> created.  Also it seems incomplete - it currently only has builders for
>> <div>, <select>, <option> and styles.  Maybe it's a dead end and is going
>> to be replaced with Elemental?
>>
> Well given a builder you can call its finish() method to return the actual
> built DOM element that can be later reused if stored somewhere, I guess.
> Also AFAICT the builders are all there
> http://gwt-code-reviews.appspot.com/1463812 and I don't think it's a dead
> end, for instance they are used internally in CellTable, they are just
> another (fast) way to build elements. And they have nothing to do with
> Elemental.
>
>>
>> I haven't tried any of this yet but I assumed that Elemental would work
>> on non-webkit browsers so long as you kept to the DOM they support (i.e.
>> keep to the simple stuff).  Is that not correct?
>>
> Elemental is library generated automatically from the WebIDL specs, in
> particular the WebKit ones taken from the Dart project
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/elemental/READMEthus
>  I think they'll have problems with old IE versions (but maybe not with
> the very very basic stuff like elemental.dom.*, you need to try). Anyway I
> don't think it will buy you much in the short term.
>
> The IsRenderable/PotentialElement strategy seems another way to
> singnificantly cut down rendering time, although its "very experimental"
> state and I've not yet figured out its usage. See
> https://groups.google.com/d/topic/google-web-toolkit/neeh5YxKm-I/discussionand
> https://groups.google.com/d/topic/google-web-toolkit-contributors/g8WPRxkdqPA/discussion
>
> Thanks,
> Roy
>
>  --
> 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/-/lM1CfZvI2noJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
A world citizen

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to