don't cast them into elements, use them as widgets, do not deal with elements at all.
On Thu, Oct 27, 2011 at 12:00 AM, gangurg gangurg <gang...@gmail.com> wrote: > How to use them as Widgets ? > > > On Wed, Oct 26, 2011 at 10:04 AM, Akash Gupta <akash.b...@gmail.com>wrote: > >> ya use them as widgets instead of elements, if you want to retain the >> listeners. >> >> >> On Wed, Oct 26, 2011 at 10:13 PM, Jeff Larsen <larse...@gmail.com> wrote: >> >>> Why do you need to get widgets as elements? >>> >>> Why not just do >>> >>> p.add(new HTMLPanel("Hello <a href=\"#world\">World</a>"); >>> >>> -- >>> 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/-/1NyzCaMCB2QJ. >>> >>> 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. >>> >> >> -- >> 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. >> > > -- > 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. > -- 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.