Hi All

We want to introduce Ids to our GXT components so that our interface
is easier for testers to test. We thought it would be as easy as this:

final Button sendButton = new Button("Send");
sendButton.setId("ButtonId.send");
RootPanel.get().add(sendButton);

but this gives us:

<table cellspacing="0" role="presentation" class="x-btn x-component
x-btn-noicon" id="ButtonId.send">
        ...
                <button style="position: relative; width: 31px;" type="button"
class="x-btn-text " tabindex="0">Send</button>
        ...
</table>

As you can see the Id is added to the table in which the button is displayed.

Is there a way to get it added to the actual button, so we can have:

...
        <button style="position: relative; width: 31px;" type="button"
class="x-btn-text " tabindex="0" id="ButtonId.send">Send</button>
...

-- 
Thanks
Paul

Paul Grenyer
e: [email protected]
b: paulgrenyer.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to