Do you mean a parameter in the url. Or is this token a special Struts token.
I have solved my preview problem using javascript. Where I put a ?preview=true in front of all links and in the forms actions. This is what I call a hack. So please tell me how to do it better. -----Oprindelig meddelelse----- Fra: Mark Benussi [mailto:[EMAIL PROTECTED] Sendt: 17. november 2005 13:05 Til: 'Struts Users Mailing List' Emne: RE: How to make a preview Pass a token to the new window indicating it's a preview. Then display the new styles for the new window, ensuring that the token gets passed to all the links and forms etc -----Original Message----- From: Jesper Preuss [mailto:[EMAIL PROTECTED] Sent: 17 November 2005 11:45 To: user@struts.apache.org Subject: How to make a preview Hi ! Hi have a web project using struts. My homepage have an administrator module. Where you can change pictures, CSS/colors, page texts and more. Now you can save Submit->"save" a form. Here you have saved all the new CSS colors permanent. And it will show for all the users of the page. What I would like to do is, add an button Submit->"preview" to this form. And when you 'preview' it will come with an pop-window. And here you can browse the whole web-site, with the preview values. You should be able to close the window. The original browser windows session should not be affected by the preview values. It is one session and two browsers, showing two different color schemes. How do you implement this in Struts. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]