In Valence 3.2, I would retrieve multiple values from various dropdowns for extra params. e.g. customer, product, class, etc. In Valence 4, using Architect, I can get the value from the combobox I'm on. How do I retrieve selected values from previous dropdowns? See code below. Thanks.
This used to work. Does not work on Valence 4.
Here's how I'm trying to use it now. It brings in tons of data and all I want is the selected item on a combobox. I'm trying to get the customer from a previous dropdown.
I found my problem. I was not putting this in the correct place. Thanks.
This used to work. Does not work on Valence 4.
Code:
var svline = Ext.ComponentQuery.query('#TB_LINE')[0];
Code:
onCSPRODUCTSelect: function(combo, records, eOpts) { var svprod = combo.getValue(); var svcust = Ext.ComponentQuery.query('#CSCUST')[0]; var store = Ext.StoreMgr.get('Coder'); store.getProxy().setExtraParam("CUCUS", svcust); store.getProxy().setExtraParam("CSPRODUCT", svprod); store.load();
Comment