Ron Posted October 12, 2012 Posted October 12, 2012 Hello; It is so great to be able to do some client-side scripting, especially on mousemove, without generating any server communication. But how do I access server variables? Tried accessing property fields on forms, but that did not work. About Unigui, this is such a great idea - the more I use it, the more I realize how incredibly smart a solution this is. I have searched for 6 years for a webapp RAD solution, and nothing was good enough, until this. Just beautiful. Anyways, I need access to server-side data...! Please help someone... And I cannot trigger a call for server-side data each time I move the mouse - preferrably I would move some server-side data to the client by some previous procedure, so it would be accessible when mousemove hits. Kaj Quote
Ron Posted October 13, 2012 Author Posted October 13, 2012 If I should reply to my own question, I'd say that you cannot access anything on client side other than whats already loaded in the browser, so if you want access to a table, you have to load that previously in a grid and just make it invisible, because from client side you can only access the ext components and their loaded data. Am I right? Quote
Ron Posted October 13, 2012 Author Posted October 13, 2012 But let's say I preiously declared some datastructures in javascript, isnt there a way to push data from the server to those structures? Isnt there some ext "clientside datastore" component where I can push a bunch of data, that I can later access in client side javascript? Quote
Administrators Farshad Mohajeri Posted February 20, 2013 Administrators Posted February 20, 2013 Can you give a real example? Normally you should process server data in server side and client only data on client side. Even if you load some server variables into client how are you going to synchronize them when you change it on client side? (and vice versa) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.