Jens, thanks for your reply.
HTML-structure was not valid:
*<body>*
*<!-- skipped -->*
*<table>*
* <table align="center">*
* <tr>*
* <td colspan="2" style="font-weight:bold;">Please enter your
name:</td> *
* </tr>*
* <tr>*
* <td id="nameFieldContainer"></td>*
* <td id="sendButtonContainer"></td>*
* </tr>*
*<!-- <tr> below is my *
* <tr>*
* <td id="someId"></td>*
* <tr>*
* <td colspan="2" style="color:red;" id="errorLabelContainer"></td>*
* </tr>*
* </table>*
* </body>*
But
*RootPanel rp = RootPanel.get("someIdl");*
returns null.
My mistake was that I forgot to insert *colspan="2"* into '*<td
id="someId"></td>'*
The correct way is *<td colspan="2" id="someId"></td>*
Now everything is working correctly
On Thursday, November 14, 2013 1:30:44 PM UTC+4, Jens wrote:
>
> Is your <td> element in a valid <table><tr> structure? Some browsers
> remove elements automatically if they are placed at wrong locations.
>
> -- J.
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.