greetings all, i'm looking for some advice regarding using ajax to call a function, from a view within the same controller. so for example, i'm in the view /app/controller/view1, and from the view 'view1' i would like to call another function/view from within 'view1' without leaving 'view1'. i hope this makes sense. :)
to explain the scenario in a little more detail. when i access 'view1', i instantiate an object which is an SSH client. this object needs to be available to all the functions within the controller, in order to maintain it's state (an active SSH session). i would like to do this without leaving the view i arrived on 'view1', and update that same view based on results/states of that object. i'm hoping that ajax can help out with this. thanks for reading!