[richfaces-issues] [JBoss JIRA] (RF-12603) JS TypeError exception from RichFaces.csv.addMessage line added to page source

Ken H (JIRA) jira-events at lists.jboss.org
Thu Nov 8 11:32:18 EST 2012


    [ https://issues.jboss.org/browse/RF-12603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732858#comment-12732858 ] 

Ken H commented on RF-12603:
----------------------------

Probably worth noting that this showed up after moving directly from 4.2.3 to 4.3.0M2 without making any code changes.
                
> JS TypeError exception from RichFaces.csv.addMessage line added to page source
> ------------------------------------------------------------------------------
>
>                 Key: RF-12603
>                 URL: https://issues.jboss.org/browse/RF-12603
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.3.0.M2
>            Reporter: Ken H
>
> The JS line:
> {code}if (RichFaces.csv) { RichFaces.csv.addMessage({ 'UISELECTONE_INVALID': {detail:'{0}: Validation Error: Value is not valid',summary:'{0}: Validation Error: Value is not valid',severity:2} }); }{code}
> That was added to my pages causes:
> {code}Uncaught TypeError: Object #<Object> has no method 'addMessage'{code}
> RichFaces.csv does appear to not have an addMessage method. I am not sure what caused this line to be added to the generated script block on the page.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list