Unanswered: Request is not coming into my Struts 2 action method from the Extjs
Unanswered: Request is not coming into my Struts 2 action method from the Extjs
Hello All,
We are doing one development activity based on Struts 2 + Spring 3 + Spring JDBC Template + Extjs 4.1
I want my Combo box to be getting populated with dynamic data fetched from the DB. However when I am running, I can see it is not at all entering into my action method (Not even printing the SOP in the WLS console).
I am assuming something wrong in my struts.xml or in the js file.
Please find the list of files
admin.js that is in Extjs 4.1 technology (only combo box part code)
Ext.define('MyNamespace.StoreModel', {
extend: 'Ext.data.Model',
fields: [
{name:'tablename'},
{name:'displayName'}]
});
var crudComboStore = Ext.create('Ext.data.Store', {
model: 'MyNamespace.StoreModel',
proxy : {
type :'ajax',
url : 'http://localhost:7001/3pd/adminProcess.action',
reader : {
type : 'json',
root : 'crudData'
}
}
});
crudComboStore.load();