[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3839) xls-format-mask doesn't support styles with colons

Eric Jung (JIRA) jira-events at lists.jboss.org
Sat Dec 13 19:20:36 EST 2008


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

Eric Jung commented on JBSEAM-3839:
-----------------------------------

Nice work .Thanks !

> xls-format-mask doesn't support styles with colons
> --------------------------------------------------
>
>                 Key: JBSEAM-3839
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3839
>             Project: Seam
>          Issue Type: Bug
>          Components: Excel
>    Affects Versions: 2.1.1.CR2
>            Reporter: Eric Jung
>             Fix For: 2.1.1.GA
>
>
> http://docs.jboss.com/seam/2.1.1.CR2/reference/en-US/html_single#excel.formatmasks.dates says:
> "if the mask is not in the list, it is treated as a custom mask (see  java.text.DateFormat  )., e.g "dd.MM.yyyy" and automatically converted to the closest match. "
> (Note the delimiters in dd.MM.yyyy are periods, not colons). So when I write:
> <e:cell value="#{myBean.value}" style="xls-format-mask: M/d h:mm:ss a"/>
> org.jboss.seam.excel.css.Parser emits the warning: "Style component xls-format-mask: m/d h:mm:ss a should be of form <key>:<value>"
> This is due to Parser.parseStyleString() not being able to parse styles that include colons in the style itself.

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