Thanks Ian its working.. yogesh how about if we take value at runtime ...

On Tue, Sep 15, 2009 at 4:49 PM, Ian Bambury <ianbamb...@gmail.com> wrote:

> You need to wrap it, e.g.
> TextBox t = TextBox.wrap(RootPanel.get("name").getElement());
>
> and then use that.
>
> Ian
>
> http://examples.roughian.com
>
>
> 2009/9/15 Saurabh Naik <saurabhsn...@gmail.com>
>
> Hello
>>
>>       suppose there is one textbox in my html form. and I want to take the
>> value which is entered in my gwt i.e in my onModuleLoad() function. how to
>> take value ?
>>
>> e.g there is textbox
>>
>> <input type="text" id ="name">
>>
>> String name = (String) rootpanel.get("name").getValue... but there is no
>> get value method...
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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