[
https://jira.jboss.org/jira/browse/RF-4193?page=com.atlassian.jira.plugin...
]
Mikhail Vitenkov reopened RF-4193:
----------------------------------
Assignee: Nick Belaevski (was: Tsikhon Kuprevich)
Bug still reproducible. Use following code:
<h:form>
<input name="action" type="button"
value="Action"></input>
<rich:fileUpload id="fileUploadID" status="a4jStatusID"
acceptedTypes="*"
listHeight="400"
listWidth="400"
maxFilesQuantity="3"
fileUploadListener="#{fileUpload.fileUploadListener}">
<f:facet name="label">
<h:outputText value="{_KB}KB from {KB}KB uploaded :[ {mm}:{ss}
]"></h:outputText>
</f:facet>
<f:facet name="header">
<h:outputText value="some text"></h:outputText>
</f:facet>
</rich:fileUpload>
</h:form>
Plus 2 JS Errors appears. For more information see attached a4jQueryAction.png
FileUpload component crash if form contain control with name
"action".
----------------------------------------------------------------------
Key: RF-4193
URL:
https://jira.jboss.org/jira/browse/RF-4193
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0.SR1
Reporter: Alexander Smirnov
Assignee: Nick Belaevski
Fix For: 3.2.2
Attachments: a4jQueryAction.png
JavaScript code for a Fileupload component modify a form "action" property:
parentForm.action = this.actionUrl +........
If form contain any control with name "action" , this code will try to replace
a control instead of the form attribute.
At least, this limitation should be described in the documentation.
--
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