Hi Friends, Working with communication between a child javascript window and parent jsp function, I am trying to access a function defined in the parent jsp from its child window which is a separate js file. This logic works fine in IE, but breaks in Chrome. * Parent function: multiCreateCallback() * Child JS code to access multiCreateCallback [CODE] var windowCmp = parent.Ext.getCmp('workflowTaskWindow'); var frameVar = windowCmp.getEl().dom.getElementsByTagName("iframe")[0]; console.log("Frame test: "+ frameVar.contentDocument.frames.multiCreateCallback()); [/CODE] No matter what combination I use with frameVar, I can't seem to reach the callback function. 'contentDocument.frames' says undefined 'contentWindow.document.multiCreateCloseCallback()' also gives 'undefined' as error. 'parent.multiCreateCloseCallback();' - gave the …

Member Avatar
Member Avatar
+0 forum 4

Hi all, I am new to Ext JS, I have tried 'drag and drop' and it is working fine when i drag rows. What I am trying now is dragging a row (a field from MySQL) from left grid and dropping it on right grid that gives data from database table as a column. The field from left grid should be title for data (from database) on the right grid for my requirement. Left grid will have grid data like: **Fields** id name data After dragging data from left grid, right grid should have data like: **id** 1 2 3 …

Member Avatar
Member Avatar
+0 forum 2

I was looking at using the Ext JS 4.1 (http://www.sencha.com/products/extjs/) , it promisses to enable developers to use the model-view-controller (MVC) architecture when building their app. can someone give me an example of how I can use the Ext JS 4 with MVC? if I wanted to create a form using their code, it looks like I need to write a specific form code in JS for each form (with every element I want the form to have) I need, how is that MVC? I'd like an option to build a form using PHP (to retreive data like- name fields …

Member Avatar
Member Avatar
+0 forum 8

hello ! please any one help me how to pass my array as a parameter from extjs 3 to c# webserivce , so that i can save it in my database please help me Best wishes

Member Avatar
+0 forum 0

I'm ExtJS newbie. I need to send the contents of a ExtJS Textarea to the backend server for saving (autosave facility) as the user types in. How do I buffer the contents and push the buffer to the server after some threshold value. A code sample would greatly help me. So far, I've done as below: [CODE]items: [{ xtype: 'textarea', id: 'notes', anchor: '100%', height: 270, msgTarget: 'under', fieldLabel: 'Note', enableKeyEvents: true, listeners: { 'keyup': function(textarea, event) { var v= textarea.getValue(); Ext.Ajax.request({ url: 'buffernote.action', params: {value: v} }) } } } }][/CODE]

Member Avatar
Member Avatar
+0 forum 1

I have a data store having a Note field (a textarea) and want to display all Notes satisfying a user input (even metacharacters). I've written the following function to handle this: function notefilter() { var newfilter = Ext.getCmp('searchnote'); var searchStr = newfilter.getValue(); searchStr = searchStr.replace('?', '\\?').replace('*', '\\*').replace('+', '\\+').replace('{', '\\{').replace('}', '\\}').replace('[', '\\[').replace(']', '\\]').replace('(', '\\(').replace(')', '\\)').replace('|', '\\|').replace('$', '\\$').replace('^', '\\^'); var re = new RegExp(".*" + searchStr + ".*", "ig"); Ext.getCmp('notesgrid').store.filter('Note', re); } However the filter fails to search for metacharacters even after escaping them, but it works are all other alphanumeric input. Am I missing something ? Thanks in advance !

Member Avatar
Member Avatar
+0 forum 2

Back around 2004 and 2005, I had embarked on a web project that included the ability for my users to draw on a web page—or at least, that was one of the requirements. At the time, most of my web development had been server-side, with very little JavaScript. Long story short, I ended up shelving the project—not because the project wasn’t a good idea (it was a project planning and collaboration tool), but because the browsers simply weren’t up to it. I explored numerous libraries for drawing on the browsers, but talk about a major headache. The reason for the …

Member Avatar
Member Avatar
+1 forum 3

The End.