Thanks for the feedback,
well I came up with a simple way to do it:
in the calling screen:
...
<FORM method="post" action="$link.setPage("Chart.vm").setAction("SQL")">
...
in my Action class I put the SVG text into the session:
...
data.getSession().setAttribute("svg", svgString);
...
in Chart.vm:
<embed height="600" width="800" name="transform" 
pluginspage="http://www.adobe.com/svg/viewer/install/"; type="image/svg+xml"  
src="$link.setPage("SVG.vm")/>
...
in SVG.vm:
#set($svg=$data.session.getAttribute("svg"))
$data.getOut().write($svg)

if someone has a better way to do it, would be nice to  share it ;)
cheers
Akmal







_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to