Hi there,
just to see how you guys would design an application using SmartGWT.
For example, an application contains login function and user section, which shows the working area if a user login. What i m doing now is to put the working area layout and login layout on the page, and show/hide either of them based on server authentication. This way, logout is just a server call to clean up the session info, hide working area, and show the login fields.
Further more, in the working area, there are several buttons, it's supposed to show the right page on button clicks. I m quite confident with this one -- i use a layout as a parent container, call the child.destory() to remove the previous layout and parentContainer.addMember(layout) to show the currently one.
how do you guys think and do it?
just to see how you guys would design an application using SmartGWT.
For example, an application contains login function and user section, which shows the working area if a user login. What i m doing now is to put the working area layout and login layout on the page, and show/hide either of them based on server authentication. This way, logout is just a server call to clean up the session info, hide working area, and show the login fields.
Further more, in the working area, there are several buttons, it's supposed to show the right page on button clicks. I m quite confident with this one -- i use a layout as a parent container, call the child.destory() to remove the previous layout and parentContainer.addMember(layout) to show the currently one.
how do you guys think and do it?
Comment