[
https://jira.jboss.org/jira/browse/RF-8440?page=com.atlassian.jira.plugin...
]
Andrey Markhel resolved RF-8440.
--------------------------------
Resolution: Done
There are 7 new attribbutes were added to fileUpload component.
doneLabelClass - Done Label style class
sizeErrorLabelClass - size Error label style class
transferErrorLabelClass - transfer error label style class
progressLabelClass - progress label style class
entryCancelLabelClass - "Cancel" entry style class
entryStopLabelClass - "Stop" entry style class
entryClearLabelClass - "Clear" entry style class
NOTE: doneLabelClass, uploadButtonClass, uploadButtonClassDisabled, stopButtonClass,
stopButtonClassDisabled by Default have property font-weight: bold in order to keep
previous behaviour.
problems with fileUpload controls labels
----------------------------------------
Key: RF-8440
URL:
https://jira.jboss.org/jira/browse/RF-8440
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 3.3.3.CR1
Reporter: Ilya Shaikovsky
Assignee: Andrey Markhel
Priority: Critical
Fix For: 3.3.3.Final
1) as you could see in renderer we using <b> tags instead of CSS for some labels.
/** Default labels values */
private static final String[] defaultLables = { "Add...",
"<b>Upload</b>",
"<b>Stop</b>", "Clear All", "Cancel",
"Clear", "Stop",
"<b>Done</b>", "File size restricted", "Transfer
error occurred","uploading"};
2) MAIN PROBLEM. redefined labels do not escape text properly(writeText seems not used)
so I could add <i> tags around custom label using the code:
uploadControlLabel="<i>Upload1</i>"
--
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