Hi,
I want to make the "send this page to a friend" function and put in all pages, how can I get the URL of the page I am in (with all the parameters too) so I can put in the form?
Also I want to do a "Print" button that reload the same page adding a param that says to the template.xhtml to do not show the menu and open the print dialog.
I know I can use javascript as workaround but I want to know if there is a better way...
Thanks!
Demetrio Filocamo
You can use a factory to expose this as a single context variable in Seam. You'll need to use the Servlet API to build up the correct parameters and current path.