Search Type: Posts; User: firstname.lastname@example.org
Search: Search took 0.02 seconds.
9 Dec 2011 4:11 AM
I don't see require there, but nevermind. I'll just "blindly" use require. ))
9 Dec 2011 3:21 AM
But how is it loaded in Sencha's MVC example (extjs\examples\app\simple\)?
9 Dec 2011 2:15 AM
Thank you, it works. Just one detail I still don't understand:
Ext.require('ikhtml.model.User'); // it works only if I add this line to module.
var usersStore =...
8 Dec 2011 6:29 AM
For some reason I'd like to control CRUD actions for my objects by myself using, for example manual Ext.data.JsonP.requests.
So, let's assume I have User model and some method that...
6 Dec 2011 9:12 AM
I tried using namespace but without success:
How I decided to move on:
6 Dec 2011 9:07 AM
I see. Thank you very much.
6 Dec 2011 8:38 AM
Let's imagine that I have deep namespaces. I don't like using them all throughout the application.
Currently the only nice way to workaround it I found is alternateClassName. But you don't recommend...
6 Dec 2011 7:18 AM
Let's imagine the following case:
6 Dec 2011 2:52 AM
But is it recommended by "standards"? It's ok for me, but what if I work in a team - is it "usually" used?
And what is the difference between alias and alternateClassName?
6 Dec 2011 2:38 AM
Sorry, but I'll disagree.
Controllers have clearly defined role in MVC. My window manager is not a controller, it's class. I wouldn't like adding mess to application just to get single reference.
6 Dec 2011 2:33 AM
Yes. The problem is not in loading viewport itself but in loading additional xtypes - layouts and tabpanels.
Please work on your references.
See console to check real reasons! I used chrome's...
5 Dec 2011 9:34 AM
Sorry for kind of a stupid question, but I believe that anybody of you can answer in 10 seconds while I haven't figured answer yet in 25 minutes :).
I have singleton class and I...
5 Dec 2011 4:44 AM
Are there any commonly used recommendations on using alternateClassName?
Is it good practice?
And what is the difference between "alternateClassName" and "alias"?
5 Dec 2011 3:48 AM
Nice way of communication between controllers is firing/listening application-level events.
E.g. I have controller 1 and controller 2. I want controller 2 to do something if something...
4 Dec 2011 11:59 PM
Much thanks! Now I have what to choose from :)
4 Dec 2011 11:32 PM
Thank you, it's what I was thinking but you made it clear.
And what is "right" way to check whether window is really closed if my reference is still alive?
var win =...
4 Dec 2011 1:46 PM
Still playing with this. Got the second similar issue with another form. When I close form, reference to it is still defined and contains info that "was actual". However, I'd expect it to...
4 Dec 2011 2:02 AM
Cool, thanks. I've looked through layout managers but missed to check window itself...
3 Dec 2011 4:05 PM
Did you put your viewport file to js_app/view/Viewport.js? This is the folder/file where ExtJS will look for it.
what exactly would you like to get?
3 Dec 2011 3:43 PM
One more question please:
THere's a window with vbox layout. When I set its size to 120, it's created with much bigger size (about 200-250). I can set 120 only if I set minWidth: 120....
3 Dec 2011 3:23 PM
Issue: I'm closing form (I didn't define closeAction, hence it's default - 'destroy') but it's not destroyed.
Code for creating/destroying on clicking login/logout buttons:
Within the last few days I've read number of ExtJS MVC discussions. Looks like this topic is fresh and hot. I believe Sencha will come up with really strong MVC improvements in next...
Got a workaround. However, I'm not happy with it - it's ugly.
On Controller Init:
init: function ()
Your example works for me. However, the same one using MVC - doesn't.
Here are all parts:
Results 1 to 25 of 28