<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Problem combining ice:commandButton with s:link for PDF download"]]></title>
		<link>http://www.icefaces.org/JForum/posts/list/22.page</link>
		<description><![CDATA[Latest messages posted in the topic "Problem combining ice:commandButton with s:link for PDF download"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi,

I am trying to download a pdf stream using icefaces with seam. I started using an ice:commandButton, but then no download dialog did open. Replacing the button with a s:link, the download is fine, but my ice:commandButtons on the same page are out of order. Tracing the events on browser side (Firefox 3.0) with Firebug, I find 
  [window] Interup pressed
for each push to the button. The button stays dead even when I end the download, no matter if I perform it to the end or cancel it.

When klicking onto another s:link, my ice:commandButtons are back working.

Did anyone have similar problem - and solved it?

Maybe anyone knows, how to perform the download with the ice:commandButton or how to keep the buttons alive after the download-klick.

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41080</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41080</link>
				<pubDate><![CDATA[Tue, 30 Sep 2008 10:22:36]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ What are you using for the pdf download....your own servlet?  
Which versions of Seam, ICEfaces, which application server?]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41127</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41127</link>
				<pubDate><![CDATA[Wed, 1 Oct 2008 13:49:17]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi jguglielmin,
I am running Seam 2.0.2.GA with Icefaces 1.7.1_6.

I am generating PDF using iText, writing the data directly into the HttpResponse's OutputStream (similar to Samuels solution: <a href='http://www.seamframework.org/Documentation/HowToUploadAndDownloadFilesInSeam' target='_new' rel="nofollow">http://www.seamframework.org/Documentation/HowToUploadAndDownloadFilesInSeam</a>)

kenny posted in this Forum a problem similar to mine (<a href='http://www.icefaces.org/JForum/posts/list/3165.page' target='_new' rel="nofollow">http://www.icefaces.org/JForum/posts/list/3165.page</a>) but unfortunately, his solution seems not to fit my problem as it points to a phisical file on file system.

In the meantime I solved the problem by moving the download link to a page where no ice buttons are on and no form submit is done. But I expect this behavior to be a more common problem.

Thanks for thinking.

CU,
 thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41178</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41178</link>
				<pubDate><![CDATA[Thu, 2 Oct 2008 09:22:51]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ are you using jsf-delegation?  (with the just-ice.jar)??

We have an open jira for seam-pdf integration, so you if you have a sample app you can attach (for other users) that would be very helpful.  Please attach any samples, significant code, problems, etc to the <a href="http://jira.icefaces.org/browse/ICE-2114" target="_new" rel="nofollow">jira</a>]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41183</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41183</link>
				<pubDate><![CDATA[Thu, 2 Oct 2008 09:47:03]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi,

There is no  just-ice.jar in my CP.

I tried to strip down the code. What you find now is the java source (compilable when iText, Seam and JBoss jars are in classpath) and a sketch of the xhtml I used. Look at TermsheetBean.java and view.xhtml, maybe DownloadReportContext.java. I don't expect the other files to contain helpful information.

Hope, this helps you reproducing the problem. 

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41188</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41188</link>
				<pubDate><![CDATA[Thu, 2 Oct 2008 11:12:41]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Thanks....once ICEfaces1.7.2 is out, I'm going to (try) get a working example of seam-pdf with ICEfaces (using jsf-delegation). Technically it should work (have you seen the seam-mail example with ICEfaces??  It uses jsf-delegation and so should seam-pdf). ]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41189</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41189</link>
				<pubDate><![CDATA[Thu, 2 Oct 2008 11:17:40]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi jguglielmin,
sorry, if my excerpt is not too helpfull, but extracting and testing is quiet time expensing and I am far from beeing ICE or Seam expert. 
I am not working with seam-pdf (the xhtml-part or DocumentStore) but plain iText. You could use any other data feeding the OutputStream, I believe. 
This is te first time I hear about "jsf-delegation". Can you tell me where to read more about this? (Google told me about "Japan Special Fund (JSF) delegation." in Nepal -- nono, I see, this is the wron track.)

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41272</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41272</link>
				<pubDate><![CDATA[Sun, 5 Oct 2008 14:39:14]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ There is a section in the Developer's Guide as well as an example for seam-mail attached to <a href="http://jira.icefaces.org/browse/ICE-2321" target="_new" rel="nofollow">jira 2321</a>]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#41412</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#41412</link>
				<pubDate><![CDATA[Wed, 8 Oct 2008 09:24:28]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi,
I am back at this problem, my workaround died yesterday: We now need both, ice:commandButtons and some kind of download button on the same page.

I'am sorry, but I still don't understand your solution, Judy. I tried, but somehow it seems to me to solve some but not my problem.

With a few more weeks in ICEfaces and Seam I try to describe it again, I think, it is quiet simple to solve for someone who is deeper in matter:

On my pages I usually operate using ICE commandButtons which call some ActionBean methods. As ICE buttons are rendered as HTML input tags, there is no way to use them starting a download of any kind. Right?
Now I add a second type of button to the page, s:link from the Seam library. Connecting this button to a ActionBeanMethod 
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>myBean.download&#40;&#41;</pre>
		</div>
In this method I write my load (the PDF file) to the stream returned by
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&#40;&#40;HttpServletResponse&#41; FacesContext.getCurrentInstance&#40;&#41;.getExternalContext&#40;&#41;&#41;. getOutputStream&#40;&#41;;
</pre>
		</div>
, set some header info (like content type) and finalize the stream with
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>  
  stream.flush&#40;&#41;;
  stream.close&#40;&#41;;
  FacesContext.getCurrentInstance&#40;&#41;.responseComplete&#40;&#41;;
</pre>
		</div>
This procedure leads to the result I wanted: After Klicking the button, the browser's Download Popup opens an I can happily download my File.

BUT: After this done, all my ICE commandButtons don't fire anymore. 
My Firebug plugin says 
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&#91;window.KQdo#1.sync-connection&#93; &#91;8615404&#93; : receive &#91;200&#93; OK
&#91;window.KQdo#1.sync-connection&#93; receive broadcast failed TypeError: X is null message=X is null
&#91;window.KQdo#1.sync-connection&#93; &#91;8615404&#93; : connection closed</pre>
		</div>
which I don't understand at all.

Has someone a simple understandable solution for making a file download available while keeping the ICE buttons alive?

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#42867</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#42867</link>
				<pubDate><![CDATA[Thu, 13 Nov 2008 10:37:05]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ sorry, but I'm not too sure I understand totally what it is you would like to do.  If you want to open a pdf file, then you can use the <ice:outputResource> component (if you are using 1.7.2 release of ICEfaces).  There is a sample of it in the latest seam-comp-showcase download.  

If you want to create a pdf from html (facelets page), you can either use itext directly or try to use seam-pdf (which theoretically should work using jsf-delegation similar to the example for seam-mail that I referred to).

If it's something different, maybe you want to create a simple application and attach it here with some reference to it and where it doesn't work.  (or you can try to describe it again?).  We can then look at the example (please make it as simple as possible as we're time strapped too).

]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#42872</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#42872</link>
				<pubDate><![CDATA[Thu, 13 Nov 2008 10:59:26]]> GMT</pubDate>
				<author><![CDATA[ judy.guglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi Judy,
I think the second comes closest to my problem. Creating PDF using iText.
As far as I understand, the mail example describes how to use ICEfaces to render some text and send it via email. But what I want to do, is to send the text as downloadable data back to the browser. This part works in my implementation, but browser-side ICE seams to die when the browser receives the data (or when sending the request).

I can't find any useful info about jsf-delegation anywhere. Maybe it's just the wrong keyword but as I don't know at all what It means, I cannot vary it.

Can you send me the link to the page in the developer's guide?

Thanks,
 Thomas

P.S.: Maybe someone else understands my gebabbel and can translate it to human language so Judy does understand - sorry for my bad English.
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#42883</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#42883</link>
				<pubDate><![CDATA[Thu, 13 Nov 2008 12:30:38]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ OK....I think I understand now...are you trying to use seam-pdf or are you using itext without the jboss-seam-pdf module?]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#42884</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#42884</link>
				<pubDate><![CDATA[Thu, 13 Nov 2008 12:36:05]]> GMT</pubDate>
				<author><![CDATA[ judy.guglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ In the ICEfacesDevelopersGuide, p 17, 18 on JSF Integration.  I just looked at it and there isn't much there, but there is also more on p 21 of the same document (Configuration Reference).  Basically, you are delegating the non-icefaces tags (anything that isn't ice: so this includes h:) to use the jsf ViewHandler.  You package just-ice.jar instead of icefaces.jar which will do the rendering of the pages which contain ONLY the <ice:> tags.  

In web.xml you use the following context-param
<param-name>com.icesoft.faces.delgateNonIface</param-name>
<param-value>true</param-value>

You would also have to do a servlet-mapping for the Faces Servlet for the extension of your non-icefaces pages.  The servlet-mapping for Persistent Faces Servlet would remain the same as typical application.]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#42886</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#42886</link>
				<pubDate><![CDATA[Thu, 13 Nov 2008 12:47:27]]> GMT</pubDate>
				<author><![CDATA[ judy.guglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ i have a working example of seam-pdf and ICEfaces using jsf delegation that I will clean up and post on Monday to the jira and will put a link here.  ]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#42950</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#42950</link>
				<pubDate><![CDATA[Fri, 14 Nov 2008 18:23:58]]> GMT</pubDate>
				<author><![CDATA[ judy.guglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ please see <a href="http://jira.icefaces.org//browse/ICE-2114" target="_new" rel="nofollow"> ICE-2114</a> for sample application of ICEfaces and seam-pdf]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43010</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43010</link>
				<pubDate><![CDATA[Tue, 18 Nov 2008 08:35:21]]> GMT</pubDate>
				<author><![CDATA[ judy.guglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi Judy,
thanks for your example and the link to the documentation. The documentation says, if working with jsf delegation, you can only use ICE: and  core jsf tags. As we have any kind of tags spread throughout our app, jsf delegation still seams not to be a solution. 

I Tried to understand your example but as it holds too plenty of files so I cannot find the clue.

I still think that my problem must have a quiet simple solution.
Can you say, what is going wrong? 
Is there a problem on browser or server side of ICEfaces? 
Is it a bug or does ICEfaces work as it's designed?

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43059</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43059</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 05:26:16]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Ups, somehow my reply did not find it's way to this thread. Trying again ...

---

Hi Judy,
thanks for your example and the link to the documentation. The documentation says, if working with jsf delegation, you can only use ICE: and core jsf tags. As we have any kind of tags spread throughout our app, jsf delegation still seams not to be a solution.

I Tried to understand your example but as it holds too plenty of files so I cannot find the clue.

I still think that my problem must have a quiet simple solution.
Can you say, what is going wrong?
Is there a problem on browser or server side of ICEfaces?
Is it a bug or does ICEfaces work as it's designed?

CU,
Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43063</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43063</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 06:42:03]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ I  looked at that example (Samuel's) and it was for uploading and downloading files with the s:fileupload component, so I am a little confused.  If you want to download a file (pdf or otherwise), you could use the <ice:outputResource> component (see latest seam-comp-showcase for that.  

Perhaps you should attach your xhtml page and backing bean?  I had thought you were trying to create the pdf dynamically. 

Also note that ICEfaces 1.7.2 and onwards must disable the seam multipart filter as it interferes with the ice:inputFile component.  

]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43064</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43064</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 07:18:18]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi Judy,
coming closer ...

Simplified, I've got two button-like elements on my xhtml-page:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&lt;s:link value="Download" action="#{a_partnerbankAction.download&#40;&#41;}" /&gt;

&lt;ice:commandButton action="#{a_partnerbankAction.findPartnerbank}" 
value="Search"/&gt;
</pre>
		</div>

a) Opening the page and Klicking "Search" calls my search-op an fills some table on my page - everything like expected.
b) Now Klicking on "Download" results in the browsers Save-Download-As Dialog (because my response has MimeType application/pdf) - everything like expected
c) Klicking "Search" again results in NOTHING.

Observing the "Network" page of Firebug on browser side shows me (new Entries in the list resulting from klick)

at a) POST http://localhost:8080/rwb/block/<b>send-receive-updates</b>
at b) POST http://localhost:8080/rwb/block/<b>dispose-views</b>
at c) -- NOTHING --

Is there an easy way preventing the s:link from disposing the views?

Uploading data is not in my focus. Downloading Files from disk neither. I just want do download content I generated with my application.

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43069</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43069</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 08:38:15]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Perhaps instead of s:link, you might try:-
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
    &lt;ice:commandButton value="Download"  action="#{a_partnerbankAction.download&#40;&#41;}"&gt;
         &lt;s:conversationId/&gt;
    &lt;/ice:commandButton&gt;
</pre>
		</div>

which will do a form submission instead of an s:link which doesn't submit the form.  Not sure what navigation you have in pages.xml for the action though.   You might want to ensure that this isn't messing anything up too(?)]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43076</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43076</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 09:12:27]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Nope. No download dialog opens. I Think, I need a HTTP-GET, not a POST.

But at least, ICE buttons stay alive.]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43082</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43082</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 10:22:08]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ OK.  If you want the GET, then how about using <span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&lt;ice:outputLink&gt;</pre>
		</div> with the view you want to redirect to (will perform the GET) and as a child include the conversationId tag from s: ]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43089</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43089</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 12:29:53]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Nope. 
Trying
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&lt;ice:outputLink target="_blank" value="#{a_partnerbankAction.download&#40;&#41;}"&gt;
  &lt;ice:outputText value="Download"/&gt;
  &lt;s:conversationId/&gt;
&lt;/ice:outputLink&gt;
</pre>
		</div>
the download starts as soon as I open the page and the page itself never gets displayed.
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43121</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43121</link>
				<pubDate><![CDATA[Thu, 20 Nov 2008 07:39:17]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ have you got a partialSubmit="true" on the form?  (for it to start as soon as the page is displayed). 

Do you have a simple test case for this you can attach here?]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43123</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43123</link>
				<pubDate><![CDATA[Thu, 20 Nov 2008 08:09:00]]> GMT</pubDate>
				<author><![CDATA[ jguglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hi Judy,
I tried to strip down my app to isolate the problem. 
I still can't offer a simple test case - the simple extracts with ice:commandButton & s:link all seem to work properly.

What I found out by now is that the java side actions are still invoked properly (by ice:commandButton) after my s:link download. But the browser side view is never updated.

Continuing my researches ...

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43529</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43529</link>
				<pubDate><![CDATA[Mon, 1 Dec 2008 10:04:50]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Did you check out the javascript console (<ctrl><shift><t> using IE)?]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43530</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43530</link>
				<pubDate><![CDATA[Mon, 1 Dec 2008 10:09:20]]> GMT</pubDate>
				<author><![CDATA[ judy.guglielmin]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ I used to test with FF but tried IE now:

- click commandButton 
 => everything works fine
- click s:link
 => download IE-popup opens - fine!
- click commandButton again
 => NPE (see attachment) and Seam Debug in Browser

The console output attached is a bit hard to read (sorry) because the clipboard skipped all line breaks.

CU,
 Thomas]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43534</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43534</link>
				<pubDate><![CDATA[Mon, 1 Dec 2008 10:36:45]]> GMT</pubDate>
				<author><![CDATA[ nordmeyer]]></author>
			</item>
			<item>
				<title>Re:Problem combining ice:commandButton with s:link for PDF download</title>
				<description><![CDATA[ Hard to glean much from those consoles, but you may want to put id's on your components to see what is causing the following :-<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>Cannot set focus, no element for id &#91;j_id44:j_id54&#93;cannot find element with id: 'j_id44:j_id54'&#91;window&#93; :</pre>
		</div>

Do you have push configured in your pop-up?  How about just having a panelGroup with the rendered property attributed to some boolean of a simple backing bean?  Then you can try this in synchronous perhaps without push. (just to simplify things).]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/9949.page#43538</guid>
				<link>http://www.icefaces.org/JForum/posts/list/9949.page#43538</link>
				<pubDate><![CDATA[Mon, 1 Dec 2008 11:45:08]]> GMT</pubDate>
				<author><![CDATA[ judy.guglielmin]]></author>
			</item>
	</channel>
</rss>