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]

Reply via email to