The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

mikestafford (1) [Avatar] Offline
Hello -- now that you've written what is clearly the definitive book about ExtJS 3 (I own all of the books, except the Chinese one, and there isn't really any comparison.), I'm hoping you're starting to make plans for the book I'll need come February when ExtJS 4 comes out. Please keep us all posted...

Thanks, and thanks for a great book,

jesus.garcia (463) [Avatar] Offline
Re: ExtJS 4.0 book?
Hi Mike,

Thank you very much for the kind words. A manuscript for 4.0 is in the works. smilie
ccooollll (1) [Avatar] Offline
Re: ExtJS 4.0 book?

When would you expect the updated version with 4.0 will be release, I can't wait.
it would be really helpful for me; since there isn't much 4.0 relative
tutorials and documentation besides their preview pack's documentation.
jesus.garcia (463) [Avatar] Offline
Re: ExtJS 4.0 book?
Production of Ext JS in Action SE is on hold until Sencha goes Alpha 1 with Ext JS. The PR versions are just too unstable to really get a full grasp on the framework's capabilities.

Also, my first priority at the moment is Sencha Touch in Action.
nokiyer (1) [Avatar] Offline
Re: ExtJS 4.0 book?
Hi jesus,

I have been using jquery UI and am new to extJS. If version 4 was too unstable just a month ago, i am not sure if i should start with version 3 or 4. Though Beta 1 has been released today, i would rather start with a stable version.

Is v4 fundamentally different from v3. I mean will things break moving from 3 to 4. Am a bit confused on where to begin. Would be great to get your advice. Thanks
michaelwong (1) [Avatar] Offline
Re: ExtJS 4.0 book?
Hi Jesus,

I am new to Ext JS. After reading the sample chapters, I decided your book is the one to get. I will start with Ext JS 4. Do you think your new book will be available in a month or two? I will get the current one if not.

jesus.garcia (463) [Avatar] Offline
Re: ExtJS 4.0 book?
It won't be until a few months :-/. The framework just got stable.
istojanovic (1) [Avatar] Offline
Re: ExtJS 4.0 book?
What is the status of ExtJS 4 book?
If it is expected soon?

jesus.garcia (463) [Avatar] Offline
Re: ExtJS 4.0 book?
Chapter 1 is being worked on this week.
oldroy (43) [Avatar] Offline
Re: ExtJS 4.0 book?
Any chance of a MEAP in a few weeks....or a couple months?
PostalMike (1) [Avatar] Offline
Re: ExtJS 4.0 book?
I'm a new member to the forum.

I can't find how to create a post anywhere on any of the pages. I want to point out there is a typo which crashes a demo for ExtJS In Action, complex panels, 4.1.1.

Sometimes these typos can be like viruses and make it into new versions of the book. It is in section 4.1.1, page 73 and here's the code:

var myBottomToolbar = [
text : 'Save',
handler : myBtnHandler
text : 'Cancel',
handler : myBtnHandler
'Items open: 1', <-- this comma, right here, crashes the panel

Just wanted to point this out.

Since you were asking about the new book, I figured this might be relevant enough a thread to reply and point out the typo.

Sorry if I intruded.

Postal Mike
jesus.garcia (463) [Avatar] Offline
Re: ExtJS 4.0 book?
Hi Mike. Yeah, that's more of an IE thing. JScript does not allow trailing commas. I'll be sure to fix these issues for Ext JS 4.0 in Action.
pwelby (3) [Avatar] Offline
Re: ExtJS 4.0 book?

I am trying to create a LOGIN page using the code from your example in Ch 17.

	login.UserLoginWindow = Ext.extend(Ext.Window, {
		initComponent : function() {
			// Force defaults
			Ext.apply(this, {
			width : 350,
			height : 150,
			modal : true,
			draggable : false,
			title : 'Login to new PICS system - xx top',
			layout : 'fit',
			center : true,
			closable : false,
			resizable : false,
			border : false,
			items : this.buildForm(),
			buttons : [
				text : 'Login',
				handler : this.handler || Ext.emptyFn,
				scope : this.scope || this,
				formBind: true
		//private builds the form.
		buildForm : function() {

			var formItemDefaults = {
				allowBlank : false,
				anchor : '-5',
				listeners : {
					scope : this,
					specialkey : function(field, e) {
						if (e.getKey() === e.ENTER && this.handler) {;

			return new Ext.FormPanel({
				defaultType : 'textfield',
				labelWidth : 60,
				frame : true,
				url : null,
				labelAlign : 'right',
				monitorValid: true,
				defaults : formItemDefaults,
				items : [
						fieldLabel : 'User Name',
						name : 'username'
						inputType : 'password',
						fieldLabel : 'Password',
						name : 'password'
		} //eo buildForm
	}); //eo login.userLoginWindow

	//And here is where I initialise it and bind the handlers:

	goApp.Workspace = function() {
		var viewport, cardPanel, loginWindow,
		cookieUtil = Ext.util.Cookies;

		return {
			init : function() {
				//if (!cookieUtil.get('loginCookie')) {
				if (!loginWindow) {
						loginWindow = this.buildLoginWindow();
						//console.log("loginWindow = " + loginWindow.get());;
				} else {
			buildLoginWindow : function() {
				return new login.UserLoginWindow({
					title : 'Login to PICS Portal',
					scope : this,
					handler : this.onLogin
			buildViewport : function() {

			onLogin : function() {
				var form = loginWindow.get(0); //loginWindow.get is not a function
				if (form.getForm().isValid()) {
						method : 'POST',
						//url : '/accounts/ext-login/',
						url: '../models/login_svc.php',
						waitTitle: 'Connecting',
						waitMsg : 'Sending Data...',
						success : this.onLoginSuccess,
						failure : this.onLoginFailure,
						scope : this
			onLoginSuccess : function() {
				//var cookie = cookieUtil.get('loginCookie');
				if (cookie) {
					loginWindow = null;
				else {
			onLoginFailure : function(form, action) {
				obj = Ext.util.JSON.decode(action.response.responseText);
				Ext.MessageBox.alert('Error', obj.error);


Ext.onReady(function() {

	var picsApp = goApp.Workspace.init({
        //renderTo: document.body


Does not seem to be working. See 'onLogin:' - I get "loginWindow.get is not a function" Can you help me to see why this is?
Jay.Ganesh (1) [Avatar] Offline
Re: ExtJS 4.0 book?
Hi Jesus,

Any update on Ext Js 4 book?
When can we expect a release approx?

accguy (18) [Avatar] Offline
Re: ExtJS 4.0 book?
Yup, definitely need a 4.x In Action!! smilie
joetopshot (12) [Avatar] Offline
Re: ExtJS 4.0 book?
Can you please give us an update on a release date for the 4.0 version of the book? Alternatively, if I were to buy the 3.0 version today, would I still have to pay full price for the 4.0 version?

jesus.garcia (463) [Avatar] Offline
Re: ExtJS 4.0 book?
We are hoping to release the MEAP for 4.0 within the next week or so.

With Senchacon fast approaching, I've been forced to focus on that for the time being.

I can't talk much about pricing. Please contact manning sales.
mino98 (1) [Avatar] Offline
Re: ExtJS 4.0 book?
Did you release the book as MEAP?
Agupta (1) [Avatar] Offline
Re: ExtJS 4.0 book?

I just started working on ExtJS 4.o and would like to know if your book on this version has been published. I could only find references to "ExtJS in action" which refers to the ExtJS 3.0 version. Any information would be appreciated.

Thank you !!
harshbhrgv (2) [Avatar] Offline
Re: ExtJS 4.0 book?
nevertheless, you command get got an shakiness over that you wish be handing over the following.Manali Packages | Manali Tourism
harshbhrgv (2) [Avatar] Offline
Re: ExtJS 4.0 book?
unwell surely come more formerly again since precisely the similar nearly very often within case you defend this hike.Manali Packages | Kullu Manali Tour Packages
mwunderlich (7) [Avatar] Offline
Re: ExtJS 4.0 book?
What is the current status regarding the 4.0 version of the book? Will it be available, perhaps as an eBook, to owners of the 3.0 version?

Background to this question is that I have come across another problem, this time with listing 7.2., which isn't working with ExtJS 4.0. See here:

Seems like I need to downgrade to version 3.0 in order for the examples from the book to work.