Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:glimmer + sparkle
Description
If you run the sparkle showcase (svn\ossrepo\icefaces\scratchpads\sparkle\showcase\test), and go to the inputFiles page, you will find a page with two forms. Both forms have an inputText field and a commandButton. The bottom form also has the inputFiles component. If you enter some text in the bottom inputText field, select a a file in the inputFiles component, and click on the bottom commandButton, you will get back a malformed response.
Issue Links
- blocks
-
ICE-5032 New FileEntry ACE component
-
- Closed
-
Investigation of DOMResponseWriter and DOMPartialViewContext led me to discover that the InputFilesPhaseListener was calling setAjaxRequest(true), but not setPartialRequest(true) on the PartialViewContext. This confused the DOMResponseWriter into treating the response as both a full page GET style response, and a partial Ajax style response.
Subversion 21513
sparkle\component\src\org\icefaces\component\inputFiles\InputFilesPhaseListener.java