Read Html selected list menu in GWT Entrypoint

2010-03-16 Thread San
Hello, I wanna read selected list menu which appears in html into GWT
Entrypoint class.

 Actually, I am trying to add gwt scripting in existing html. So, I
could not create list menu in html using GWT widgets. My GWT code
needs read the selected option and send it to server when a button is
clicked, I could add ClickHandler to the button. Please help me how
its supposed to be read in GWT ?.

select id=Growth name=Growth
option value=5 selected=selected5%/option
option value=1010%/option
option value=1515%/option
option value=2020%/option
option value=3525%/option
option value=8080%/option
/select

-- 
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-tool...@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.



Re: Read Html selected list menu in GWT Entrypoint

2010-03-16 Thread dolcra...@gmail.com
I believe there's a SelectElement.wrap() method.

On Mar 16, 2:53 pm, San sarav...@gmail.com wrote:
 Hello, I wanna read selected list menu which appears in html into GWT
 Entrypoint class.

  Actually, I am trying to add gwt scripting in existing html. So, I
 could not create list menu in html using GWT widgets. My GWT code
 needs read the selected option and send it to server when a button is
 clicked, I could add ClickHandler to the button. Please help me how
 its supposed to be read in GWT ?.

 select id=Growth name=Growth
 option value=5 selected=selected5%/option
 option value=1010%/option
 option value=1515%/option
 option value=2020%/option
 option value=3525%/option
 option value=8080%/option
 /select

-- 
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-tool...@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.