Wrapping pre-made elements using GWT?
I've been working with GWT for awhile, I can't find a way to integrate it with a preexisting website which is a real downer. My page content is already generated for me using jsp, like:

    <div id='A'></div>
    <div id='B'></div>
    etc.

there is no way for me to do something like this though:

    public void onModuleLoad() {
    
        SimplePanel spA = new SimplePanel( 
          Document.getElementById("A"));
        spA.add(new Label("hello"));


        SimplePanel spB = new SimplePanel( 
          Document.getElementById("B"));
        spB.setWidth("200px");

        etc ..
    }

seems like there's no way to just wrap a pre-existing element. Is this true, or am I missing how to do this? I need be able to wrap a bunch of elements like this, to manipulate them later on. I see TextBox, Button, a few other classes have wrap() methods, however nothing like that exists for <div> elements,

Thanks
Wrapping pre-made elements using GWT?
===

I've been working with GWT for awhile, I can't find a way to integrate it with a preexisting website which is a real downer. My page content is already generated for me using jsp, like:

    <div id='A'></div>
    <div id='B'></div>
    etc.

there is no way for me to do something like this though:

    public void onModuleLoad() {
    
        SimplePanel spA = new SimplePanel( 
          Document.getElementById("A"));
        spA.add(new Label("hello"));


        SimplePanel spB = new SimplePanel( 
          Document.getElementById("B"));
        spB.setWidth("200px");

        etc ..
    }

seems like there's no way to just wrap a pre-existing element. Is this true, or am I missing how to do this? I need be able to wrap a bunch of elements like this, to manipulate them later on. I see TextBox, Button, a few other classes have wrap() methods, however nothing like that exists for <div> elements,

Thanks