[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1330) Cant use EL expressions for pdf colors

Dustin Norlander (JIRA) jira-events at lists.jboss.org
Wed May 16 18:45:52 EDT 2007


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


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list