I would like to develop a simple scenario using sitemesh:
A layout with a left-side menu and a content page. The left side menu should contain a link named "Login". When user clicks on this link, two things will happen:
1. The login form will be displayed in the content page 2. After a successfull login, the link on the left-side menu will be changed from "Login" to "Logout"
The first part is easy. But, I can't manage to do the 2nd part i.e. the "Login" message cannot be changed into "Logout".
Can you suggest something how should be the decorators.xml file? Could you please suggest a sample about how to define this layout?
Thanks,
M. M. Islam Chisty<br />Sr. J2EE Engineer<br />M&H Informatics<br />Ph. 8802-7121293<br />Dhaka, Bangladesh