开发者

GWT FormPanel binding to a Java Class

How do I bind a GWT FormPanel to a java object automatically similar to Spring's binding feature?

What I want to accomplish here is have a GWT FormPanel 开发者_开发问答containing input elements. And on form submit bind it to a java class for easy access to the values.

[http://programmers.stackexchange.com/questions/91316/gwt-formpanel-binding-to-a-java-class]


If by "binding" you mean "on the client-side", then try using the Editor Framework. You can call its flush() from within the FormPanel's onSubmit (you'd have to call edit() when showing the form initially), or simply not use a FormPanel at all and use a button's onClick.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜