coolite

ExtJs Set Parameters Values

若如初见. 提交于 2019-12-25 08:25:17
问题 I have a form with some controls (extJs and ASP) like this: <ext:ComboBox ID="Countries" runat="server" .../> <asp:CheckBox ID="cb1" runat="server" /> I want to send parameters using BaseParams of the store object: <ext:Parameter Name="cid" Value="Ext.get('#{Countries}').getValue()" /> <ext:Parameter Name="cbv" Value="#{cb1}.dom.checked" /> and that became: Ext.apply( options.params,{ "cid":Ext.get('CountryCities1_Countries').getValue(), "cbv":Ext.get("CountryCities1_cb1").dom.checked} ); as