Hello all. I begin to learn SmartGWT. I don't understand how can I communicate with server. In not GWT project i make a servlet, where i get parametrs what I need ( req.getParametr("ParamName") ) do what i want with them and after all setParam to req and call req.Dispatcher and all.
How can I communicate with server in Smart GWT? I have a form with FormItem. I want to send textFromFormItem to server, do some operations with it and catch response ( change text).
How can I do what? I read tutorial but don't understand.
P.S. I'm bad at English, sorry:)
How can I communicate with server in Smart GWT? I have a form with FormItem. I want to send textFromFormItem to server, do some operations with it and catch response ( change text).
How can I do what? I read tutorial but don't understand.
P.S. I'm bad at English, sorry:)
Code:
DynamicForm form = [B]new [/B]DynamicForm(); form.setDataSource(dataSource); FormItem formItem = [B]new [/B]FormItem([B]"Word"[/B]); form.setFields(formItem); String textFromFormItem = formItem.getDisplayValue();
Comment