Hello...
I created a servlet that uses sdk functions to retrieve the SWF content of a Dashboard Design document from the repository and a jsp page that embeds the swf file. (src pointing at the mentioned Servlet).
...
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" WIDTH="800" HEIGHT="600" id="myMovieName">
<!-- flashvars pass the user and language to the dashboard -->
<PARAM NAME="FlashVars" VALUE="User=<%= request.getParameter("user") %>&Sprache=<%= request.getParameter("language") %>">
<PARAM NAME="movie" VALUE="test.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<PARAM NAME="play" VALUE="true">
<PARAM NAME="loop" VALUE="true">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<!-- src points to the servlet and passes the parameters id, token to the servlet to get the swf content -->
<!-- flashvars pass the user and language to the dashboard -->
<EMBED src="dashboardServlet?id=<%=request.getParameter("id")%>" quality=high bgcolor=#FFFFFF WIDTH="800" HEIGHT="600" NAME="myMovieName" ALIGN=""
TYPE="application/x-shockwave-flash" play="true" loop="true"
FlashVars="User=<%= request.getParameter("user") %>&Sprache=<%= request.getParameter("language") %>"
PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
...
Works perfect, since it gets the dashboard by id and returns the swf. The only thing disturbing is, that the dashboard asks for authentication credentials.
How can I reuse a session I already opened so it behaves just like in Launchpad.
Thanks in advance
Jan