cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Reseting and reusing of upload-widgets
Date Mon, 04 Oct 2004 14:37:09 GMT
On 04.10.2004 15:34, Björn Voigt wrote:

> Moin,
> 
> i use an upload-widget (cocoon-2.1.5) in my cforms,
> but I need it once more, but I cant set the value to
> null to reset it for reuse.
> 
> setValue is not implemented and throws an exception.
> It allready possible to reset it? If not, Is it possible
> that you add an method like to Upload.java
> 
> 
> public void reset() {
>     this.part = null;
> }

setValue() has been implemented: 
http://issues.apache.org/bugzilla/show_bug.cgi?id=30270. But I guess 
resetting it to null is not possible with the current implementation as 
the instanceof test would fail.

Joerg

Mime
View raw message