[ 
https://issues.jboss.org/browse/RF-12603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ken H updated RF-12603:
-----------------------

    Description: 
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 does not break the initial page load but the same error is appearing on 
AJAX responses and does break the processing of the response.

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



    
> 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 does not break the initial page load but the same error is appearing on 
> AJAX responses and does break the processing of the response.

--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to