[ 
https://issues.jboss.org/browse/RF-12058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677498#comment-12677498
 ] 

Thorsten Nieser edited comment on RF-12058 at 3/18/12 12:13 PM:
----------------------------------------------------------------

A way to solve the problem is to override the default css class by an own one 
with a reference to another image icon.
(I took the original one out if the richfaces ui jar)

.rf-fu-btn-cnt-upl {
    background-image: url("/CMS/javax.faces.resource/graphics/fu-upl.gif.jsf") 
!important;
}
                
      was (Author: thorstenn):
    Param value = false
                  
> rich:fileUpload - wrong upload icon if resourceOptimization param is set to 
> true 
> ---------------------------------------------------------------------------------
>
>                 Key: RF-12058
>                 URL: https://issues.jboss.org/browse/RF-12058
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.0.Final
>         Environment: Tomcat6.33, Richfaces 4.2.0 FINAL, JDK1.6
>            Reporter: Thorsten Nieser
>            Priority: Minor
>         Attachments: css-snippet.jpg, nok.jpg, ok.jpg
>
>
> If the new resource optimization is disabled all icons of the fileUpload 
> element are fine.
> (http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=fileUpload&skin=blueSky)
> But if I enabled the optimization by setting the context param to true, the 
> upload button shows the red cross instead of the green check mark.
> <context-param>
>    <param-name>org.richfaces.resourceOptimization.enabled</param-name>
>    <param-value>true</param-value>
> </context-param>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.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