[ 
https://jira.jboss.org/jira/browse/RF-8440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Shaikovsky updated RF-8440:
--------------------------------

    Description: 
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="&lt;i&gt;Upload1&lt;/i&gt;"


  was:
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 <b> tags around custom label using the code:
uploadControlLabel="&lt;i&gt;Upload1&lt;/i&gt;"




> 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: Nick Belaevski
>            Priority: Critical
>
> 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="&lt;i&gt;Upload1&lt;/i&gt;"

-- 
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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to