I need an easy way to use separate decorators based upon the users DIRECTORY
Here is a simple example of the current web-application directory
Basicly, I have three different types of users that can log in, and I *need* a way to say that if this user is in /admin/*, to use a separate decorator.
My current decorators.xml looks like this:
<decorator name="admin_layout" page="admin.jsp">
<decorator name="client_layout" page="client.jsp">
<decorator name="employee_layout" page="employee.jsp">
<decorator name="basic_layout" page="main.jsp">
Also, there isn't just an index page, there are actually folders under each directory (like admin/managing/*) containing jsp management files... so I need every jsp in the admin directory and all of its subdirectories to be using a certain decoratory, and different decorators if im an employee, client, etc...