[richfaces-issues] [JBoss JIRA] Resolved: (RF-3226) File Upload: exception when try to get 'file.name' property of UploadItem instanceon the page.

Andrei Markavtsov (JIRA) jira-events at lists.jboss.org
Thu Apr 24 12:09:19 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-3226?page=all ]

Andrei Markavtsov resolved RF-3226.
-----------------------------------

    Resolution: Done
      Assignee: Mikhail Vitenkov  (was: Andrei Markavtsov)

Method UploadItem.isFile() replaced by UploadItem.isTempFile () method

> File Upload: exception when try to get 'file.name' property of UploadItem instanceon the page.
> ----------------------------------------------------------------------------------------------
>
>                 Key: RF-3226
>                 URL: http://jira.jboss.com/jira/browse/RF-3226
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Andrei Markavtsov
>         Assigned To: Mikhail Vitenkov
>             Fix For: 3.2.1
>
>
> Exception: javax.el.PropertyNotFoundException: /ankets.xhtml @569,91 value="#{uploadItem.file.name}": Property 'name' not found on type java.lang.Boolean
> Page code: 
> <rich:dataGrid columns="1" value="#{fuMan.fileList}"
>                           var="uploadItem" rowKeyVar="row">
>                <rich:panel>
>                    <h:panelGrid columns="2">
>                        <a4j:mediaOutput element="img" mimeType="image/jpeg"
>                                         createContent="#{fuMan.paint}" value="#{row}"
>                                         style="width:100px; height:100px;" />
>                        <h:panelGrid columns="2">
>                            <h:outputText value="File Name:" />
>                            <h:outputText value="#{uploadItem.file.name}" />
>                        </h:panelGrid>
>                    </h:panelGrid>
>                </rich:panel>
>            </rich:dataGrid>

-- 
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 richfaces-issues mailing list