]
Norman Richards closed JBSEAM-1330.
-----------------------------------
Fix Version/s: 1.3.0.BETA1
Resolution: Done
Done
Cant use EL expressions for pdf colors
--------------------------------------
Key: JBSEAM-1330
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1330
Project: JBoss Seam
Issue Type: Bug
Components: PDF
Reporter: Dustin Norlander
Assigned To: Norman Richards
Priority: Minor
Fix For: 1.3.0.BETA1
Using el expressions for color values in pdf generation fails with classcast exception.
Problem is that the valueBinding expects a Color but gets a String..
UIRectange.java
public void applyRectangleProperties(FacesContext context, Rectangle rectangle) {
....
backgroundColor = (Color)valueBinding(context, "backgroundColor",
backgroundColor);
if (backgroundColor != null) {
rectangle.setBackgroundColor(backgroundColor);
}
.... ect ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: