[richfaces-issues] [JBoss JIRA] Commented: (RF-3404) jQuery: JS error under FF

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Wed May 21 12:18:59 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-3404?page=comments#action_12413571 ] 
            
Nick Belaevski commented on RF-3404:
------------------------------------

Should be escaped properly:

1.        <rich:jQuery selector="p" timing="onload" query="find('span').html('text1').end().append('&lt;p class=\"fontColor\"&gt;add text3&lt;p&gt;')"/> 
2.         <rich:jQuery selector="p" timing="onload" query="find('span').html('text1').end().append('&amp;lt;p class=\'fontColor\'&amp;gt;add text3&amp;lt;p&amp;gt;')"/> 


> jQuery: JS error under FF
> -------------------------
>
>                 Key: RF-3404
>                 URL: http://jira.jboss.com/jira/browse/RF-3404
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: 3.2.1.CR4, 3.2.1.CR5
> FF
> jsp + myfaces
> facelets + jsf 1.2
>            Reporter: Tsikhon Kuprevich
>         Assigned To: Nick Belaevski
>
> I see the following error when opening the page with the component:
> missing ) after argument list
> (no name)()Rich.jsf (line 213)
> to the wait list jQuery.readyList.push()jquery.js.jsf (line 2276)
> (no name)()jquery.js.jsf (line 2296)
> each([function(), function(), function(), 5 more...], function(), undefined)jquery.js.jsf (line 753)
> ready()jquery.js.jsf (line 2295)
> [Break on this error] jQuery(selector).find('span').html('text1').end().append('&lt;p class='fontColo...

-- 
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 richfaces-issues mailing list