dev@javaserverfaces.java.net

Re: Seeking Review: JAVASERVERFACES-3404-fileUpload

From: Edward Burns <edward.burns_at_oracle.com>
Date: Mon, 22 Sep 2014 09:13:42 -0700

>>>>> On Mon, 15 Sep 2014 15:03:21 -0500, Leonardo Uribe <lu4242_at_gmail.com> said:

LU> Hi
LU> This looks related to the 2.2 spec. It doesn't look good to call
LU> setTransient(true) over a component in a renderer, unless the component is
LU> created programmatically by the renderer itself (which is valid). I
LU> remember some issues with h:inputFile on MyFaces 2.2.x, because the "value"
LU> has transient behavior (file is only valid in the request that upload it),
LU> but that doesn't mean the component has "transient" behavior.

Yes, I reached the same conclusion. I plan to fix the impl to treat the
value, not the component, as transient.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
|  4 work days til JavaOne 2014
|  0 work days til start of JSF 2.3 and Servlet 4.0