[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3830) e:cell doesn't support null values

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Thu Dec 11 14:54:37 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442217#action_12442217 ] 

Nicklas Karlsson commented on JBSEAM-3830:
------------------------------------------

Have a look here:

http://fisheye.jboss.com/changelog/Seam?cs=9753&csize=5

I opened up the WorkSheetItem to reveal the data and exit early from the adding of items if null

Yep, I recognize you name (you did work on headers/footers etc?). Thanks, it's easy to work on top of a good library! ;-)

> e:cell doesn't support null values
> ----------------------------------
>
>                 Key: JBSEAM-3830
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3830
>             Project: Seam
>          Issue Type: Bug
>          Components: Excel
>            Reporter: Eric Jung
>            Assignee: Nicklas Karlsson
>             Fix For: 2.1.1.GA
>
>         Attachments: JXLHelper.java.diff
>
>
> If the value of an e:cell is null , an exception is thrown due to a lack of null checks in JXLHelper.createCell(). It would be better if the cell value was empty in the case of nulls, just like JSF's and Facelets' <h:outputText value="#{aNull}"/> outputsan empty string when encountering nulls.
> Workaround described below, but it gets very tedious adding null checks for hundreds of cells across multiple worksheets.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list