[jbossseam-issues] [JBoss JIRA] Reopened: (JBSEAM-778) MultipartRequest does not work with h:selectManyCheckbox

Uwe Sch?fer (JIRA) jira-events at lists.jboss.org
Fri Feb 16 05:46:30 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-778?page=all ]

Uwe Sch?fer reopened JBSEAM-778:
--------------------------------

             
Unfortunately there is still an issue. Using a simple checkbox control does not work with Multipart-Requests, while it does with the above patch using 1.1.5. 

Code is:

<h:selectManyCheckbox id="languages"
		value="#{DocumentEditor.selectedLanguages}">
				<f:selectItems value="#{selectableLanguages}" />
</h:selectManyCheckbox>

In DocumentEditor:

public void setSelectedLanguages(List<String> selectedItemValues)    {
   System.out.println(selectedItemValues);
}

does not reflect the checkbox´s selection.

Both Seam 1.1.5 and 1.1.6 work fine with the same code, when using

<h:form>
instead of
<h:form enctype="multipart/form-data" >

This should be easy to reproduce. If you need more info or any other kind of help, please let me know.

> MultipartRequest does not work with h:selectManyCheckbox
> --------------------------------------------------------
>
>                 Key: JBSEAM-778
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-778
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.5.GA
>         Environment: JBoss-4.0.5.GA on Bea JRockit (build R26.4.0-63-63688-1.5.0_06-20060626-2259-win-ia32)
>            Reporter: Uwe Sch?fer
>         Assigned To: Shane Bryzak
>             Fix For: 1.1.6.GA
>
>         Attachments: MultipartRequest.java
>
>
> When using org.jboss.seam.servlet.SeamMultipartFilter in order to use s:fileUpload, an instance of org.jboss.seam.servlet.MultipartRequest is used to handle the parsing of the Request. Unfortunately, this class does not cope with a parameter occuring more than once in a Request. This is the case when - for example - h:selectManyCheckbox is used.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the seam-issues mailing list