-
How to POST cross domain and access the returned data using ExtJS
Please refer to my earlier post for background on this project. Here is how to post data to a server on a different domain and receive data back using ExtJS (with inspiration from the GWT implementation). First the FormPanel. The fields are standard and in the JS file we define two variables that are critical […]
-
ExtJS: Printing Panels and Grids
One of the features i had to implement in one of the ExtJS application I’ve worked on is printing. I was surprised to find out that there was no official print stylesheet for ExtJS. Overall, my strategy was to bring up the print layout within a popup window and call the window.print() command once rendering […]
-
Android Development: PhoneGap’s “No such file or directory” Error
I was following the tutorial on the Phonegap wiki to set up the example project within the Eclipse SDK and ran into this issue where PhoneGap could not find the phonegap.jar under the framework directory: `stat’: no such file or directory android-sdk-path.bat D:/Development/Android/example_android/framework/phonegap.jar (Errno::ENOENT) I had followed the previous steps and was puzzled by this […]
-
Cross Domain Form Post (XDM) in ExtJS with returned data
I’ve helped a colleague of mine work on a cross domain widget we are building for our applications that allows a user from an application to add information to another application through a pop up widget. Implementation wise, we used a a simple form implemented using ExtJS FormPanel class. Some of the form fields like […]
-
Invalid Argument Error using ScriptTagProxy and IE6
As explained in my earlier post, i used Ext.data.ScriptTag proxy for some cross-domain AJAX data retrieval. Testing in IE6, I kept getting an “Invalid Argument” error in IE traced to this line in the code. A search on the Sencha forum turned up only this post, with no good solution posted. I traced the problem […]
-
Of ExtJS’s ScriptTagProxy, Spring Actions, TreePanels and JsonStores
I recently had to implement an Organization lookup (backed by a LDAP repository) widget that will be used by some of the web applications I developed and this in a cross-domain environment. The data displayed within the widget is broken down in Organization->Group->Person hierarchy and on selection of a Person and click of a button, […]
-
ExtJS: Reloading a Combobox’s Store using OnTriggerClick
I am working on an application where i use a grid and have a combobox outside the grid whose selections are based on the selected rows within the grid. Basically the content of the combobox is dynamically updated based on the selection of rows. I’ve tried many ways of going about solving this problem since […]
-
Popup Window in IE6: Window appears behind or below the main or parent window
I’ve been trying to open a popup window on selecting an item from a ComboBox in ExtJS and on opening the window, using the popup would start loading and then quickly move below the current page. The behavior i observed only happened in IE6, Firefox loaded the popup fine and it stayed on top. With […]
-
ExtJS JSON Date Serializer: TimeZones and Format
Through development, we finally ran into the Javascript date issue where the dates sent between the front and the backend were not in sync. The front end was sending the dates to the backend in “YYYY-MM_DD” format, and the Jackson’s deserializer would append the application’s server timezone to the date, and this would result in […]