[
https://issues.jboss.org/browse/RF-12362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712112#comment-12712112
]
Brian Leathem commented on RF-12362:
------------------------------------
_transparent_ is indeed a valid background color:
http://www.w3schools.com/cssref/pr_background-color.asp
> fileupload Parameter "color" for convert from HTML to java can not be decoded
> -----------------------------------------------------------------------------
>
> Key: RF-12362
> URL: https://issues.jboss.org/browse/RF-12362
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, core, skinning
> Environment: RF 4.3
> Reporter: s m
> Priority: Minor
> Fix For: 4.2-Tracking
>
>
> Hi,
> Whith the component {{rich:fileUpload}}
> In my file skin.properties, when I set the property
> {{tableFooterBackgroundColor=transparent}}
> I catch the excetpion
> {code}
> Caused by: java.lang.IllegalArgumentException: Parameter "color" for convert
> from HTML to java can not be decoded: [transparent], reason: For input
> string: "transparent"
> at org.ajax4jsf.util.HtmlColor.decode(HtmlColor.java:78)
> [richfaces-core-impl-4.3.0-20120704.041156-53.jar:4.3.0-SNAPSHOT]
> at org.richfaces.skin.AbstractSkin.decodeColor(AbstractSkin.java:44)
> [richfaces-core-impl-4.3.0-20120704.041156-53.jar:4.3.0-SNAPSHOT]
> {code}
> With a color like #123456, it works fine.
> Maybe in org.ajax4jsf.util.HTMLColor you can add something like
> {{colorNames.put("transparent", new Color(0xFF,0xFF,0xFF,0x00);}}
--
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