File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes About Sitemesh Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "About Sitemesh" Watch "About Sitemesh" New topic
Author

About Sitemesh

M M Islam Chisty
Greenhorn

Joined: Aug 31, 2003
Posts: 17
Hi,

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
 
 
subject: About Sitemesh
 
Threads others viewed
acegi security plugin, Person and one of my domain objects
A survived Ajax data
Sitemesh decorator.xml configuration problem ?
Problem In struts-tiles
Need an idea on Navigation link selection color
developer file tools