I'm using Struts 2 with siteMesh.
I developed a simple application  which can be summerized in a page form fro
making different kinds of query and a small number of result pages.
I want to give the user the possibility, for some result pages, to choose to
see them undecorated.
It should work like the print firnedly verison of a web page, which cuts out
some parts of the page.
I tryed the following:
- the action which is invoked checks if the user wants a decorated page and
give a different result such as /myPage.jsp or /nodecorate/myPage.jsp
accordingly.

In fact tin my siteMesh installation requests to /nodecorate/*  are exluded
from being decorated.

This solution cannot work because the request on which siteMesh decides what
to do is that directed to the action, which is the same in both cases and it
is not inside the /nodecorate folder.

So I'm wondering which is the cleanest way to obtain what I want.

Thank you
Filippo
-- 
View this message in context: 
http://www.nabble.com/-S2--SiteMesh%3A-let-the-user-choose-to-see-a-page-undecorated-tf4943974.html#a14153476
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to