FileUpload: throw exception if inappropriate method has been called
-------------------------------------------------------------------
Key: RF-3032
URL:
http://jira.jboss.com/jira/browse/RF-3032
Project: RichFaces
Issue Type: Task
Affects Versions: 3.2.1
Reporter: Nick Belaevski
Assigned To: Aleksej Yanul
Fix For: Future Versions
Throw exception when:
org.richfaces.model.UploadItem#isFile() = true &
org.richfaces.model.UploadItem#getData() is called
and when:
org.richfaces.model.UploadItem#isFile() = false &
org.richfaces.model.UploadItem#getFile() is called
with explanatory message
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: