s m created RF-12362:
------------------------
Summary: 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
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