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

Norman Richards (JIRA) jira-events at lists.jboss.org
Fri Jun 15 19:26:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1330?page=all ]

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: 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