values from FormContainer not saved

18 views
Skip to first unread message

alex d

unread,
Jan 30, 2013, 6:27:50 AM1/30/13
to wir...@googlegroups.com
Hi.
I'm trying to make an application with some modules by using the InputEx FormContainer in wireIt.
With other types, the 'fields' are translated to 'values' in the jsob-file when saved. However, when using the FormContainer,  the 'values'  are not added  to the json file.
(Not sure if this is a inputEx or WireIt issue, btw. )

Any help would be appreciated.

- Alex


Example inputEx json :


      {
            "name": "RegExp",
            "container": {
               "xtype":"WireIt.FormContainer",
               "className": "WireIt-Container RegExp",
	            "icon": "../../images/icons/tag.png",
	         	"fields": [  
	         	            {"type": "combine", "inputParams": 
	         	               {"fields":[
      	         	            { "type": "string", "inputParams": {  "name": "item", "typeInvite": "item", "size": "8"} },
       	         	            { "type": "string", "inputParams": {  "name": "regexp", "typeInvite": "regexp", "size": "8"} },
       	         	            { "type": "string", "inputParams": {  "name": "replacement", "typeInvite": "replacement", "size": "8"} }  
      	         	           ],
            	         	 "separators": ["in   ","  replace  ","  with  ", false]     
      	         	         }
      	         	      },
      	         	      {"type": "list", "inputParams": 
      	         	         {  "wirable": false, "elementType": { "type":"combine","inputParams": 
	            	             {"fields":[
      	         	            { "type": "string", "inputParams": {  "name": "item", "typeInvite": "item", "size": "8"} },
       	         	            { "type": "string", "inputParams": {  "name": "regexp", "typeInvite": "regexp", "size": "8"} },
       	         	            { "type": "string", "inputParams": {  "name": "replacement", "typeInvite": "replacement", "size": "8"} }  
      	         	           ],
	                     	 "separators": ["in   ","  replace  ","  with  ", false]     
      	         	         }
	         			        } 
	         			   
	         			       }
	         		      }                      
	         	],
	            "terminals": [ 
	               {   "name": "SOURCES",   "direction": [0,-1], "offsetPosition": {"left": 100, "top": -15   },"nMaxWires": 1},
	               {   "name": "FOLLOWUPS", "direction": [0,1] , "offsetPosition": {"left": 100, "bottom": -15}}
	            ]
            }
      }

alex d

unread,
Jan 30, 2013, 9:41:35 AM1/30/13
to wir...@googlegroups.com
sorry, I meant   
"type": "combine" ,
that is having issues when saving, not the formContainer itself.
Reply all
Reply to author
Forward
0 new messages