containers process help

瀏覽次數:11 次
跳到第一則未讀訊息

coder...@gmail.com

未讀,
2015年2月3日 凌晨1:17:422015/2/3
收件者:wir...@googlegroups.com
hi
till now working fine i am held now for writing process for container. in examples containers code is for just display not doing any process with input values.

like 
modules: [
  {
     "name": "FormContainer",
"category": "form",
     "container": {
  "xtype": "WireIt.FormContainer",
  "title": "WireIt.FormContainer demo",    
  "icon": "../../assets/application_edit.png",

  "collapsible": true,
  "fields": [ 
  {"type": "select", "label": "Title", "name": "title", "selectValues": ["Mr","Mrs","Mme"] },
  {"type": "string", "label": "Firstname", "name": "firstname", "required": true } , 
  {"type": "string", "label": "Lastname", "name": "lastname", "value":"Dupont"}, 
  {"type":"email", "label": "Email", "name": "email", "required": true, "wirable": true }, 
  {"type":"boolean", "label": "Happy to be there ?", "name": "happy" }, 
  {"type":"url", "label": "Website", "name":"website", "size": 25}
  ],
  "legend": "Tell us about yourself..."
  }
  }
      ]

in this example container code just display the container not doing any process with values

i need to know if i have container with two integer inputs fields and one output 

input 1 = 40 
input 2 = 40 
and output = 40 + 40

how can i write container with process  like this

thanks
回覆所有人
回覆作者
轉寄
0 則新訊息