Le mardi 19 avril 2011 23:11:16 UTC+2, Celinio Fernandes a écrit :
>
> Hi,
> I have this page where i need to add a search/filter area at the top with
> several textboxes, comboxes etc.
> They will contain the critaerias of the research.
> At the bottom i will add a CellTable which will display the results of the
> research.
>
> My question is : what's the best way to code this search area ? may i use a
> FormPanel ?
>
> I will call an RPC service. Does it make sense to use a FormPanel in that
> case ?
No.
> I mean what to put in the ACTION attribute in that case ?
>
> Maybe i should just use a SUBMIT button that will directly call the RPC
> service.
>
Not a SubmitButton, just a Button.
Someone knows better ?
>
Despite what I said above, there's a reason you would want to use FormPanel:
benefit from native (browser's in-built) "enter key submits form" behavior;
but you can just listen to KeyDownEvents to do it yourself.
--
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.