<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Uploading fails"]]></title>
		<link>http://www.icefaces.org/JForum/posts/list/12.page</link>
		<description><![CDATA[Latest messages posted in the topic "Uploading fails"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Uploading fails</title>
				<description><![CDATA[ After changing my program into release 1.7, I am not able to upload files more than once.
Everything was working fine using release 1.6.5.
Searching Jira, I see something nearly similar in an old 1.6 release error:
Key ICE-1468 excerpt:
<blockquote>File uploads were mysteriously failing, with no exceptions or messages or actionListener invocation.
Any error, even the ones properly trapped and messaged, would result in actionListener not being invoked.&nbsp;
		</blockquote>

More clues:
FileInfo has no Exception, PhysicalPath is Ok pointing to the right one, FileName is Ok, percent is 100%, contentType and size, BUT there is no file uploaded into the path...

any ideas?

]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8981.page#37349</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8981.page#37349</link>
				<pubDate><![CDATA[Fri, 4 Jul 2008 09:26:48]]> GMT</pubDate>
				<author><![CDATA[ jesus@aplsoftware.com]]></author>
			</item>
			<item>
				<title>Re:Uploading fails</title>
				<description><![CDATA[ hi,

can you post your code.

georges]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8981.page#37358</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8981.page#37358</link>
				<pubDate><![CDATA[Fri, 4 Jul 2008 12:16:52]]> GMT</pubDate>
				<author><![CDATA[ georges.goebel@pch.etat.l]]></author>
			</item>
			<item>
				<title>Re:Uploading fails</title>
				<description><![CDATA[ I have copied the ICEface example, that is fairly simple, and now it works perfectly.
Basically, I have suppressed RenderManager.

Progress method was like this:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>	public void progress&#40;EventObject event&#41; {
		InputFile file = &#40;InputFile&#41; event.getSource&#40;&#41;;

		this.percent = file.getFileInfo&#40;&#41;.getPercent&#40;&#41;;
		if &#40;this.file == null&#41; {
		    setFile&#40;inputFile.getFile&#40;&#41;&#41;; 
		}

		if &#40;renderManager != null&#41; {
// Next line did not work, either &#40;Taken from an example&#41;
//			renderManager.getOnDemandRenderer&#40;sessionId&#41;.requestRender&#40;&#41;;
		    renderManager.requestRender&#40;this&#41;;

		}

		try {
			if &#40;state != null&#41; {
				state.render&#40;&#41;;
			}
		} catch &#40;RenderingException e&#41; {
		}
		    
		
	}</pre>
		</div>

and now it is like this:


<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>   public void progress&#40;EventObject event&#41; {
        InputFile file = &#40;InputFile&#41; event.getSource&#40;&#41;;
        this.percent = file.getFileInfo&#40;&#41;
            .getPercent&#40;&#41;;
    }</pre>
		</div>

Next days, I'll try to understand why...
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8981.page#37364</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8981.page#37364</link>
				<pubDate><![CDATA[Fri, 4 Jul 2008 13:54:31]]> GMT</pubDate>
				<author><![CDATA[ jesus@aplsoftware.com]]></author>
			</item>
			<item>
				<title>Re:Uploading fails</title>
				<description><![CDATA[ Hi,

Yes, they changed the fileupload component in icefaces 1.7.1. You need not implement the interface renderable in the component.

Do you use Seam ? If so, check out alos the latest seam-component-testcase example.

Georges]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8981.page#37390</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8981.page#37390</link>
				<pubDate><![CDATA[Mon, 7 Jul 2008 01:30:20]]> GMT</pubDate>
				<author><![CDATA[ georges.goebel@pch.etat.l]]></author>
			</item>
			<item>
				<title>Re:Uploading fails</title>
				<description><![CDATA[ The bean code does not need to invoke the RenderManager anymore, because the example uses the new <i>progressRender="true"</i> attribute setting on the <ice:inputFile> component.

But you can leave it the old way, and not take advantage of this, in which case you will have to implement Renderable, and use the RenderManager.
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/8981.page#37529</guid>
				<link>http://www.icefaces.org/JForum/posts/list/8981.page#37529</link>
				<pubDate><![CDATA[Tue, 8 Jul 2008 13:24:04]]> GMT</pubDate>
				<author><![CDATA[ mark.collette]]></author>
			</item>
	</channel>
</rss>