[
https://jira.jboss.org/jira/browse/RF-3566?page=com.atlassian.jira.plugin...
]
Anton Lisovenko commented on RF-3566:
-------------------------------------
Here is a kind of workaround:
public void uploadFileListener(UploadEvent event) {
...
// in validateInputFileName() we put message to context if exception occurs
if (!validateInputFileName(uploaded.getFileName())) {
// This what helps to render message
super.getFacesContext().responseComplete();
return;
}
}
But this works in 4 times from 5. Sometimes the UIRichMessages is not rendered. RF team,
could you give please the workaround for this problem!
Can't use messages with fileUpload
----------------------------------
Key: RF-3566
URL:
https://jira.jboss.org/jira/browse/RF-3566
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Fix For: 4.0.0.BETA1
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153840#...
Using his code in demosite listener I'm getting next behaviour.
"Transfer error occuried" error in file upload status.
But rich:messages which added to the page doesn't show anything.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira