spring3mvcportlet填充JSON dojo选择 [英] spring3mvcportlet populate JSON dojo select
问题描述
我得到以下格式的数据
如何填充dojoType =xwt.widget.form.FilteringSelect
{ValuesDTO:{items:[{},{default:{size:5},int:10,string:Product1,string Product1,string:product3,string:product4,string:product5}]}}
豆---> DTO --->列表
I am new to Spring mvc3 portlet and dojo. I am trying to populate select dropdown with JSON data when jsp is loaded. I want to use dojo and give ajax call to controller and return JSON when jsp is loaded. Any tips will be helpful.
I get data in below format How do I populate dojoType="xwt.widget.form.FilteringSelect" {"ValuesDTO": {"items": [{},{"default": {"size": 5},"int": 10,"string": "Product1","string": "Product1 ","string": "product3","string": "product4","string": "product5"}]}}
I am sending dat in bean--->DTO--->List
这篇关于spring3mvcportlet填充JSON dojo选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!