PDA

View Full Version : Dynamic toolbar + data container



kevinv1990
25 Oct 2010, 5:26 AM
Hello all,

In my webapp I am making an login function, when logged in an logout button must be showed instead of an login button, should i just make an index2.js and every panel an logged in version, like homeLoggedin etc or is it possible with beforeactivate listener and update the toolbar? This is just a wild guess, i really dont have an idea how to make it.

Also when logged in some data from the account will be needed when they want to submit something, I put this data on vars after login (email etc.), so the solution need to support that too.

Greetz